@dynamic-labs/wallet-book 4.0.0-alpha.29 → 4.0.0-alpha.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,21 @@
1
1
 
2
+ ## [4.0.0-alpha.30](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.29...v4.0.0-alpha.30) (2024-11-13)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * check wallet limitations from metadata (#7413)
8
+
9
+ ### Bug Fixes
10
+
11
+ * confirmation ui disabled for solana signall and signTransaction ([#7403](https://github.com/dynamic-labs/dynamic-auth/issues/7403)) ([98a352a](https://github.com/dynamic-labs/dynamic-auth/commit/98a352a826202abad734f00df1b3d19080ecf1e2))
12
+ * get starknet wallets directly from window ([#7421](https://github.com/dynamic-labs/dynamic-auth/issues/7421)) ([13e24f7](https://github.com/dynamic-labs/dynamic-auth/commit/13e24f70accf7747f5137fc3f2b05c00939c3af3))
13
+ * issue with SollanaWalletConnectorWithConfig embedded wallets ([#7405](https://github.com/dynamic-labs/dynamic-auth/issues/7405)) ([f08ecd6](https://github.com/dynamic-labs/dynamic-auth/commit/f08ecd6955faf191177bb9833b7a594637a6c4cc))
14
+ * set override key in starknet injected connector ([#7420](https://github.com/dynamic-labs/dynamic-auth/issues/7420)) ([74b2887](https://github.com/dynamic-labs/dynamic-auth/commit/74b28874661b3bad1e0a0f92aa9d3c987dc71225))
15
+
16
+
17
+ * check wallet limitations from metadata ([#7413](https://github.com/dynamic-labs/dynamic-auth/issues/7413)) ([a419de6](https://github.com/dynamic-labs/dynamic-auth/commit/a419de643ea4ff240a27825c10670ba92589b71b))
18
+
2
19
  ## [4.0.0-alpha.29](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.28...v4.0.0-alpha.29) (2024-11-07)
3
20
 
4
21
  ## [4.0.0-alpha.28](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.27...v4.0.0-alpha.28) (2024-11-07)
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.0.0-alpha.29";
6
+ var version = "4.0.0-alpha.30";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.0.0-alpha.29";
2
+ var version = "4.0.0-alpha.30";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "4.0.0-alpha.29",
3
+ "version": "4.0.0-alpha.30",
4
4
  "author": "Dynamic Labs, Inc.",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.cjs",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "zod": "3.22.4",
20
- "@dynamic-labs/assert-package-version": "4.0.0-alpha.29",
21
- "@dynamic-labs/iconic": "4.0.0-alpha.29",
22
- "@dynamic-labs/logger": "4.0.0-alpha.29",
23
- "@dynamic-labs/utils": "4.0.0-alpha.29",
20
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.30",
21
+ "@dynamic-labs/iconic": "4.0.0-alpha.30",
22
+ "@dynamic-labs/logger": "4.0.0-alpha.30",
23
+ "@dynamic-labs/utils": "4.0.0-alpha.30",
24
24
  "eventemitter3": "5.0.1",
25
25
  "util": "0.12.5"
26
26
  },
@@ -10,5 +10,3 @@ export * from './findWalletGroup';
10
10
  export * from './getWalletBookCdnUrl';
11
11
  export * from './getBrandIconUrl';
12
12
  export * from './findWalletGroupOverride';
13
- export * from './isWalletMethodSupported';
14
- export * from './isWalletEventSupported';
package/src/index.cjs CHANGED
@@ -18,8 +18,6 @@ var findWalletGroup = require('./helpers/findWalletGroup.cjs');
18
18
  var getWalletBookCdnUrl = require('./helpers/getWalletBookCdnUrl.cjs');
19
19
  var getBrandIconUrl = require('./helpers/getBrandIconUrl.cjs');
20
20
  var findWalletGroupOverride = require('./helpers/findWalletGroupOverride.cjs');
21
- var isWalletMethodSupported = require('./helpers/isWalletMethodSupported.cjs');
22
- var isWalletEventSupported = require('./helpers/isWalletEventSupported.cjs');
23
21
  var useWalletBookCdn = require('./hooks/useWalletBookCdn.cjs');
24
22
  var WalletIcon = require('./components/WalletIcon.cjs');
25
23
  var WalletBookContextProvider = require('./components/WalletBookContextProvider.cjs');
@@ -39,8 +37,6 @@ exports.findWalletGroup = findWalletGroup.findWalletGroup;
39
37
  exports.getWalletBookCdnUrl = getWalletBookCdnUrl.getWalletBookCdnUrl;
40
38
  exports.getBrandIconUrl = getBrandIconUrl.getBrandIconUrl;
41
39
  exports.findWalletGroupOverride = findWalletGroupOverride.findWalletGroupOverride;
42
- exports.isWalletMethodSupported = isWalletMethodSupported.isWalletMethodSupported;
43
- exports.isWalletEventSupported = isWalletEventSupported.isWalletEventSupported;
44
40
  exports.useWalletBookCdn = useWalletBookCdn.useWalletBookCdn;
45
41
  exports.WalletIcon = WalletIcon.WalletIcon;
46
42
  exports.WalletBookContextProvider = WalletBookContextProvider.WalletBookContextProvider;
package/src/index.d.ts CHANGED
@@ -11,7 +11,7 @@ export { useWalletBookContext } from './context/WalletBookContext';
11
11
  /**
12
12
  * HELPERS
13
13
  */
14
- export { getWalletBookWallet, getWalletIconUrl, getWalletLinks, getWalletPrimaryColor, getWalletGroup, getWalletBookCdnUrl, findWalletBookWallet, findWalletGroup, getBrandIconUrl, findWalletGroupOverride, isWalletMethodSupported, isWalletEventSupported, renderTemplate, } from './helpers';
14
+ export { getWalletBookWallet, getWalletIconUrl, getWalletLinks, getWalletPrimaryColor, getWalletGroup, getWalletBookCdnUrl, findWalletBookWallet, findWalletGroup, getBrandIconUrl, findWalletGroupOverride, renderTemplate, } from './helpers';
15
15
  /**
16
16
  * HOOKS
17
17
  */
package/src/index.js CHANGED
@@ -14,8 +14,6 @@ export { findWalletGroup } from './helpers/findWalletGroup.js';
14
14
  export { getWalletBookCdnUrl } from './helpers/getWalletBookCdnUrl.js';
15
15
  export { getBrandIconUrl } from './helpers/getBrandIconUrl.js';
16
16
  export { findWalletGroupOverride } from './helpers/findWalletGroupOverride.js';
17
- export { isWalletMethodSupported } from './helpers/isWalletMethodSupported.js';
18
- export { isWalletEventSupported } from './helpers/isWalletEventSupported.js';
19
17
  export { useWalletBookCdn } from './hooks/useWalletBookCdn.js';
20
18
  export { WalletIcon } from './components/WalletIcon.js';
21
19
  export { WalletBookContextProvider } from './components/WalletBookContextProvider.js';
@@ -1,8 +0,0 @@
1
- 'use client'
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- const isWalletEventSupported = (wallet, event, platform) => { var _a, _b, _c; return !((_c = (_b = (_a = wallet === null || wallet === void 0 ? void 0 : wallet.walletLimitations) === null || _a === void 0 ? void 0 : _a[platform]) === null || _b === void 0 ? void 0 : _b.unsupportedEvents) === null || _c === void 0 ? void 0 : _c.includes(event)); };
7
-
8
- exports.isWalletEventSupported = isWalletEventSupported;
@@ -1,2 +0,0 @@
1
- import { WalletSchema } from '../schemas';
2
- export declare const isWalletEventSupported: (wallet: WalletSchema | undefined, event: string, platform: keyof NonNullable<WalletSchema['walletLimitations']>) => boolean;
@@ -1,4 +0,0 @@
1
- 'use client'
2
- const isWalletEventSupported = (wallet, event, platform) => { var _a, _b, _c; return !((_c = (_b = (_a = wallet === null || wallet === void 0 ? void 0 : wallet.walletLimitations) === null || _a === void 0 ? void 0 : _a[platform]) === null || _b === void 0 ? void 0 : _b.unsupportedEvents) === null || _c === void 0 ? void 0 : _c.includes(event)); };
3
-
4
- export { isWalletEventSupported };
@@ -1,8 +0,0 @@
1
- 'use client'
2
- 'use strict';
3
-
4
- Object.defineProperty(exports, '__esModule', { value: true });
5
-
6
- const isWalletMethodSupported = (wallet, method, platform) => { var _a, _b, _c; return !((_c = (_b = (_a = wallet === null || wallet === void 0 ? void 0 : wallet.walletLimitations) === null || _a === void 0 ? void 0 : _a[platform]) === null || _b === void 0 ? void 0 : _b.unsupportedMethods) === null || _c === void 0 ? void 0 : _c.includes(method)); };
7
-
8
- exports.isWalletMethodSupported = isWalletMethodSupported;
@@ -1,2 +0,0 @@
1
- import { WalletSchema } from '../schemas';
2
- export declare const isWalletMethodSupported: (wallet: WalletSchema | undefined, method: string, platform: keyof NonNullable<WalletSchema['walletLimitations']>) => boolean;
@@ -1,4 +0,0 @@
1
- 'use client'
2
- const isWalletMethodSupported = (wallet, method, platform) => { var _a, _b, _c; return !((_c = (_b = (_a = wallet === null || wallet === void 0 ? void 0 : wallet.walletLimitations) === null || _a === void 0 ? void 0 : _a[platform]) === null || _b === void 0 ? void 0 : _b.unsupportedMethods) === null || _c === void 0 ? void 0 : _c.includes(method)); };
3
-
4
- export { isWalletMethodSupported };