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

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,16 @@
1
1
 
2
+ ## [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
+
4
+
5
+ ### Features
6
+
7
+ * sync wagmi to first connected eth wallet ([#2253](https://github.com/dynamic-labs/DynamicAuth/issues/2253)) ([c00aed7](https://github.com/dynamic-labs/DynamicAuth/commit/c00aed73a1014c668311c8cb59e5a466b5ee6779))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * include username in userFieldsSchema ([#2257](https://github.com/dynamic-labs/DynamicAuth/issues/2257)) ([6e5431d](https://github.com/dynamic-labs/DynamicAuth/commit/6e5431d08323d718b11accf3790ef56fc7325b5c))
13
+
2
14
  ## [0.17.0-RC.26](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.25...v0.17.0-RC.26) (2023-06-05)
3
15
 
4
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "0.17.0-RC.26",
3
+ "version": "0.17.0-RC.27",
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.26"
33
+ "@dynamic-labs/logger": "0.17.0-RC.27"
34
34
  }
35
35
  }
@@ -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
  chains: string[];
3
11
  desktop: {
4
12
  native: string | null;
@@ -26,7 +34,6 @@ export declare const walletConnectSourceData: Record<string, {
26
34
  app_type: string;
27
35
  description: string | null;
28
36
  homepage: string;
29
- id: string;
30
37
  image_id: string;
31
38
  image_url: {
32
39
  lg: string;
@@ -37,20 +44,13 @@ export declare const walletConnectSourceData: Record<string, {
37
44
  injected_id: string;
38
45
  namespace: string;
39
46
  }[] | 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;
49
50
  id: string;
51
+ title: string;
50
52
  standard_id: number;
51
53
  standard_prefix: string;
52
- title: string;
53
- url: string;
54
54
  }[];
55
55
  updatedAt: string;
56
56
  versions: string[];
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const getWalletBookCdnUrl = () => 'https://dynamic-static-assets.com/wallet-book/v1/data.json';
6
+
7
+ exports.getWalletBookCdnUrl = getWalletBookCdnUrl;
@@ -0,0 +1 @@
1
+ export declare const getWalletBookCdnUrl: () => string;
@@ -0,0 +1,3 @@
1
+ const getWalletBookCdnUrl = () => 'https://dynamic-static-assets.com/wallet-book/v1/data.json';
2
+
3
+ export { getWalletBookCdnUrl };
@@ -8,3 +8,4 @@ export * from './findWalletBookWallet';
8
8
  export * from './logger';
9
9
  export * from './getWalletGroup';
10
10
  export * from './findWalletGroup';
11
+ export * from './getWalletBookCdnUrl';
package/src/index.cjs CHANGED
@@ -8,6 +8,7 @@ var getWalletLinks = require('./helpers/getWalletLinks.cjs');
8
8
  var getWalletPrimaryColor = require('./helpers/getWalletPrimaryColor.cjs');
9
9
  require('./helpers/logger.cjs');
10
10
  var getWalletGroup = require('./helpers/getWalletGroup.cjs');
11
+ var getWalletBookCdnUrl = require('./helpers/getWalletBookCdnUrl.cjs');
11
12
  require('react');
12
13
  require('@dynamic-labs/iconic');
13
14
  var useWalletBook = require('./hooks/useWalletBook.cjs');
@@ -20,5 +21,6 @@ exports.getWalletBookWallet = getWalletBookWallet.getWalletBookWallet;
20
21
  exports.getWalletLinks = getWalletLinks.getWalletLinks;
21
22
  exports.getWalletPrimaryColor = getWalletPrimaryColor.getWalletPrimaryColor;
22
23
  exports.getWalletGroup = getWalletGroup.getWalletGroup;
24
+ exports.getWalletBookCdnUrl = getWalletBookCdnUrl.getWalletBookCdnUrl;
23
25
  exports.useWalletBook = useWalletBook.useWalletBook;
24
26
  exports.WalletIcon = WalletIcon.WalletIcon;
package/src/index.d.ts CHANGED
@@ -7,7 +7,7 @@ export type { WalletLinks } from './helpers';
7
7
  /**
8
8
  * HELPERS
9
9
  */
10
- export { getWalletBookWallet, getWalletIconUrl, getWalletLinks, getWalletPrimaryColor, getWalletGroup, } from './helpers';
10
+ export { getWalletBookWallet, getWalletIconUrl, getWalletLinks, getWalletPrimaryColor, getWalletGroup, getWalletBookCdnUrl, } from './helpers';
11
11
  /**
12
12
  * HOOKS
13
13
  */
package/src/index.js CHANGED
@@ -4,6 +4,7 @@ export { getWalletLinks } from './helpers/getWalletLinks.js';
4
4
  export { getWalletPrimaryColor } from './helpers/getWalletPrimaryColor.js';
5
5
  import './helpers/logger.js';
6
6
  export { getWalletGroup } from './helpers/getWalletGroup.js';
7
+ export { getWalletBookCdnUrl } from './helpers/getWalletBookCdnUrl.js';
7
8
  import 'react';
8
9
  import '@dynamic-labs/iconic';
9
10
  export { useWalletBook } from './hooks/useWalletBook.js';