Updates bitauth pairing. Updates package.json

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-12 15:32:05 -03:00
parent b2086701d8
commit 9b32e50bb0
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
2 changed files with 6 additions and 7 deletions

View File

@ -51,8 +51,8 @@
"bitcore-wallet-client": "4.3.1",
"bower": "^1.7.9",
"chai": "^3.5.0",
"cordova": "5.4.1",
"cordova-android": "5.1.1",
"cordova-custom-config": "^3.0.5",
"cordova-plugin-qrscanner": "^2.3.1",
"coveralls": "^2.11.9",
"express": "^4.11.2",
@ -112,12 +112,10 @@
"clean-all": "git clean -dfx && npm install"
},
"devDependencies": {
"androidmanifest": "^2.0.0",
"cordova": "^5.4.1",
"globby": "^6.0.0",
"cordova": "^6.3.1",
"grunt": "^1.0.1",
"ionic": "^2.1.0",
"plist": "^2.0.1",
"trash-cli": "^1.4.0",
"xcode": "^0.8.2"
"lodash": "^4.3.0"
}
}

View File

@ -129,9 +129,10 @@ angular.module('copayApp.services').factory('bitpayCardService', function($http,
deviceName = device.model;
}
var json = {
method: 'registerSinWithSecret',
method: 'createToken',
params: {
secret: obj.secret,
version: 2,
deviceName: deviceName,
code: obj.otp
}