Updates bitauth pairing. Updates package.json
This commit is contained in:
parent
b2086701d8
commit
9b32e50bb0
2 changed files with 6 additions and 7 deletions
|
|
@ -51,8 +51,8 @@
|
||||||
"bitcore-wallet-client": "4.3.1",
|
"bitcore-wallet-client": "4.3.1",
|
||||||
"bower": "^1.7.9",
|
"bower": "^1.7.9",
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"cordova": "5.4.1",
|
|
||||||
"cordova-android": "5.1.1",
|
"cordova-android": "5.1.1",
|
||||||
|
"cordova-custom-config": "^3.0.5",
|
||||||
"cordova-plugin-qrscanner": "^2.3.1",
|
"cordova-plugin-qrscanner": "^2.3.1",
|
||||||
"coveralls": "^2.11.9",
|
"coveralls": "^2.11.9",
|
||||||
"express": "^4.11.2",
|
"express": "^4.11.2",
|
||||||
|
|
@ -112,12 +112,10 @@
|
||||||
"clean-all": "git clean -dfx && npm install"
|
"clean-all": "git clean -dfx && npm install"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"androidmanifest": "^2.0.0",
|
"cordova": "^6.3.1",
|
||||||
"cordova": "^5.4.1",
|
"grunt": "^1.0.1",
|
||||||
"globby": "^6.0.0",
|
|
||||||
"ionic": "^2.1.0",
|
"ionic": "^2.1.0",
|
||||||
"plist": "^2.0.1",
|
|
||||||
"trash-cli": "^1.4.0",
|
"trash-cli": "^1.4.0",
|
||||||
"xcode": "^0.8.2"
|
"lodash": "^4.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -129,9 +129,10 @@ angular.module('copayApp.services').factory('bitpayCardService', function($http,
|
||||||
deviceName = device.model;
|
deviceName = device.model;
|
||||||
}
|
}
|
||||||
var json = {
|
var json = {
|
||||||
method: 'registerSinWithSecret',
|
method: 'createToken',
|
||||||
params: {
|
params: {
|
||||||
secret: obj.secret,
|
secret: obj.secret,
|
||||||
|
version: 2,
|
||||||
deviceName: deviceName,
|
deviceName: deviceName,
|
||||||
code: obj.otp
|
code: obj.otp
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue