@dynamic-labs/wallet-book 2.3.7 → 2.3.9

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,19 @@
1
1
 
2
+ ### [2.3.9](https://github.com/dynamic-labs/DynamicAuth/compare/v2.3.8...v2.3.9) (2024-08-13)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * hcaptcha for mobile login ([#6525](https://github.com/dynamic-labs/DynamicAuth/issues/6525)) ([#6539](https://github.com/dynamic-labs/DynamicAuth/issues/6539)) ([9b3676d](https://github.com/dynamic-labs/DynamicAuth/commit/9b3676dd27c65a7e678e720e5648a166b8d514a6))
8
+
9
+ ### [2.3.8](https://github.com/dynamic-labs/DynamicAuth/compare/v2.3.7...v2.3.8) (2024-08-02)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * fetch user on refresh from backend when cookie-enabled and user not in local storage ([#6472](https://github.com/dynamic-labs/DynamicAuth/issues/6472)) ([7300a21](https://github.com/dynamic-labs/DynamicAuth/commit/7300a21d81d51ef1fc93af12d1081b5c1d57b578))
15
+ * stop filtering wallet connect on keyword "wallet" ([#6476](https://github.com/dynamic-labs/DynamicAuth/issues/6476)) ([fc1be36](https://github.com/dynamic-labs/DynamicAuth/commit/fc1be36b0370f876dcfe4e84e25ee60cf9682306)), closes [#6475](https://github.com/dynamic-labs/DynamicAuth/issues/6475)
16
+
2
17
  ### [2.3.7](https://github.com/dynamic-labs/DynamicAuth/compare/v2.3.6...v2.3.7) (2024-07-26)
3
18
 
4
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "2.3.7",
3
+ "version": "2.3.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "3.22.4",
29
- "@dynamic-labs/iconic": "2.3.7",
30
- "@dynamic-labs/logger": "2.3.7",
31
- "@dynamic-labs/utils": "2.3.7",
29
+ "@dynamic-labs/iconic": "2.3.9",
30
+ "@dynamic-labs/logger": "2.3.9",
31
+ "@dynamic-labs/utils": "2.3.9",
32
32
  "util": "0.12.5"
33
33
  },
34
34
  "peerDependencies": {
@@ -1,4 +1,12 @@
1
1
  export declare const walletConnectSourceData: Record<string, {
2
+ id: string;
3
+ metadata: {
4
+ shortName: string | null;
5
+ colors: {
6
+ primary: string | null;
7
+ secondary: string | null;
8
+ };
9
+ };
2
10
  name: string;
3
11
  chains: string[];
4
12
  desktop: {
@@ -28,7 +36,6 @@ export declare const walletConnectSourceData: Record<string, {
28
36
  category: string | null;
29
37
  description: string | null;
30
38
  homepage: string;
31
- id: string;
32
39
  image_id: string;
33
40
  image_url: {
34
41
  lg: string;
@@ -39,22 +46,15 @@ export declare const walletConnectSourceData: Record<string, {
39
46
  injected_id: string;
40
47
  namespace: string;
41
48
  }[] | null;
42
- metadata: {
43
- shortName: string | null;
44
- colors: {
45
- primary: string | null;
46
- secondary: string | null;
47
- };
48
- };
49
49
  slug: string;
50
50
  updatedAt: string;
51
51
  versions: string[];
52
52
  supported_standards?: {
53
53
  id: string;
54
- standard_id: number;
55
- standard_prefix: string;
56
54
  title: string;
57
55
  url: string;
56
+ standard_id: number;
57
+ standard_prefix: string;
58
58
  }[] | undefined;
59
59
  }>;
60
60
  export declare const walletConnectTransformedData: Promise<Record<string, {
@@ -89,6 +89,15 @@ var groups = {
89
89
  key: "mathwallet",
90
90
  name: "Math Wallet"
91
91
  },
92
+ metamask: {
93
+ brand: {
94
+ alt: "MetaMask",
95
+ primaryColor: "#E2761B",
96
+ spriteId: "metamask"
97
+ },
98
+ key: "metamask",
99
+ name: "MetaMask"
100
+ },
92
101
  okxwallet: {
93
102
  brand: {
94
103
  alt: "OKX Wallet",
@@ -114,6 +123,7 @@ var wallets = {
114
123
  primaryColor: "#E8831D",
115
124
  spriteId: "metamask"
116
125
  },
126
+ chainGroup: "metamask",
117
127
  chains: [
118
128
  "eip155:1"
119
129
  ],
@@ -126,6 +136,7 @@ var wallets = {
126
136
  rdns: "io.metamask"
127
137
  },
128
138
  filterFromWalletConnect: true,
139
+ group: "metamask",
129
140
  injectedConfig: [
130
141
  {
131
142
  chain: "evm",
@@ -85,6 +85,15 @@ var groups = {
85
85
  key: "mathwallet",
86
86
  name: "Math Wallet"
87
87
  },
88
+ metamask: {
89
+ brand: {
90
+ alt: "MetaMask",
91
+ primaryColor: "#E2761B",
92
+ spriteId: "metamask"
93
+ },
94
+ key: "metamask",
95
+ name: "MetaMask"
96
+ },
88
97
  okxwallet: {
89
98
  brand: {
90
99
  alt: "OKX Wallet",
@@ -110,6 +119,7 @@ var wallets = {
110
119
  primaryColor: "#E8831D",
111
120
  spriteId: "metamask"
112
121
  },
122
+ chainGroup: "metamask",
113
123
  chains: [
114
124
  "eip155:1"
115
125
  ],
@@ -122,6 +132,7 @@ var wallets = {
122
132
  rdns: "io.metamask"
123
133
  },
124
134
  filterFromWalletConnect: true,
135
+ group: "metamask",
125
136
  injectedConfig: [
126
137
  {
127
138
  chain: "evm",