@portal-hq/connect 4.1.0-beta2 → 4.1.1

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.
@@ -342,8 +342,8 @@ class PortalConnect {
342
342
  });
343
343
  }
344
344
  handleSessionApproved(data, request) {
345
- var _a, _b, _c;
346
345
  return __awaiter(this, void 0, void 0, function* () {
346
+ var _a, _b, _c;
347
347
  const address = yield this.address;
348
348
  let chainId;
349
349
  if (((_a = request.params.params.requiredNamespaces) === null || _a === void 0 ? void 0 : _a.eip155) &&
@@ -369,8 +369,8 @@ class PortalConnect {
369
369
  });
370
370
  }
371
371
  handleSessionRejected(data, request) {
372
- var _a, _b, _c;
373
372
  return __awaiter(this, void 0, void 0, function* () {
373
+ var _a, _b, _c;
374
374
  const address = yield this.address;
375
375
  let chainId;
376
376
  if (((_a = request.params.params.requiredNamespaces) === null || _a === void 0 ? void 0 : _a.eip155) &&
@@ -450,5 +450,5 @@ var ConnectionStates;
450
450
  ConnectionStates["CONNECTING"] = "CONNECTING";
451
451
  ConnectionStates["DISCONNECTED"] = "DISCONNECTED";
452
452
  ConnectionStates["DISCONNECTING"] = "DISCONNECTING";
453
- })(ConnectionStates = exports.ConnectionStates || (exports.ConnectionStates = {}));
453
+ })(ConnectionStates || (exports.ConnectionStates = ConnectionStates = {}));
454
454
  exports.default = PortalConnect;
package/lib/esm/index.js CHANGED
@@ -339,8 +339,8 @@ class PortalConnect {
339
339
  });
340
340
  }
341
341
  handleSessionApproved(data, request) {
342
- var _a, _b, _c;
343
342
  return __awaiter(this, void 0, void 0, function* () {
343
+ var _a, _b, _c;
344
344
  const address = yield this.address;
345
345
  let chainId;
346
346
  if (((_a = request.params.params.requiredNamespaces) === null || _a === void 0 ? void 0 : _a.eip155) &&
@@ -366,8 +366,8 @@ class PortalConnect {
366
366
  });
367
367
  }
368
368
  handleSessionRejected(data, request) {
369
- var _a, _b, _c;
370
369
  return __awaiter(this, void 0, void 0, function* () {
370
+ var _a, _b, _c;
371
371
  const address = yield this.address;
372
372
  let chainId;
373
373
  if (((_a = request.params.params.requiredNamespaces) === null || _a === void 0 ? void 0 : _a.eip155) &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portal-hq/connect",
3
- "version": "4.1.0-beta2",
3
+ "version": "4.1.1",
4
4
  "main": "lib/commonjs/index",
5
5
  "module": "lib/esm/index",
6
6
  "source": "src/index",
@@ -32,5 +32,5 @@
32
32
  "react": "*",
33
33
  "react-native": "*"
34
34
  },
35
- "gitHead": "5a1ad407588a072e2559f1d0410dcfef84394580"
35
+ "gitHead": "3c03bd4a6573b23865f655856cd0161706f3f30d"
36
36
  }