@dynamic-labs/stellar 4.98.0 → 4.100.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,30 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.100.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.99.0...v4.100.0) (2026-09-10)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **solana-extension:** expose createAssociatedTokenAccount ([#12377](https://github.com/dynamic-labs/dynamic-auth/issues/12377)) ([c127857](https://github.com/dynamic-labs/dynamic-auth/commit/c127857097069ef2fcf337b78971e678f0552277))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* show transaction amount when simulation returns no transfers (v4 backport) ([#12356](https://github.com/dynamic-labs/dynamic-auth/issues/12356)) ([36feb2d](https://github.com/dynamic-labs/dynamic-auth/commit/36feb2d24de3f78560112bdf86a258d0596c4470))
|
|
13
|
+
|
|
14
|
+
## [4.99.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.98.0...v4.99.0) (2026-09-10)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **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))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* 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))
|
|
25
|
+
* **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))
|
|
26
|
+
* **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)
|
|
27
|
+
|
|
2
28
|
## [4.98.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.97.0...v4.98.0) (2026-09-02)
|
|
3
29
|
|
|
4
30
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/stellar",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.100.0",
|
|
4
4
|
"description": "A React SDK for implementing Stellar wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"@dynamic-labs-sdk/client": "1.27.1",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
23
23
|
"@stellar/stellar-sdk": "14.4.3",
|
|
24
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
+
"@dynamic-labs/wallet-connector-core": "4.100.0",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.100.0",
|
|
26
26
|
"@lobstrco/signer-extension-api": "2.0.0",
|
|
27
27
|
"@stellar/freighter-api": "6.0.1",
|
|
28
|
-
"@dynamic-labs/logger": "4.
|
|
29
|
-
"@dynamic-labs/types": "4.
|
|
30
|
-
"@dynamic-labs/utils": "4.
|
|
31
|
-
"@dynamic-labs/waas": "4.
|
|
32
|
-
"@dynamic-labs/wallet-book": "4.
|
|
28
|
+
"@dynamic-labs/logger": "4.100.0",
|
|
29
|
+
"@dynamic-labs/types": "4.100.0",
|
|
30
|
+
"@dynamic-labs/utils": "4.100.0",
|
|
31
|
+
"@dynamic-labs/waas": "4.100.0",
|
|
32
|
+
"@dynamic-labs/wallet-book": "4.100.0",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
@@ -68,6 +68,12 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
68
68
|
getSignedSessionId: () => Promise<string>;
|
|
69
69
|
};
|
|
70
70
|
createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
71
|
+
detachWaasClient(client: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined, reason: string): boolean; /**
|
|
72
|
+
* Validates that the expected wallet address matches the active wallet
|
|
73
|
+
* Updates the active account address if it doesn't match
|
|
74
|
+
* @param expectedAddress - The expected wallet address to validate
|
|
75
|
+
* @throws {DynamicError} If signed session ID is not available or account is not found
|
|
76
|
+
*/
|
|
71
77
|
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
72
78
|
forceRebuild?: boolean | undefined;
|
|
73
79
|
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
@@ -94,7 +100,10 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
94
100
|
signerType?: "endUser" | "server" | undefined;
|
|
95
101
|
password?: string | undefined;
|
|
96
102
|
}): Promise<{
|
|
97
|
-
shareSetId: string;
|
|
103
|
+
shareSetId: string; /**
|
|
104
|
+
* When active account is not set (e.g. primary wallet restored from session),
|
|
105
|
+
* fall back to the first Stellar verified credential so signing and getAddress work.
|
|
106
|
+
*/
|
|
98
107
|
}>;
|
|
99
108
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
|
|
100
109
|
privateKey: string;
|
|
@@ -168,7 +177,10 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
168
177
|
signRawMessage({ accountAddress, context, message, password, }: {
|
|
169
178
|
accountAddress: string;
|
|
170
179
|
context?: SignMessageContext | undefined;
|
|
171
|
-
message: string;
|
|
180
|
+
message: string; /**
|
|
181
|
+
* Converts network passphrase to numeric chainId for policy validation
|
|
182
|
+
* ChainIds: '1' = pubnet (mainnet), '2' = testnet, '3' = futurenet
|
|
183
|
+
*/
|
|
172
184
|
password?: string | undefined;
|
|
173
185
|
}): Promise<string>;
|
|
174
186
|
unlockWallet({ accountAddress, password, }: {
|
|
@@ -178,9 +190,6 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
178
190
|
getWalletRecoveryState({ accountAddress, }: {
|
|
179
191
|
accountAddress: string;
|
|
180
192
|
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
|
|
181
|
-
/**
|
|
182
|
-
* Ends the current session and clears the active account address
|
|
183
|
-
*/
|
|
184
193
|
endSession(reason?: LogoutReason | undefined): Promise<void>;
|
|
185
194
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
186
195
|
getConnectedAccounts(): Promise<string[]>;
|
|
@@ -207,7 +216,11 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
207
216
|
dust: {
|
|
208
217
|
balance: string;
|
|
209
218
|
cap: string;
|
|
210
|
-
};
|
|
219
|
+
}; /**
|
|
220
|
+
* Creates a UI transaction for the send balance flow
|
|
221
|
+
* @param from - The sender's address (Stellar public key)
|
|
222
|
+
* @returns A new StellarUiTransaction instance
|
|
223
|
+
*/
|
|
211
224
|
address: string;
|
|
212
225
|
dustSynced: boolean;
|
|
213
226
|
}>;
|