@dynamic-labs/waas 4.37.1 → 4.38.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 +30 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/DynamicWaasMixin.cjs +19 -0
- package/src/DynamicWaasMixin.d.ts +4 -0
- package/src/DynamicWaasMixin.js +19 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,34 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.38.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.2...v4.38.0) (2025-10-14)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add client.ui.updateUser.show method to update user with dynamic ui ([#9702](https://github.com/dynamic-labs/dynamic-auth/issues/9702)) ([9554e98](https://github.com/dynamic-labs/dynamic-auth/commit/9554e98eadf3f801a5ebe8b22493a87cc87b8178))
|
|
8
|
+
* add locale to react-native client ([#9698](https://github.com/dynamic-labs/dynamic-auth/issues/9698)) ([fe577fc](https://github.com/dynamic-labs/dynamic-auth/commit/fe577fccd3cc92e5153f66f401357035bb5baec3))
|
|
9
|
+
* add updateUser to react-native client ([#9701](https://github.com/dynamic-labs/dynamic-auth/issues/9701)) ([124fbf7](https://github.com/dynamic-labs/dynamic-auth/commit/124fbf7a350bfa6404e65def7b436686d38847ed))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* notes and trigger ([#9697](https://github.com/dynamic-labs/dynamic-auth/issues/9697)) ([5d24a77](https://github.com/dynamic-labs/dynamic-auth/commit/5d24a77faa8030434bc7dd0f35986984bc2576d5))
|
|
15
|
+
* **zerodev-extension:** allow zerodev kernel client to send user operation ([#9706](https://github.com/dynamic-labs/dynamic-auth/issues/9706)) ([b57afc9](https://github.com/dynamic-labs/dynamic-auth/commit/b57afc9f378d6b2423ca46faec5f6b2861d3cbf6))
|
|
16
|
+
|
|
17
|
+
### [4.37.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.1...v4.37.2) (2025-10-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add get all linked social accounts function ([#9676](https://github.com/dynamic-labs/dynamic-auth/issues/9676)) ([c637c3f](https://github.com/dynamic-labs/dynamic-auth/commit/c637c3f101ea9387584473e18ff728c17d000f73))
|
|
23
|
+
* add revoke delegation to connectors and hook ([#9628](https://github.com/dynamic-labs/dynamic-auth/issues/9628)) ([00a40e0](https://github.com/dynamic-labs/dynamic-auth/commit/00a40e0b2aa6137a97ccb3be7890326300582fcf))
|
|
24
|
+
* **react-native:** add methods to social module ([#9677](https://github.com/dynamic-labs/dynamic-auth/issues/9677)) ([e4ffc11](https://github.com/dynamic-labs/dynamic-auth/commit/e4ffc1139ddc49826da688857d20dfb3b0c77ad7))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* duplicate wallet display for wallet upgrade ([#9684](https://github.com/dynamic-labs/dynamic-auth/issues/9684)) ([cf94223](https://github.com/dynamic-labs/dynamic-auth/commit/cf94223d91f74add454901b72f4bf7d81043bffc))
|
|
30
|
+
* fixes postbuild oom ([#9664](https://github.com/dynamic-labs/dynamic-auth/issues/9664)) ([7e56047](https://github.com/dynamic-labs/dynamic-auth/commit/7e5604721d708e375c642223cd2f615ab9191f70))
|
|
31
|
+
|
|
2
32
|
### [4.37.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.0...v4.37.1) (2025-10-08)
|
|
3
33
|
|
|
4
34
|
## [4.37.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.36.1...v4.37.0) (2025-10-08)
|
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": "4.
|
|
3
|
+
"version": "4.38.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
20
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
-
"@dynamic-labs-wallet/browser-wallet-client": "0.0.
|
|
22
|
-
"@dynamic-labs/ethereum-core": "4.
|
|
23
|
-
"@dynamic-labs/solana-core": "4.
|
|
24
|
-
"@dynamic-labs/sui-core": "4.
|
|
25
|
-
"@dynamic-labs/utils": "4.
|
|
26
|
-
"@dynamic-labs/wallet-book": "4.
|
|
19
|
+
"@dynamic-labs/assert-package-version": "4.38.0",
|
|
20
|
+
"@dynamic-labs/sdk-api-core": "0.0.805",
|
|
21
|
+
"@dynamic-labs-wallet/browser-wallet-client": "0.0.181",
|
|
22
|
+
"@dynamic-labs/ethereum-core": "4.38.0",
|
|
23
|
+
"@dynamic-labs/solana-core": "4.38.0",
|
|
24
|
+
"@dynamic-labs/sui-core": "4.38.0",
|
|
25
|
+
"@dynamic-labs/utils": "4.38.0",
|
|
26
|
+
"@dynamic-labs/wallet-book": "4.38.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {}
|
|
29
29
|
}
|
package/src/DynamicWaasMixin.cjs
CHANGED
|
@@ -278,6 +278,25 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
+
revokeDelegation(_a) {
|
|
282
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
283
|
+
var _b, _c;
|
|
284
|
+
if (!accountAddress) {
|
|
285
|
+
throw new utils.DynamicError('Account address is required');
|
|
286
|
+
}
|
|
287
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
288
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
289
|
+
if (!signedSessionId) {
|
|
290
|
+
throw new utils.DynamicError('Signed session ID is required');
|
|
291
|
+
}
|
|
292
|
+
return walletClient.revokeDelegation({
|
|
293
|
+
accountAddress,
|
|
294
|
+
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
295
|
+
password,
|
|
296
|
+
signedSessionId,
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
}
|
|
281
300
|
updatePassword(_a) {
|
|
282
301
|
return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, existingPassword, newPassword, }) {
|
|
283
302
|
var _b, _c;
|
|
@@ -76,6 +76,10 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
|
|
|
76
76
|
thresholdSignatureScheme: string;
|
|
77
77
|
password?: string;
|
|
78
78
|
}): Promise<void>;
|
|
79
|
+
revokeDelegation({ accountAddress, password, }: {
|
|
80
|
+
accountAddress: string;
|
|
81
|
+
password?: string;
|
|
82
|
+
}): Promise<void>;
|
|
79
83
|
updatePassword({ accountAddress, existingPassword, newPassword, }: {
|
|
80
84
|
accountAddress: string;
|
|
81
85
|
existingPassword: string;
|
package/src/DynamicWaasMixin.js
CHANGED
|
@@ -274,6 +274,25 @@ const withDynamicWaas = (BaseClass) => {
|
|
|
274
274
|
});
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
+
revokeDelegation(_a) {
|
|
278
|
+
return __awaiter(this, arguments, void 0, function* ({ accountAddress, password, }) {
|
|
279
|
+
var _b, _c;
|
|
280
|
+
if (!accountAddress) {
|
|
281
|
+
throw new DynamicError('Account address is required');
|
|
282
|
+
}
|
|
283
|
+
const walletClient = yield this.getWaasWalletClient();
|
|
284
|
+
const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
|
|
285
|
+
if (!signedSessionId) {
|
|
286
|
+
throw new DynamicError('Signed session ID is required');
|
|
287
|
+
}
|
|
288
|
+
return walletClient.revokeDelegation({
|
|
289
|
+
accountAddress,
|
|
290
|
+
authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
|
|
291
|
+
password,
|
|
292
|
+
signedSessionId,
|
|
293
|
+
});
|
|
294
|
+
});
|
|
295
|
+
}
|
|
277
296
|
updatePassword(_a) {
|
|
278
297
|
return __awaiter(this, arguments, void 0, function* ({ accountAddress, existingPassword, newPassword, }) {
|
|
279
298
|
var _b, _c;
|