@dynamic-labs/types 5.2.0 → 5.3.1

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,25 @@
1
1
 
2
+ ### [5.3.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.0...v5.3.1) (2026-08-14)
3
+
4
+ ## [5.3.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.2.0...v5.3.0) (2026-08-12)
5
+
6
+
7
+ ### Features
8
+
9
+ * **screening:** add transaction-screening service, types, and connector wiring (DYNT-1663) ([#12160](https://github.com/dynamic-labs/dynamic-auth/issues/12160)) ([d8df6a1](https://github.com/dynamic-labs/dynamic-auth/commit/d8df6a1fccbb6370c140454d9297eabd97699e35)), closes [#12172](https://github.com/dynamic-labs/dynamic-auth/issues/12172) [#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)
10
+ * **screening:** screen Bitcoin connected-wallet transactions (DYNT-1663) ([#12169](https://github.com/dynamic-labs/dynamic-auth/issues/12169)) ([f34d1c3](https://github.com/dynamic-labs/dynamic-auth/commit/f34d1c31fe10d0cb02b4f7462dd4900d0256604a))
11
+ * **screening:** screen EVM connected-wallet sends (DYNT-1663) ([#12167](https://github.com/dynamic-labs/dynamic-auth/issues/12167)) ([1b72b24](https://github.com/dynamic-labs/dynamic-auth/commit/1b72b24393a49153d74ce715a44d262e8e48ddc7))
12
+ * **screening:** screen Solana connected-wallet transactions (DYNT-1663) ([#12168](https://github.com/dynamic-labs/dynamic-auth/issues/12168)) ([000eb18](https://github.com/dynamic-labs/dynamic-auth/commit/000eb180aca8349804953ff7738c0ba984a2fa21))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add PhoneNumberAlreadyLinkedError and map duplicate-phone backend code ([#12145](https://github.com/dynamic-labs/dynamic-auth/issues/12145)) ([9d13b5f](https://github.com/dynamic-labs/dynamic-auth/commit/9d13b5f8b22716b4c9ce206ee870aab5bd745b8b))
18
+ * **react-native-extension:** throw clear error when react-native-keychain native module is missing ([#12197](https://github.com/dynamic-labs/dynamic-auth/issues/12197)) ([b9983e1](https://github.com/dynamic-labs/dynamic-auth/commit/b9983e1f1aefa9a9bbdc1435f706a05e64f34f1c))
19
+ * security updates ([#12187](https://github.com/dynamic-labs/dynamic-auth/issues/12187)) ([d3a31e2](https://github.com/dynamic-labs/dynamic-auth/commit/d3a31e23533b6b7739851a3b747d62ba13d318b2))
20
+ * security updates ([#12208](https://github.com/dynamic-labs/dynamic-auth/issues/12208)) ([9e9472a](https://github.com/dynamic-labs/dynamic-auth/commit/9e9472acfbe01f7ac9e160829cc10e53c65f91e7))
21
+ * **sdk-react-core:** avoid spurious WaaS client rebuild on transient user sessionId churn ([#12182](https://github.com/dynamic-labs/dynamic-auth/issues/12182)) ([480b2ec](https://github.com/dynamic-labs/dynamic-auth/commit/480b2ecc87486a852e75e8814a76fb59ffe40c5d))
22
+
2
23
  ## [5.2.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.1.0...v5.2.0) (2026-08-06)
3
24
 
4
25
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.2.0";
6
+ var version = "5.3.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.2.0";
2
+ var version = "5.3.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/types",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
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,8 +18,8 @@
18
18
  "./package.json": "./package.json"
19
19
  },
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.1093",
22
- "@dynamic-labs/assert-package-version": "5.2.0"
21
+ "@dynamic-labs/sdk-api-core": "0.0.1118",
22
+ "@dynamic-labs/assert-package-version": "5.3.1"
23
23
  },
24
24
  "peerDependencies": {}
25
25
  }
package/src/index.cjs CHANGED
@@ -7,6 +7,7 @@ var assertPackageVersion = require('@dynamic-labs/assert-package-version');
7
7
  var _package = require('../package.cjs');
8
8
  var sdkApiCore = require('@dynamic-labs/sdk-api-core');
9
9
  var index = require('./oauth/index.cjs');
10
+ var wallets = require('./wallets/wallets.cjs');
10
11
  var BaseWallet = require('./wallets/BaseWallet.cjs');
11
12
 
12
13
  assertPackageVersion.assertPackageVersion('@dynamic-labs/types', _package.version);
@@ -23,4 +24,5 @@ Object.defineProperty(exports, 'SocialOAuthErrorCode', {
23
24
  enumerable: true,
24
25
  get: function () { return index.SocialOAuthErrorCode; }
25
26
  });
27
+ exports.TransactionScreeningChain = wallets.TransactionScreeningChain;
26
28
  exports.BaseWallet = BaseWallet.BaseWallet;
package/src/index.js CHANGED
@@ -3,6 +3,7 @@ import { assertPackageVersion } from '@dynamic-labs/assert-package-version';
3
3
  import { version } from '../package.js';
4
4
  export { ProviderEnum, ZerodevBundlerProvider } from '@dynamic-labs/sdk-api-core';
5
5
  export { SocialOAuthErrorCode } from './oauth/index.js';
6
+ export { TransactionScreeningChain } from './wallets/wallets.js';
6
7
  export { BaseWallet } from './wallets/BaseWallet.js';
7
8
 
8
9
  assertPackageVersion('@dynamic-labs/types', version);
@@ -1,4 +1,5 @@
1
- export type { WalletUiUtils, WalletAddressType } from './wallets';
1
+ export type { ScreenTransactionArgs, TransactionScreeningContext, TransactionScreeningService, WalletUiUtils, WalletAddressType, } from './wallets';
2
+ export { TransactionScreeningChain } from './wallets';
2
3
  export { BaseWallet } from './BaseWallet';
3
4
  export type { BaseWalletProps } from './BaseWallet';
4
5
  export type { WalletOptionMetadata, HardwareWallet, WalletDeepLinks, WalletDownloadLinks, WalletEvent, WalletLimitations, WalletLinks, WalletMetadata, WalletMethod, } from './walletOptions';
@@ -0,0 +1,12 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ const TransactionScreeningChain = {
7
+ BTC: 'BTC',
8
+ EVM: 'EVM',
9
+ SOL: 'SOL',
10
+ };
11
+
12
+ exports.TransactionScreeningChain = TransactionScreeningChain;
@@ -24,3 +24,36 @@ export type WalletUiUtils<TWalletConnector> = {
24
24
  }) => Promise<boolean>;
25
25
  };
26
26
  export type WalletAddressType = 'payment' | 'ordinals';
27
+ export declare const TransactionScreeningChain: {
28
+ readonly BTC: "BTC";
29
+ readonly EVM: "EVM";
30
+ readonly SOL: "SOL";
31
+ };
32
+ export type TransactionScreeningChain = typeof TransactionScreeningChain[keyof typeof TransactionScreeningChain];
33
+ export type TransactionScreeningContext = {
34
+ btcTransaction?: {
35
+ chainId: string;
36
+ psbt?: string;
37
+ recipientAddress?: string;
38
+ };
39
+ evmTransaction?: {
40
+ to?: string;
41
+ };
42
+ svmTransaction?: {
43
+ serializedTransactions: string[];
44
+ };
45
+ };
46
+ export type ScreenTransactionArgs = {
47
+ chain: TransactionScreeningChain;
48
+ chainId?: string;
49
+ senderAddress?: string;
50
+ context: TransactionScreeningContext;
51
+ };
52
+ /**
53
+ * Pre-signing destination screening for connected wallets. Best-effort by
54
+ * construction: implementations must resolve on allow and on any screening
55
+ * failure (fail-open), and reject only on an explicit block decision.
56
+ */
57
+ export type TransactionScreeningService = {
58
+ screenTransaction: (args: ScreenTransactionArgs) => Promise<void>;
59
+ };
@@ -0,0 +1,8 @@
1
+ 'use client'
2
+ const TransactionScreeningChain = {
3
+ BTC: 'BTC',
4
+ EVM: 'EVM',
5
+ SOL: 'SOL',
6
+ };
7
+
8
+ export { TransactionScreeningChain };