@dynamic-labs/waas-sui 4.20.9 → 4.20.11

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,34 @@
1
1
 
2
+ ### [4.20.11](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.10...v4.20.11) (2025-07-01)
3
+
4
+
5
+ ### Features
6
+
7
+ * add signed typed data to waas ([#9050](https://github.com/dynamic-labs/dynamic-auth/issues/9050)) ([19c8fea](https://github.com/dynamic-labs/dynamic-auth/commit/19c8fea2e5448e027cbec2f6158d32247dfcd321))
8
+ * pass jwt to waas operations ([#8981](https://github.com/dynamic-labs/dynamic-auth/issues/8981)) ([6b63394](https://github.com/dynamic-labs/dynamic-auth/commit/6b63394a1a724c2a1499a3d1ff13078d2314b10e))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * 7702 signature for undeployed contracts ([#9052](https://github.com/dynamic-labs/dynamic-auth/issues/9052)) ([7052149](https://github.com/dynamic-labs/dynamic-auth/commit/7052149aae53524a0ac2bdad0b7ddf68e3c86189))
14
+
15
+ ### [4.20.10](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.9...v4.20.10) (2025-06-30)
16
+
17
+
18
+ ### Features
19
+
20
+ * add refresh user to react native ([#9019](https://github.com/dynamic-labs/dynamic-auth/issues/9019)) ([01adcda](https://github.com/dynamic-labs/dynamic-auth/commit/01adcda39994ba2955cad58bbd1d4e5063cc1122))
21
+ * support sui wallets on mobile ([#9038](https://github.com/dynamic-labs/dynamic-auth/issues/9038)) ([6f077da](https://github.com/dynamic-labs/dynamic-auth/commit/6f077da7deab525b0a3c5692a50a987c98f2b7e9))
22
+ * upgradetoDynamicWaas hook ([#9022](https://github.com/dynamic-labs/dynamic-auth/issues/9022)) ([3f1c42d](https://github.com/dynamic-labs/dynamic-auth/commit/3f1c42d71ab8b5a88d6b622f0b5fb41eb4ca9a4b))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * allow user to retry connecting with metamask on mobile deep link ([#9018](https://github.com/dynamic-labs/dynamic-auth/issues/9018)) ([09494c4](https://github.com/dynamic-labs/dynamic-auth/commit/09494c41680bb9949dc75df843e085c7743adc66))
28
+ * bump react 19 incompatible dependencies in sdk-react-core ([#9034](https://github.com/dynamic-labs/dynamic-auth/issues/9034)) ([e446f9c](https://github.com/dynamic-labs/dynamic-auth/commit/e446f9c26cf6d4566bf55be2e33dd540500d8fa5))
29
+ * filter out policies consent field from user profile view ([#9043](https://github.com/dynamic-labs/dynamic-auth/issues/9043)) ([e0e5003](https://github.com/dynamic-labs/dynamic-auth/commit/e0e500321719f1e1cfb8a67520641a6fb2f26cf8))
30
+ * use sui devnet for sui transactions ([#9042](https://github.com/dynamic-labs/dynamic-auth/issues/9042)) ([c61af4a](https://github.com/dynamic-labs/dynamic-auth/commit/c61af4a544ff35081b1286fc4b871a8ae031c3f3))
31
+
2
32
  ### [4.20.9](https://github.com/dynamic-labs/dynamic-auth/compare/v4.20.8...v4.20.9) (2025-06-24)
3
33
 
4
34
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.20.9";
6
+ var version = "4.20.11";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.20.9";
2
+ var version = "4.20.11";
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.20.9",
3
+ "version": "4.20.11",
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",
@@ -18,18 +18,18 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.85",
21
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.106",
22
22
  "@mysten/sui": "1.24.0",
23
23
  "@mysten/wallet-standard": "0.13.29",
24
- "@dynamic-labs/assert-package-version": "4.20.9",
25
- "@dynamic-labs/logger": "4.20.9",
26
- "@dynamic-labs/rpc-providers": "4.20.9",
27
- "@dynamic-labs/sui-core": "4.20.9",
28
- "@dynamic-labs/types": "4.20.9",
29
- "@dynamic-labs/utils": "4.20.9",
30
- "@dynamic-labs/waas": "4.20.9",
31
- "@dynamic-labs/wallet-book": "4.20.9",
32
- "@dynamic-labs/wallet-connector-core": "4.20.9"
24
+ "@dynamic-labs/assert-package-version": "4.20.11",
25
+ "@dynamic-labs/logger": "4.20.11",
26
+ "@dynamic-labs/rpc-providers": "4.20.11",
27
+ "@dynamic-labs/sui-core": "4.20.11",
28
+ "@dynamic-labs/types": "4.20.11",
29
+ "@dynamic-labs/utils": "4.20.11",
30
+ "@dynamic-labs/waas": "4.20.11",
31
+ "@dynamic-labs/wallet-book": "4.20.11",
32
+ "@dynamic-labs/wallet-connector-core": "4.20.11"
33
33
  },
34
34
  "peerDependencies": {}
35
35
  }
@@ -100,11 +100,12 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
100
100
  }
101
101
  validateActiveWallet(expectedAddress) {
102
102
  return _tslib.__awaiter(this, void 0, void 0, function* () {
103
- var _a;
103
+ var _a, _b;
104
104
  const walletClient = this.getWaasWalletClient();
105
105
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
106
106
  const targetWallet = yield walletClient.getWallet({
107
107
  accountAddress: expectedAddress,
108
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
108
109
  signedSessionId,
109
110
  });
110
111
  if (!targetWallet) {
@@ -118,10 +119,11 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
118
119
  }
119
120
  createWalletAccount() {
120
121
  return _tslib.__awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', } = {}) {
121
- var _a;
122
+ var _a, _b;
122
123
  const walletClient = this.getWaasWalletClient();
123
124
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
124
125
  const createdWallet = yield walletClient.createWalletAccount({
126
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
125
127
  signedSessionId,
126
128
  thresholdSignatureScheme: thresholdSignatureScheme,
127
129
  });
@@ -130,16 +132,23 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
130
132
  }
131
133
  importPrivateKey(_a) {
132
134
  return _tslib.__awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
135
+ var _b, _c;
133
136
  const walletClient = this.getWaasWalletClient();
137
+ const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
138
+ if (!signedSessionId) {
139
+ throw new Error('Signed session ID is required');
140
+ }
134
141
  yield walletClient.importPrivateKey({
142
+ authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
135
143
  privateKey,
144
+ signedSessionId,
136
145
  thresholdSignatureScheme: thresholdSignatureScheme,
137
146
  });
138
147
  });
139
148
  }
140
149
  signMessage(message) {
141
150
  return _tslib.__awaiter(this, void 0, void 0, function* () {
142
- var _a;
151
+ var _a, _b;
143
152
  const waasSuiClient = this.getWaasWalletClient();
144
153
  if (!this.activeAccountAddress) {
145
154
  throw new Error('Active account address is required');
@@ -147,6 +156,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
147
156
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
148
157
  const signedMessage = yield waasSuiClient.signMessage({
149
158
  accountAddress: this.activeAccountAddress,
159
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
150
160
  message,
151
161
  signedSessionId,
152
162
  });
@@ -155,7 +165,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
155
165
  }
156
166
  createAndSignTransaction(transaction) {
157
167
  return _tslib.__awaiter(this, void 0, void 0, function* () {
158
- var _a;
168
+ var _a, _b;
159
169
  const networkName = yield this.getNetworkName();
160
170
  const client$1 = new client.SuiClient({ url: client.getFullnodeUrl(networkName) });
161
171
  const txBytes = yield transaction.build({ client: client$1 });
@@ -166,6 +176,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
166
176
  }
167
177
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
168
178
  const signedTx = yield walletClient.signTransaction({
179
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
169
180
  senderAddress: this.activeAccountAddress,
170
181
  signedSessionId,
171
182
  transaction: txString,
@@ -223,7 +234,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
223
234
  }
224
235
  exportPrivateKey() {
225
236
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, displayContainer, password, } = {}) {
226
- var _a;
237
+ var _a, _b;
227
238
  const walletClient = this.getWaasWalletClient();
228
239
  const targetAccountAddress = accountAddress || this.activeAccountAddress;
229
240
  if (!targetAccountAddress) {
@@ -236,6 +247,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
236
247
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
237
248
  yield walletClient.exportPrivateKey({
238
249
  accountAddress: targetAccountAddress,
250
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
239
251
  displayContainer,
240
252
  password,
241
253
  signedSessionId,
@@ -247,7 +259,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
247
259
  }
248
260
  exportClientKeyshares(_a) {
249
261
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
250
- var _b;
262
+ var _b, _c;
251
263
  const waasSuiClient = this.getWaasWalletClient();
252
264
  const targetAccountAddress = accountAddress || this.activeAccountAddress;
253
265
  if (!targetAccountAddress) {
@@ -256,6 +268,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
256
268
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
257
269
  yield waasSuiClient.exportClientKeyshares({
258
270
  accountAddress: targetAccountAddress,
271
+ authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
259
272
  password,
260
273
  signedSessionId,
261
274
  });
@@ -263,36 +276,42 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
263
276
  }
264
277
  backupKeySharesToGoogleDrive(_a) {
265
278
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
279
+ var _b;
266
280
  if (!accountAddress) {
267
281
  throw new Error('Account address is required');
268
282
  }
269
283
  const walletClient = this.getWaasWalletClient();
270
284
  return walletClient.backupKeySharesToGoogleDrive({
271
285
  accountAddress,
286
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
272
287
  password,
273
288
  });
274
289
  });
275
290
  }
276
291
  refreshWalletAccountShares(_a) {
277
292
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
293
+ var _b;
278
294
  if (!accountAddress) {
279
295
  throw new Error('Account address is required');
280
296
  }
281
297
  const walletClient = this.getWaasWalletClient();
282
298
  return walletClient.refreshWalletAccountShares({
283
299
  accountAddress,
300
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
284
301
  password,
285
302
  });
286
303
  });
287
304
  }
288
305
  updatePassword(_a) {
289
306
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, existingPassword, newPassword, }) {
307
+ var _b;
290
308
  if (!accountAddress) {
291
309
  throw new Error('Account address is required');
292
310
  }
293
311
  const walletClient = this.getWaasWalletClient();
294
312
  return walletClient.updatePassword({
295
313
  accountAddress,
314
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
296
315
  existingPassword,
297
316
  newPassword,
298
317
  });
@@ -300,6 +319,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
300
319
  }
301
320
  signRawMessage(_a) {
302
321
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, message, password, }) {
322
+ var _b;
303
323
  if (!accountAddress) {
304
324
  throw new Error('Account address is required');
305
325
  }
@@ -309,6 +329,7 @@ class DynamicWaasSuiConnector extends waas.withDynamicWaas(suiCore.SuiWalletConn
309
329
  const walletClient = this.getWaasWalletClient();
310
330
  return walletClient.signRawMessage({
311
331
  accountAddress,
332
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
312
333
  message,
313
334
  password,
314
335
  });
@@ -96,11 +96,12 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
96
96
  }
97
97
  validateActiveWallet(expectedAddress) {
98
98
  return __awaiter(this, void 0, void 0, function* () {
99
- var _a;
99
+ var _a, _b;
100
100
  const walletClient = this.getWaasWalletClient();
101
101
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
102
102
  const targetWallet = yield walletClient.getWallet({
103
103
  accountAddress: expectedAddress,
104
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
104
105
  signedSessionId,
105
106
  });
106
107
  if (!targetWallet) {
@@ -114,10 +115,11 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
114
115
  }
115
116
  createWalletAccount() {
116
117
  return __awaiter(this, arguments, void 0, function* ({ thresholdSignatureScheme = 'TWO_OF_TWO', } = {}) {
117
- var _a;
118
+ var _a, _b;
118
119
  const walletClient = this.getWaasWalletClient();
119
120
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
120
121
  const createdWallet = yield walletClient.createWalletAccount({
122
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
121
123
  signedSessionId,
122
124
  thresholdSignatureScheme: thresholdSignatureScheme,
123
125
  });
@@ -126,16 +128,23 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
126
128
  }
127
129
  importPrivateKey(_a) {
128
130
  return __awaiter(this, arguments, void 0, function* ({ privateKey, thresholdSignatureScheme = 'TWO_OF_TWO', }) {
131
+ var _b, _c;
129
132
  const walletClient = this.getWaasWalletClient();
133
+ const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
134
+ if (!signedSessionId) {
135
+ throw new Error('Signed session ID is required');
136
+ }
130
137
  yield walletClient.importPrivateKey({
138
+ authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
131
139
  privateKey,
140
+ signedSessionId,
132
141
  thresholdSignatureScheme: thresholdSignatureScheme,
133
142
  });
134
143
  });
135
144
  }
136
145
  signMessage(message) {
137
146
  return __awaiter(this, void 0, void 0, function* () {
138
- var _a;
147
+ var _a, _b;
139
148
  const waasSuiClient = this.getWaasWalletClient();
140
149
  if (!this.activeAccountAddress) {
141
150
  throw new Error('Active account address is required');
@@ -143,6 +152,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
143
152
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
144
153
  const signedMessage = yield waasSuiClient.signMessage({
145
154
  accountAddress: this.activeAccountAddress,
155
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
146
156
  message,
147
157
  signedSessionId,
148
158
  });
@@ -151,7 +161,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
151
161
  }
152
162
  createAndSignTransaction(transaction) {
153
163
  return __awaiter(this, void 0, void 0, function* () {
154
- var _a;
164
+ var _a, _b;
155
165
  const networkName = yield this.getNetworkName();
156
166
  const client = new SuiClient({ url: getFullnodeUrl(networkName) });
157
167
  const txBytes = yield transaction.build({ client });
@@ -162,6 +172,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
162
172
  }
163
173
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
164
174
  const signedTx = yield walletClient.signTransaction({
175
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
165
176
  senderAddress: this.activeAccountAddress,
166
177
  signedSessionId,
167
178
  transaction: txString,
@@ -219,7 +230,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
219
230
  }
220
231
  exportPrivateKey() {
221
232
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, displayContainer, password, } = {}) {
222
- var _a;
233
+ var _a, _b;
223
234
  const walletClient = this.getWaasWalletClient();
224
235
  const targetAccountAddress = accountAddress || this.activeAccountAddress;
225
236
  if (!targetAccountAddress) {
@@ -232,6 +243,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
232
243
  const signedSessionId = yield ((_a = this.getSignedSessionId) === null || _a === void 0 ? void 0 : _a.call(this));
233
244
  yield walletClient.exportPrivateKey({
234
245
  accountAddress: targetAccountAddress,
246
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
235
247
  displayContainer,
236
248
  password,
237
249
  signedSessionId,
@@ -243,7 +255,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
243
255
  }
244
256
  exportClientKeyshares(_a) {
245
257
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
246
- var _b;
258
+ var _b, _c;
247
259
  const waasSuiClient = this.getWaasWalletClient();
248
260
  const targetAccountAddress = accountAddress || this.activeAccountAddress;
249
261
  if (!targetAccountAddress) {
@@ -252,6 +264,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
252
264
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
253
265
  yield waasSuiClient.exportClientKeyshares({
254
266
  accountAddress: targetAccountAddress,
267
+ authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
255
268
  password,
256
269
  signedSessionId,
257
270
  });
@@ -259,36 +272,42 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
259
272
  }
260
273
  backupKeySharesToGoogleDrive(_a) {
261
274
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
275
+ var _b;
262
276
  if (!accountAddress) {
263
277
  throw new Error('Account address is required');
264
278
  }
265
279
  const walletClient = this.getWaasWalletClient();
266
280
  return walletClient.backupKeySharesToGoogleDrive({
267
281
  accountAddress,
282
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
268
283
  password,
269
284
  });
270
285
  });
271
286
  }
272
287
  refreshWalletAccountShares(_a) {
273
288
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
289
+ var _b;
274
290
  if (!accountAddress) {
275
291
  throw new Error('Account address is required');
276
292
  }
277
293
  const walletClient = this.getWaasWalletClient();
278
294
  return walletClient.refreshWalletAccountShares({
279
295
  accountAddress,
296
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
280
297
  password,
281
298
  });
282
299
  });
283
300
  }
284
301
  updatePassword(_a) {
285
302
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, existingPassword, newPassword, }) {
303
+ var _b;
286
304
  if (!accountAddress) {
287
305
  throw new Error('Account address is required');
288
306
  }
289
307
  const walletClient = this.getWaasWalletClient();
290
308
  return walletClient.updatePassword({
291
309
  accountAddress,
310
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
292
311
  existingPassword,
293
312
  newPassword,
294
313
  });
@@ -296,6 +315,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
296
315
  }
297
316
  signRawMessage(_a) {
298
317
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, message, password, }) {
318
+ var _b;
299
319
  if (!accountAddress) {
300
320
  throw new Error('Account address is required');
301
321
  }
@@ -305,6 +325,7 @@ class DynamicWaasSuiConnector extends withDynamicWaas(SuiWalletConnector) {
305
325
  const walletClient = this.getWaasWalletClient();
306
326
  return walletClient.signRawMessage({
307
327
  accountAddress,
328
+ authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
308
329
  message,
309
330
  password,
310
331
  });