@mocanetwork/airkit-connector 1.2.0-beta.2 → 1.2.0-beta.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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var airkit = require('@mocanetwork/airkit');
|
|
4
4
|
|
|
5
|
-
const version$1 = '2.
|
|
5
|
+
const version$1 = '2.26.5';
|
|
6
6
|
|
|
7
7
|
let errorConfig = {
|
|
8
8
|
getDocsUrl: ({
|
|
@@ -1438,7 +1438,7 @@ function airConnector(parameters) {
|
|
|
1438
1438
|
return { accounts, chainId: currentChainId };
|
|
1439
1439
|
}
|
|
1440
1440
|
catch (error) {
|
|
1441
|
-
log.error("
|
|
1441
|
+
log.error("Error while connecting", error);
|
|
1442
1442
|
this.onDisconnect();
|
|
1443
1443
|
throw new UserRejectedRequestError("Something went wrong");
|
|
1444
1444
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AirService } from '@mocanetwork/airkit';
|
|
2
2
|
|
|
3
|
-
const version$1 = '2.
|
|
3
|
+
const version$1 = '2.26.5';
|
|
4
4
|
|
|
5
5
|
let errorConfig = {
|
|
6
6
|
getDocsUrl: ({
|
|
@@ -1436,7 +1436,7 @@ function airConnector(parameters) {
|
|
|
1436
1436
|
return { accounts, chainId: currentChainId };
|
|
1437
1437
|
}
|
|
1438
1438
|
catch (error) {
|
|
1439
|
-
log.error("
|
|
1439
|
+
log.error("Error while connecting", error);
|
|
1440
1440
|
this.onDisconnect();
|
|
1441
1441
|
throw new UserRejectedRequestError("Something went wrong");
|
|
1442
1442
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.AirkitConnector = {}, global.airkit));
|
|
5
5
|
})(this, (function (exports, airkit) { 'use strict';
|
|
6
6
|
|
|
7
|
-
const version$1 = '2.
|
|
7
|
+
const version$1 = '2.26.5';
|
|
8
8
|
|
|
9
9
|
let errorConfig = {
|
|
10
10
|
getDocsUrl: ({
|
|
@@ -1440,7 +1440,7 @@
|
|
|
1440
1440
|
return { accounts, chainId: currentChainId };
|
|
1441
1441
|
}
|
|
1442
1442
|
catch (error) {
|
|
1443
|
-
log.error("
|
|
1443
|
+
log.error("Error while connecting", error);
|
|
1444
1444
|
this.onDisconnect();
|
|
1445
1445
|
throw new UserRejectedRequestError("Something went wrong");
|
|
1446
1446
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mocanetwork/airkit-connector",
|
|
3
|
-
"version": "1.2.0-beta.
|
|
3
|
+
"version": "1.2.0-beta.3",
|
|
4
4
|
"description": "AirKit wagmi connector to connect with the AirService",
|
|
5
5
|
"main": "dist/airkitConnector.cjs.js",
|
|
6
6
|
"unpkg": "dist/airkitConnector.umd.min.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"pre-commit": "lint-staged --cwd ."
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@mocanetwork/airkit": "^1.2.0-beta.
|
|
26
|
+
"@mocanetwork/airkit": "^1.2.0-beta.3",
|
|
27
27
|
"@wagmi/core": "^2.x",
|
|
28
28
|
"loglevel": "^1.8.1",
|
|
29
29
|
"viem": "^2.x"
|
package/src/lib/connector.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function airConnector(
|
|
|
58
58
|
const accounts = await this.getAccounts();
|
|
59
59
|
return { accounts, chainId: currentChainId };
|
|
60
60
|
} catch (error) {
|
|
61
|
-
log.error("
|
|
61
|
+
log.error("Error while connecting", error);
|
|
62
62
|
this.onDisconnect();
|
|
63
63
|
throw new UserRejectedRequestError("Something went wrong" as unknown as Error);
|
|
64
64
|
}
|