@coingecko/coingecko-typescript 1.7.0 → 1.7.2

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/internal/types.d.mts +8 -6
  3. package/internal/types.d.mts.map +1 -1
  4. package/internal/types.d.ts +8 -6
  5. package/internal/types.d.ts.map +1 -1
  6. package/internal/uploads.js +1 -1
  7. package/internal/uploads.js.map +1 -1
  8. package/internal/uploads.mjs +1 -1
  9. package/internal/uploads.mjs.map +1 -1
  10. package/internal/utils/log.js +1 -1
  11. package/internal/utils/log.js.map +1 -1
  12. package/internal/utils/log.mjs +1 -1
  13. package/internal/utils/log.mjs.map +1 -1
  14. package/internal/utils/path.d.mts.map +1 -1
  15. package/internal/utils/path.d.ts.map +1 -1
  16. package/internal/utils/path.js +26 -5
  17. package/internal/utils/path.js.map +1 -1
  18. package/internal/utils/path.mjs +26 -5
  19. package/internal/utils/path.mjs.map +1 -1
  20. package/package.json +1 -1
  21. package/resources/coins/coins.d.mts +12 -4
  22. package/resources/coins/coins.d.mts.map +1 -1
  23. package/resources/coins/coins.d.ts +12 -4
  24. package/resources/coins/coins.d.ts.map +1 -1
  25. package/resources/coins/contract/contract.d.mts +12 -4
  26. package/resources/coins/contract/contract.d.mts.map +1 -1
  27. package/resources/coins/contract/contract.d.ts +12 -4
  28. package/resources/coins/contract/contract.d.ts.map +1 -1
  29. package/resources/coins/history.d.mts +3 -1
  30. package/resources/coins/history.d.mts.map +1 -1
  31. package/resources/coins/history.d.ts +3 -1
  32. package/resources/coins/history.d.ts.map +1 -1
  33. package/resources/coins/list.d.mts +3 -1
  34. package/resources/coins/list.d.mts.map +1 -1
  35. package/resources/coins/list.d.ts +3 -1
  36. package/resources/coins/list.d.ts.map +1 -1
  37. package/resources/exchange-rates.d.mts +3 -1
  38. package/resources/exchange-rates.d.mts.map +1 -1
  39. package/resources/exchange-rates.d.ts +3 -1
  40. package/resources/exchange-rates.d.ts.map +1 -1
  41. package/resources/onchain/simple/networks/token-price.d.mts +3 -1
  42. package/resources/onchain/simple/networks/token-price.d.mts.map +1 -1
  43. package/resources/onchain/simple/networks/token-price.d.ts +3 -1
  44. package/resources/onchain/simple/networks/token-price.d.ts.map +1 -1
  45. package/src/internal/types.ts +9 -6
  46. package/src/internal/uploads.ts +1 -1
  47. package/src/internal/utils/log.ts +1 -1
  48. package/src/internal/utils/path.ts +30 -7
  49. package/src/resources/coins/coins.ts +4 -4
  50. package/src/resources/coins/contract/contract.ts +4 -4
  51. package/src/resources/coins/history.ts +1 -1
  52. package/src/resources/coins/list.ts +1 -1
  53. package/src/resources/exchange-rates.ts +1 -1
  54. package/src/resources/onchain/simple/networks/token-price.ts +1 -1
  55. package/src/version.ts +1 -1
  56. package/version.d.mts +1 -1
  57. package/version.d.ts +1 -1
  58. package/version.js +1 -1
  59. package/version.mjs +1 -1
@@ -122,12 +122,12 @@ export interface CoinGetIDResponse {
122
122
  /**
123
123
  * coin description
124
124
  */
125
- description?: Record<string, string>;
125
+ description?: { [key: string]: string };
126
126
 
127
127
  /**
128
128
  * detailed coin asset platform and contract address
129
129
  */
130
- detail_platforms?: Record<string, string>;
130
+ detail_platforms?: { [key: string]: string };
131
131
 
132
132
  /**
133
133
  * coin developer data
@@ -162,7 +162,7 @@ export interface CoinGetIDResponse {
162
162
  /**
163
163
  * coin name localization
164
164
  */
165
- localization?: Record<string, string>;
165
+ localization?: { [key: string]: string };
166
166
 
167
167
  /**
168
168
  * coin rank by market cap
@@ -182,7 +182,7 @@ export interface CoinGetIDResponse {
182
182
  /**
183
183
  * coin asset platform and contract address
184
184
  */
185
- platforms?: Record<string, string>;
185
+ platforms?: { [key: string]: string };
186
186
 
187
187
  /**
188
188
  * preview listing coin
@@ -79,12 +79,12 @@ export interface ContractGetResponse {
79
79
  /**
80
80
  * coin description
81
81
  */
82
- description?: Record<string, string>;
82
+ description?: { [key: string]: string };
83
83
 
84
84
  /**
85
85
  * detailed coin asset platform and contract address
86
86
  */
87
- detail_platforms?: Record<string, string>;
87
+ detail_platforms?: { [key: string]: string };
88
88
 
89
89
  /**
90
90
  * coin developer data
@@ -119,7 +119,7 @@ export interface ContractGetResponse {
119
119
  /**
120
120
  * coin name localization
121
121
  */
122
- localization?: Record<string, string>;
122
+ localization?: { [key: string]: string };
123
123
 
124
124
  /**
125
125
  * coin rank by market cap
@@ -139,7 +139,7 @@ export interface ContractGetResponse {
139
139
  /**
140
140
  * coin asset platform and contract address
141
141
  */
142
- platforms?: Record<string, string>;
142
+ platforms?: { [key: string]: string };
143
143
 
144
144
  /**
145
145
  * preview listing coin
@@ -46,7 +46,7 @@ export interface HistoryGetResponse {
46
46
  /**
47
47
  * coin localization
48
48
  */
49
- localization?: Record<string, string>;
49
+ localization?: { [key: string]: string };
50
50
 
51
51
  /**
52
52
  * coin market data
@@ -49,7 +49,7 @@ export namespace ListGetResponse {
49
49
  /**
50
50
  * coin asset platform and contract address
51
51
  */
52
- platforms?: Record<string, string>;
52
+ platforms?: { [key: string]: string };
53
53
 
54
54
  /**
55
55
  * coin symbol
@@ -19,7 +19,7 @@ export class ExchangeRates extends APIResource {
19
19
  }
20
20
 
21
21
  export interface ExchangeRateGetResponse {
22
- rates?: Record<string, ExchangeRateGetResponse.Rates>;
22
+ rates?: { [key: string]: ExchangeRateGetResponse.Rates };
23
23
  }
24
24
 
25
25
  export namespace ExchangeRateGetResponse {
@@ -47,7 +47,7 @@ export namespace TokenPriceGetAddressesResponse {
47
47
 
48
48
  export namespace Data {
49
49
  export interface Attributes {
50
- token_prices?: Record<string, string>;
50
+ token_prices?: { [key: string]: string };
51
51
  }
52
52
  }
53
53
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.7.0'; // x-release-please-version
1
+ export const VERSION = '1.7.2'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.7.0";
1
+ export declare const VERSION = "1.7.2";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.7.0";
1
+ export declare const VERSION = "1.7.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.7.0'; // x-release-please-version
4
+ exports.VERSION = '1.7.2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.7.0'; // x-release-please-version
1
+ export const VERSION = '1.7.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map