@coingecko/coingecko-typescript 1.7.3 → 1.9.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/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/coins/coins.d.mts +11 -1
- package/resources/coins/coins.d.mts.map +1 -1
- package/resources/coins/coins.d.ts +11 -1
- package/resources/coins/coins.d.ts.map +1 -1
- package/resources/coins/coins.js.map +1 -1
- package/resources/coins/coins.mjs.map +1 -1
- package/resources/coins/contract/contract.d.mts +11 -1
- package/resources/coins/contract/contract.d.mts.map +1 -1
- package/resources/coins/contract/contract.d.ts +11 -1
- package/resources/coins/contract/contract.d.ts.map +1 -1
- package/resources/coins/contract/contract.js.map +1 -1
- package/resources/coins/contract/contract.mjs.map +1 -1
- package/resources/coins/markets.d.mts +128 -103
- package/resources/coins/markets.d.mts.map +1 -1
- package/resources/coins/markets.d.ts +128 -103
- package/resources/coins/markets.d.ts.map +1 -1
- package/resources/coins/markets.js +1 -1
- package/resources/coins/markets.mjs +1 -1
- package/resources/exchanges/exchanges.d.mts +12 -9
- package/resources/exchanges/exchanges.d.mts.map +1 -1
- package/resources/exchanges/exchanges.d.ts +12 -9
- package/resources/exchanges/exchanges.d.ts.map +1 -1
- package/resources/exchanges/exchanges.js.map +1 -1
- package/resources/exchanges/exchanges.mjs.map +1 -1
- package/resources/onchain/networks/pools/pools.d.mts +1 -1
- package/resources/onchain/networks/pools/pools.d.mts.map +1 -1
- package/resources/onchain/networks/pools/pools.d.ts +1 -1
- package/resources/onchain/networks/pools/pools.d.ts.map +1 -1
- package/resources/simple/price.d.mts +26 -21
- package/resources/simple/price.d.mts.map +1 -1
- package/resources/simple/price.d.ts +26 -21
- package/resources/simple/price.d.ts.map +1 -1
- package/src/resources/coins/coins.ts +13 -1
- package/src/resources/coins/contract/contract.ts +13 -1
- package/src/resources/coins/markets.ts +156 -127
- package/src/resources/exchanges/exchanges.ts +13 -9
- package/src/resources/onchain/networks/pools/pools.ts +1 -1
- package/src/resources/simple/price.ts +29 -25
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -398,16 +398,20 @@ export namespace ExchangeGetIDResponse {
|
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export
|
|
402
|
-
/**
|
|
403
|
-
* exchange ID
|
|
404
|
-
*/
|
|
405
|
-
id?: string;
|
|
401
|
+
export type ExchangeGetListResponse = Array<ExchangeGetListResponse.ExchangeGetListResponseItem>;
|
|
406
402
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
403
|
+
export namespace ExchangeGetListResponse {
|
|
404
|
+
export interface ExchangeGetListResponseItem {
|
|
405
|
+
/**
|
|
406
|
+
* exchange ID
|
|
407
|
+
*/
|
|
408
|
+
id: string;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* exchange name
|
|
412
|
+
*/
|
|
413
|
+
name: string;
|
|
414
|
+
}
|
|
411
415
|
}
|
|
412
416
|
|
|
413
417
|
export interface ExchangeGetParams {
|
|
@@ -21,31 +21,35 @@ export class Price extends APIResource {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
24
|
+
export type PriceGetResponse = { [key: string]: PriceGetResponse.item };
|
|
25
|
+
|
|
26
|
+
export namespace PriceGetResponse {
|
|
27
|
+
export interface item {
|
|
28
|
+
/**
|
|
29
|
+
* last updated timestamp
|
|
30
|
+
*/
|
|
31
|
+
last_updated_at?: number;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* price in USD
|
|
35
|
+
*/
|
|
36
|
+
usd?: number;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* 24hr change in USD
|
|
40
|
+
*/
|
|
41
|
+
usd_24h_change?: number;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 24hr volume in USD
|
|
45
|
+
*/
|
|
46
|
+
usd_24h_vol?: number;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* market cap in USD
|
|
50
|
+
*/
|
|
51
|
+
usd_market_cap?: number;
|
|
52
|
+
}
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
export interface PriceGetParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.9.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.9.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|