zetrix-connect-wallet-sdk-test 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +0 -22
- package/package.json +1 -1
package/lib/index.js
CHANGED
@@ -267,28 +267,6 @@ class ZetrixWalletConnect {
|
|
267
267
|
}
|
268
268
|
})
|
269
269
|
}
|
270
|
-
|
271
|
-
//////////////////////////////////////////////////////////////////////////////////
|
272
|
-
return new Promise((resolve, reject) => {
|
273
|
-
this.auth().then(authRes => {
|
274
|
-
let urlObj = {
|
275
|
-
linkTo: 'H5_' + sdkType.bindAndSignMessage,
|
276
|
-
type: 'H5_' + sdkType.bindAndSignMessage,
|
277
|
-
sessionId: createSessionId(),
|
278
|
-
host: getWindowUrl(),
|
279
|
-
icon: getWindowICO(),
|
280
|
-
message: param.message
|
281
|
-
}
|
282
|
-
|
283
|
-
if (!this.isQrcode) {
|
284
|
-
this.linkTo.createHostParam(urlObj)
|
285
|
-
}
|
286
|
-
|
287
|
-
}).catch(authError => {
|
288
|
-
reject(authError)
|
289
|
-
})
|
290
|
-
})
|
291
|
-
}
|
292
270
|
}
|
293
271
|
/*
|
294
272
|
* sign blob sdk
|
package/package.json
CHANGED