@dynamic-labs/waas 5.0.0-rc.3 → 5.0.0-rc.4
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 +7 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +11 -11
- package/src/DynamicWaasMixin.cjs +8 -5
- package/src/DynamicWaasMixin.js +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.0.0-rc.4](https://github.com/dynamic-labs/dynamic-auth/compare/v5.0.0-rc.3...v5.0.0-rc.4) (2026-07-20)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **business-accounts:** redesign demo + fix getBusinessAccount arg shape ([#11975](https://github.com/dynamic-labs/dynamic-auth/issues/11975)) ([7c2feaf](https://github.com/dynamic-labs/dynamic-auth/commit/7c2feaf6d0e00b210d67302353b40e90fdc7c8d1))
|
|
8
|
+
|
|
2
9
|
## [5.0.0-rc.3](https://github.com/dynamic-labs/dynamic-auth/compare/v5.0.0-rc.2...v5.0.0-rc.3) (2026-07-17)
|
|
3
10
|
|
|
4
11
|
## [5.0.0-rc.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.0.0-rc.1...v5.0.0-rc.2) (2026-07-17)
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dynamic-labs-sdk/client": "1.
|
|
20
|
-
"@dynamic-labs/assert-package-version": "5.0.0-rc.
|
|
19
|
+
"@dynamic-labs-sdk/client": "1.20.0",
|
|
20
|
+
"@dynamic-labs/assert-package-version": "5.0.0-rc.4",
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.1082",
|
|
22
|
-
"@dynamic-labs-wallet/browser-wallet-client": "1.0.
|
|
22
|
+
"@dynamic-labs-wallet/browser-wallet-client": "1.0.74",
|
|
23
23
|
"@dynamic-labs-wallet/forward-mpc-client": "1.0.1",
|
|
24
|
-
"@dynamic-labs/ethereum-core": "5.0.0-rc.
|
|
25
|
-
"@dynamic-labs/logger": "5.0.0-rc.
|
|
26
|
-
"@dynamic-labs/solana-core": "5.0.0-rc.
|
|
27
|
-
"@dynamic-labs/sui-core": "5.0.0-rc.
|
|
28
|
-
"@dynamic-labs/utils": "5.0.0-rc.
|
|
29
|
-
"@dynamic-labs/wallet-book": "5.0.0-rc.
|
|
30
|
-
"@dynamic-labs/wallet-connector-core": "5.0.0-rc.
|
|
24
|
+
"@dynamic-labs/ethereum-core": "5.0.0-rc.4",
|
|
25
|
+
"@dynamic-labs/logger": "5.0.0-rc.4",
|
|
26
|
+
"@dynamic-labs/solana-core": "5.0.0-rc.4",
|
|
27
|
+
"@dynamic-labs/sui-core": "5.0.0-rc.4",
|
|
28
|
+
"@dynamic-labs/utils": "5.0.0-rc.4",
|
|
29
|
+
"@dynamic-labs/wallet-book": "5.0.0-rc.4",
|
|
30
|
+
"@dynamic-labs/wallet-connector-core": "5.0.0-rc.4"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {}
|
|
33
33
|
}
|
package/src/DynamicWaasMixin.cjs
CHANGED
|
@@ -310,9 +310,14 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
310
310
|
if (!signedSessionId) {
|
|
311
311
|
throw new utils.DynamicError('Signed session ID is required', 'signed_session_id_is_required');
|
|
312
312
|
}
|
|
313
|
-
const createdWallet = yield walletClient.createWalletAccount(
|
|
313
|
+
const createdWallet = yield walletClient.createWalletAccount({
|
|
314
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
315
|
+
bitcoinConfig,
|
|
316
|
+
businessAccountId,
|
|
314
317
|
password,
|
|
315
|
-
signedSessionId,
|
|
318
|
+
signedSessionId,
|
|
319
|
+
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
320
|
+
});
|
|
316
321
|
return createdWallet;
|
|
317
322
|
});
|
|
318
323
|
}
|
|
@@ -333,17 +338,15 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
333
338
|
signerType,
|
|
334
339
|
walletId,
|
|
335
340
|
});
|
|
336
|
-
// browser-wallet-client@1.0.48 types use workspaceAccountId; cast to
|
|
337
|
-
// bridge the rename while runtime behaviour is correct.
|
|
338
341
|
return walletClient.reshareToNewSignerShareSet({
|
|
339
342
|
accountAddress,
|
|
340
343
|
authToken: (_d = this.getAuthToken) === null || _d === void 0 ? void 0 : _d.call(this),
|
|
344
|
+
businessAccountId,
|
|
341
345
|
password,
|
|
342
346
|
signedSessionId,
|
|
343
347
|
signerType: signerType,
|
|
344
348
|
targetSignerIdentity: targetSignerIdentity,
|
|
345
349
|
walletId,
|
|
346
|
-
workspaceAccountId: businessAccountId,
|
|
347
350
|
});
|
|
348
351
|
});
|
|
349
352
|
}
|
package/src/DynamicWaasMixin.js
CHANGED
|
@@ -306,9 +306,14 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
306
306
|
if (!signedSessionId) {
|
|
307
307
|
throw new DynamicError('Signed session ID is required', 'signed_session_id_is_required');
|
|
308
308
|
}
|
|
309
|
-
const createdWallet = yield walletClient.createWalletAccount(
|
|
309
|
+
const createdWallet = yield walletClient.createWalletAccount({
|
|
310
|
+
authToken: (_b = this.getAuthToken) === null || _b === void 0 ? void 0 : _b.call(this),
|
|
311
|
+
bitcoinConfig,
|
|
312
|
+
businessAccountId,
|
|
310
313
|
password,
|
|
311
|
-
signedSessionId,
|
|
314
|
+
signedSessionId,
|
|
315
|
+
thresholdSignatureScheme: thresholdSignatureScheme,
|
|
316
|
+
});
|
|
312
317
|
return createdWallet;
|
|
313
318
|
});
|
|
314
319
|
}
|
|
@@ -329,17 +334,15 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
329
334
|
signerType,
|
|
330
335
|
walletId,
|
|
331
336
|
});
|
|
332
|
-
// browser-wallet-client@1.0.48 types use workspaceAccountId; cast to
|
|
333
|
-
// bridge the rename while runtime behaviour is correct.
|
|
334
337
|
return walletClient.reshareToNewSignerShareSet({
|
|
335
338
|
accountAddress,
|
|
336
339
|
authToken: (_d = this.getAuthToken) === null || _d === void 0 ? void 0 : _d.call(this),
|
|
340
|
+
businessAccountId,
|
|
337
341
|
password,
|
|
338
342
|
signedSessionId,
|
|
339
343
|
signerType: signerType,
|
|
340
344
|
targetSignerIdentity: targetSignerIdentity,
|
|
341
345
|
walletId,
|
|
342
|
-
workspaceAccountId: businessAccountId,
|
|
343
346
|
});
|
|
344
347
|
});
|
|
345
348
|
}
|