@dynamic-labs/waas 4.37.0 → 4.37.2

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,21 @@
1
1
 
2
+ ### [4.37.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.1...v4.37.2) (2025-10-13)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+ * 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))
9
+ * **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))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * 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))
15
+ * fixes postbuild oom ([#9664](https://github.com/dynamic-labs/dynamic-auth/issues/9664)) ([7e56047](https://github.com/dynamic-labs/dynamic-auth/commit/7e5604721d708e375c642223cd2f615ab9191f70))
16
+
17
+ ### [4.37.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.0...v4.37.1) (2025-10-08)
18
+
2
19
  ## [4.37.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.36.1...v4.37.0) (2025-10-08)
3
20
 
4
21
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.37.0";
6
+ var version = "4.37.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.37.0";
2
+ var version = "4.37.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas",
3
- "version": "4.37.0",
3
+ "version": "4.37.2",
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.37.0",
20
- "@dynamic-labs/sdk-api-core": "0.0.798",
21
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.169",
22
- "@dynamic-labs/ethereum-core": "4.37.0",
23
- "@dynamic-labs/solana-core": "4.37.0",
24
- "@dynamic-labs/sui-core": "4.37.0",
25
- "@dynamic-labs/utils": "4.37.0",
26
- "@dynamic-labs/wallet-book": "4.37.0"
19
+ "@dynamic-labs/assert-package-version": "4.37.2",
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.37.2",
23
+ "@dynamic-labs/solana-core": "4.37.2",
24
+ "@dynamic-labs/sui-core": "4.37.2",
25
+ "@dynamic-labs/utils": "4.37.2",
26
+ "@dynamic-labs/wallet-book": "4.37.2"
27
27
  },
28
28
  "peerDependencies": {}
29
29
  }
@@ -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;
@@ -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;