@dynamic-labs/wallet-book 1.1.0-alpha.23 → 1.1.0-alpha.25

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,24 @@
1
1
 
2
+ ## [1.1.0-alpha.25](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.24...v1.1.0-alpha.25) (2024-02-05)
3
+
4
+
5
+ ### Features
6
+
7
+ * add signin with coinbase to sdk ([#4581](https://github.com/dynamic-labs/DynamicAuth/issues/4581)) ([08a31ed](https://github.com/dynamic-labs/DynamicAuth/commit/08a31ed3552c48645b398881f184440800af21ec))
8
+ * exposing hook for creating either one-time code or passkeys authenticators ([#4591](https://github.com/dynamic-labs/DynamicAuth/issues/4591)) ([864d755](https://github.com/dynamic-labs/DynamicAuth/commit/864d75576152a10f73f5901bc06e2d66892b63ab))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * solana wallet sign message with one-time code session ([#4588](https://github.com/dynamic-labs/DynamicAuth/issues/4588)) ([a738d10](https://github.com/dynamic-labs/DynamicAuth/commit/a738d10814dc5058158b9c0c59a399a375c69c10))
14
+
15
+ ## [1.1.0-alpha.24](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.23...v1.1.0-alpha.24) (2024-02-02)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * remove isFullyConnected when unable to restore wallet ([#4575](https://github.com/dynamic-labs/DynamicAuth/issues/4575)) ([4504ff0](https://github.com/dynamic-labs/DynamicAuth/commit/4504ff03f594cd9a60055e6f52b7ea8001542bbe))
21
+
2
22
  ## [1.1.0-alpha.23](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.22...v1.1.0-alpha.23) (2024-02-01)
3
23
 
4
24
 
package/README.md CHANGED
@@ -5,6 +5,10 @@
5
5
  - [Wallet Book](#wallet-book)
6
6
  - [Updating Wallet Book](#updating-wallet-book)
7
7
  - [Adding First Party Wallet](#adding-first-party-wallet)
8
+ - [Adding injected (browser extension) wallets](#adding-injected-browser-extension-wallets)
9
+ - [If you need to override any of the following functions: signMessage, fetchPublicAddress, getSigner, isInstalledOnBrowser, etc...](#if-you-need-to-override-any-of-the-following-functions-signmessage-fetchpublicaddress-getsigner-isinstalledonbrowser-etc)
10
+ - [Things to remember when adding a new wallet](#things-to-remember-when-adding-a-new-wallet)
11
+ - [**Checklist before submitting the PR**:](#checklist-before-submitting-the-pr)
8
12
  - [Updating Wallet Connect Data](#updating-wallet-connect-data)
9
13
  - [Adding overrides to WalletConnect](#adding-overrides-to-walletconnect)
10
14
  - [Compile \& Publish](#compile--publish)
@@ -117,7 +121,7 @@ Refer to `injectedConfigSchema` for the schema options
117
121
 
118
122
  ### Updating Wallet Connect Data
119
123
 
120
- - Download the data from : https://registry.walletconnect.org/data/wallets.json replace
124
+ - Download the data from : https://explorer-api.walletconnect.com/v3/wallets?projectId=XXXX replace
121
125
  - Replace packages/wallet-book/src/build/sources/walletConnect/walletconnect.json
122
126
  - [Compile & Publish](#compile--publish)
123
127
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "1.1.0-alpha.23",
3
+ "version": "1.1.0-alpha.25",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "zod": "3.22.4",
29
- "@dynamic-labs/logger": "1.1.0-alpha.23",
30
- "@dynamic-labs/utils": "1.1.0-alpha.23",
29
+ "@dynamic-labs/logger": "1.1.0-alpha.25",
30
+ "@dynamic-labs/utils": "1.1.0-alpha.25",
31
31
  "util": "0.12.5"
32
32
  },
33
33
  "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, {
@@ -198,7 +198,8 @@ var wallets = {
198
198
  androidId: "org.toshi",
199
199
  iosId: "id1278383455"
200
200
  },
201
- name: "Coinbase Wallet"
201
+ name: "Coinbase",
202
+ shortName: "Coinbase Wallet"
202
203
  },
203
204
  coinbasesolana: {
204
205
  brand: {
@@ -221,7 +222,8 @@ var wallets = {
221
222
  ]
222
223
  }
223
224
  ],
224
- name: "Coinbase Wallet (Solana)"
225
+ name: "Coinbase",
226
+ shortName: "Coinbase Wallet (Solana)"
225
227
  },
226
228
  phantom: {
227
229
  brand: {
@@ -304,7 +306,8 @@ var wallets = {
304
306
  androidId: "app.phantom",
305
307
  iosId: "id1598432977"
306
308
  },
307
- name: "Phantom (EVM)"
309
+ name: "Phantom",
310
+ shortName: "Phantom (EVM)"
308
311
  },
309
312
  phantomledger: {
310
313
  brand: {
@@ -352,7 +355,8 @@ var wallets = {
352
355
  androidId: "app.phantom",
353
356
  iosId: "id1598432977"
354
357
  },
355
- name: "Phantom (Ledger)"
358
+ name: "Phantom",
359
+ shortName: "Phantom (Ledger)"
356
360
  },
357
361
  walletconnect: {
358
362
  brand: {
@@ -381,8 +385,7 @@ var wallets = {
381
385
  androidId: "im.argent.contractwalletclient",
382
386
  iosId: "id1358741926"
383
387
  },
384
- name: "Argent X",
385
- walletGroup: "argentx"
388
+ name: "Argent X"
386
389
  },
387
390
  myalgo: {
388
391
  brand: {
@@ -403,7 +406,8 @@ var wallets = {
403
406
  androidId: "com.portto.blocto",
404
407
  iosId: "id1481181682"
405
408
  },
406
- name: "Blocto (Flow)"
409
+ name: "Blocto",
410
+ shortName: "Blocto (Flow)"
407
411
  },
408
412
  solflare: {
409
413
  brand: {
@@ -690,7 +694,8 @@ var wallets = {
690
694
  ]
691
695
  }
692
696
  ],
693
- name: "Magic Eden (Solana)"
697
+ name: "Magic Eden",
698
+ shortName: "Magic Eden (Solana)"
694
699
  },
695
700
  exodus: {
696
701
  brand: {
@@ -757,7 +762,8 @@ var wallets = {
757
762
  iosId: "id1414384820",
758
763
  native: "exodus://wc"
759
764
  },
760
- name: "Exodus Wallet (EVM)",
765
+ name: "Exodus",
766
+ shortName: "Exodus Wallet (EVM)",
761
767
  walletConnect: {
762
768
  sdks: [
763
769
  "sign_v2",
@@ -797,7 +803,8 @@ var wallets = {
797
803
  androidId: "exodusmovement.exodus",
798
804
  iosId: "id1414384820"
799
805
  },
800
- name: "Exodus Wallet (Solana)"
806
+ name: "Exodus",
807
+ shortName: "Exodus Wallet (Solana)"
801
808
  },
802
809
  okxwallet: {
803
810
  brand: {
@@ -843,7 +850,8 @@ var wallets = {
843
850
  iosId: "id1327268470",
844
851
  native: "okex://main/wc"
845
852
  },
846
- name: "OKX Wallet",
853
+ name: "OKX",
854
+ shortName: "OKX Wallet",
847
855
  walletConnect: {
848
856
  sdks: [
849
857
  "sign_v2"
@@ -194,7 +194,8 @@ var wallets = {
194
194
  androidId: "org.toshi",
195
195
  iosId: "id1278383455"
196
196
  },
197
- name: "Coinbase Wallet"
197
+ name: "Coinbase",
198
+ shortName: "Coinbase Wallet"
198
199
  },
199
200
  coinbasesolana: {
200
201
  brand: {
@@ -217,7 +218,8 @@ var wallets = {
217
218
  ]
218
219
  }
219
220
  ],
220
- name: "Coinbase Wallet (Solana)"
221
+ name: "Coinbase",
222
+ shortName: "Coinbase Wallet (Solana)"
221
223
  },
222
224
  phantom: {
223
225
  brand: {
@@ -300,7 +302,8 @@ var wallets = {
300
302
  androidId: "app.phantom",
301
303
  iosId: "id1598432977"
302
304
  },
303
- name: "Phantom (EVM)"
305
+ name: "Phantom",
306
+ shortName: "Phantom (EVM)"
304
307
  },
305
308
  phantomledger: {
306
309
  brand: {
@@ -348,7 +351,8 @@ var wallets = {
348
351
  androidId: "app.phantom",
349
352
  iosId: "id1598432977"
350
353
  },
351
- name: "Phantom (Ledger)"
354
+ name: "Phantom",
355
+ shortName: "Phantom (Ledger)"
352
356
  },
353
357
  walletconnect: {
354
358
  brand: {
@@ -377,8 +381,7 @@ var wallets = {
377
381
  androidId: "im.argent.contractwalletclient",
378
382
  iosId: "id1358741926"
379
383
  },
380
- name: "Argent X",
381
- walletGroup: "argentx"
384
+ name: "Argent X"
382
385
  },
383
386
  myalgo: {
384
387
  brand: {
@@ -399,7 +402,8 @@ var wallets = {
399
402
  androidId: "com.portto.blocto",
400
403
  iosId: "id1481181682"
401
404
  },
402
- name: "Blocto (Flow)"
405
+ name: "Blocto",
406
+ shortName: "Blocto (Flow)"
403
407
  },
404
408
  solflare: {
405
409
  brand: {
@@ -686,7 +690,8 @@ var wallets = {
686
690
  ]
687
691
  }
688
692
  ],
689
- name: "Magic Eden (Solana)"
693
+ name: "Magic Eden",
694
+ shortName: "Magic Eden (Solana)"
690
695
  },
691
696
  exodus: {
692
697
  brand: {
@@ -753,7 +758,8 @@ var wallets = {
753
758
  iosId: "id1414384820",
754
759
  native: "exodus://wc"
755
760
  },
756
- name: "Exodus Wallet (EVM)",
761
+ name: "Exodus",
762
+ shortName: "Exodus Wallet (EVM)",
757
763
  walletConnect: {
758
764
  sdks: [
759
765
  "sign_v2",
@@ -793,7 +799,8 @@ var wallets = {
793
799
  androidId: "exodusmovement.exodus",
794
800
  iosId: "id1414384820"
795
801
  },
796
- name: "Exodus Wallet (Solana)"
802
+ name: "Exodus",
803
+ shortName: "Exodus Wallet (Solana)"
797
804
  },
798
805
  okxwallet: {
799
806
  brand: {
@@ -839,7 +846,8 @@ var wallets = {
839
846
  iosId: "id1327268470",
840
847
  native: "okex://main/wc"
841
848
  },
842
- name: "OKX Wallet",
849
+ name: "OKX",
850
+ shortName: "OKX Wallet",
843
851
  walletConnect: {
844
852
  sdks: [
845
853
  "sign_v2"