@dynamic-labs/aptos 4.67.1 → 4.67.3-device-registration.0

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,33 @@
1
1
 
2
+ ### [4.67.3-device-registration.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.2...v4.67.3-device-registration.0) (2026-03-19)
3
+
4
+
5
+ ### Features
6
+
7
+ * add device registration icons ([#10637](https://github.com/dynamic-labs/dynamic-auth/issues/10637)) ([01bfe15](https://github.com/dynamic-labs/dynamic-auth/commit/01bfe155722111f321d289629bed95e8b9e4344d))
8
+ * add DeviceRegistrationView ([#10638](https://github.com/dynamic-labs/dynamic-auth/issues/10638)) ([11ccbbc](https://github.com/dynamic-labs/dynamic-auth/commit/11ccbbcc5cfaeab9fbeb01c040225a731137b465))
9
+ * add Prompt MFA and Prompt Reauthenticate to Step Up Auth methods ([#10645](https://github.com/dynamic-labs/dynamic-auth/issues/10645)) ([c97d8ee](https://github.com/dynamic-labs/dynamic-auth/commit/c97d8ee27f48d376259a921b01d151b4cf7fa27b))
10
+ * add step-up auth for email and SMS credential updates ([#10676](https://github.com/dynamic-labs/dynamic-auth/issues/10676)) ([4c7f0a5](https://github.com/dynamic-labs/dynamic-auth/commit/4c7f0a5330e557aea4db85359f7ac10d3c7545a5))
11
+ * add step-up auth for wallet link and unlink ([#10678](https://github.com/dynamic-labs/dynamic-auth/issues/10678)) ([8a015ca](https://github.com/dynamic-labs/dynamic-auth/commit/8a015ca0fd0bda71559c21b811b7e6acb43a7909))
12
+ * add TrustedDevicesSection and ManageTrustedDevicesView ([#10639](https://github.com/dynamic-labs/dynamic-auth/issues/10639)) ([17df870](https://github.com/dynamic-labs/dynamic-auth/commit/17df870caa34a8428d65510e5b3c9e9c7b93cea2))
13
+ * add useSyncDeviceRegistrationFlow ([#10640](https://github.com/dynamic-labs/dynamic-auth/issues/10640)) ([8c7752d](https://github.com/dynamic-labs/dynamic-auth/commit/8c7752d7a8afedaa3cc99fad83091586f7b6107e))
14
+ * **sdk-react-core:** prompt step-up auth before export private key ([#10647](https://github.com/dynamic-labs/dynamic-auth/issues/10647)) ([a39d886](https://github.com/dynamic-labs/dynamic-auth/commit/a39d88643af83484aae09332adcd05df8c0f923c))
15
+ * **step-up:** reauth flow with signInCredentialId and choose-method UI ([#10644](https://github.com/dynamic-labs/dynamic-auth/issues/10644)) ([086a97f](https://github.com/dynamic-labs/dynamic-auth/commit/086a97f27d908780b17f49f8a85ce88c34f61ed8))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * close auth flow on re-login when user already has embedded wallets ([#10641](https://github.com/dynamic-labs/dynamic-auth/issues/10641)) ([1aab930](https://github.com/dynamic-labs/dynamic-auth/commit/1aab9307c904f79bc0534026547fc112c55f6dc9))
21
+ * remove WalletConnect QR code fallback for Solflare wallet ([#10627](https://github.com/dynamic-labs/dynamic-auth/issues/10627)) ([6d83ead](https://github.com/dynamic-labs/dynamic-auth/commit/6d83ead833f560ee3c22e12262300e58fe21caa1))
22
+ * sync logout state between SDKs ([#10646](https://github.com/dynamic-labs/dynamic-auth/issues/10646)) ([44d0183](https://github.com/dynamic-labs/dynamic-auth/commit/44d01831cc672c1c9f015dee4e4c54582fd9e36a))
23
+
24
+ ### [4.67.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.1...v4.67.2) (2026-03-13)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * 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))
30
+
2
31
  ### [4.67.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.0...v4.67.1) (2026-03-10)
3
32
 
4
33
 
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.1";
6
+ var version = "4.67.3-device-registration.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.67.1";
2
+ var version = "4.67.3-device-registration.0";
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.1",
3
+ "version": "4.67.3-device-registration.0",
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.1",
23
+ "@dynamic-labs/assert-package-version": "4.67.3-device-registration.0",
24
24
  "@wallet-standard/core": "1.1.1",
25
25
  "@wallet-standard/features": "1.0.3",
26
- "@dynamic-labs/logger": "4.67.1",
27
- "@dynamic-labs/types": "4.67.1",
28
- "@dynamic-labs/utils": "4.67.1",
29
- "@dynamic-labs/wallet-book": "4.67.1",
30
- "@dynamic-labs/wallet-connector-core": "4.67.1"
26
+ "@dynamic-labs/logger": "4.67.3-device-registration.0",
27
+ "@dynamic-labs/types": "4.67.3-device-registration.0",
28
+ "@dynamic-labs/utils": "4.67.3-device-registration.0",
29
+ "@dynamic-labs/wallet-book": "4.67.3-device-registration.0",
30
+ "@dynamic-labs/wallet-connector-core": "4.67.3-device-registration.0"
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';