@33cn/wallet-api
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -123,7 +123,18 @@ import { Environment, getDappEnvironment, getDappEnvironmentDelay } from './dappEnvironment'; | ||
case Environment.androidBiWallet: | ||
console.log("android \u94B1\u5305\u79C1\u94A5\u7F13\u5B58\u914D\u7F6E " + cachePriv); | ||
return androidConfigPrivCache(cachePriv); | ||
return androidConfigPrivCache(cachePriv).then(function (res) { | ||
console.log("android \u94B1\u5305\u79C1\u94A5\u7F13\u5B58\u914D\u7F6E " + res); | ||
if (res.error) { | ||
return Promise.reject(res.error); | ||
} | ||
return res; | ||
}); | ||
case Environment.iosBiWallet: | ||
console.log("ios \u94B1\u5305\u79C1\u94A5\u7F13\u5B58\u914D\u7F6E " + cachePriv); | ||
return iosConfigPrivCache(cachePriv); | ||
return iosConfigPrivCache(cachePriv).then(function (res) { | ||
console.log("ios \u94B1\u5305\u79C1\u94A5\u7F13\u5B58\u914D\u7F6E " + res); | ||
if (res.error) { | ||
return Promise.reject(res.error); | ||
} | ||
return res; | ||
}); | ||
; | ||
default: | ||
@@ -130,0 +141,0 @@ return Promise.reject('invalidEnvironment'); |
{ | ||
"name": "@33cn/wallet-api", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "提供各种比特元钱包的获取地址、签名接口", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24174
382