@xoxno/types 1.0.416 → 1.0.418
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.
|
@@ -9,6 +9,8 @@ declare class TokenDataDocBase {
|
|
|
9
9
|
chain: ActivityChain;
|
|
10
10
|
network?: string;
|
|
11
11
|
stellarNetwork?: 'mainnet' | 'testnet';
|
|
12
|
+
issuer?: string;
|
|
13
|
+
swappable?: boolean;
|
|
12
14
|
constructor(props?: Partial<TokenDataDocBase>);
|
|
13
15
|
}
|
|
14
16
|
export declare class TokenDataDoc extends TokenDataDocBase {
|
|
@@ -93,6 +93,24 @@ __decorate([
|
|
|
93
93
|
}),
|
|
94
94
|
__metadata("design:type", String)
|
|
95
95
|
], TokenDataDocBase.prototype, "stellarNetwork", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, swagger_1.ApiProperty)({
|
|
98
|
+
type: String,
|
|
99
|
+
required: false,
|
|
100
|
+
description: 'Issuer account (G…) of a Stellar classic asset. Absent for native XLM and pure-Soroban tokens. Lets clients build a changeTrust trustline without an on-chain name() lookup.',
|
|
101
|
+
example: 'GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN',
|
|
102
|
+
}),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], TokenDataDocBase.prototype, "issuer", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, swagger_1.ApiProperty)({
|
|
107
|
+
type: Boolean,
|
|
108
|
+
required: false,
|
|
109
|
+
description: 'Whether the token is swappable (present in a DEX/Soroswap token list). Lets the swap picker show only swappable tokens while other views use the full registry.',
|
|
110
|
+
example: true,
|
|
111
|
+
}),
|
|
112
|
+
__metadata("design:type", Boolean)
|
|
113
|
+
], TokenDataDocBase.prototype, "swappable", void 0);
|
|
96
114
|
class TokenDataDoc extends TokenDataDocBase {
|
|
97
115
|
constructor(props) {
|
|
98
116
|
super(props);
|