@dynamic-labs-sdk/wallet-connect 0.19.0 → 0.20.0
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/{SessionClosedUnexpectedlyError-BYFeFP3Q.cjs.js → SessionClosedUnexpectedlyError-B9XFxyV5.cjs.js} +2 -2
- package/dist/{SessionClosedUnexpectedlyError-BYFeFP3Q.cjs.js.map → SessionClosedUnexpectedlyError-B9XFxyV5.cjs.js.map} +1 -1
- package/dist/{SessionClosedUnexpectedlyError-Bum7AO4M.esm.js → SessionClosedUnexpectedlyError-DZsFxKLZ.esm.js} +2 -2
- package/dist/{SessionClosedUnexpectedlyError-Bum7AO4M.esm.js.map → SessionClosedUnexpectedlyError-DZsFxKLZ.esm.js.map} +1 -1
- package/dist/core.cjs.js +1 -1
- package/dist/core.esm.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@ let _dynamic_labs_sdk_client = require("@dynamic-labs-sdk/client");
|
|
|
3
3
|
|
|
4
4
|
//#region package.json
|
|
5
5
|
var name = "@dynamic-labs-sdk/wallet-connect";
|
|
6
|
-
var version = "0.
|
|
6
|
+
var version = "0.20.0";
|
|
7
7
|
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/errors/SessionClosedUnexpectedlyError.ts
|
|
@@ -38,4 +38,4 @@ Object.defineProperty(exports, 'version', {
|
|
|
38
38
|
return version;
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
//# sourceMappingURL=SessionClosedUnexpectedlyError-
|
|
41
|
+
//# sourceMappingURL=SessionClosedUnexpectedlyError-B9XFxyV5.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionClosedUnexpectedlyError-
|
|
1
|
+
{"version":3,"file":"SessionClosedUnexpectedlyError-B9XFxyV5.cjs.js","names":["BaseError"],"sources":["../package.json","../src/errors/SessionClosedUnexpectedlyError.ts"],"sourcesContent":["","import { BaseError } from '@dynamic-labs-sdk/client';\n\ntype SessionClosedUnexpectedlyErrorParams = {\n /**\n * The topic of the session that closed unexpectedly.\n */\n sessionTopic: string;\n\n /**\n * The display name of the wallet that was associated with the session that closed unexpectedly.\n */\n walletDisplayName: string | null | undefined;\n};\n\nexport class SessionClosedUnexpectedlyError extends BaseError {\n constructor({\n sessionTopic,\n walletDisplayName,\n }: SessionClosedUnexpectedlyErrorParams) {\n super({\n cause: null,\n code: 'session_closed_unexpectedly_error',\n docsUrl: null,\n name: 'SessionClosedUnexpectedlyError',\n shortMessage: walletDisplayName\n ? `WalletConnect session ${sessionTopic} closed unexpectedly. Associated wallet was ${walletDisplayName}`\n : `WalletConnect session ${sessionTopic} closed unexpectedly`,\n });\n }\n}\n"],"mappings":";;;;;;;;;ACcA,IAAa,iCAAb,cAAoDA,mCAAU;CAC5D,YAAY,EACV,cACA,qBACuC;AACvC,QAAM;GACJ,OAAO;GACP,MAAM;GACN,SAAS;GACT,MAAM;GACN,cAAc,oBACV,yBAAyB,aAAa,8CAA8C,sBACpF,yBAAyB,aAAa;GAC3C,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { BaseError } from "@dynamic-labs-sdk/client";
|
|
|
2
2
|
|
|
3
3
|
//#region package.json
|
|
4
4
|
var name = "@dynamic-labs-sdk/wallet-connect";
|
|
5
|
-
var version = "0.
|
|
5
|
+
var version = "0.20.0";
|
|
6
6
|
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/errors/SessionClosedUnexpectedlyError.ts
|
|
@@ -20,4 +20,4 @@ var SessionClosedUnexpectedlyError = class extends BaseError {
|
|
|
20
20
|
|
|
21
21
|
//#endregion
|
|
22
22
|
export { name as n, version as r, SessionClosedUnexpectedlyError as t };
|
|
23
|
-
//# sourceMappingURL=SessionClosedUnexpectedlyError-
|
|
23
|
+
//# sourceMappingURL=SessionClosedUnexpectedlyError-DZsFxKLZ.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionClosedUnexpectedlyError-
|
|
1
|
+
{"version":3,"file":"SessionClosedUnexpectedlyError-DZsFxKLZ.esm.js","names":[],"sources":["../package.json","../src/errors/SessionClosedUnexpectedlyError.ts"],"sourcesContent":["","import { BaseError } from '@dynamic-labs-sdk/client';\n\ntype SessionClosedUnexpectedlyErrorParams = {\n /**\n * The topic of the session that closed unexpectedly.\n */\n sessionTopic: string;\n\n /**\n * The display name of the wallet that was associated with the session that closed unexpectedly.\n */\n walletDisplayName: string | null | undefined;\n};\n\nexport class SessionClosedUnexpectedlyError extends BaseError {\n constructor({\n sessionTopic,\n walletDisplayName,\n }: SessionClosedUnexpectedlyErrorParams) {\n super({\n cause: null,\n code: 'session_closed_unexpectedly_error',\n docsUrl: null,\n name: 'SessionClosedUnexpectedlyError',\n shortMessage: walletDisplayName\n ? `WalletConnect session ${sessionTopic} closed unexpectedly. Associated wallet was ${walletDisplayName}`\n : `WalletConnect session ${sessionTopic} closed unexpectedly`,\n });\n }\n}\n"],"mappings":";;;;;;;;ACcA,IAAa,iCAAb,cAAoD,UAAU;CAC5D,YAAY,EACV,cACA,qBACuC;AACvC,QAAM;GACJ,OAAO;GACP,MAAM;GACN,SAAS;GACT,MAAM;GACN,cAAc,oBACV,yBAAyB,aAAa,8CAA8C,sBACpF,yBAAyB,aAAa;GAC3C,CAAC"}
|
package/dist/core.cjs.js
CHANGED
|
@@ -25,7 +25,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
|
-
const require_SessionClosedUnexpectedlyError = require('./SessionClosedUnexpectedlyError-
|
|
28
|
+
const require_SessionClosedUnexpectedlyError = require('./SessionClosedUnexpectedlyError-B9XFxyV5.cjs.js');
|
|
29
29
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
30
30
|
let _walletconnect_utils = require("@walletconnect/utils");
|
|
31
31
|
let _dynamic_labs_sdk_client = require("@dynamic-labs-sdk/client");
|
package/dist/core.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as name, r as version, t as SessionClosedUnexpectedlyError } from "./SessionClosedUnexpectedlyError-
|
|
1
|
+
import { n as name, r as version, t as SessionClosedUnexpectedlyError } from "./SessionClosedUnexpectedlyError-DZsFxKLZ.esm.js";
|
|
2
2
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
3
3
|
import { formatMessage } from "@walletconnect/utils";
|
|
4
4
|
import { getWalletAccounts, verifyWalletAccount } from "@dynamic-labs-sdk/client";
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_SessionClosedUnexpectedlyError = require('./SessionClosedUnexpectedlyError-
|
|
1
|
+
const require_SessionClosedUnexpectedlyError = require('./SessionClosedUnexpectedlyError-B9XFxyV5.cjs.js');
|
|
2
2
|
const require_core = require('./core.cjs.js');
|
|
3
3
|
let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
|
|
4
4
|
let _walletconnect_utils = require("@walletconnect/utils");
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as name, r as version, t as SessionClosedUnexpectedlyError } from "./SessionClosedUnexpectedlyError-
|
|
1
|
+
import { n as name, r as version, t as SessionClosedUnexpectedlyError } from "./SessionClosedUnexpectedlyError-DZsFxKLZ.esm.js";
|
|
2
2
|
import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
|
|
3
3
|
import { SDK_ERRORS as WC_ERRORS } from "@walletconnect/utils";
|
|
4
4
|
import { WalletProviderEnum } from "@dynamic-labs/sdk-api-core";
|