@dynamic-labs/stellar 4.89.0 → 4.90.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,23 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.90.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.89.0...v4.90.0) (2026-06-19)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add microsoft to social providers list ([#11631](https://github.com/dynamic-labs/dynamic-auth/issues/11631)) ([761b82d](https://github.com/dynamic-labs/dynamic-auth/commit/761b82dea2e2e86ec1c8b3fc8bab32ed72492132))
|
|
8
|
+
* **sdk-react-core:** preconnect to waas iframe origin at auth-flow start ([#11549](https://github.com/dynamic-labs/dynamic-auth/issues/11549)) ([1bb810c](https://github.com/dynamic-labs/dynamic-auth/commit/1bb810c4eb3d592b43f62c1eaf5450a0e42981c9)), closes [dynamic-labs/dynamic-wallet-sdk#1314](https://github.com/dynamic-labs/dynamic-wallet-sdk/issues/1314)
|
|
9
|
+
* **waas:** opt into SDK eager key-share recovery, drop host RECOVER loop (DYNT-1125) ([#11620](https://github.com/dynamic-labs/dynamic-auth/issues/11620)) ([4bef955](https://github.com/dynamic-labs/dynamic-auth/commit/4bef955b902a7e484ba8bd6323582843bb692a17))
|
|
10
|
+
* **wallet-connector-core:** add isMidnightConnector util + Midnight interface hooks ([#11005](https://github.com/dynamic-labs/dynamic-auth/issues/11005)) ([55117a8](https://github.com/dynamic-labs/dynamic-auth/commit/55117a8cf59640d00b358f68be8df6b29231fab5))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **sdk-react-core:** gate smart-wallet init on user:basic scope ([#11624](https://github.com/dynamic-labs/dynamic-auth/issues/11624)) ([9f891a4](https://github.com/dynamic-labs/dynamic-auth/commit/9f891a46a191532acdd4a91b74c4586089ef0e1a)), closes [#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623) [#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623) [#11626](https://github.com/dynamic-labs/dynamic-auth/issues/11626)
|
|
16
|
+
* **sdk-react-core:** search wallet list by metadata name in addition to connector name ([#11638](https://github.com/dynamic-labs/dynamic-auth/issues/11638)) ([a647614](https://github.com/dynamic-labs/dynamic-auth/commit/a647614bcba769e09ef59bf1ddb925ce9835842e))
|
|
17
|
+
* **waas:** rebuild WaaS client on session change after step-up reauth ([#11581](https://github.com/dynamic-labs/dynamic-auth/issues/11581)) ([2b7093e](https://github.com/dynamic-labs/dynamic-auth/commit/2b7093e27f57f1dfcdd303361d436d9bf33e28a9))
|
|
18
|
+
* **waas:** refuse to build WaaS client while auth scope is pending (createRooms 401 chokepoint) ([#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623)) ([08755f0](https://github.com/dynamic-labs/dynamic-auth/commit/08755f0bda2b74c7bcdff3d0ac9c228a5205ad6e)), closes [#11624](https://github.com/dynamic-labs/dynamic-auth/issues/11624)
|
|
19
|
+
* **wallet-connect:** skip address comparison on reconnect when expectedAddress is empty ([#11639](https://github.com/dynamic-labs/dynamic-auth/issues/11639)) ([8d665cf](https://github.com/dynamic-labs/dynamic-auth/commit/8d665cf3bf1fb0e498d71f14cc8a53d91593c23d))
|
|
20
|
+
|
|
2
21
|
## [4.89.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.88.6...v4.89.0) (2026-06-16)
|
|
3
22
|
|
|
4
23
|
|
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.90.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,18 +18,18 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs-sdk/client": "1.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs-sdk/client": "1.12.1",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.0.1046",
|
|
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.90.0",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.90.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.90.0",
|
|
29
|
+
"@dynamic-labs/types": "4.90.0",
|
|
30
|
+
"@dynamic-labs/utils": "4.90.0",
|
|
31
|
+
"@dynamic-labs/waas": "4.90.0",
|
|
32
|
+
"@dynamic-labs/wallet-book": "4.90.0",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
@@ -23,7 +23,6 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
23
23
|
getElevatedAccessToken?: ((props: {
|
|
24
24
|
scope: TokenScope;
|
|
25
25
|
}) => Promise<string | undefined>) | undefined;
|
|
26
|
-
onUnauthorized?: (() => void | Promise<void>) | undefined;
|
|
27
26
|
environmentId?: string | undefined;
|
|
28
27
|
baseApiUrl?: string | undefined;
|
|
29
28
|
relayUrl?: string | undefined;
|
|
@@ -35,7 +34,6 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
35
34
|
__exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
|
|
36
35
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
37
36
|
setGetAuthTokenFunction(getAuthToken: () => string): void;
|
|
38
|
-
setOnUnauthorizedFunction(onUnauthorized: () => void | Promise<void>): void;
|
|
39
37
|
setWaasAuthMode(authMode: "cookie" | "header"): void;
|
|
40
38
|
setGetMfaTokenFunction(getMfaToken: (props?: {
|
|
41
39
|
mfaAction?: MFAAction | undefined;
|
|
@@ -46,10 +44,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
46
44
|
setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
|
|
47
45
|
getPasswordIfNeeded({ accountAddress, }: {
|
|
48
46
|
accountAddress: string;
|
|
49
|
-
}): Promise<string | undefined>;
|
|
50
|
-
* Override setVerifiedCredentials to filter and set Stellar WaaS credentials
|
|
51
|
-
* Filters for credentials with walletName === 'dynamicwaas' and chain === 'stellar'
|
|
52
|
-
*/
|
|
47
|
+
}): Promise<string | undefined>;
|
|
53
48
|
getPassword({ accountAddress, }: {
|
|
54
49
|
accountAddress: string;
|
|
55
50
|
}): Promise<string | undefined>;
|
|
@@ -63,11 +58,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
63
58
|
password?: string | undefined;
|
|
64
59
|
}): Promise<void>;
|
|
65
60
|
createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
66
|
-
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined
|
|
61
|
+
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
62
|
+
forceRebuild?: boolean | undefined;
|
|
63
|
+
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
67
64
|
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
|
|
68
65
|
thresholdSignatureScheme?: string | undefined;
|
|
69
66
|
password?: string | undefined;
|
|
70
|
-
bitcoinConfig?: import("@dynamic-labs-wallet/
|
|
67
|
+
bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
|
|
71
68
|
} | undefined): Promise<{
|
|
72
69
|
chainName: string;
|
|
73
70
|
accountAddress: string;
|
|
@@ -85,12 +82,6 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
85
82
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
86
83
|
accountAddress?: string | undefined;
|
|
87
84
|
displayContainer?: HTMLIFrameElement | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Validates that the expected wallet address matches the active wallet
|
|
90
|
-
* Updates the active account address if it doesn't match
|
|
91
|
-
* @param expectedAddress - The expected wallet address to validate
|
|
92
|
-
* @throws {DynamicError} If signed session ID is not available or account is not found
|
|
93
|
-
*/
|
|
94
85
|
password?: string | undefined;
|
|
95
86
|
} | undefined): Promise<void>;
|
|
96
87
|
getExportHandler(): {
|
|
@@ -130,11 +121,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
130
121
|
revokeDelegation({ accountAddress, password, }: {
|
|
131
122
|
accountAddress: string;
|
|
132
123
|
password?: string | undefined;
|
|
133
|
-
}): Promise<void>;
|
|
134
|
-
* Gets the active wallet address
|
|
135
|
-
* Falls back to verified credential address if no active account is set
|
|
136
|
-
* @returns The wallet address or empty string if not found
|
|
137
|
-
*/
|
|
124
|
+
}): Promise<void>;
|
|
138
125
|
updatePassword({ accountAddress, existingPassword, newPassword, }: {
|
|
139
126
|
accountAddress: string;
|
|
140
127
|
existingPassword?: string | undefined;
|
|
@@ -146,16 +133,19 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
146
133
|
}): Promise<void>;
|
|
147
134
|
signRawMessage({ accountAddress, message, password, }: {
|
|
148
135
|
accountAddress: string;
|
|
136
|
+
/**
|
|
137
|
+
* Connects to the WaaS wallet client
|
|
138
|
+
*/
|
|
149
139
|
message: string;
|
|
150
140
|
password?: string | undefined;
|
|
151
141
|
}): Promise<string>;
|
|
152
142
|
unlockWallet({ accountAddress, password, }: {
|
|
153
143
|
accountAddress: string;
|
|
154
144
|
password?: string | undefined;
|
|
155
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
145
|
+
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").GetWalletResponse>;
|
|
156
146
|
getWalletRecoveryState({ accountAddress, }: {
|
|
157
147
|
accountAddress: string;
|
|
158
|
-
}): Promise<import("@dynamic-labs-wallet/
|
|
148
|
+
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
|
|
159
149
|
endSession(reason?: LogoutReason | undefined): Promise<void>;
|
|
160
150
|
getActiveAccountAddress(): Promise<string | undefined>;
|
|
161
151
|
getConnectedAccounts(): Promise<string[]>;
|