@dynamic-labs/stellar 5.9.1 → 5.9.2
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,11 @@
|
|
|
1
1
|
|
|
2
|
+
### [5.9.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.1...v5.9.2) (2026-09-28)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **waas:** pass elevatedAccessToken and thread signed intents through addSigner ([#12432](https://github.com/dynamic-labs/dynamic-auth/issues/12432)) ([b754f33](https://github.com/dynamic-labs/dynamic-auth/commit/b754f33b72ac93b9960deb5e133dcdbccb06d638))
|
|
8
|
+
|
|
2
9
|
### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
|
|
3
10
|
|
|
4
11
|
|
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.9.
|
|
3
|
+
"version": "5.9.2",
|
|
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.33.3",
|
|
22
22
|
"@dynamic-labs/sdk-api-core": "0.40.0",
|
|
23
23
|
"@stellar/stellar-sdk": "14.4.3",
|
|
24
|
-
"@dynamic-labs/wallet-connector-core": "5.9.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "5.9.
|
|
24
|
+
"@dynamic-labs/wallet-connector-core": "5.9.2",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "5.9.2",
|
|
26
26
|
"@lobstrco/signer-extension-api": "2.0.0",
|
|
27
27
|
"@stellar/freighter-api": "6.0.1",
|
|
28
|
-
"@dynamic-labs/logger": "5.9.
|
|
29
|
-
"@dynamic-labs/types": "5.9.
|
|
30
|
-
"@dynamic-labs/utils": "5.9.
|
|
31
|
-
"@dynamic-labs/waas": "5.9.
|
|
32
|
-
"@dynamic-labs/wallet-book": "5.9.
|
|
28
|
+
"@dynamic-labs/logger": "5.9.2",
|
|
29
|
+
"@dynamic-labs/types": "5.9.2",
|
|
30
|
+
"@dynamic-labs/utils": "5.9.2",
|
|
31
|
+
"@dynamic-labs/waas": "5.9.2",
|
|
32
|
+
"@dynamic-labs/wallet-book": "5.9.2",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
@@ -52,11 +52,17 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
52
52
|
getPassword({ accountAddress, }: {
|
|
53
53
|
accountAddress: string;
|
|
54
54
|
}): Promise<string | undefined>;
|
|
55
|
-
setEnvironmentId(environmentId: string): void;
|
|
55
|
+
setEnvironmentId(environmentId: string): void; /**
|
|
56
|
+
* Sets the active account address for this connector
|
|
57
|
+
* @param accountAddress - The Stellar account address to set as active
|
|
58
|
+
*/
|
|
56
59
|
setBaseApiUrl(baseApiUrl: string): void;
|
|
57
60
|
setBaseClientKeysharesRelayApiUrl(baseClientKeysharesRelayApiUrl?: string | undefined): void;
|
|
58
61
|
setRelayUrl(relayUrl: string): void;
|
|
59
|
-
setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void;
|
|
62
|
+
setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void; /**
|
|
63
|
+
* Called when the user selects this wallet in the modal.
|
|
64
|
+
* Sets the active account so getAddress/getNetwork work correctly during network validation.
|
|
65
|
+
*/
|
|
60
66
|
setGetSessionPublicKeyFunction(getSessionPublicKey: () => Promise<string | undefined>): void;
|
|
61
67
|
delegateKeyShares({ accountAddress, password, initialSignerRules, }: {
|
|
62
68
|
accountAddress: string;
|
|
@@ -77,7 +83,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
77
83
|
publicKeyHex: string;
|
|
78
84
|
rawPublicKey: string | Uint8Array | undefined;
|
|
79
85
|
}>;
|
|
80
|
-
addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }: {
|
|
86
|
+
addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }: {
|
|
81
87
|
accountAddress: string;
|
|
82
88
|
walletId?: string | undefined;
|
|
83
89
|
businessAccountId: string;
|
|
@@ -89,6 +95,8 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
89
95
|
signerType?: "endUser" | "server" | undefined;
|
|
90
96
|
password?: string | undefined;
|
|
91
97
|
targetSignerPassword?: string | undefined;
|
|
98
|
+
intent?: import("@dynamic-labs-wallet/core").BusinessAccountIntent | undefined;
|
|
99
|
+
intentSignature?: string | undefined;
|
|
92
100
|
}): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
|
|
93
101
|
shareSetId: string;
|
|
94
102
|
}>;
|
|
@@ -109,7 +117,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
109
117
|
} | undefined): Promise<void>;
|
|
110
118
|
getExportHandler(): {
|
|
111
119
|
clear: () => void;
|
|
112
|
-
};
|
|
120
|
+
}; /**
|
|
121
|
+
* Internal method to sign a message with MFA token
|
|
122
|
+
* @param message - The message to sign
|
|
123
|
+
* @returns The signed message as a string
|
|
124
|
+
* @throws {DynamicError} If active account address is not set
|
|
125
|
+
* @throws {DynamicError} If signed session ID is not available
|
|
126
|
+
*/
|
|
113
127
|
exportClientKeyshares({ accountAddress, password, }: import("@dynamic-labs/wallet-connector-core").ExportClientKeysharesParams): Promise<void>;
|
|
114
128
|
runBackupLifecycle({ provider, accountAddress, password, performBackup, }: {
|
|
115
129
|
provider: string;
|
|
@@ -123,9 +137,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
123
137
|
traceContext: {
|
|
124
138
|
traceId: string;
|
|
125
139
|
startTime: number;
|
|
126
|
-
};
|
|
127
|
-
* Ends the current session and clears the active account address
|
|
128
|
-
*/
|
|
140
|
+
};
|
|
129
141
|
}) => Promise<void>;
|
|
130
142
|
}): Promise<void>;
|
|
131
143
|
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: import("@dynamic-labs/wallet-connector-core").BackupKeySharesToGoogleDriveParams): Promise<void>;
|
|
@@ -138,7 +150,11 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
138
150
|
password?: string | undefined;
|
|
139
151
|
}): Promise<void>;
|
|
140
152
|
displayICloudSignIn({ displayContainer, }: {
|
|
141
|
-
displayContainer: HTMLElement;
|
|
153
|
+
displayContainer: HTMLElement; /**
|
|
154
|
+
* Signs a Stellar transaction XDR.
|
|
155
|
+
* @param transactionXdr - The XDR-encoded transaction envelope to sign
|
|
156
|
+
* @returns The signed transaction XDR
|
|
157
|
+
*/
|
|
142
158
|
}): Promise<void>;
|
|
143
159
|
hideICloudSignIn(): Promise<void>;
|
|
144
160
|
isICloudAuthenticated(): Promise<boolean>;
|