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

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,12 @@
1
1
 
2
+ ## [0.17.0-RC.30](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.29...v0.17.0-RC.30) (2023-06-08)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **view-context:** refactor view context to have initial view ([#2268](https://github.com/dynamic-labs/DynamicAuth/issues/2268)) ([0afe6ae](https://github.com/dynamic-labs/DynamicAuth/commit/0afe6ae469f62fd16fd8471322f9295957f607f6))
8
+ * **wcv2:** upgrade universal provider and refactor wcv2 ([#2163](https://github.com/dynamic-labs/DynamicAuth/issues/2163)) ([e69c67c](https://github.com/dynamic-labs/DynamicAuth/commit/e69c67c95dca0f694c4a554702be96c3f7d3d77e))
9
+
2
10
  ## [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
11
 
4
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "0.17.0-RC.29",
3
+ "version": "0.17.0-RC.30",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -29,7 +29,6 @@
29
29
  "react-dom": "^17.0.2 || ^18.0.0"
30
30
  },
31
31
  "dependencies": {
32
- "@dynamic-labs/iconic": "0.1.19",
33
- "@dynamic-labs/logger": "0.17.0-RC.29"
32
+ "@dynamic-labs/logger": "0.17.0-RC.30"
34
33
  }
35
34
  }
@@ -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[];
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var react = require('react');
6
6
  var getIconUrl = require('../helpers/getIconUrl.cjs');
7
- require('@dynamic-labs/iconic');
8
7
  var findWalletBookWallet = require('../helpers/findWalletBookWallet.cjs');
9
8
  require('../helpers/logger.cjs');
10
9
 
@@ -1,6 +1,5 @@
1
1
  import { createElement, Fragment } from 'react';
2
2
  import { getWalletIconUrl } from '../helpers/getIconUrl.js';
3
- import '@dynamic-labs/iconic';
4
3
  import { findWalletBookWallet } from '../helpers/findWalletBookWallet.js';
5
4
  import '../helpers/logger.js';
6
5
 
@@ -2,9 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('react');
6
- require('@dynamic-labs/iconic');
7
5
  var useWalletBook = require('../hooks/useWalletBook.cjs');
6
+ require('react');
8
7
  var normalizeWalletName = require('./normalizeWalletName.cjs');
9
8
 
10
9
  const getWalletBookWallet = (walletName) => {
@@ -1,6 +1,5 @@
1
- import 'react';
2
- import '@dynamic-labs/iconic';
3
1
  import { useWalletBook } from '../hooks/useWalletBook.js';
2
+ import 'react';
4
3
  import { normalizeWalletName } from './normalizeWalletName.js';
5
4
 
6
5
  const getWalletBookWallet = (walletName) => {
@@ -2,9 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('react');
6
- require('@dynamic-labs/iconic');
7
5
  var useWalletBook = require('../hooks/useWalletBook.cjs');
6
+ require('react');
8
7
 
9
8
  const getWalletGroup = (key) => {
10
9
  const walletBook = useWalletBook.useWalletBook();
@@ -1,6 +1,5 @@
1
- import 'react';
2
- import '@dynamic-labs/iconic';
3
1
  import { useWalletBook } from '../hooks/useWalletBook.js';
2
+ import 'react';
4
3
 
5
4
  const getWalletGroup = (key) => {
6
5
  const walletBook = useWalletBook();
@@ -1,4 +1,2 @@
1
- export * from './prefetchIconicSprite';
2
- export * from './prefetchWalletBook';
3
1
  export * from './useWalletBook';
4
2
  export * from './useWalletBookCdn';
package/src/index.cjs CHANGED
@@ -9,9 +9,8 @@ var getWalletPrimaryColor = require('./helpers/getWalletPrimaryColor.cjs');
9
9
  require('./helpers/logger.cjs');
10
10
  var getWalletGroup = require('./helpers/getWalletGroup.cjs');
11
11
  var getWalletBookCdnUrl = require('./helpers/getWalletBookCdnUrl.cjs');
12
- require('react');
13
- require('@dynamic-labs/iconic');
14
12
  var useWalletBook = require('./hooks/useWalletBook.cjs');
13
+ require('react');
15
14
  var WalletIcon = require('./components/WalletIcon.cjs');
16
15
 
17
16
 
package/src/index.js CHANGED
@@ -5,7 +5,6 @@ export { getWalletPrimaryColor } from './helpers/getWalletPrimaryColor.js';
5
5
  import './helpers/logger.js';
6
6
  export { getWalletGroup } from './helpers/getWalletGroup.js';
7
7
  export { getWalletBookCdnUrl } from './helpers/getWalletBookCdnUrl.js';
8
- import 'react';
9
- import '@dynamic-labs/iconic';
10
8
  export { useWalletBook } from './hooks/useWalletBook.js';
9
+ import 'react';
11
10
  export { WalletIcon } from './components/WalletIcon.js';
@@ -1,4 +0,0 @@
1
- /**
2
- * Prefetches the iconic sprite by adding a <link rel="prefetch" /> element to the head.
3
- */
4
- export declare const prefetchIconicSprite: () => void;
@@ -1,4 +0,0 @@
1
- /**
2
- * Prefetches the iconic sprite by adding a <link rel="prefetch" /> element to the head.
3
- */
4
- export declare const prefetchWalletBookData: () => void;