Skip to content

Commit e68d49b

Browse files
authored
chore: add sep45 fields in stellar TOML interface (#1326)
* core: add sep45 fields in stellar TOML interface SEP-1 TOML files now support `WEB_AUTH_FOR_CONTRACTS_ENDPOINT` and `WEB_AUTH_CONTRACT_ID` fields for SEP-45 authentication. This commit adds those two fields to the return type from the `StellarToml.Resolver.resolve(...)` function. * use `ContractId` for more consistency with the rest of the SDK
1 parent 6326631 commit e68d49b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/stellartoml/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export namespace Api {
103103
}
104104
export type Url = string;
105105
export type PublicKey = string;
106+
export type ContractId = string;
106107
export type ISODateTime = string;
107108
export interface Documentation {
108109
ORG_NAME?: string;
@@ -191,6 +192,8 @@ export namespace Api {
191192
TRANSFER_SERVER?: Url;
192193
KYC_SERVER?: Url;
193194
WEB_AUTH_ENDPOINT?: Url;
195+
WEB_AUTH_FOR_CONTRACTS_ENDPOINT?: Url;
196+
WEB_AUTH_CONTRACT_ID?: ContractId;
194197
FEDERATION_SERVER?: Url;
195198
SIGNING_KEY?: PublicKey;
196199
HORIZON_URL?: Url;

0 commit comments

Comments
 (0)