@getpara/graz-connector 2.0.0-alpha.68 → 2.0.0-alpha.70
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/dist/cjs/connector.js +2 -2
- package/dist/esm/connector.js +2 -2
- package/package.json +4 -4
package/dist/cjs/connector.js
CHANGED
|
@@ -192,7 +192,7 @@ class ParaGrazConnector {
|
|
|
192
192
|
return __async(this, null, function* () {
|
|
193
193
|
try {
|
|
194
194
|
yield this.paraWebClient.logout();
|
|
195
|
-
} catch (
|
|
195
|
+
} catch (e) {
|
|
196
196
|
throw new Error("Disconnect failed");
|
|
197
197
|
} finally {
|
|
198
198
|
this.enabledChainIds.clear();
|
|
@@ -204,7 +204,7 @@ class ParaGrazConnector {
|
|
|
204
204
|
try {
|
|
205
205
|
const [wallet] = yield this.waitForAccounts();
|
|
206
206
|
return wallet;
|
|
207
|
-
} catch (
|
|
207
|
+
} catch (e) {
|
|
208
208
|
throw new Error("No Para wallet available");
|
|
209
209
|
}
|
|
210
210
|
});
|
package/dist/esm/connector.js
CHANGED
|
@@ -152,7 +152,7 @@ class ParaGrazConnector {
|
|
|
152
152
|
return __async(this, null, function* () {
|
|
153
153
|
try {
|
|
154
154
|
yield this.paraWebClient.logout();
|
|
155
|
-
} catch (
|
|
155
|
+
} catch (e) {
|
|
156
156
|
throw new Error("Disconnect failed");
|
|
157
157
|
} finally {
|
|
158
158
|
this.enabledChainIds.clear();
|
|
@@ -164,7 +164,7 @@ class ParaGrazConnector {
|
|
|
164
164
|
try {
|
|
165
165
|
const [wallet] = yield this.waitForAccounts();
|
|
166
166
|
return wallet;
|
|
167
|
-
} catch (
|
|
167
|
+
} catch (e) {
|
|
168
168
|
throw new Error("No Para wallet available");
|
|
169
169
|
}
|
|
170
170
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/graz-connector",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.70",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"build:types": "rm -rf dist/types && tsc --module esnext --declarationDir dist/types --emitDeclarationOnly --declaration"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@getpara/cosmjs-v0-integration": "2.0.0-alpha.
|
|
23
|
-
"@getpara/web-sdk": "2.0.0-alpha.
|
|
22
|
+
"@getpara/cosmjs-v0-integration": "2.0.0-alpha.70",
|
|
23
|
+
"@getpara/web-sdk": "2.0.0-alpha.70"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@cosmjs/amino": "^0.32.4",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"cosmjs-types": ">=0.8.0",
|
|
44
44
|
"graz": ">=0.4.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "99d44cff3c68c07dc1cd8c2709b6ca4cd57dca61"
|
|
47
47
|
}
|