@dynamic-labs/stellar 5.4.0 → 5.4.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,16 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.4.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.0...v5.4.1) (2026-08-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **webview-controller:** resolve which keychain key a session belongs to ([#12246](https://github.com/dynamic-labs/dynamic-auth/issues/12246)) ([3d110db](https://github.com/dynamic-labs/dynamic-auth/commit/3d110db831c6e9d82d07d86841f5c7733924b17e))
|
|
8
|
+
* **bitcoin:** forward the password through the BTC importPrivateKey override ([#12278](https://github.com/dynamic-labs/dynamic-auth/issues/12278)) ([21e1df3](https://github.com/dynamic-labs/dynamic-auth/commit/21e1df3e33e96e2efdb15ffa0fd29a441056202e))
|
|
9
|
+
* **react-native-extension:** recover 4.x expo-secure-store sessions on keychain miss ([#12254](https://github.com/dynamic-labs/dynamic-auth/issues/12254)) ([217e991](https://github.com/dynamic-labs/dynamic-auth/commit/217e991838f3073c12e2d2fab7a2e12830faad9e)), closes [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)
|
|
10
|
+
* **transaction-card:** use walletConnector prop for network/fee instead of primaryWallet ([#12063](https://github.com/dynamic-labs/dynamic-auth/issues/12063)) ([81314d2](https://github.com/dynamic-labs/dynamic-auth/commit/81314d25fba4b20ab89631bc2d9ceeb9e2b6b2ac))
|
|
11
|
+
* **waas-svm:** instrument sponsorship retry attempts ([#12281](https://github.com/dynamic-labs/dynamic-auth/issues/12281)) ([7273a4b](https://github.com/dynamic-labs/dynamic-auth/commit/7273a4bc456cad512c0e9fbcd2abd66532a2f7df))
|
|
12
|
+
* **webview-controller:** recover 4.x secure-storage sessions and surface init failures ([#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)) ([b51605c](https://github.com/dynamic-labs/dynamic-auth/commit/b51605cc9bdbb5d695173192c502a58d899bbbdd)), closes [#12094](https://github.com/dynamic-labs/dynamic-auth/issues/12094) [#12095](https://github.com/dynamic-labs/dynamic-auth/issues/12095) [#12098](https://github.com/dynamic-labs/dynamic-auth/issues/12098) [dynamic-labs/flutter-sdk#256](https://github.com/dynamic-labs/flutter-sdk/issues/256)
|
|
13
|
+
|
|
2
14
|
## [5.4.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.2...v5.4.0) (2026-08-25)
|
|
3
15
|
|
|
4
16
|
|
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": "5.4.
|
|
3
|
+
"version": "5.4.1",
|
|
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.29.0",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.12.0",
|
|
23
23
|
"@stellar/stellar-sdk": "14.4.3",
|
|
24
|
-
"@dynamic-labs/wallet-connector-core": "5.4.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "5.4.
|
|
24
|
+
"@dynamic-labs/wallet-connector-core": "5.4.1",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "5.4.1",
|
|
26
26
|
"@lobstrco/signer-extension-api": "2.0.0",
|
|
27
27
|
"@stellar/freighter-api": "6.0.1",
|
|
28
|
-
"@dynamic-labs/logger": "5.4.
|
|
29
|
-
"@dynamic-labs/types": "5.4.
|
|
30
|
-
"@dynamic-labs/utils": "5.4.
|
|
31
|
-
"@dynamic-labs/waas": "5.4.
|
|
32
|
-
"@dynamic-labs/wallet-book": "5.4.
|
|
28
|
+
"@dynamic-labs/logger": "5.4.1",
|
|
29
|
+
"@dynamic-labs/types": "5.4.1",
|
|
30
|
+
"@dynamic-labs/utils": "5.4.1",
|
|
31
|
+
"@dynamic-labs/waas": "5.4.1",
|
|
32
|
+
"@dynamic-labs/wallet-book": "5.4.1",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
@@ -31,7 +31,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
31
31
|
baseClientKeysharesRelayApiUrl?: string | undefined;
|
|
32
32
|
dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
|
|
33
33
|
revokeSignedSession: ((reason?: string | undefined) => void) | undefined;
|
|
34
|
-
chainName: string;
|
|
34
|
+
chainName: string; /**
|
|
35
|
+
* Signs a message with additional context information
|
|
36
|
+
* @param message - The message to sign (string or object with raw property)
|
|
37
|
+
* @param context - Additional context for the message signing
|
|
38
|
+
* @returns The signed message as a string
|
|
39
|
+
* @throws {Error} Method not implemented for Stellar
|
|
40
|
+
*/
|
|
35
41
|
authMode: "cookie" | "header";
|
|
36
42
|
logger: Logger;
|
|
37
43
|
__exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
|
|
@@ -44,7 +50,10 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
44
50
|
} | undefined) => Promise<string | undefined>): void;
|
|
45
51
|
setGetElevatedAccessTokenFunction(getElevatedAccessToken: (params: {
|
|
46
52
|
scope: TokenScope;
|
|
47
|
-
}) => Promise<string | undefined>): void;
|
|
53
|
+
}) => Promise<string | undefined>): void; /**
|
|
54
|
+
* Override setVerifiedCredentials to filter and set Stellar WaaS credentials
|
|
55
|
+
* Filters for credentials with walletName === 'dynamicwaas' and chain === 'stellar'
|
|
56
|
+
*/
|
|
48
57
|
setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
|
|
49
58
|
getPasswordIfNeeded({ accountAddress, }: {
|
|
50
59
|
accountAddress: string;
|
|
@@ -70,12 +79,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
70
79
|
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
71
80
|
forceRebuild?: boolean | undefined;
|
|
72
81
|
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
73
|
-
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
74
|
-
thresholdSignatureScheme?: string | undefined;
|
|
75
|
-
password?: string | undefined;
|
|
76
|
-
bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
|
|
77
|
-
businessAccountId?: string | undefined;
|
|
78
|
-
} | undefined): Promise<{
|
|
82
|
+
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: import("@dynamic-labs/wallet-connector-core").CreateWalletAccountParams | undefined): Promise<{
|
|
79
83
|
chainName: string;
|
|
80
84
|
accountAddress: string;
|
|
81
85
|
publicKeyHex: string;
|
|
@@ -95,15 +99,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
95
99
|
}): Promise<{
|
|
96
100
|
shareSetId: string;
|
|
97
101
|
}>;
|
|
98
|
-
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }:
|
|
99
|
-
privateKey: string;
|
|
100
|
-
thresholdSignatureScheme?: string | undefined;
|
|
101
|
-
publicAddressCheck?: string | undefined;
|
|
102
|
-
addressType?: string | undefined;
|
|
103
|
-
legacyWalletId?: string | undefined;
|
|
104
|
-
password?: string | undefined;
|
|
105
|
-
isRawScalarImport?: boolean | undefined;
|
|
106
|
-
}): Promise<void>;
|
|
102
|
+
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: import("@dynamic-labs/wallet-connector-core").ImportPrivateKeyParams): Promise<void>;
|
|
107
103
|
migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
|
|
108
104
|
deviceId: string;
|
|
109
105
|
jwt: string;
|
|
@@ -121,10 +117,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
121
117
|
getExportHandler(): {
|
|
122
118
|
clear: () => void;
|
|
123
119
|
};
|
|
124
|
-
exportClientKeyshares({ accountAddress, password, }:
|
|
125
|
-
accountAddress: string;
|
|
126
|
-
password?: string | undefined;
|
|
127
|
-
}): Promise<void>;
|
|
120
|
+
exportClientKeyshares({ accountAddress, password, }: import("@dynamic-labs/wallet-connector-core").ExportClientKeysharesParams): Promise<void>;
|
|
128
121
|
runBackupLifecycle({ provider, accountAddress, password, performBackup, }: {
|
|
129
122
|
provider: string;
|
|
130
123
|
accountAddress: string;
|
|
@@ -140,11 +133,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
140
133
|
};
|
|
141
134
|
}) => Promise<void>;
|
|
142
135
|
}): Promise<void>;
|
|
143
|
-
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }:
|
|
144
|
-
accountAddress: string;
|
|
145
|
-
password?: string | undefined;
|
|
146
|
-
googleDriveAccessToken?: string | undefined;
|
|
147
|
-
}): Promise<void>;
|
|
136
|
+
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: import("@dynamic-labs/wallet-connector-core").BackupKeySharesToGoogleDriveParams): Promise<void>;
|
|
148
137
|
exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
|
|
149
138
|
accountAddress: string;
|
|
150
139
|
password?: string | undefined;
|
|
@@ -158,24 +147,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
158
147
|
}): Promise<void>;
|
|
159
148
|
hideICloudSignIn(): Promise<void>;
|
|
160
149
|
isICloudAuthenticated(): Promise<boolean>;
|
|
161
|
-
refreshWalletAccountShares({ accountAddress, password, }:
|
|
162
|
-
|
|
163
|
-
password?: string | undefined;
|
|
164
|
-
}): Promise<void>;
|
|
165
|
-
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
|
|
166
|
-
accountAddress: string;
|
|
167
|
-
thresholdSignatureScheme: string;
|
|
168
|
-
password?: string | undefined;
|
|
169
|
-
}): Promise<void>;
|
|
150
|
+
refreshWalletAccountShares({ accountAddress, password, }: import("@dynamic-labs/wallet-connector-core").RefreshWalletAccountSharesParams): Promise<void>;
|
|
151
|
+
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: import("@dynamic-labs/wallet-connector-core").ReshareWalletAccountSharesParams): Promise<void>;
|
|
170
152
|
revokeDelegation({ accountAddress, password, }: {
|
|
171
153
|
accountAddress: string;
|
|
172
154
|
password?: string | undefined;
|
|
173
155
|
}): Promise<void>;
|
|
174
|
-
updatePassword({ accountAddress, existingPassword, newPassword, }:
|
|
175
|
-
accountAddress: string;
|
|
176
|
-
existingPassword?: string | undefined;
|
|
177
|
-
newPassword: string;
|
|
178
|
-
}): Promise<void>;
|
|
156
|
+
updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
|
|
179
157
|
setPassword({ accountAddress, newPassword, }: {
|
|
180
158
|
accountAddress: string;
|
|
181
159
|
newPassword: string;
|