Ref and add pbkdf2 as angular module

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-10 16:08:11 -03:00
commit 4bb2375ed0
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
7 changed files with 26 additions and 5 deletions

View file

@ -1,6 +1,5 @@
var bwcModule = angular.module('bwcModule', []);
var Client = require('../node_modules/bitcore-wallet-client');
var pbkdf2Sync = require('pbkdf2').pbkdf2Sync;
bwcModule.constant('MODULE_VERSION', '1.0.0');
@ -25,7 +24,6 @@ bwcModule.provider("bwcService", function() {
service.buildTx = Client.buildTx;
service.parseSecret = Client.parseSecret;
service.Client = Client;
service.pbkdf2Sync = pbkdf2Sync;
service.getUtils = function() {
return Client.Utils;