@dynamic-labs/wallet-book 4.0.0-alpha.42 → 4.0.0-alpha.44

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,31 @@
1
1
 
2
+ ## [4.0.0-alpha.44](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.43...v4.0.0-alpha.44) (2024-12-09)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * Removes the `eventsCallbacks` prop which has been deprecated for a while. Use the `events` prop instead.
8
+
9
+ ### Features
10
+
11
+ * allows changing the storage postfix ([#7558](https://github.com/dynamic-labs/dynamic-auth/issues/7558)) ([f0aac70](https://github.com/dynamic-labs/dynamic-auth/commit/f0aac703732a69615f11876023684509ad87af62))
12
+ * allows filtering tokens ([#7561](https://github.com/dynamic-labs/dynamic-auth/issues/7561)) ([e73b56c](https://github.com/dynamic-labs/dynamic-auth/commit/e73b56cd41ead7e4f693d19ccb2670602d1107c5))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * fetch and store public key for onekey btc wallet ([#7577](https://github.com/dynamic-labs/dynamic-auth/issues/7577)) ([634e7ac](https://github.com/dynamic-labs/dynamic-auth/commit/634e7ac40dcbe6780f7b52f2aaf6b0a90f1e7325))
18
+
19
+
20
+ * remove eventsCallbacks ([#7571](https://github.com/dynamic-labs/dynamic-auth/issues/7571)) ([7006db3](https://github.com/dynamic-labs/dynamic-auth/commit/7006db3f23ee87b23b075941e16d216d1b8bc356))
21
+
22
+ ## [4.0.0-alpha.43](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.42...v4.0.0-alpha.43) (2024-12-09)
23
+
24
+
25
+ ### Features
26
+
27
+ * add support for OneKey BTC ([#7557](https://github.com/dynamic-labs/dynamic-auth/issues/7557)) ([00f1363](https://github.com/dynamic-labs/dynamic-auth/commit/00f136330bd89ecbd510750641497974b494b149))
28
+
2
29
  ## [4.0.0-alpha.42](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.41...v4.0.0-alpha.42) (2024-12-06)
3
30
 
4
31
 
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.42";
6
+ var version = "4.0.0-alpha.44";
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.42";
2
+ var version = "4.0.0-alpha.44";
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.42",
3
+ "version": "4.0.0-alpha.44",
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.42",
21
- "@dynamic-labs/iconic": "4.0.0-alpha.42",
22
- "@dynamic-labs/logger": "4.0.0-alpha.42",
23
- "@dynamic-labs/utils": "4.0.0-alpha.42",
20
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.44",
21
+ "@dynamic-labs/iconic": "4.0.0-alpha.44",
22
+ "@dynamic-labs/logger": "4.0.0-alpha.44",
23
+ "@dynamic-labs/utils": "4.0.0-alpha.44",
24
24
  "eventemitter3": "5.0.1",
25
25
  "util": "0.12.5"
26
26
  },
@@ -36,7 +36,6 @@ const fetchWalletBook = () => _tslib.__awaiter(void 0, void 0, void 0, function*
36
36
  });
37
37
  walletBookCache.current = yield utils.retryableFn(fn, {
38
38
  fallbackValue: walletBookSchema.walletBookSchema.parse(walletBookFallbacks["default"]),
39
- logger: logger.logger.createLogger('useWalletBookCdn'),
40
39
  maxRetries: 3,
41
40
  retryStrategy: 'timeout-and-rejection',
42
41
  timeoutMs: 30000,
@@ -28,7 +28,6 @@ const fetchWalletBook = () => __awaiter(void 0, void 0, void 0, function* () {
28
28
  });
29
29
  walletBookCache.current = yield retryableFn(fn, {
30
30
  fallbackValue: walletBookSchema.parse(walletBookFallbacks),
31
- logger: logger.createLogger('useWalletBookCdn'),
32
31
  maxRetries: 3,
33
32
  retryStrategy: 'timeout-and-rejection',
34
33
  timeoutMs: 30000,
package/src/index.cjs CHANGED
@@ -10,7 +10,7 @@ var getWalletIconUrl = require('./helpers/getWalletIconUrl.cjs');
10
10
  var getWalletBookWallet = require('./helpers/getWalletBookWallet.cjs');
11
11
  var renderTemplate = require('./helpers/renderTemplate.cjs');
12
12
  var findWalletBookWallet = require('./helpers/findWalletBookWallet.cjs');
13
- require('./helpers/logger.cjs');
13
+ var logger = require('./helpers/logger.cjs');
14
14
  var getWalletGroup = require('./helpers/getWalletGroup.cjs');
15
15
  var findWalletGroup = require('./helpers/findWalletGroup.cjs');
16
16
  var getWalletBookCdnUrl = require('./helpers/getWalletBookCdnUrl.cjs');
@@ -29,6 +29,7 @@ exports.getWalletIconUrl = getWalletIconUrl.getWalletIconUrl;
29
29
  exports.getWalletBookWallet = getWalletBookWallet.getWalletBookWallet;
30
30
  exports.renderTemplate = renderTemplate.renderTemplate;
31
31
  exports.findWalletBookWallet = findWalletBookWallet.findWalletBookWallet;
32
+ exports.logger = logger.logger;
32
33
  exports.getWalletGroup = getWalletGroup.getWalletGroup;
33
34
  exports.findWalletGroup = findWalletGroup.findWalletGroup;
34
35
  exports.getWalletBookCdnUrl = getWalletBookCdnUrl.getWalletBookCdnUrl;
package/src/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export { useWalletBookContext } from './context/WalletBookContext';
10
10
  /**
11
11
  * HELPERS
12
12
  */
13
- export { getWalletBookWallet, getWalletIconUrl, getWalletGroup, getWalletBookCdnUrl, findWalletBookWallet, findWalletGroup, getBrandIconUrl, findWalletGroupOverride, renderTemplate, isWalletBookPopulated, } from './helpers';
13
+ export { getWalletBookWallet, getWalletIconUrl, getWalletGroup, getWalletBookCdnUrl, findWalletBookWallet, findWalletGroup, getBrandIconUrl, findWalletGroupOverride, renderTemplate, isWalletBookPopulated, logger, } from './helpers';
14
14
  /**
15
15
  * HOOKS
16
16
  */
package/src/index.js CHANGED
@@ -6,7 +6,7 @@ export { getWalletIconUrl } from './helpers/getWalletIconUrl.js';
6
6
  export { getWalletBookWallet } from './helpers/getWalletBookWallet.js';
7
7
  export { renderTemplate } from './helpers/renderTemplate.js';
8
8
  export { findWalletBookWallet } from './helpers/findWalletBookWallet.js';
9
- import './helpers/logger.js';
9
+ export { logger } from './helpers/logger.js';
10
10
  export { getWalletGroup } from './helpers/getWalletGroup.js';
11
11
  export { findWalletGroup } from './helpers/findWalletGroup.js';
12
12
  export { getWalletBookCdnUrl } from './helpers/getWalletBookCdnUrl.js';
@@ -1179,7 +1179,7 @@ var wallets = {
1179
1179
  iosId: "id1327268470",
1180
1180
  native: "okex://main/wc"
1181
1181
  },
1182
- name: "OKX",
1182
+ name: "OKX Wallet",
1183
1183
  shortName: "OKX Wallet",
1184
1184
  walletConnect: {
1185
1185
  sdks: [
@@ -1256,7 +1256,7 @@ var wallets = {
1256
1256
  inAppBrowser: "okx://wallet/dapp/url?dappUrl={{encodedDappURI}}",
1257
1257
  iosId: "id1327268470"
1258
1258
  },
1259
- name: "OKX",
1259
+ name: "OKX Wallet",
1260
1260
  shortName: "OKX Wallet (Bitcoin)",
1261
1261
  walletLimitations: {
1262
1262
  browserExtension: {
@@ -1175,7 +1175,7 @@ var wallets = {
1175
1175
  iosId: "id1327268470",
1176
1176
  native: "okex://main/wc"
1177
1177
  },
1178
- name: "OKX",
1178
+ name: "OKX Wallet",
1179
1179
  shortName: "OKX Wallet",
1180
1180
  walletConnect: {
1181
1181
  sdks: [
@@ -1252,7 +1252,7 @@ var wallets = {
1252
1252
  inAppBrowser: "okx://wallet/dapp/url?dappUrl={{encodedDappURI}}",
1253
1253
  iosId: "id1327268470"
1254
1254
  },
1255
- name: "OKX",
1255
+ name: "OKX Wallet",
1256
1256
  shortName: "OKX Wallet (Bitcoin)",
1257
1257
  walletLimitations: {
1258
1258
  browserExtension: {