@dynamic-labs/aptos 4.67.0 → 4.67.2

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,25 @@
1
1
 
2
+ ### [4.67.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.1...v4.67.2) (2026-03-13)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * add fallback connectors for all chains and fix wallet.chain mismatch for SUI wallets ([#10629](https://github.com/dynamic-labs/dynamic-auth/issues/10629)) ([dcdf5fc](https://github.com/dynamic-labs/dynamic-auth/commit/dcdf5fc5c424379cde2eecfd2d3b14fb6fe3819b))
8
+
9
+ ### [4.67.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.0...v4.67.1) (2026-03-10)
10
+
11
+
12
+ ### Features
13
+
14
+ * add nonce manager and improve transaction handling ([#10612](https://github.com/dynamic-labs/dynamic-auth/issues/10612)) ([e373f12](https://github.com/dynamic-labs/dynamic-auth/commit/e373f1248beee2f12e7b4aec5a72d55b9555ad00))
15
+ * **sdk-react-core:** commonize step-up auth around useStepUpAuthentication ([#10586](https://github.com/dynamic-labs/dynamic-auth/issues/10586)) ([6e31e66](https://github.com/dynamic-labs/dynamic-auth/commit/6e31e6673d8861bc54677ea79da31872d7ad4c4e))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **sdk-react-core:** hide AA warning for EIP-7702 smart wallets, show for ERC-4337 ([#10614](https://github.com/dynamic-labs/dynamic-auth/issues/10614)) ([5c46d42](https://github.com/dynamic-labs/dynamic-auth/commit/5c46d4277472cb31ddde7809d27ef7920964d548))
21
+ * use 2-column grid layout for backup codes to prevent overflow in minimal theme ([#10607](https://github.com/dynamic-labs/dynamic-auth/issues/10607)) ([84adf87](https://github.com/dynamic-labs/dynamic-auth/commit/84adf872aae0a7fedf961b76f5004535e657b415))
22
+
2
23
  ## [4.67.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.66.0...v4.67.0) (2026-03-09)
3
24
 
4
25
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.67.0";
6
+ var version = "4.67.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.67.0";
2
+ var version = "4.67.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/aptos",
3
- "version": "4.67.0",
3
+ "version": "4.67.2",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -20,14 +20,14 @@
20
20
  "dependencies": {
21
21
  "@aptos-labs/ts-sdk": "5.1.1",
22
22
  "@aptos-labs/wallet-standard": "0.5.2",
23
- "@dynamic-labs/assert-package-version": "4.67.0",
23
+ "@dynamic-labs/assert-package-version": "4.67.2",
24
24
  "@wallet-standard/core": "1.1.1",
25
25
  "@wallet-standard/features": "1.0.3",
26
- "@dynamic-labs/logger": "4.67.0",
27
- "@dynamic-labs/types": "4.67.0",
28
- "@dynamic-labs/utils": "4.67.0",
29
- "@dynamic-labs/wallet-book": "4.67.0",
30
- "@dynamic-labs/wallet-connector-core": "4.67.0"
26
+ "@dynamic-labs/logger": "4.67.2",
27
+ "@dynamic-labs/types": "4.67.2",
28
+ "@dynamic-labs/utils": "4.67.2",
29
+ "@dynamic-labs/wallet-book": "4.67.2",
30
+ "@dynamic-labs/wallet-connector-core": "4.67.2"
31
31
  },
32
32
  "peerDependencies": {}
33
33
  }
package/src/index.cjs CHANGED
@@ -12,6 +12,7 @@ require('@dynamic-labs/wallet-book');
12
12
  require('@dynamic-labs/wallet-connector-core');
13
13
  var AptosWalletConnector = require('./connectors/AptosWalletConnector/AptosWalletConnector.cjs');
14
14
  var fetchInjectedWalletConnectors = require('./injected/fetchInjectedWalletConnectors.cjs');
15
+ var FallbackAptosConnector = require('./injected/FallbackAptosConnector.cjs');
15
16
  var AptosWallet = require('./wallet/AptosWallet.cjs');
16
17
  var assertProvider = require('./utils/assertProvider/assertProvider.cjs');
17
18
  var AptosUiTransaction = require('./utils/AptosUiTransaction/AptosUiTransaction.cjs');
@@ -25,9 +26,8 @@ var parseTransactionResponse = require('./utils/parseTransactionResponse/parseTr
25
26
  assertPackageVersion.assertPackageVersion('@dynamic-labs/aptos', _package.version);
26
27
  // Wallet connector factory (to be implemented by specific wallet connectors)
27
28
  const AptosWalletConnectors = (props) => [
28
- // Specific wallet connectors will be added here by implementers
29
- // e.g., PetraWalletConnector, OKXWalletConnector, etc.
30
29
  ...fetchInjectedWalletConnectors.fetchInjectedWalletConnectors(props),
30
+ FallbackAptosConnector.FallbackAptosConnector,
31
31
  ];
32
32
 
33
33
  exports.AptosWalletConnector = AptosWalletConnector.AptosWalletConnector;
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { FallbackAptosConnector } from './injected';
1
2
  export { AptosWallet } from './wallet';
2
3
  export { AptosWalletConnector } from './connectors/AptosWalletConnector';
3
4
  export type { IAptosProvider, AptosConnectionResult, AptosSendBalanceProps, AptosWalletConnectorProps, AptosFeatureName, AptosMethodName, } from './types';
@@ -9,4 +10,4 @@ export { isWalletWithRequiredFeatureSet } from './utils/isWalletWithRequiredFeat
9
10
  export { isAptosWallet } from './wallet/isAptosWallet/isAptosWallet';
10
11
  export { parseConnectionResult, type ParsedAccountInfo, } from './utils/parseConnectionResult';
11
12
  export { parseTransactionResponse } from './utils/parseTransactionResponse';
12
- export declare const AptosWalletConnectors: (props: any) => import("dist/packages/wallet-connector-core/src").WalletConnectorConstructor[];
13
+ export declare const AptosWalletConnectors: (props: any) => (import("dist/packages/wallet-connector-core/src").WalletConnectorConstructor | typeof FallbackAptosConnector)[];
package/src/index.js CHANGED
@@ -8,6 +8,7 @@ import '@dynamic-labs/wallet-book';
8
8
  import '@dynamic-labs/wallet-connector-core';
9
9
  export { AptosWalletConnector } from './connectors/AptosWalletConnector/AptosWalletConnector.js';
10
10
  import { fetchInjectedWalletConnectors } from './injected/fetchInjectedWalletConnectors.js';
11
+ import { FallbackAptosConnector } from './injected/FallbackAptosConnector.js';
11
12
  export { AptosWallet } from './wallet/AptosWallet.js';
12
13
  export { assertProvider } from './utils/assertProvider/assertProvider.js';
13
14
  export { AptosUiTransaction } from './utils/AptosUiTransaction/AptosUiTransaction.js';
@@ -21,9 +22,8 @@ export { parseTransactionResponse } from './utils/parseTransactionResponse/parse
21
22
  assertPackageVersion('@dynamic-labs/aptos', version);
22
23
  // Wallet connector factory (to be implemented by specific wallet connectors)
23
24
  const AptosWalletConnectors = (props) => [
24
- // Specific wallet connectors will be added here by implementers
25
- // e.g., PetraWalletConnector, OKXWalletConnector, etc.
26
25
  ...fetchInjectedWalletConnectors(props),
26
+ FallbackAptosConnector,
27
27
  ];
28
28
 
29
29
  export { AptosWalletConnectors };
@@ -0,0 +1,28 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var InjectedWalletBase = require('./InjectedWalletBase.cjs');
7
+
8
+ class FallbackAptosConnector extends InjectedWalletBase.InjectedWalletBase {
9
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10
+ constructor(props) {
11
+ super('Fallback Connector', Object.assign(Object.assign({}, props), { overrideKey: 'fallbackconnector' }));
12
+ this.name = 'Fallback Connector';
13
+ this.overrideKey = 'fallbackconnector';
14
+ this.isAvailable = false;
15
+ }
16
+ getProvider() {
17
+ return undefined;
18
+ }
19
+ isInstalledOnBrowser() {
20
+ return false;
21
+ }
22
+ }
23
+ Object.defineProperty(FallbackAptosConnector, 'key', {
24
+ value: 'fallbackconnector',
25
+ writable: false,
26
+ });
27
+
28
+ exports.FallbackAptosConnector = FallbackAptosConnector;
@@ -0,0 +1,10 @@
1
+ import type { IAptosProvider } from '../types';
2
+ import { InjectedWalletBase } from './InjectedWalletBase';
3
+ export declare class FallbackAptosConnector extends InjectedWalletBase {
4
+ name: string;
5
+ overrideKey: string;
6
+ isAvailable: boolean;
7
+ constructor(props: any);
8
+ getProvider(): IAptosProvider | undefined;
9
+ isInstalledOnBrowser(): boolean;
10
+ }
@@ -0,0 +1,24 @@
1
+ 'use client'
2
+ import { InjectedWalletBase } from './InjectedWalletBase.js';
3
+
4
+ class FallbackAptosConnector extends InjectedWalletBase {
5
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
+ constructor(props) {
7
+ super('Fallback Connector', Object.assign(Object.assign({}, props), { overrideKey: 'fallbackconnector' }));
8
+ this.name = 'Fallback Connector';
9
+ this.overrideKey = 'fallbackconnector';
10
+ this.isAvailable = false;
11
+ }
12
+ getProvider() {
13
+ return undefined;
14
+ }
15
+ isInstalledOnBrowser() {
16
+ return false;
17
+ }
18
+ }
19
+ Object.defineProperty(FallbackAptosConnector, 'key', {
20
+ value: 'fallbackconnector',
21
+ writable: false,
22
+ });
23
+
24
+ export { FallbackAptosConnector };
@@ -1,3 +1,4 @@
1
1
  export { AptosProviderHelper } from './AptosProviderHelper';
2
2
  export { InjectedWalletBase } from './InjectedWalletBase';
3
3
  export { fetchInjectedWalletConnectors, injectedWalletOverrides, } from './fetchInjectedWalletConnectors';
4
+ export { FallbackAptosConnector } from './FallbackAptosConnector';