@startbahn/startrail-sdk-js 1.33.1 → 1.33.2

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.
@@ -77502,6 +77502,10 @@ class Torus extends base_1.default {
77502
77502
  return __awaiter(this, void 0, void 0, function* () {
77503
77503
  try {
77504
77504
  const res = (yield this.torusSDK.getUserInfo(''));
77505
+ // Patch for Web3Wallet spec change
77506
+ if (Object.values(constant_1.AUTH0_TORUS_CONFIG_KEYS).includes(res.verifier)) {
77507
+ res['typeOfLogin'] = 'email_password';
77508
+ }
77505
77509
  return Object.assign(Object.assign({}, res), { wallet: 'startrail' });
77506
77510
  }
77507
77511
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startbahn/startrail-sdk-js",
3
- "version": "1.33.1",
3
+ "version": "1.33.2",
4
4
  "description": "Startrail Api for JS SDK",
5
5
  "main": "dist/startrail-sdk.js",
6
6
  "unpkg": "dist/startrail-sdk.js",