@dynamic-labs/waas-evm 4.89.0 → 4.91.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 +36 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/DynamicWaasEVMConnector.cjs +19 -13
- package/src/DynamicWaasEVMConnector.d.ts +18 -4
- package/src/DynamicWaasEVMConnector.js +19 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,40 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.91.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.90.0...v4.91.0) (2026-06-23)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **midnight:** add WaaS layer to @dynamic-labs/midnight ([#11006](https://github.com/dynamic-labs/dynamic-auth/issues/11006)) ([01b9d16](https://github.com/dynamic-labs/dynamic-auth/commit/01b9d16d0ba92a141a9be546ca00cca4029894d5))
|
|
8
|
+
* **sdk-react-core:** widget support for Midnight multi-address display + export hiding ([#11008](https://github.com/dynamic-labs/dynamic-auth/issues/11008)) ([87320b4](https://github.com/dynamic-labs/dynamic-auth/commit/87320b4d6e286b88e17f144641346e16a27e9e71))
|
|
9
|
+
* **waas:** wire session public key through host backup ops for keyshare diagnostics [DYNT-1280] ([#11675](https://github.com/dynamic-labs/dynamic-auth/issues/11675)) ([4f7981c](https://github.com/dynamic-labs/dynamic-auth/commit/4f7981c009930469dec7b3dec93f20f99bbe5498))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **ethereum-aa:** make ZeroDevConnector inert instead of throwing when ZeroDev config is absent ([#11610](https://github.com/dynamic-labs/dynamic-auth/issues/11610)) ([a3aab6a](https://github.com/dynamic-labs/dynamic-auth/commit/a3aab6a97e2e996f96b725f9336704b844f79603))
|
|
15
|
+
* **react-native-extension:** fall back to react-native-webview when embedded native module is unavailable ([#11683](https://github.com/dynamic-labs/dynamic-auth/issues/11683)) ([3f8d92c](https://github.com/dynamic-labs/dynamic-auth/commit/3f8d92ca0c327128b16e3355ab2f4e63d2c8e731))
|
|
16
|
+
* **sdk-react-core:** warn instead of throwing when ZeroDev connector is absent ([#11611](https://github.com/dynamic-labs/dynamic-auth/issues/11611)) ([5836252](https://github.com/dynamic-labs/dynamic-auth/commit/58362524e45205399c0fdc5b92414190d1929e0b))
|
|
17
|
+
* **waas-evm:** sign EOA transactions with the resolved chainId, not the connector default ([#11653](https://github.com/dynamic-labs/dynamic-auth/issues/11653)) ([e634098](https://github.com/dynamic-labs/dynamic-auth/commit/e634098f0f23f4c53f92a580db6f4aacbd6b1f92))
|
|
18
|
+
|
|
19
|
+
## [4.90.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.89.0...v4.90.0) (2026-06-19)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add microsoft to social providers list ([#11631](https://github.com/dynamic-labs/dynamic-auth/issues/11631)) ([761b82d](https://github.com/dynamic-labs/dynamic-auth/commit/761b82dea2e2e86ec1c8b3fc8bab32ed72492132))
|
|
25
|
+
* **sdk-react-core:** preconnect to waas iframe origin at auth-flow start ([#11549](https://github.com/dynamic-labs/dynamic-auth/issues/11549)) ([1bb810c](https://github.com/dynamic-labs/dynamic-auth/commit/1bb810c4eb3d592b43f62c1eaf5450a0e42981c9)), closes [dynamic-labs/dynamic-wallet-sdk#1314](https://github.com/dynamic-labs/dynamic-wallet-sdk/issues/1314)
|
|
26
|
+
* **waas:** opt into SDK eager key-share recovery, drop host RECOVER loop (DYNT-1125) ([#11620](https://github.com/dynamic-labs/dynamic-auth/issues/11620)) ([4bef955](https://github.com/dynamic-labs/dynamic-auth/commit/4bef955b902a7e484ba8bd6323582843bb692a17))
|
|
27
|
+
* **wallet-connector-core:** add isMidnightConnector util + Midnight interface hooks ([#11005](https://github.com/dynamic-labs/dynamic-auth/issues/11005)) ([55117a8](https://github.com/dynamic-labs/dynamic-auth/commit/55117a8cf59640d00b358f68be8df6b29231fab5))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **sdk-react-core:** gate smart-wallet init on user:basic scope ([#11624](https://github.com/dynamic-labs/dynamic-auth/issues/11624)) ([9f891a4](https://github.com/dynamic-labs/dynamic-auth/commit/9f891a46a191532acdd4a91b74c4586089ef0e1a)), closes [#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623) [#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623) [#11626](https://github.com/dynamic-labs/dynamic-auth/issues/11626)
|
|
33
|
+
* **sdk-react-core:** search wallet list by metadata name in addition to connector name ([#11638](https://github.com/dynamic-labs/dynamic-auth/issues/11638)) ([a647614](https://github.com/dynamic-labs/dynamic-auth/commit/a647614bcba769e09ef59bf1ddb925ce9835842e))
|
|
34
|
+
* **waas:** rebuild WaaS client on session change after step-up reauth ([#11581](https://github.com/dynamic-labs/dynamic-auth/issues/11581)) ([2b7093e](https://github.com/dynamic-labs/dynamic-auth/commit/2b7093e27f57f1dfcdd303361d436d9bf33e28a9))
|
|
35
|
+
* **waas:** refuse to build WaaS client while auth scope is pending (createRooms 401 chokepoint) ([#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623)) ([08755f0](https://github.com/dynamic-labs/dynamic-auth/commit/08755f0bda2b74c7bcdff3d0ac9c228a5205ad6e)), closes [#11624](https://github.com/dynamic-labs/dynamic-auth/issues/11624)
|
|
36
|
+
* **wallet-connect:** skip address comparison on reconnect when expectedAddress is empty ([#11639](https://github.com/dynamic-labs/dynamic-auth/issues/11639)) ([8d665cf](https://github.com/dynamic-labs/dynamic-auth/commit/8d665cf3bf1fb0e498d71f14cc8a53d91593c23d))
|
|
37
|
+
|
|
2
38
|
## [4.89.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.88.6...v4.89.0) (2026-06-16)
|
|
3
39
|
|
|
4
40
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas-evm",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.91.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",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.1046",
|
|
22
22
|
"viem": "^2.45.3",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
-
"@dynamic-labs/ethereum-core": "4.
|
|
25
|
-
"@dynamic-labs/logger": "4.
|
|
26
|
-
"@dynamic-labs/types": "4.
|
|
27
|
-
"@dynamic-labs/utils": "4.
|
|
28
|
-
"@dynamic-labs/waas": "4.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.91.0",
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.91.0",
|
|
25
|
+
"@dynamic-labs/logger": "4.91.0",
|
|
26
|
+
"@dynamic-labs/types": "4.91.0",
|
|
27
|
+
"@dynamic-labs/utils": "4.91.0",
|
|
28
|
+
"@dynamic-labs/waas": "4.91.0",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.91.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -293,7 +293,7 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
293
293
|
return signature;
|
|
294
294
|
}),
|
|
295
295
|
signTransaction: (transaction) => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
296
|
-
var _g, _h;
|
|
296
|
+
var _g, _h, _j;
|
|
297
297
|
const traceId = this.generateTraceId();
|
|
298
298
|
const startTime = Date.now();
|
|
299
299
|
this.instrument('[signTransaction] start', {
|
|
@@ -311,18 +311,24 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
311
311
|
scope: sdkApiCore.TokenScope.Walletsign,
|
|
312
312
|
}));
|
|
313
313
|
const password = yield this.getPasswordIfNeeded({ accountAddress });
|
|
314
|
-
// Ensure chainId is set so the signed transaction matches the
|
|
314
|
+
// Ensure chainId is set so the signed transaction matches the chain it
|
|
315
|
+
// will be broadcast on (EIP-155). Prefer the chainId already on the
|
|
316
|
+
// transaction: viem populates it from the wallet client's bound chain,
|
|
317
|
+
// so an EOA wallet client resolved on a specific chain (e.g. via
|
|
318
|
+
// getWalletClient(chainId)) signs for THAT chain rather than the
|
|
319
|
+
// connector's globally-selected network. Fall back to currentChainId
|
|
320
|
+
// only when the transaction does not carry one.
|
|
315
321
|
// Wrong chainId causes "invalid signature: Failed to recover the signer" on broadcast.
|
|
316
322
|
// e.g. 1Money testnet requires chainId 1212101 (https://chainlist.org/chain/1212101).
|
|
317
|
-
const
|
|
318
|
-
const transactionWithChainId =
|
|
319
|
-
? Object.assign(Object.assign({}, transaction), { chainId:
|
|
323
|
+
const effectiveChainId = (_j = transaction.chainId) !== null && _j !== void 0 ? _j : this.currentChainId;
|
|
324
|
+
const transactionWithChainId = effectiveChainId !== undefined
|
|
325
|
+
? Object.assign(Object.assign({}, transaction), { chainId: effectiveChainId }) : transaction;
|
|
320
326
|
const tx = yield this.instrumentAsync({
|
|
321
327
|
context: { chainName: 'EVM', startTime, traceId },
|
|
322
328
|
fn: () => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
323
|
-
var
|
|
324
|
-
return client.signTransaction(Object.assign(Object.assign({ authToken: (
|
|
325
|
-
chainId:
|
|
329
|
+
var _k;
|
|
330
|
+
return client.signTransaction(Object.assign(Object.assign({ authToken: (_k = this.getAuthToken) === null || _k === void 0 ? void 0 : _k.call(this) }, (effectiveChainId !== undefined && {
|
|
331
|
+
chainId: effectiveChainId.toString(),
|
|
326
332
|
})), { elevatedAccessToken,
|
|
327
333
|
mfaToken,
|
|
328
334
|
password, senderAddress: accountAddress, signedSessionId, traceContext: {
|
|
@@ -336,7 +342,7 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
336
342
|
return tx;
|
|
337
343
|
}),
|
|
338
344
|
signTypedData: (typedData) => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
339
|
-
var
|
|
345
|
+
var _l, _m;
|
|
340
346
|
const traceId = this.generateTraceId();
|
|
341
347
|
const startTime = Date.now();
|
|
342
348
|
this.instrument('[signTypedData] start', {
|
|
@@ -347,20 +353,20 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
347
353
|
time: 0,
|
|
348
354
|
traceId,
|
|
349
355
|
});
|
|
350
|
-
const mfaToken = yield ((
|
|
356
|
+
const mfaToken = yield ((_l = this.getMfaToken) === null || _l === void 0 ? void 0 : _l.call(this, {
|
|
351
357
|
mfaAction: sdkApiCore.MFAAction.WalletWaasSign,
|
|
352
358
|
}));
|
|
353
|
-
const elevatedAccessToken = yield ((
|
|
359
|
+
const elevatedAccessToken = yield ((_m = this.getElevatedAccessToken) === null || _m === void 0 ? void 0 : _m.call(this, {
|
|
354
360
|
scope: sdkApiCore.TokenScope.Walletsign,
|
|
355
361
|
}));
|
|
356
362
|
const password = yield this.getPasswordIfNeeded({ accountAddress });
|
|
357
363
|
const signature = yield this.instrumentAsync({
|
|
358
364
|
context: { chainName: 'EVM', startTime, traceId },
|
|
359
365
|
fn: () => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
360
|
-
var
|
|
366
|
+
var _o;
|
|
361
367
|
return client.signTypedData({
|
|
362
368
|
accountAddress,
|
|
363
|
-
authToken: (
|
|
369
|
+
authToken: (_o = this.getAuthToken) === null || _o === void 0 ? void 0 : _o.call(this),
|
|
364
370
|
elevatedAccessToken,
|
|
365
371
|
mfaToken,
|
|
366
372
|
password,
|
|
@@ -21,6 +21,7 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
21
21
|
overrideKey: string;
|
|
22
22
|
isEmbeddedWallet: boolean;
|
|
23
23
|
getSignedSessionId?: (() => Promise<string>) | undefined;
|
|
24
|
+
getSessionPublicKey?: (() => Promise<string | undefined>) | undefined;
|
|
24
25
|
getMfaToken?: ((props?: {
|
|
25
26
|
mfaAction?: MFAAction | undefined;
|
|
26
27
|
} | undefined) => Promise<string | undefined>) | undefined;
|
|
@@ -61,16 +62,19 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
61
62
|
setBaseClientKeysharesRelayApiUrl(baseClientKeysharesRelayApiUrl?: string | undefined): void;
|
|
62
63
|
setRelayUrl(relayUrl: string): void;
|
|
63
64
|
setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void;
|
|
65
|
+
setGetSessionPublicKeyFunction(getSessionPublicKey: () => Promise<string | undefined>): void;
|
|
64
66
|
delegateKeyShares({ accountAddress, password, }: {
|
|
65
67
|
accountAddress: string;
|
|
66
68
|
password?: string | undefined;
|
|
67
69
|
}): Promise<void>;
|
|
68
70
|
createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
69
|
-
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined
|
|
71
|
+
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
72
|
+
forceRebuild?: boolean | undefined;
|
|
73
|
+
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
70
74
|
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
|
|
71
75
|
thresholdSignatureScheme?: string | undefined;
|
|
72
76
|
password?: string | undefined;
|
|
73
|
-
bitcoinConfig?: import("@dynamic-labs-wallet/
|
|
77
|
+
bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
|
|
74
78
|
} | undefined): Promise<{
|
|
75
79
|
chainName: string;
|
|
76
80
|
accountAddress: string;
|
|
@@ -145,10 +149,10 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
145
149
|
unlockWallet({ accountAddress, password, }: {
|
|
146
150
|
accountAddress: string;
|
|
147
151
|
password?: string | undefined;
|
|
148
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
152
|
+
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").GetWalletResponse>;
|
|
149
153
|
getWalletRecoveryState({ accountAddress, }: {
|
|
150
154
|
accountAddress: string;
|
|
151
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
155
|
+
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
|
|
152
156
|
endSession(reason?: import("@dynamic-labs-sdk/client").LogoutReason | undefined): Promise<void>;
|
|
153
157
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
154
158
|
getConnectedAccounts(): Promise<string[]>;
|
|
@@ -169,6 +173,16 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
|
|
|
169
173
|
fn: (timing: import("dist/packages/waas/utils/instrumentation").InstrumentationTimer) => Promise<T_1>;
|
|
170
174
|
context?: Record<string, any> | undefined;
|
|
171
175
|
}): Promise<T_1>;
|
|
176
|
+
getPrivateBalance(): Promise<{
|
|
177
|
+
unshielded: Record<string, string>;
|
|
178
|
+
shielded: Record<string, string>;
|
|
179
|
+
dust: {
|
|
180
|
+
balance: string;
|
|
181
|
+
cap: string;
|
|
182
|
+
};
|
|
183
|
+
address: string;
|
|
184
|
+
dustSynced: boolean;
|
|
185
|
+
}>;
|
|
172
186
|
}) & typeof EthereumWalletConnector;
|
|
173
187
|
export declare class DynamicWaasEVMConnector extends DynamicWaasEVMConnector_base implements IDynamicWaasConnector {
|
|
174
188
|
name: string;
|
|
@@ -289,7 +289,7 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
289
289
|
return signature;
|
|
290
290
|
}),
|
|
291
291
|
signTransaction: (transaction) => __awaiter(this, void 0, void 0, function* () {
|
|
292
|
-
var _g, _h;
|
|
292
|
+
var _g, _h, _j;
|
|
293
293
|
const traceId = this.generateTraceId();
|
|
294
294
|
const startTime = Date.now();
|
|
295
295
|
this.instrument('[signTransaction] start', {
|
|
@@ -307,18 +307,24 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
307
307
|
scope: TokenScope.Walletsign,
|
|
308
308
|
}));
|
|
309
309
|
const password = yield this.getPasswordIfNeeded({ accountAddress });
|
|
310
|
-
// Ensure chainId is set so the signed transaction matches the
|
|
310
|
+
// Ensure chainId is set so the signed transaction matches the chain it
|
|
311
|
+
// will be broadcast on (EIP-155). Prefer the chainId already on the
|
|
312
|
+
// transaction: viem populates it from the wallet client's bound chain,
|
|
313
|
+
// so an EOA wallet client resolved on a specific chain (e.g. via
|
|
314
|
+
// getWalletClient(chainId)) signs for THAT chain rather than the
|
|
315
|
+
// connector's globally-selected network. Fall back to currentChainId
|
|
316
|
+
// only when the transaction does not carry one.
|
|
311
317
|
// Wrong chainId causes "invalid signature: Failed to recover the signer" on broadcast.
|
|
312
318
|
// e.g. 1Money testnet requires chainId 1212101 (https://chainlist.org/chain/1212101).
|
|
313
|
-
const
|
|
314
|
-
const transactionWithChainId =
|
|
315
|
-
? Object.assign(Object.assign({}, transaction), { chainId:
|
|
319
|
+
const effectiveChainId = (_j = transaction.chainId) !== null && _j !== void 0 ? _j : this.currentChainId;
|
|
320
|
+
const transactionWithChainId = effectiveChainId !== undefined
|
|
321
|
+
? Object.assign(Object.assign({}, transaction), { chainId: effectiveChainId }) : transaction;
|
|
316
322
|
const tx = yield this.instrumentAsync({
|
|
317
323
|
context: { chainName: 'EVM', startTime, traceId },
|
|
318
324
|
fn: () => __awaiter(this, void 0, void 0, function* () {
|
|
319
|
-
var
|
|
320
|
-
return client.signTransaction(Object.assign(Object.assign({ authToken: (
|
|
321
|
-
chainId:
|
|
325
|
+
var _k;
|
|
326
|
+
return client.signTransaction(Object.assign(Object.assign({ authToken: (_k = this.getAuthToken) === null || _k === void 0 ? void 0 : _k.call(this) }, (effectiveChainId !== undefined && {
|
|
327
|
+
chainId: effectiveChainId.toString(),
|
|
322
328
|
})), { elevatedAccessToken,
|
|
323
329
|
mfaToken,
|
|
324
330
|
password, senderAddress: accountAddress, signedSessionId, traceContext: {
|
|
@@ -332,7 +338,7 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
332
338
|
return tx;
|
|
333
339
|
}),
|
|
334
340
|
signTypedData: (typedData) => __awaiter(this, void 0, void 0, function* () {
|
|
335
|
-
var
|
|
341
|
+
var _l, _m;
|
|
336
342
|
const traceId = this.generateTraceId();
|
|
337
343
|
const startTime = Date.now();
|
|
338
344
|
this.instrument('[signTypedData] start', {
|
|
@@ -343,20 +349,20 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
343
349
|
time: 0,
|
|
344
350
|
traceId,
|
|
345
351
|
});
|
|
346
|
-
const mfaToken = yield ((
|
|
352
|
+
const mfaToken = yield ((_l = this.getMfaToken) === null || _l === void 0 ? void 0 : _l.call(this, {
|
|
347
353
|
mfaAction: MFAAction.WalletWaasSign,
|
|
348
354
|
}));
|
|
349
|
-
const elevatedAccessToken = yield ((
|
|
355
|
+
const elevatedAccessToken = yield ((_m = this.getElevatedAccessToken) === null || _m === void 0 ? void 0 : _m.call(this, {
|
|
350
356
|
scope: TokenScope.Walletsign,
|
|
351
357
|
}));
|
|
352
358
|
const password = yield this.getPasswordIfNeeded({ accountAddress });
|
|
353
359
|
const signature = yield this.instrumentAsync({
|
|
354
360
|
context: { chainName: 'EVM', startTime, traceId },
|
|
355
361
|
fn: () => __awaiter(this, void 0, void 0, function* () {
|
|
356
|
-
var
|
|
362
|
+
var _o;
|
|
357
363
|
return client.signTypedData({
|
|
358
364
|
accountAddress,
|
|
359
|
-
authToken: (
|
|
365
|
+
authToken: (_o = this.getAuthToken) === null || _o === void 0 ? void 0 : _o.call(this),
|
|
360
366
|
elevatedAccessToken,
|
|
361
367
|
mfaToken,
|
|
362
368
|
password,
|