@xoxno/types 1.0.397 → 1.0.400
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.
|
@@ -7,6 +7,8 @@ declare class TokenDataDocBase {
|
|
|
7
7
|
svgUrl: string;
|
|
8
8
|
pngUrl: string;
|
|
9
9
|
chain: ActivityChain;
|
|
10
|
+
network?: string;
|
|
11
|
+
stellarNetwork?: 'mainnet' | 'testnet';
|
|
10
12
|
constructor(props?: Partial<TokenDataDocBase>);
|
|
11
13
|
}
|
|
12
14
|
export declare class TokenDataDoc extends TokenDataDocBase {
|
|
@@ -75,6 +75,24 @@ __decorate([
|
|
|
75
75
|
}),
|
|
76
76
|
__metadata("design:type", String)
|
|
77
77
|
], TokenDataDocBase.prototype, "chain", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, swagger_1.ApiProperty)({
|
|
80
|
+
type: String,
|
|
81
|
+
required: false,
|
|
82
|
+
description: 'Chain-specific network discriminator. For Stellar this is mainnet or testnet.',
|
|
83
|
+
example: 'mainnet',
|
|
84
|
+
}),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], TokenDataDocBase.prototype, "network", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, swagger_1.ApiProperty)({
|
|
89
|
+
type: String,
|
|
90
|
+
required: false,
|
|
91
|
+
description: 'Stellar network for Soroban token profiles.',
|
|
92
|
+
example: 'mainnet',
|
|
93
|
+
}),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], TokenDataDocBase.prototype, "stellarNetwork", void 0);
|
|
78
96
|
class TokenDataDoc extends TokenDataDocBase {
|
|
79
97
|
constructor(props) {
|
|
80
98
|
super(props);
|
|
@@ -163,7 +163,7 @@ export declare class StellarQuoteTransactionPayloadDto {
|
|
|
163
163
|
*/
|
|
164
164
|
export declare class StellarQuoteAlternativeDto {
|
|
165
165
|
platform: StellarQuotePlatform;
|
|
166
|
-
quote: StellarAggregatorQuoteResponseDto
|
|
166
|
+
quote: Omit<StellarAggregatorQuoteResponseDto, 'alternatives'>;
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* Response DTO for `GET /api/v1/quote` on the Stellar quote server.
|
|
@@ -552,7 +552,7 @@ __decorate([
|
|
|
552
552
|
}),
|
|
553
553
|
(0, class_validator_1.ValidateNested)(),
|
|
554
554
|
(0, class_transformer_1.Type)(() => StellarAggregatorQuoteResponseDto),
|
|
555
|
-
__metadata("design:type",
|
|
555
|
+
__metadata("design:type", Object)
|
|
556
556
|
], StellarQuoteAlternativeDto.prototype, "quote", void 0);
|
|
557
557
|
/**
|
|
558
558
|
* Response DTO for `GET /api/v1/quote` on the Stellar quote server.
|