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.
Files changed (2) hide show
  1. package/lib/index.js +0 -22
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zetrix-connect-wallet-sdk-test",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A library for mobile wallet and non-Chrome browsers to connect with the Zetrix blockchain.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {