@dynamic-labs/stellar 4.72.0 → 4.73.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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -8
- package/src/connectors/DynamicWaasStellarConnector/DynamicWaasStellarConnector.cjs +2 -2
- package/src/connectors/DynamicWaasStellarConnector/DynamicWaasStellarConnector.d.ts +3 -2
- package/src/connectors/DynamicWaasStellarConnector/DynamicWaasStellarConnector.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.73.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.72.0...v4.73.0) (2026-03-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* allow passing credentialId at call time for step-up auth methods ([#10795](https://github.com/dynamic-labs/dynamic-auth/issues/10795)) ([9746667](https://github.com/dynamic-labs/dynamic-auth/commit/974666758ad8b01584cf30efbf2cb64dbde63986))
|
|
8
|
+
* **waas:** preserve WaaS key shares on session expiry using LogoutReason ([#10714](https://github.com/dynamic-labs/dynamic-auth/issues/10714)) ([26f40f7](https://github.com/dynamic-labs/dynamic-auth/commit/26f40f722302b8cf4cc035886d4408393a785283))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* override handlebars to >=4.7.9 (CVE-2026-33937) ([#10805](https://github.com/dynamic-labs/dynamic-auth/issues/10805)) ([7aa40b8](https://github.com/dynamic-labs/dynamic-auth/commit/7aa40b8472487694b438ae3a64b14524c9c726e4))
|
|
14
|
+
* use currentColor in settings icons for dark mode support ([#10811](https://github.com/dynamic-labs/dynamic-auth/issues/10811)) ([8653e97](https://github.com/dynamic-labs/dynamic-auth/commit/8653e97759f0ea5126258c1ced36ae26af3a405c)), closes [#383C48](https://github.com/dynamic-labs/dynamic-auth/issues/383C48) [#ABACB2](https://github.com/dynamic-labs/dynamic-auth/issues/ABACB2)
|
|
15
|
+
|
|
2
16
|
## [4.72.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.71.0...v4.72.0) (2026-03-26)
|
|
3
17
|
|
|
4
18
|
|
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.73.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",
|
|
@@ -18,17 +18,18 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
+
"@dynamic-labs-sdk/client": "0.19.0",
|
|
21
22
|
"@dynamic-labs/sdk-api-core": "0.0.909",
|
|
22
23
|
"@stellar/stellar-sdk": "14.4.3",
|
|
23
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
24
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
+
"@dynamic-labs/wallet-connector-core": "4.73.0",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.73.0",
|
|
25
26
|
"@lobstrco/signer-extension-api": "2.0.0",
|
|
26
27
|
"@stellar/freighter-api": "6.0.1",
|
|
27
|
-
"@dynamic-labs/logger": "4.
|
|
28
|
-
"@dynamic-labs/types": "4.
|
|
29
|
-
"@dynamic-labs/utils": "4.
|
|
30
|
-
"@dynamic-labs/waas": "4.
|
|
31
|
-
"@dynamic-labs/wallet-book": "4.
|
|
28
|
+
"@dynamic-labs/logger": "4.73.0",
|
|
29
|
+
"@dynamic-labs/types": "4.73.0",
|
|
30
|
+
"@dynamic-labs/utils": "4.73.0",
|
|
31
|
+
"@dynamic-labs/waas": "4.73.0",
|
|
32
|
+
"@dynamic-labs/wallet-book": "4.73.0",
|
|
32
33
|
"eventemitter3": "5.0.1"
|
|
33
34
|
},
|
|
34
35
|
"peerDependencies": {}
|
|
@@ -216,12 +216,12 @@ class DynamicWaasStellarConnector extends waas.withDynamicWaas(StellarWalletConn
|
|
|
216
216
|
/**
|
|
217
217
|
* Ends the current session and clears the active account address
|
|
218
218
|
*/
|
|
219
|
-
endSession() {
|
|
219
|
+
endSession(reason) {
|
|
220
220
|
const _super = Object.create(null, {
|
|
221
221
|
endSession: { get: () => super.endSession }
|
|
222
222
|
});
|
|
223
223
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
224
|
-
yield _super.endSession.call(this);
|
|
224
|
+
yield _super.endSession.call(this, reason);
|
|
225
225
|
this.activeAccountAddress = undefined;
|
|
226
226
|
});
|
|
227
227
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { LogoutReason } from '@dynamic-labs-sdk/client';
|
|
1
2
|
import { JwtVerifiedCredential, MFAAction, SignMessageContext, TokenScope } from '@dynamic-labs/sdk-api-core';
|
|
2
3
|
import { IUITransaction, WalletUiUtils } from '@dynamic-labs/types';
|
|
3
4
|
import { IDynamicWaasConnector, InternalWalletConnector } from '@dynamic-labs/wallet-connector-core';
|
|
@@ -140,7 +141,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
140
141
|
getWalletRecoveryState({ accountAddress, }: {
|
|
141
142
|
accountAddress: string;
|
|
142
143
|
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
|
|
143
|
-
endSession(): Promise<void>;
|
|
144
|
+
endSession(reason?: LogoutReason | undefined): Promise<void>;
|
|
144
145
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
145
146
|
getConnectedAccounts(): Promise<string[]>;
|
|
146
147
|
generateTraceId(): string;
|
|
@@ -259,7 +260,7 @@ export declare class DynamicWaasStellarConnector extends DynamicWaasStellarConne
|
|
|
259
260
|
/**
|
|
260
261
|
* Ends the current session and clears the active account address
|
|
261
262
|
*/
|
|
262
|
-
endSession(): Promise<void>;
|
|
263
|
+
endSession(reason?: LogoutReason): Promise<void>;
|
|
263
264
|
/**
|
|
264
265
|
* Converts network passphrase to numeric chainId for policy validation
|
|
265
266
|
* ChainIds: '1' = pubnet (mainnet), '2' = testnet, '3' = futurenet
|
|
@@ -212,12 +212,12 @@ class DynamicWaasStellarConnector extends withDynamicWaas(StellarWalletConnector
|
|
|
212
212
|
/**
|
|
213
213
|
* Ends the current session and clears the active account address
|
|
214
214
|
*/
|
|
215
|
-
endSession() {
|
|
215
|
+
endSession(reason) {
|
|
216
216
|
const _super = Object.create(null, {
|
|
217
217
|
endSession: { get: () => super.endSession }
|
|
218
218
|
});
|
|
219
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
220
|
-
yield _super.endSession.call(this);
|
|
220
|
+
yield _super.endSession.call(this, reason);
|
|
221
221
|
this.activeAccountAddress = undefined;
|
|
222
222
|
});
|
|
223
223
|
}
|