@dynamic-labs/wallet-connector-core 4.96.4 → 4.97.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
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.97.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.96.4...v4.97.0) (2026-08-27)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **screening:** connected-wallet transaction screening [v4 backport] (DYNT-1663) ([#12284](https://github.com/dynamic-labs/dynamic-auth/issues/12284)) ([294adba](https://github.com/dynamic-labs/dynamic-auth/commit/294adba7dba8f321f3b1e8413f73545701e51252)), closes [#12160](https://github.com/dynamic-labs/dynamic-auth/issues/12160) [#12167](https://github.com/dynamic-labs/dynamic-auth/issues/12167) [#12168](https://github.com/dynamic-labs/dynamic-auth/issues/12168) [#12169](https://github.com/dynamic-labs/dynamic-auth/issues/12169) [#12172](https://github.com/dynamic-labs/dynamic-auth/issues/12172)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **screening:** wire connected-wallet screening into the Send Balance UI (DYNT-1663) ([#12289](https://github.com/dynamic-labs/dynamic-auth/issues/12289)) ([1587cd8](https://github.com/dynamic-labs/dynamic-auth/commit/1587cd833370e18fa383f942521500e4c1576390))
|
|
13
|
+
|
|
2
14
|
### [4.96.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.96.3...v4.96.4) (2026-08-26)
|
|
3
15
|
|
|
4
16
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-connector-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.97.0",
|
|
4
4
|
"description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
23
23
|
"@dynamic-labs-wallet/browser-wallet-client": "1.0.92",
|
|
24
24
|
"@dynamic-labs-wallet/forward-mpc-client": "1.0.1",
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
26
|
-
"@dynamic-labs/logger": "4.
|
|
27
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
28
|
-
"@dynamic-labs/types": "4.
|
|
29
|
-
"@dynamic-labs/utils": "4.
|
|
30
|
-
"@dynamic-labs/wallet-book": "4.
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.97.0",
|
|
26
|
+
"@dynamic-labs/logger": "4.97.0",
|
|
27
|
+
"@dynamic-labs/rpc-providers": "4.97.0",
|
|
28
|
+
"@dynamic-labs/types": "4.97.0",
|
|
29
|
+
"@dynamic-labs/utils": "4.97.0",
|
|
30
|
+
"@dynamic-labs/wallet-book": "4.97.0",
|
|
31
31
|
"eventemitter3": "5.0.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {}
|
|
@@ -306,6 +306,16 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
306
306
|
get hasNativeToken() {
|
|
307
307
|
return true;
|
|
308
308
|
}
|
|
309
|
+
/**
|
|
310
|
+
* Best-effort pre-signing sanctions screening injected by the SDK layer.
|
|
311
|
+
* Undefined when the host app does not provide one, and for embedded
|
|
312
|
+
* wallets, which are screened server-side at signing instead.
|
|
313
|
+
*/
|
|
314
|
+
get transactionScreening() {
|
|
315
|
+
if (this.isEmbeddedWallet)
|
|
316
|
+
return undefined;
|
|
317
|
+
return this.constructorProps.transactionScreening;
|
|
318
|
+
}
|
|
309
319
|
/**
|
|
310
320
|
* Check if the wallet is installed on the browser
|
|
311
321
|
*
|
|
@@ -2,7 +2,7 @@ import EventEmitter from 'eventemitter3';
|
|
|
2
2
|
import type { LogoutReason } from '@dynamic-labs-sdk/client';
|
|
3
3
|
import { IChainRpcProviders } from '@dynamic-labs/rpc-providers';
|
|
4
4
|
import type { JwtVerifiedCredential, WalletAdditionalAddress } from '@dynamic-labs/sdk-api-core';
|
|
5
|
-
import { GenericNetwork, MobileExperience } from '@dynamic-labs/types';
|
|
5
|
+
import { GenericNetwork, MobileExperience, TransactionScreeningService } from '@dynamic-labs/types';
|
|
6
6
|
import { WalletBookSchema, WalletSchema } from '@dynamic-labs/wallet-book';
|
|
7
7
|
import { WalletConnectorEventEmitter } from '../events';
|
|
8
8
|
import { WalletMetadata } from '../types';
|
|
@@ -36,6 +36,7 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
36
36
|
constructor(props: {
|
|
37
37
|
walletBook: WalletBookSchema;
|
|
38
38
|
metadata?: WalletMetadata;
|
|
39
|
+
transactionScreening?: TransactionScreeningService;
|
|
39
40
|
});
|
|
40
41
|
extend(extension: WalletConnectorExtension, settings?: {
|
|
41
42
|
walletConnectDappProjectId?: string;
|
|
@@ -241,6 +242,12 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
241
242
|
* @default false
|
|
242
243
|
*/
|
|
243
244
|
isEmbeddedWallet: boolean;
|
|
245
|
+
/**
|
|
246
|
+
* Best-effort pre-signing sanctions screening injected by the SDK layer.
|
|
247
|
+
* Undefined when the host app does not provide one, and for embedded
|
|
248
|
+
* wallets, which are screened server-side at signing instead.
|
|
249
|
+
*/
|
|
250
|
+
get transactionScreening(): TransactionScreeningService | undefined;
|
|
244
251
|
/**
|
|
245
252
|
* Check if the wallet is installed on the browser
|
|
246
253
|
*
|
|
@@ -298,6 +298,16 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
298
298
|
get hasNativeToken() {
|
|
299
299
|
return true;
|
|
300
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* Best-effort pre-signing sanctions screening injected by the SDK layer.
|
|
303
|
+
* Undefined when the host app does not provide one, and for embedded
|
|
304
|
+
* wallets, which are screened server-side at signing instead.
|
|
305
|
+
*/
|
|
306
|
+
get transactionScreening() {
|
|
307
|
+
if (this.isEmbeddedWallet)
|
|
308
|
+
return undefined;
|
|
309
|
+
return this.constructorProps.transactionScreening;
|
|
310
|
+
}
|
|
301
311
|
/**
|
|
302
312
|
* Check if the wallet is installed on the browser
|
|
303
313
|
*
|