@dynamic-labs/wallet-connector-core 4.18.2 → 4.18.4
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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.18.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.3...v4.18.4) (2025-05-15)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* global connectivity confirmation UI should be forced ([#8658](https://github.com/dynamic-labs/dynamic-auth/issues/8658)) ([b1f437b](https://github.com/dynamic-labs/dynamic-auth/commit/b1f437b40ef748db765dac76687abd8d2668a79d))
|
|
8
|
+
* onekey typo ([#8698](https://github.com/dynamic-labs/dynamic-auth/issues/8698)) ([b1f21bf](https://github.com/dynamic-labs/dynamic-auth/commit/b1f21bfacdb42ccbb68bff5e2dd398308fc3d4c3))
|
|
9
|
+
* use correct chain kernel client for AA SIWE ([#8657](https://github.com/dynamic-labs/dynamic-auth/issues/8657)) ([6dfd677](https://github.com/dynamic-labs/dynamic-auth/commit/6dfd677d804fc40994a5be6b696e6e199ada82d4))
|
|
10
|
+
|
|
11
|
+
### [4.18.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.2...v4.18.3) (2025-05-12)
|
|
12
|
+
|
|
2
13
|
### [4.18.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.1...v4.18.2) (2025-05-09)
|
|
3
14
|
|
|
4
15
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.4",
|
|
4
4
|
"description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.663",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.18.
|
|
23
|
-
"@dynamic-labs/logger": "4.18.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.18.
|
|
25
|
-
"@dynamic-labs/types": "4.18.
|
|
26
|
-
"@dynamic-labs/utils": "4.18.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.18.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.18.4",
|
|
23
|
+
"@dynamic-labs/logger": "4.18.4",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.18.4",
|
|
25
|
+
"@dynamic-labs/types": "4.18.4",
|
|
26
|
+
"@dynamic-labs/utils": "4.18.4",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.18.4",
|
|
28
28
|
"eventemitter3": "5.0.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {}
|
|
@@ -169,8 +169,11 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
171
|
* Generic function to close the wallet connection
|
|
172
|
+
*
|
|
172
173
|
* Originally implemented for WalletConnect, but it is used
|
|
173
|
-
* for anything that needs to be "logged out" or cleaned up
|
|
174
|
+
* for anything that needs to be "logged out" or cleaned up.
|
|
175
|
+
*
|
|
176
|
+
* Remember to call teardownEventListeners() in the implementation.
|
|
174
177
|
*
|
|
175
178
|
* @default Promise<undefined>
|
|
176
179
|
*/
|
|
@@ -231,6 +234,11 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
231
234
|
/**
|
|
232
235
|
* Get the address silently
|
|
233
236
|
*
|
|
237
|
+
* This is used to check which accounts are already connected and
|
|
238
|
+
* should silently attempt to reconnect. If the user refreshes their
|
|
239
|
+
* page and gets disconnected, there's likely an issue with the
|
|
240
|
+
* implementation of this method.
|
|
241
|
+
*
|
|
234
242
|
* @default Promise<[]>
|
|
235
243
|
*/
|
|
236
244
|
getConnectedAccounts() {
|
|
@@ -458,7 +466,12 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
458
466
|
});
|
|
459
467
|
}
|
|
460
468
|
/**
|
|
461
|
-
* Get the enabled networks for the wallet
|
|
469
|
+
* Get the enabled networks for the wallet.
|
|
470
|
+
*
|
|
471
|
+
* These are normally set in the opts prop of the wallet connector constructor. The
|
|
472
|
+
* network values are passed from project settings and can require an update to
|
|
473
|
+
* [getWalletConnectorConstructorOptions] for new chains.
|
|
474
|
+
*
|
|
462
475
|
* @returns {GenericNetwork[]} The enabled networks
|
|
463
476
|
*/
|
|
464
477
|
getEnabledNetworks() {
|
|
@@ -95,8 +95,11 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
95
95
|
abstract connectedChain: Chain;
|
|
96
96
|
/**
|
|
97
97
|
* Generic function to close the wallet connection
|
|
98
|
+
*
|
|
98
99
|
* Originally implemented for WalletConnect, but it is used
|
|
99
|
-
* for anything that needs to be "logged out" or cleaned up
|
|
100
|
+
* for anything that needs to be "logged out" or cleaned up.
|
|
101
|
+
*
|
|
102
|
+
* Remember to call teardownEventListeners() in the implementation.
|
|
100
103
|
*
|
|
101
104
|
* @default Promise<undefined>
|
|
102
105
|
*/
|
|
@@ -143,6 +146,11 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
143
146
|
/**
|
|
144
147
|
* Get the address silently
|
|
145
148
|
*
|
|
149
|
+
* This is used to check which accounts are already connected and
|
|
150
|
+
* should silently attempt to reconnect. If the user refreshes their
|
|
151
|
+
* page and gets disconnected, there's likely an issue with the
|
|
152
|
+
* implementation of this method.
|
|
153
|
+
*
|
|
146
154
|
* @default Promise<[]>
|
|
147
155
|
*/
|
|
148
156
|
getConnectedAccounts(): Promise<string[]>;
|
|
@@ -342,7 +350,12 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
342
350
|
*/
|
|
343
351
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
344
352
|
/**
|
|
345
|
-
* Get the enabled networks for the wallet
|
|
353
|
+
* Get the enabled networks for the wallet.
|
|
354
|
+
*
|
|
355
|
+
* These are normally set in the opts prop of the wallet connector constructor. The
|
|
356
|
+
* network values are passed from project settings and can require an update to
|
|
357
|
+
* [getWalletConnectorConstructorOptions] for new chains.
|
|
358
|
+
*
|
|
346
359
|
* @returns {GenericNetwork[]} The enabled networks
|
|
347
360
|
*/
|
|
348
361
|
getEnabledNetworks(): GenericNetwork[];
|
|
@@ -161,8 +161,11 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* Generic function to close the wallet connection
|
|
164
|
+
*
|
|
164
165
|
* Originally implemented for WalletConnect, but it is used
|
|
165
|
-
* for anything that needs to be "logged out" or cleaned up
|
|
166
|
+
* for anything that needs to be "logged out" or cleaned up.
|
|
167
|
+
*
|
|
168
|
+
* Remember to call teardownEventListeners() in the implementation.
|
|
166
169
|
*
|
|
167
170
|
* @default Promise<undefined>
|
|
168
171
|
*/
|
|
@@ -223,6 +226,11 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
223
226
|
/**
|
|
224
227
|
* Get the address silently
|
|
225
228
|
*
|
|
229
|
+
* This is used to check which accounts are already connected and
|
|
230
|
+
* should silently attempt to reconnect. If the user refreshes their
|
|
231
|
+
* page and gets disconnected, there's likely an issue with the
|
|
232
|
+
* implementation of this method.
|
|
233
|
+
*
|
|
226
234
|
* @default Promise<[]>
|
|
227
235
|
*/
|
|
228
236
|
getConnectedAccounts() {
|
|
@@ -450,7 +458,12 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
450
458
|
});
|
|
451
459
|
}
|
|
452
460
|
/**
|
|
453
|
-
* Get the enabled networks for the wallet
|
|
461
|
+
* Get the enabled networks for the wallet.
|
|
462
|
+
*
|
|
463
|
+
* These are normally set in the opts prop of the wallet connector constructor. The
|
|
464
|
+
* network values are passed from project settings and can require an update to
|
|
465
|
+
* [getWalletConnectorConstructorOptions] for new chains.
|
|
466
|
+
*
|
|
454
467
|
* @returns {GenericNetwork[]} The enabled networks
|
|
455
468
|
*/
|
|
456
469
|
getEnabledNetworks() {
|