@dynamic-labs/wallet-book 0.17.0-RC.27 → 0.17.0-RC.29

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,25 @@
1
1
 
2
+ ## [0.17.0-RC.29](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.28...v0.17.0-RC.29) (2023-06-07)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * de-duplicate authSuccess call ([#2269](https://github.com/dynamic-labs/DynamicAuth/issues/2269)) ([00268d0](https://github.com/dynamic-labs/DynamicAuth/commit/00268d001355946c98d285d71d7f7acc96d4c9f7))
8
+ * hide search when filtered wallets equal to number of shown wallets ([#2221](https://github.com/dynamic-labs/DynamicAuth/issues/2221)) ([fb0f629](https://github.com/dynamic-labs/DynamicAuth/commit/fb0f629ae76240fe681db91b485139934026054e))
9
+
10
+ ## [0.17.0-RC.28](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.27...v0.17.0-RC.28) (2023-06-06)
11
+
12
+
13
+ ### Features
14
+
15
+ * lower username minimum length requirement ([#2265](https://github.com/dynamic-labs/DynamicAuth/issues/2265)) ([ed891ca](https://github.com/dynamic-labs/DynamicAuth/commit/ed891cac8cceaf9e0556b679eda7a3575725805d))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **send_balance:** add amount validation to form ([#2261](https://github.com/dynamic-labs/DynamicAuth/issues/2261)) ([9a57cfe](https://github.com/dynamic-labs/DynamicAuth/commit/9a57cfe0dd7f97aa16351b091ab385b2b5c7c5e4))
21
+ * shrink dynamic widget in smaller containers ([#2260](https://github.com/dynamic-labs/DynamicAuth/issues/2260)) ([353f447](https://github.com/dynamic-labs/DynamicAuth/commit/353f44724db83e9f1500c606fdea7d50a8067711))
22
+
2
23
  ## [0.17.0-RC.27](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.26...v0.17.0-RC.27) (2023-06-06)
3
24
 
4
25
 
package/README.md CHANGED
@@ -0,0 +1,63 @@
1
+ # Wallet Book
2
+
3
+ ## Updating Wallet Book
4
+
5
+ - [Wallet Book](#wallet-book)
6
+ - [Updating Wallet Book](#updating-wallet-book)
7
+ - [Adding First Party Wallet](#adding-first-party-wallet)
8
+ - [Updating Wallet Connect Data](#updating-wallet-connect-data)
9
+ - [Adding overrides to WalletConnect](#adding-overrides-to-walletconnect)
10
+ - [Compile \& Publish](#compile--publish)
11
+
12
+ ### Adding First Party Wallet
13
+
14
+ Simply add an entry to `firstPartyWalletsData` in `packages/wallet-book/src/build/sources/firstParty/index.ts` and [Compile & Publish](#compile--publish)
15
+
16
+ For example:
17
+
18
+ ```
19
+ argentx: {
20
+ brand: {
21
+ alt: 'Argent Wallet',
22
+ primaryColor: '#FF875B',
23
+ spriteId: 'argentx',
24
+ },
25
+ desktop: {
26
+ chromeId: 'dlcobpjiigpikoobohmabehhmhfoodbb',
27
+ firefoxId: 'argent-x',
28
+ },
29
+ name: 'Argent X',
30
+ },
31
+ ```
32
+
33
+ Required fields:
34
+
35
+ - `brand`
36
+ - `alt`
37
+ - `primaryColor`
38
+ - `spriteId` - The id used in the iconic svg
39
+ - `name`
40
+
41
+ Refer to `WalletRecordsSchema` for more schema options
42
+
43
+ ### Updating Wallet Connect Data
44
+
45
+ - Download the data from : https://registry.walletconnect.org/data/wallets.json replace
46
+ - Replace packages/wallet-book/src/build/sources/walletConnect/walletconnect.json
47
+ - [Compile & Publish](#compile--publish)
48
+
49
+ ### Adding overrides to WalletConnect
50
+
51
+ - modify packages/wallet-book/src/build/sources/walletConnectOverrides/index.ts
52
+ - [Compile & Publish](#compile--publish)
53
+
54
+ ### Compile & Publish
55
+
56
+ The compiled json is stored in `packages/wallet-book/wallet-book.json`. When the file is updated
57
+ and merged to main it will be published to S3 automatically.
58
+
59
+ Simply, make any changes that you need and:
60
+
61
+ - run `npx nx compile wallet-book`
62
+ - commit `wallet-book.json`
63
+ - Open PR with changes and merge
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "0.17.0-RC.27",
3
+ "version": "0.17.0-RC.29",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -30,6 +30,6 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@dynamic-labs/iconic": "0.1.19",
33
- "@dynamic-labs/logger": "0.17.0-RC.27"
33
+ "@dynamic-labs/logger": "0.17.0-RC.29"
34
34
  }
35
35
  }
@@ -1,12 +1,4 @@
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
- };
10
2
  chains: string[];
11
3
  desktop: {
12
4
  native: string | null;
@@ -34,6 +26,7 @@ export declare const walletConnectSourceData: Record<string, {
34
26
  app_type: string;
35
27
  description: string | null;
36
28
  homepage: string;
29
+ id: string;
37
30
  image_id: string;
38
31
  image_url: {
39
32
  lg: string;
@@ -44,13 +37,20 @@ export declare const walletConnectSourceData: Record<string, {
44
37
  injected_id: string;
45
38
  namespace: string;
46
39
  }[] | null;
40
+ metadata: {
41
+ shortName: string | null;
42
+ colors: {
43
+ primary: string | null;
44
+ secondary: string | null;
45
+ };
46
+ };
47
47
  slug: string;
48
48
  supported_standards: {
49
- url: string;
50
49
  id: string;
51
- title: string;
52
50
  standard_id: number;
53
51
  standard_prefix: string;
52
+ title: string;
53
+ url: string;
54
54
  }[];
55
55
  updatedAt: string;
56
56
  versions: string[];