@dynamic-labs/wallet-connector-core 4.37.1 → 4.38.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/CHANGELOG.md CHANGED
@@ -1,4 +1,34 @@
1
1
 
2
+ ## [4.38.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.2...v4.38.0) (2025-10-14)
3
+
4
+
5
+ ### Features
6
+
7
+ * add client.ui.updateUser.show method to update user with dynamic ui ([#9702](https://github.com/dynamic-labs/dynamic-auth/issues/9702)) ([9554e98](https://github.com/dynamic-labs/dynamic-auth/commit/9554e98eadf3f801a5ebe8b22493a87cc87b8178))
8
+ * add locale to react-native client ([#9698](https://github.com/dynamic-labs/dynamic-auth/issues/9698)) ([fe577fc](https://github.com/dynamic-labs/dynamic-auth/commit/fe577fccd3cc92e5153f66f401357035bb5baec3))
9
+ * add updateUser to react-native client ([#9701](https://github.com/dynamic-labs/dynamic-auth/issues/9701)) ([124fbf7](https://github.com/dynamic-labs/dynamic-auth/commit/124fbf7a350bfa6404e65def7b436686d38847ed))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * notes and trigger ([#9697](https://github.com/dynamic-labs/dynamic-auth/issues/9697)) ([5d24a77](https://github.com/dynamic-labs/dynamic-auth/commit/5d24a77faa8030434bc7dd0f35986984bc2576d5))
15
+ * **zerodev-extension:** allow zerodev kernel client to send user operation ([#9706](https://github.com/dynamic-labs/dynamic-auth/issues/9706)) ([b57afc9](https://github.com/dynamic-labs/dynamic-auth/commit/b57afc9f378d6b2423ca46faec5f6b2861d3cbf6))
16
+
17
+ ### [4.37.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.1...v4.37.2) (2025-10-13)
18
+
19
+
20
+ ### Features
21
+
22
+ * add get all linked social accounts function ([#9676](https://github.com/dynamic-labs/dynamic-auth/issues/9676)) ([c637c3f](https://github.com/dynamic-labs/dynamic-auth/commit/c637c3f101ea9387584473e18ff728c17d000f73))
23
+ * add revoke delegation to connectors and hook ([#9628](https://github.com/dynamic-labs/dynamic-auth/issues/9628)) ([00a40e0](https://github.com/dynamic-labs/dynamic-auth/commit/00a40e0b2aa6137a97ccb3be7890326300582fcf))
24
+ * **react-native:** add methods to social module ([#9677](https://github.com/dynamic-labs/dynamic-auth/issues/9677)) ([e4ffc11](https://github.com/dynamic-labs/dynamic-auth/commit/e4ffc1139ddc49826da688857d20dfb3b0c77ad7))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * duplicate wallet display for wallet upgrade ([#9684](https://github.com/dynamic-labs/dynamic-auth/issues/9684)) ([cf94223](https://github.com/dynamic-labs/dynamic-auth/commit/cf94223d91f74add454901b72f4bf7d81043bffc))
30
+ * fixes postbuild oom ([#9664](https://github.com/dynamic-labs/dynamic-auth/issues/9664)) ([7e56047](https://github.com/dynamic-labs/dynamic-auth/commit/7e5604721d708e375c642223cd2f615ab9191f70))
31
+
2
32
  ### [4.37.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.0...v4.37.1) (2025-10-08)
3
33
 
4
34
  ## [4.37.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.36.1...v4.37.0) (2025-10-08)
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.37.1";
6
+ var version = "4.38.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.37.1";
2
+ var version = "4.38.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "4.37.1",
3
+ "version": "4.38.0",
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",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.798",
22
- "@dynamic-labs/assert-package-version": "4.37.1",
23
- "@dynamic-labs/logger": "4.37.1",
24
- "@dynamic-labs/rpc-providers": "4.37.1",
25
- "@dynamic-labs/types": "4.37.1",
26
- "@dynamic-labs/utils": "4.37.1",
27
- "@dynamic-labs/wallet-book": "4.37.1",
21
+ "@dynamic-labs/sdk-api-core": "0.0.805",
22
+ "@dynamic-labs/assert-package-version": "4.38.0",
23
+ "@dynamic-labs/logger": "4.38.0",
24
+ "@dynamic-labs/rpc-providers": "4.38.0",
25
+ "@dynamic-labs/types": "4.38.0",
26
+ "@dynamic-labs/utils": "4.38.0",
27
+ "@dynamic-labs/wallet-book": "4.38.0",
28
28
  "eventemitter3": "5.0.1"
29
29
  },
30
30
  "peerDependencies": {}
@@ -4,18 +4,19 @@
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  const Chains = [
7
- 'ETH',
8
- 'FLOW',
9
- 'SOL',
10
- 'EVM',
11
7
  'ALGO',
12
- 'STARK',
8
+ 'APTOS',
13
9
  'ATOM',
14
- 'COSMOS',
15
10
  'BTC',
11
+ 'COSMOS',
16
12
  'ECLIPSE',
17
- 'SUI',
13
+ 'ETH',
14
+ 'EVM',
15
+ 'FLOW',
16
+ 'SOL',
18
17
  'SPARK',
18
+ 'STARK',
19
+ 'SUI',
19
20
  'TRON',
20
21
  ];
21
22
  const socialProviders = [
@@ -1,6 +1,6 @@
1
1
  import EventEmitter from 'eventemitter3';
2
2
  import { WalletConnectorCore } from '../types';
3
- export declare const Chains: readonly ["ETH", "FLOW", "SOL", "EVM", "ALGO", "STARK", "ATOM", "COSMOS", "BTC", "ECLIPSE", "SUI", "SPARK", "TRON"];
3
+ export declare const Chains: readonly ["ALGO", "APTOS", "ATOM", "BTC", "COSMOS", "ECLIPSE", "ETH", "EVM", "FLOW", "SOL", "SPARK", "STARK", "SUI", "TRON"];
4
4
  export type Chain = typeof Chains[number];
5
5
  export declare const socialProviders: readonly ["google", "facebook", "apple", "github", "bitbucket", "gitlab", "linkedin", "twitter", "discord", "twitch", "microsoft"];
6
6
  export type SocialProvider = typeof socialProviders[number];
@@ -1,17 +1,18 @@
1
1
  'use client'
2
2
  const Chains = [
3
- 'ETH',
4
- 'FLOW',
5
- 'SOL',
6
- 'EVM',
7
3
  'ALGO',
8
- 'STARK',
4
+ 'APTOS',
9
5
  'ATOM',
10
- 'COSMOS',
11
6
  'BTC',
7
+ 'COSMOS',
12
8
  'ECLIPSE',
13
- 'SUI',
9
+ 'ETH',
10
+ 'EVM',
11
+ 'FLOW',
12
+ 'SOL',
14
13
  'SPARK',
14
+ 'STARK',
15
+ 'SUI',
15
16
  'TRON',
16
17
  ];
17
18
  const socialProviders = [
@@ -41,6 +41,10 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
41
41
  accountAddress: string;
42
42
  password?: string;
43
43
  }): Promise<void>;
44
+ revokeDelegation({ accountAddress, password, }: {
45
+ accountAddress: string;
46
+ password?: string;
47
+ }): Promise<void>;
44
48
  refreshWalletAccountShares({ accountAddress, password, }: {
45
49
  accountAddress: string;
46
50
  password?: string;
@@ -3,73 +3,25 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
+ const createChainInfo = (blockchainName, name, symbol, displayName) => ({
7
+ blockchainName,
8
+ displayName: displayName !== null && displayName !== void 0 ? displayName : blockchainName,
9
+ name,
10
+ symbol: symbol,
11
+ });
6
12
  const chainsInfo = [
7
- {
8
- blockchainName: 'Algorand',
9
- displayName: 'Algorand',
10
- name: 'algorand',
11
- symbol: 'ALGO',
12
- },
13
- {
14
- blockchainName: 'Bitcoin',
15
- displayName: 'Bitcoin',
16
- name: 'bitcoin',
17
- symbol: 'BTC',
18
- },
19
- {
20
- blockchainName: 'Ethereum',
21
- displayName: 'EVM',
22
- name: 'evm',
23
- symbol: 'ETH',
24
- },
25
- {
26
- blockchainName: 'Flow',
27
- displayName: 'Flow',
28
- name: 'flow',
29
- symbol: 'FLOW',
30
- },
31
- {
32
- blockchainName: 'Solana',
33
- displayName: 'Solana',
34
- name: 'solana',
35
- symbol: 'SOL',
36
- },
37
- {
38
- blockchainName: 'Starknet',
39
- displayName: 'Starknet',
40
- name: 'starknet',
41
- symbol: 'ETH',
42
- },
43
- {
44
- blockchainName: 'Cosmos',
45
- displayName: 'Cosmos',
46
- name: 'cosmos',
47
- symbol: 'COSMOS',
48
- },
49
- {
50
- blockchainName: 'Eclipse',
51
- displayName: 'Eclipse',
52
- name: 'eclipse',
53
- symbol: 'ECLIPSE',
54
- },
55
- {
56
- blockchainName: 'Sui',
57
- displayName: 'Sui',
58
- name: 'sui',
59
- symbol: 'SUI',
60
- },
61
- {
62
- blockchainName: 'Spark',
63
- displayName: 'Spark',
64
- name: 'spark',
65
- symbol: 'SPARK',
66
- },
67
- {
68
- blockchainName: 'Tron',
69
- displayName: 'Tron',
70
- name: 'tron',
71
- symbol: 'TRON',
72
- },
13
+ createChainInfo('Algorand', 'algorand', 'ALGO'),
14
+ createChainInfo('Aptos', 'aptos', 'APTOS'),
15
+ createChainInfo('Bitcoin', 'bitcoin', 'BTC'),
16
+ createChainInfo('Cosmos', 'cosmos', 'COSMOS'),
17
+ createChainInfo('Eclipse', 'eclipse', 'ECLIPSE'),
18
+ createChainInfo('Ethereum', 'evm', 'ETH', 'EVM'),
19
+ createChainInfo('Flow', 'flow', 'FLOW'),
20
+ createChainInfo('Solana', 'solana', 'SOL'),
21
+ createChainInfo('Spark', 'spark', 'SPARK'),
22
+ createChainInfo('Starknet', 'starknet', 'ETH'),
23
+ createChainInfo('Sui', 'sui', 'SUI'),
24
+ createChainInfo('Tron', 'tron', 'TRON'),
73
25
  ];
74
26
  const chainOverrides = {
75
27
  algo: 'algorand',
@@ -1,5 +1,5 @@
1
1
  import { ChainInfo } from '../..';
2
- export type ChainName = 'algorand' | 'eclipse' | 'bitcoin' | 'evm' | 'flow' | 'solana' | 'starknet' | 'cosmos' | 'sui' | 'spark' | 'tron';
2
+ export type ChainName = 'algorand' | 'aptos' | 'bitcoin' | 'cosmos' | 'eclipse' | 'evm' | 'flow' | 'solana' | 'spark' | 'starknet' | 'sui' | 'tron';
3
3
  export type ChainDisplayOverrides = Partial<Record<ChainName, {
4
4
  displayName?: string;
5
5
  }>>;
@@ -1,71 +1,23 @@
1
1
  'use client'
2
+ const createChainInfo = (blockchainName, name, symbol, displayName) => ({
3
+ blockchainName,
4
+ displayName: displayName !== null && displayName !== void 0 ? displayName : blockchainName,
5
+ name,
6
+ symbol: symbol,
7
+ });
2
8
  const chainsInfo = [
3
- {
4
- blockchainName: 'Algorand',
5
- displayName: 'Algorand',
6
- name: 'algorand',
7
- symbol: 'ALGO',
8
- },
9
- {
10
- blockchainName: 'Bitcoin',
11
- displayName: 'Bitcoin',
12
- name: 'bitcoin',
13
- symbol: 'BTC',
14
- },
15
- {
16
- blockchainName: 'Ethereum',
17
- displayName: 'EVM',
18
- name: 'evm',
19
- symbol: 'ETH',
20
- },
21
- {
22
- blockchainName: 'Flow',
23
- displayName: 'Flow',
24
- name: 'flow',
25
- symbol: 'FLOW',
26
- },
27
- {
28
- blockchainName: 'Solana',
29
- displayName: 'Solana',
30
- name: 'solana',
31
- symbol: 'SOL',
32
- },
33
- {
34
- blockchainName: 'Starknet',
35
- displayName: 'Starknet',
36
- name: 'starknet',
37
- symbol: 'ETH',
38
- },
39
- {
40
- blockchainName: 'Cosmos',
41
- displayName: 'Cosmos',
42
- name: 'cosmos',
43
- symbol: 'COSMOS',
44
- },
45
- {
46
- blockchainName: 'Eclipse',
47
- displayName: 'Eclipse',
48
- name: 'eclipse',
49
- symbol: 'ECLIPSE',
50
- },
51
- {
52
- blockchainName: 'Sui',
53
- displayName: 'Sui',
54
- name: 'sui',
55
- symbol: 'SUI',
56
- },
57
- {
58
- blockchainName: 'Spark',
59
- displayName: 'Spark',
60
- name: 'spark',
61
- symbol: 'SPARK',
62
- },
63
- {
64
- blockchainName: 'Tron',
65
- displayName: 'Tron',
66
- name: 'tron',
67
- symbol: 'TRON',
68
- },
9
+ createChainInfo('Algorand', 'algorand', 'ALGO'),
10
+ createChainInfo('Aptos', 'aptos', 'APTOS'),
11
+ createChainInfo('Bitcoin', 'bitcoin', 'BTC'),
12
+ createChainInfo('Cosmos', 'cosmos', 'COSMOS'),
13
+ createChainInfo('Eclipse', 'eclipse', 'ECLIPSE'),
14
+ createChainInfo('Ethereum', 'evm', 'ETH', 'EVM'),
15
+ createChainInfo('Flow', 'flow', 'FLOW'),
16
+ createChainInfo('Solana', 'solana', 'SOL'),
17
+ createChainInfo('Spark', 'spark', 'SPARK'),
18
+ createChainInfo('Starknet', 'starknet', 'ETH'),
19
+ createChainInfo('Sui', 'sui', 'SUI'),
20
+ createChainInfo('Tron', 'tron', 'TRON'),
69
21
  ];
70
22
  const chainOverrides = {
71
23
  algo: 'algorand',