@33cn/wallet-api
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -222,2 +222,8 @@ import { Environment, getDappEnvironment, getDappEnvironmentDelay } from './dappEnvironment'; | ||
var txs = tx.split(','); | ||
txs = txs.map(function (tx) { | ||
if (tx.startsWith('0x')) { | ||
return tx.slice(2); | ||
} | ||
return tx; | ||
}); | ||
return chain33Rpc.createRawTxGroup(txs, 'https://jiedian1.bityuan.com:8801').then(function (res) { | ||
@@ -224,0 +230,0 @@ console.log('createRawTxGroup res', res); |
@@ -100,3 +100,2 @@ var ANDROID = 1; | ||
if ("function" == typeof c) { | ||
//document.write("window.dscb=>" + window.dscb) | ||
var g = "dscb" + window.dscb++; | ||
@@ -103,0 +102,0 @@ win[g] = c; |
{ | ||
"name": "@33cn/wallet-api", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "提供各种比特元钱包的获取地址、签名接口", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
53114
798