@xoxno/types 1.0.417 → 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.
@@ -10,6 +10,7 @@ declare class TokenDataDocBase {
10
10
  network?: string;
11
11
  stellarNetwork?: 'mainnet' | 'testnet';
12
12
  issuer?: string;
13
+ swappable?: boolean;
13
14
  constructor(props?: Partial<TokenDataDocBase>);
14
15
  }
15
16
  export declare class TokenDataDoc extends TokenDataDocBase {
@@ -102,6 +102,15 @@ __decorate([
102
102
  }),
103
103
  __metadata("design:type", String)
104
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);
105
114
  class TokenDataDoc extends TokenDataDocBase {
106
115
  constructor(props) {
107
116
  super(props);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.417",
3
+ "version": "1.0.418",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {