@dynamic-labs/wallet-connector-core 4.0.0-alpha.41 → 4.0.0-alpha.43

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,18 @@
1
1
 
2
+ ## [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)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+
9
+ ## [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)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * walletbook loading issues ([#7553](https://github.com/dynamic-labs/dynamic-auth/issues/7553)) ([684ecc3](https://github.com/dynamic-labs/dynamic-auth/commit/684ecc32960e34680088d6cf200318336647ab77))
15
+
2
16
  ## [4.0.0-alpha.41](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.40...v4.0.0-alpha.41) (2024-12-05)
3
17
 
4
18
 
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.41";
6
+ var version = "4.0.0-alpha.43";
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.41";
2
+ var version = "4.0.0-alpha.43";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "4.0.0-alpha.41",
3
+ "version": "4.0.0-alpha.43",
4
4
  "description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -21,12 +21,12 @@
21
21
  "@dynamic-labs/sdk-api-core": "0.0.570"
22
22
  },
23
23
  "peerDependencies": {
24
- "@dynamic-labs/assert-package-version": "4.0.0-alpha.41",
25
- "@dynamic-labs/logger": "4.0.0-alpha.41",
26
- "@dynamic-labs/rpc-providers": "4.0.0-alpha.41",
27
- "@dynamic-labs/types": "4.0.0-alpha.41",
28
- "@dynamic-labs/utils": "4.0.0-alpha.41",
29
- "@dynamic-labs/wallet-book": "4.0.0-alpha.41",
24
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.43",
25
+ "@dynamic-labs/logger": "4.0.0-alpha.43",
26
+ "@dynamic-labs/rpc-providers": "4.0.0-alpha.43",
27
+ "@dynamic-labs/types": "4.0.0-alpha.43",
28
+ "@dynamic-labs/utils": "4.0.0-alpha.43",
29
+ "@dynamic-labs/wallet-book": "4.0.0-alpha.43",
30
30
  "eventemitter3": "5.0.1"
31
31
  }
32
32
  }
@@ -15,7 +15,7 @@ var getWalletLimitations = require('./getWalletLimitations/getWalletLimitations.
15
15
 
16
16
  const getWalletMetadataFromWalletBook = ({ walletKey, walletBookWallet, walletBook: walletBook$1, walletFallback, }) => {
17
17
  var _a, _b, _c, _d, _e, _f, _g;
18
- if (!walletBook$1 && !walletFallback) {
18
+ if (!walletBook.isWalletBookPopulated(walletBook$1) && !walletFallback) {
19
19
  logger.logger.warn('Wallet book is required');
20
20
  return;
21
21
  }
@@ -1,5 +1,5 @@
1
1
  'use client'
2
- import { getWalletBookWallet } from '@dynamic-labs/wallet-book';
2
+ import { isWalletBookPopulated, getWalletBookWallet } from '@dynamic-labs/wallet-book';
3
3
  import { logger } from '../logger.js';
4
4
  import '@dynamic-labs/utils';
5
5
  import '../../../_virtual/_tslib.js';
@@ -11,7 +11,7 @@ import { getWalletLimitations } from './getWalletLimitations/getWalletLimitation
11
11
 
12
12
  const getWalletMetadataFromWalletBook = ({ walletKey, walletBookWallet, walletBook, walletFallback, }) => {
13
13
  var _a, _b, _c, _d, _e, _f, _g;
14
- if (!walletBook && !walletFallback) {
14
+ if (!isWalletBookPopulated(walletBook) && !walletFallback) {
15
15
  logger.warn('Wallet book is required');
16
16
  return;
17
17
  }