@portal-hq/connect 4.1.1 → 4.1.3
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/commonjs/index.js +3 -3
- package/lib/esm/index.js +2 -2
- package/package.json +2 -2
package/lib/commonjs/index.js
CHANGED
|
@@ -342,8 +342,8 @@ class PortalConnect {
|
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
344
|
handleSessionApproved(data, request) {
|
|
345
|
+
var _a, _b, _c;
|
|
345
346
|
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;
|
|
372
373
|
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
|
|
453
|
+
})(ConnectionStates = exports.ConnectionStates || (exports.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;
|
|
342
343
|
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;
|
|
369
370
|
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.
|
|
3
|
+
"version": "4.1.3",
|
|
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": "
|
|
35
|
+
"gitHead": "912b03f1152f4dbb7e017919c63bdc950ca867cf"
|
|
36
36
|
}
|