@dynamic-labs/sui-core 4.67.1 → 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,11 @@
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
+
2
9
  ### [4.67.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.0...v4.67.1) (2026-03-10)
3
10
 
4
11
 
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.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.1";
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/sui-core",
3
- "version": "4.67.1",
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",
@@ -22,13 +22,13 @@
22
22
  "@mysten/wallet-standard": "0.19.9",
23
23
  "@mysten/sui": "1.45.2",
24
24
  "text-encoding": "0.7.0",
25
- "@dynamic-labs/assert-package-version": "4.67.1",
26
- "@dynamic-labs/logger": "4.67.1",
27
- "@dynamic-labs/rpc-providers": "4.67.1",
28
- "@dynamic-labs/types": "4.67.1",
29
- "@dynamic-labs/utils": "4.67.1",
30
- "@dynamic-labs/wallet-book": "4.67.1",
31
- "@dynamic-labs/wallet-connector-core": "4.67.1"
25
+ "@dynamic-labs/assert-package-version": "4.67.2",
26
+ "@dynamic-labs/logger": "4.67.2",
27
+ "@dynamic-labs/rpc-providers": "4.67.2",
28
+ "@dynamic-labs/types": "4.67.2",
29
+ "@dynamic-labs/utils": "4.67.2",
30
+ "@dynamic-labs/wallet-book": "4.67.2",
31
+ "@dynamic-labs/wallet-connector-core": "4.67.2"
32
32
  },
33
33
  "peerDependencies": {}
34
34
  }
package/src/index.cjs CHANGED
@@ -12,6 +12,7 @@ var isSuiWallet = require('./wallet/isSuiWallet/isSuiWallet.cjs');
12
12
  var Slush = require('./wallets/slush/Slush.cjs');
13
13
  var SuiUiTransaction = require('./utils/SuiUiTransaction/SuiUiTransaction.cjs');
14
14
  var fetchSuiInjectedWalletConnectors = require('./wallets/injected/fetchSuiInjectedWalletConnectors.cjs');
15
+ var FallbackSuiConnector = require('./wallets/injected/FallbackSuiConnector.cjs');
15
16
 
16
17
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
18
  assertPackageVersion.assertPackageVersion('@dynamic-labs/sui-core', _package.version);
@@ -23,3 +24,4 @@ exports.isSuiWallet = isSuiWallet.isSuiWallet;
23
24
  exports.Slush = Slush.Slush;
24
25
  exports.SuiUiTransaction = SuiUiTransaction.SuiUiTransaction;
25
26
  exports.fetchSuiInjectedWalletConnectors = fetchSuiInjectedWalletConnectors.fetchSuiInjectedWalletConnectors;
27
+ exports.FallbackSuiConnector = FallbackSuiConnector.FallbackSuiConnector;
package/src/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export { Slush } from './wallets/slush';
6
6
  export type { SuiWalletConnectorProps, SuiSendBalanceProps } from './types';
7
7
  export { SuiUiTransaction } from './utils/SuiUiTransaction/SuiUiTransaction';
8
8
  export { fetchSuiInjectedWalletConnectors } from './wallets/injected/fetchSuiInjectedWalletConnectors';
9
+ export { FallbackSuiConnector } from './wallets/injected/FallbackSuiConnector';
package/src/index.js CHANGED
@@ -8,6 +8,7 @@ export { isSuiWallet } from './wallet/isSuiWallet/isSuiWallet.js';
8
8
  export { Slush } from './wallets/slush/Slush.js';
9
9
  export { SuiUiTransaction } from './utils/SuiUiTransaction/SuiUiTransaction.js';
10
10
  export { fetchSuiInjectedWalletConnectors } from './wallets/injected/fetchSuiInjectedWalletConnectors.js';
11
+ export { FallbackSuiConnector } from './wallets/injected/FallbackSuiConnector.js';
11
12
 
12
13
  /* eslint-disable @typescript-eslint/no-unused-vars */
13
14
  assertPackageVersion('@dynamic-labs/sui-core', version);
@@ -0,0 +1,25 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var injected = require('./injected.cjs');
7
+
8
+ class FallbackSuiConnector extends injected.Injected {
9
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
10
+ constructor(props) {
11
+ super('Fallback Connector', false, Object.assign(Object.assign({}, props), { overrideKey: 'fallbackconnector', wallet: undefined }));
12
+ this.name = 'Fallback Connector';
13
+ this.overrideKey = 'fallbackconnector';
14
+ this.isAvailable = false;
15
+ }
16
+ isInstalledOnBrowser() {
17
+ return false;
18
+ }
19
+ }
20
+ Object.defineProperty(FallbackSuiConnector, 'key', {
21
+ value: 'fallbackconnector',
22
+ writable: false,
23
+ });
24
+
25
+ exports.FallbackSuiConnector = FallbackSuiConnector;
@@ -0,0 +1,8 @@
1
+ import { Injected } from './injected';
2
+ export declare class FallbackSuiConnector extends Injected {
3
+ name: string;
4
+ overrideKey: string;
5
+ isAvailable: boolean;
6
+ constructor(props: any);
7
+ isInstalledOnBrowser(): boolean;
8
+ }
@@ -0,0 +1,21 @@
1
+ 'use client'
2
+ import { Injected } from './injected.js';
3
+
4
+ class FallbackSuiConnector extends Injected {
5
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
6
+ constructor(props) {
7
+ super('Fallback Connector', false, Object.assign(Object.assign({}, props), { overrideKey: 'fallbackconnector', wallet: undefined }));
8
+ this.name = 'Fallback Connector';
9
+ this.overrideKey = 'fallbackconnector';
10
+ this.isAvailable = false;
11
+ }
12
+ isInstalledOnBrowser() {
13
+ return false;
14
+ }
15
+ }
16
+ Object.defineProperty(FallbackSuiConnector, 'key', {
17
+ value: 'fallbackconnector',
18
+ writable: false,
19
+ });
20
+
21
+ export { FallbackSuiConnector };
@@ -1 +1,2 @@
1
1
  export * from './injected';
2
+ export * from './FallbackSuiConnector';