@hirosystems/token-metadata-api-client 1.2.0 → 1.3.0
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/api.ts +20 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +20 -2
- package/dist/api.js +2 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// tslint:disable
|
|
3
3
|
/**
|
|
4
4
|
* Token Metadata API
|
|
5
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
5
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
6
6
|
*
|
|
7
7
|
* OpenAPI spec version: v0.4.0
|
|
8
8
|
*
|
|
@@ -71,7 +71,7 @@ export class BaseAPI {
|
|
|
71
71
|
* @extends {Error}
|
|
72
72
|
*/
|
|
73
73
|
export class RequiredError extends Error {
|
|
74
|
-
name
|
|
74
|
+
name = "RequiredError"
|
|
75
75
|
constructor(public field: string, msg?: string) {
|
|
76
76
|
super(msg);
|
|
77
77
|
}
|
|
@@ -250,6 +250,12 @@ export interface FtBasicMetadataResponse {
|
|
|
250
250
|
* @memberof FtBasicMetadataResponse
|
|
251
251
|
*/
|
|
252
252
|
image_uri?: string;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof FtBasicMetadataResponse
|
|
257
|
+
*/
|
|
258
|
+
image_thumbnail_uri?: string;
|
|
253
259
|
/**
|
|
254
260
|
*
|
|
255
261
|
* @type {string}
|
|
@@ -323,6 +329,12 @@ export interface FtMetadataResponse {
|
|
|
323
329
|
* @memberof FtMetadataResponse
|
|
324
330
|
*/
|
|
325
331
|
image_uri?: string;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {string}
|
|
335
|
+
* @memberof FtMetadataResponse
|
|
336
|
+
*/
|
|
337
|
+
image_thumbnail_uri?: string;
|
|
326
338
|
/**
|
|
327
339
|
*
|
|
328
340
|
* @type {string}
|
|
@@ -384,6 +396,12 @@ export interface Metadata {
|
|
|
384
396
|
* @memberof Metadata
|
|
385
397
|
*/
|
|
386
398
|
cached_image?: string;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof Metadata
|
|
403
|
+
*/
|
|
404
|
+
cached_thumbnail_image?: string;
|
|
387
405
|
/**
|
|
388
406
|
*
|
|
389
407
|
* @type {Array<MetadataAttribute>}
|
package/configuration.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// tslint:disable
|
|
2
2
|
/**
|
|
3
3
|
* Token Metadata API
|
|
4
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
4
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
5
5
|
*
|
|
6
6
|
* OpenAPI spec version: v0.4.0
|
|
7
7
|
*
|
package/dist/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Token Metadata API
|
|
3
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
3
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
4
4
|
*
|
|
5
5
|
* OpenAPI spec version: v0.4.0
|
|
6
6
|
*
|
|
@@ -57,7 +57,7 @@ export declare class BaseAPI {
|
|
|
57
57
|
*/
|
|
58
58
|
export declare class RequiredError extends Error {
|
|
59
59
|
field: string;
|
|
60
|
-
name:
|
|
60
|
+
name: string;
|
|
61
61
|
constructor(field: string, msg?: string);
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -233,6 +233,12 @@ export interface FtBasicMetadataResponse {
|
|
|
233
233
|
* @memberof FtBasicMetadataResponse
|
|
234
234
|
*/
|
|
235
235
|
image_uri?: string;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof FtBasicMetadataResponse
|
|
240
|
+
*/
|
|
241
|
+
image_thumbnail_uri?: string;
|
|
236
242
|
/**
|
|
237
243
|
*
|
|
238
244
|
* @type {string}
|
|
@@ -306,6 +312,12 @@ export interface FtMetadataResponse {
|
|
|
306
312
|
* @memberof FtMetadataResponse
|
|
307
313
|
*/
|
|
308
314
|
image_uri?: string;
|
|
315
|
+
/**
|
|
316
|
+
*
|
|
317
|
+
* @type {string}
|
|
318
|
+
* @memberof FtMetadataResponse
|
|
319
|
+
*/
|
|
320
|
+
image_thumbnail_uri?: string;
|
|
309
321
|
/**
|
|
310
322
|
*
|
|
311
323
|
* @type {string}
|
|
@@ -367,6 +379,12 @@ export interface Metadata {
|
|
|
367
379
|
* @memberof Metadata
|
|
368
380
|
*/
|
|
369
381
|
cached_image?: string;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof Metadata
|
|
386
|
+
*/
|
|
387
|
+
cached_thumbnail_image?: string;
|
|
370
388
|
/**
|
|
371
389
|
*
|
|
372
390
|
* @type {Array<MetadataAttribute>}
|
package/dist/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// tslint:disable
|
|
4
4
|
/**
|
|
5
5
|
* Token Metadata API
|
|
6
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
6
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
7
7
|
*
|
|
8
8
|
* OpenAPI spec version: v0.4.0
|
|
9
9
|
*
|
|
@@ -71,6 +71,7 @@ var RequiredError = /** @class */ (function (_super) {
|
|
|
71
71
|
function RequiredError(field, msg) {
|
|
72
72
|
var _this = _super.call(this, msg) || this;
|
|
73
73
|
_this.field = field;
|
|
74
|
+
_this.name = "RequiredError";
|
|
74
75
|
return _this;
|
|
75
76
|
}
|
|
76
77
|
return RequiredError;
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Token Metadata API
|
|
3
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
3
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
4
4
|
*
|
|
5
5
|
* OpenAPI spec version: v0.4.0
|
|
6
6
|
*
|
package/dist/configuration.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// tslint:disable
|
|
3
3
|
/**
|
|
4
4
|
* Token Metadata API
|
|
5
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
5
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
6
6
|
*
|
|
7
7
|
* OpenAPI spec version: v0.4.0
|
|
8
8
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Token Metadata API
|
|
3
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
3
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
4
4
|
*
|
|
5
5
|
* OpenAPI spec version: v0.4.0
|
|
6
6
|
*
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// tslint:disable
|
|
3
3
|
/**
|
|
4
4
|
* Token Metadata API
|
|
5
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
5
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
6
6
|
*
|
|
7
7
|
* OpenAPI spec version: v0.4.0
|
|
8
8
|
*
|
package/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// tslint:disable
|
|
2
2
|
/**
|
|
3
3
|
* Token Metadata API
|
|
4
|
-
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
4
|
+
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
|
|
5
5
|
*
|
|
6
6
|
* OpenAPI spec version: v0.4.0
|
|
7
7
|
*
|
package/package.json
CHANGED