@dynamic-labs/waas-sui 4.41.0 → 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,12 @@
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
+
2
10
  ## [4.41.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.40.2...v4.41.0) (2025-10-29)
3
11
 
4
12
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.41.0";
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.41.0";
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/waas-sui",
3
- "version": "4.41.0",
3
+ "version": "4.41.1",
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",
@@ -19,18 +19,18 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@dynamic-labs/sdk-api-core": "0.0.813",
22
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.189",
22
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.190",
23
23
  "@mysten/sui": "1.24.0",
24
24
  "@mysten/wallet-standard": "0.13.29",
25
- "@dynamic-labs/assert-package-version": "4.41.0",
26
- "@dynamic-labs/logger": "4.41.0",
27
- "@dynamic-labs/rpc-providers": "4.41.0",
28
- "@dynamic-labs/sui-core": "4.41.0",
29
- "@dynamic-labs/types": "4.41.0",
30
- "@dynamic-labs/utils": "4.41.0",
31
- "@dynamic-labs/waas": "4.41.0",
32
- "@dynamic-labs/wallet-book": "4.41.0",
33
- "@dynamic-labs/wallet-connector-core": "4.41.0"
25
+ "@dynamic-labs/assert-package-version": "4.41.1",
26
+ "@dynamic-labs/logger": "4.41.1",
27
+ "@dynamic-labs/rpc-providers": "4.41.1",
28
+ "@dynamic-labs/sui-core": "4.41.1",
29
+ "@dynamic-labs/types": "4.41.1",
30
+ "@dynamic-labs/utils": "4.41.1",
31
+ "@dynamic-labs/waas": "4.41.1",
32
+ "@dynamic-labs/wallet-book": "4.41.1",
33
+ "@dynamic-labs/wallet-connector-core": "4.41.1"
34
34
  },
35
35
  "peerDependencies": {}
36
36
  }
@@ -107,7 +107,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
107
107
  }
108
108
  // Override importPrivateKey to use the proper type casting for SUI
109
109
  importPrivateKey(_a) {
110
- return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
110
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
111
111
  var _b, _c;
112
112
  const walletClient = yield this.getWaasWalletClient();
113
113
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
@@ -117,6 +117,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
117
117
  yield walletClient.importPrivateKey({
118
118
  authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
119
119
  privateKey,
120
+ publicAddressCheck,
120
121
  signedSessionId,
121
122
  thresholdSignatureScheme: thresholdSignatureScheme,
122
123
  });
@@ -49,9 +49,10 @@ declare const DynamicWaasSuiConnector_base: (abstract new (...args: any[]) => {
49
49
  publicKeyHex: string;
50
50
  rawPublicKey: string | Uint8Array | undefined;
51
51
  }>;
52
- importPrivateKey({ privateKey, thresholdSignatureScheme, }: {
52
+ importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, }: {
53
53
  privateKey: string;
54
54
  thresholdSignatureScheme?: string | undefined;
55
+ publicAddressCheck?: string | undefined;
55
56
  }): Promise<void>;
56
57
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
57
58
  accountAddress?: string | undefined;
@@ -113,9 +114,10 @@ export declare class DynamicWaasSuiConnector extends DynamicWaasSuiConnector_bas
113
114
  private setActiveAccountAddress;
114
115
  getActiveAccountAddress(): Promise<string | undefined>;
115
116
  validateActiveWallet(expectedAddress: string): Promise<void>;
116
- importPrivateKey({ privateKey, thresholdSignatureScheme, }: {
117
+ importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, }: {
117
118
  privateKey: string;
118
119
  thresholdSignatureScheme?: string;
120
+ publicAddressCheck?: string;
119
121
  }): Promise<void>;
120
122
  signMessage(message: string): Promise<string>;
121
123
  private createAndSignTransaction;
@@ -103,7 +103,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
103
103
  }
104
104
  // Override importPrivateKey to use the proper type casting for SUI
105
105
  importPrivateKey(_a) {
106
- return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
106
+ return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', publicAddressCheck, }) {
107
107
  var _b, _c;
108
108
  const walletClient = yield this.getWaasWalletClient();
109
109
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
@@ -113,6 +113,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
113
113
  yield walletClient.importPrivateKey({
114
114
  authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
115
115
  privateKey,
116
+ publicAddressCheck,
116
117
  signedSessionId,
117
118
  thresholdSignatureScheme: thresholdSignatureScheme,
118
119
  });