@dynamic-labs/wallet-connector-core 4.40.2 → 4.41.1

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,24 @@
1
1
 
2
+ ### [4.41.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.41.0...v4.41.1) (2025-10-30)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * aptos login with petra keyless accounts ([#9795](https://github.com/dynamic-labs/dynamic-auth/issues/9795)) ([99dc34b](https://github.com/dynamic-labs/dynamic-auth/commit/99dc34b95d1ec23d168c9e092e2d735b1d50a71d))
8
+ * backpack aptos login due to invalid public key ([#9806](https://github.com/dynamic-labs/dynamic-auth/issues/9806)) ([ec8b761](https://github.com/dynamic-labs/dynamic-auth/commit/ec8b76181acff7906fd92c77c2fca42ce52010ae))
9
+
10
+ ## [4.41.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.2...v4.41.0) (2025-10-29)
11
+
12
+
13
+ ### Features
14
+
15
+ * **react-native:** add MFA recovery methods ([#9788](https://github.com/dynamic-labs/dynamic-auth/issues/9788)) ([664e0d5](https://github.com/dynamic-labs/dynamic-auth/commit/664e0d5878530abc9e645c8801a87f3109cfd8f9))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * crypto.com link opening on mobile ([#9779](https://github.com/dynamic-labs/dynamic-auth/issues/9779)) ([3439ac9](https://github.com/dynamic-labs/dynamic-auth/commit/3439ac9e2610360c6204f6195433ae3e05e26c30))
21
+
2
22
  ### [4.40.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.1...v4.40.2) (2025-10-28)
3
23
 
4
24
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.40.2";
6
+ var version = "4.41.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.40.2";
2
+ var version = "4.41.1";
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.40.2",
3
+ "version": "4.41.1",
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",
@@ -19,12 +19,12 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@dynamic-labs/sdk-api-core": "0.0.813",
22
- "@dynamic-labs/assert-package-version": "4.40.2",
23
- "@dynamic-labs/logger": "4.40.2",
24
- "@dynamic-labs/rpc-providers": "4.40.2",
25
- "@dynamic-labs/types": "4.40.2",
26
- "@dynamic-labs/utils": "4.40.2",
27
- "@dynamic-labs/wallet-book": "4.40.2",
22
+ "@dynamic-labs/assert-package-version": "4.41.1",
23
+ "@dynamic-labs/logger": "4.41.1",
24
+ "@dynamic-labs/rpc-providers": "4.41.1",
25
+ "@dynamic-labs/types": "4.41.1",
26
+ "@dynamic-labs/utils": "4.41.1",
27
+ "@dynamic-labs/wallet-book": "4.41.1",
28
28
  "eventemitter3": "5.0.1"
29
29
  },
30
30
  "peerDependencies": {}
@@ -15,10 +15,11 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
15
15
  publicKeyHex: string;
16
16
  rawPublicKey: string | Uint8Array | undefined;
17
17
  }>;
18
- importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, }: {
18
+ importPrivateKey({ privateKey, chainName, thresholdSignatureScheme, publicAddressCheck, }: {
19
19
  privateKey: string;
20
20
  chainName: string;
21
21
  thresholdSignatureScheme?: string;
22
+ publicAddressCheck?: string;
22
23
  }): Promise<void>;
23
24
  exportPrivateKey({ accountAddress, displayContainer, }: {
24
25
  accountAddress: string;
@@ -3,8 +3,12 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- const isSendBalanceWalletConnector = (walletConnector) => 'createUiTransaction' in walletConnector &&
7
- typeof walletConnector.createUiTransaction === 'function' &&
8
- walletConnector.isAvailable;
6
+ const isSendBalanceWalletConnector = (walletConnector) => {
7
+ var _a;
8
+ return 'createUiTransaction' in walletConnector &&
9
+ typeof walletConnector.createUiTransaction === 'function' &&
10
+ walletConnector.isAvailable &&
11
+ !((_a = walletConnector.isSendBalanceUnsupported) === null || _a === void 0 ? void 0 : _a.call(walletConnector));
12
+ };
9
13
 
10
14
  exports.isSendBalanceWalletConnector = isSendBalanceWalletConnector;
@@ -1,3 +1,7 @@
1
1
  import { WalletConnector } from '../..';
2
2
  import { ISendBalanceWalletConnector } from '../../interfaces/ISendBalanceWalletConnector';
3
- export declare const isSendBalanceWalletConnector: (walletConnector: WalletConnector | ISendBalanceWalletConnector) => walletConnector is ISendBalanceWalletConnector;
3
+ type WalletConnectorWithSendBalance = (WalletConnector | ISendBalanceWalletConnector) & {
4
+ isSendBalanceUnsupported?: () => boolean;
5
+ };
6
+ export declare const isSendBalanceWalletConnector: (walletConnector: WalletConnectorWithSendBalance) => walletConnector is ISendBalanceWalletConnector;
7
+ export {};
@@ -1,6 +1,10 @@
1
1
  'use client'
2
- const isSendBalanceWalletConnector = (walletConnector) => 'createUiTransaction' in walletConnector &&
3
- typeof walletConnector.createUiTransaction === 'function' &&
4
- walletConnector.isAvailable;
2
+ const isSendBalanceWalletConnector = (walletConnector) => {
3
+ var _a;
4
+ return 'createUiTransaction' in walletConnector &&
5
+ typeof walletConnector.createUiTransaction === 'function' &&
6
+ walletConnector.isAvailable &&
7
+ !((_a = walletConnector.isSendBalanceUnsupported) === null || _a === void 0 ? void 0 : _a.call(walletConnector));
8
+ };
5
9
 
6
10
  export { isSendBalanceWalletConnector };