@dynamic-labs/midnight 4.98.0 → 4.99.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,18 @@
1
1
 
2
+ ## [4.99.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.98.0...v4.99.0) (2026-09-10)
3
+
4
+
5
+ ### Features
6
+
7
+ * **solana-core:** standalone sponsored ATA creation [v4 backport] ([#12366](https://github.com/dynamic-labs/dynamic-auth/issues/12366)) ([46d86c9](https://github.com/dynamic-labs/dynamic-auth/commit/46d86c9a1a04c45bf045acc5c6df792dcd4b3590))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * do not report wallets installed from a provider selection router (v4) ([#12341](https://github.com/dynamic-labs/dynamic-auth/issues/12341)) ([6b02087](https://github.com/dynamic-labs/dynamic-auth/commit/6b02087685545bb6f672eb9040316d01489c82f4))
13
+ * **screening:** soften the blocked-wallet copy to be provider-neutral (v4) ([#12359](https://github.com/dynamic-labs/dynamic-auth/issues/12359)) ([d6772df](https://github.com/dynamic-labs/dynamic-auth/commit/d6772dfc1419811bfbc1d9cb1db58fe12274d397))
14
+ * **waas:** detach the superseded WaaS client from the iframe reverse channel (v4) ([#12349](https://github.com/dynamic-labs/dynamic-auth/issues/12349)) ([393253d](https://github.com/dynamic-labs/dynamic-auth/commit/393253d9e5934e039e21b85ed6ceded760e0f225)), closes [#11766](https://github.com/dynamic-labs/dynamic-auth/issues/11766) [#12348](https://github.com/dynamic-labs/dynamic-auth/issues/12348)
15
+
2
16
  ## [4.98.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.97.0...v4.98.0) (2026-09-02)
3
17
 
4
18
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.98.0";
6
+ var version = "4.99.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.98.0";
2
+ var version = "4.99.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/midnight",
3
- "version": "4.98.0",
3
+ "version": "4.99.0",
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,15 +18,15 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/assert-package-version": "4.98.0",
21
+ "@dynamic-labs/assert-package-version": "4.99.0",
22
22
  "@dynamic-labs/sdk-api-core": "0.12.0",
23
23
  "@midnight-ntwrk/dapp-connector-api": "4.0.1",
24
- "@dynamic-labs/logger": "4.98.0",
25
- "@dynamic-labs/types": "4.98.0",
26
- "@dynamic-labs/utils": "4.98.0",
27
- "@dynamic-labs/waas": "4.98.0",
28
- "@dynamic-labs/wallet-book": "4.98.0",
29
- "@dynamic-labs/wallet-connector-core": "4.98.0"
24
+ "@dynamic-labs/logger": "4.99.0",
25
+ "@dynamic-labs/types": "4.99.0",
26
+ "@dynamic-labs/utils": "4.99.0",
27
+ "@dynamic-labs/waas": "4.99.0",
28
+ "@dynamic-labs/wallet-book": "4.99.0",
29
+ "@dynamic-labs/wallet-connector-core": "4.99.0"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -63,6 +63,7 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
63
63
  getSignedSessionId: () => Promise<string>;
64
64
  };
65
65
  createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
66
+ detachWaasClient(client: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined, reason: string): boolean;
66
67
  getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
67
68
  forceRebuild?: boolean | undefined;
68
69
  } | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
@@ -75,7 +76,12 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
75
76
  chainName: string;
76
77
  accountAddress: string;
77
78
  publicKeyHex: string;
78
- rawPublicKey: string | Uint8Array | undefined;
79
+ rawPublicKey: string | Uint8Array | undefined; /**
80
+ * Validates that the expected wallet address matches the active wallet
81
+ * Updates the active account address if it doesn't match
82
+ * @param expectedAddress - The expected wallet address to validate
83
+ * @throws {DynamicError} If signed session ID is not available or account is not found
84
+ */
79
85
  }>;
80
86
  addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
81
87
  accountAddress: string;
@@ -144,12 +150,7 @@ declare const DynamicWaasMidnightConnector_base: (abstract new (...args: any[])
144
150
  }): Promise<void>;
145
151
  reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
146
152
  accountAddress: string;
147
- thresholdSignatureScheme: string; /**
148
- * Spread into wallet-client calls. Published browser-wallet-client builds
149
- * that predate per-network support don't declare `networkId` — spreading a
150
- * non-literal keeps this compiling against those types; older clients drop
151
- * the field and default to preview.
152
- */
153
+ thresholdSignatureScheme: string;
153
154
  password?: string | undefined;
154
155
  }): Promise<void>;
155
156
  revokeDelegation({ accountAddress, password, }: {