@coingecko/coingecko-typescript 1.3.0 → 1.4.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.0 (2025-06-13)
4
+
5
+ Full Changelog: [v1.3.0...v1.4.0](https://github.com/coingecko/coingecko-typescript/compare/v1.3.0...v1.4.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([e9c62ee](https://github.com/coingecko/coingecko-typescript/commit/e9c62ee20051912ed4a7c00e7ef0991fd44441c9))
10
+
3
11
  ## 1.3.0 (2025-06-13)
4
12
 
5
13
  Full Changelog: [v1.2.1...v1.3.0](https://github.com/coingecko/coingecko-typescript/compare/v1.2.1...v1.3.0)
package/README.md CHANGED
@@ -28,9 +28,12 @@ const client = new Coingecko({
28
28
  environment: 'pro', // 'demo' to initialize the client with Demo API access
29
29
  });
30
30
 
31
- const price = await client.simple.price.get({ vs_currencies: 'usd', ids: 'bitcoin' });
31
+ async function main() {
32
+ const price = await client.simple.price.get({ vs_currencies: 'usd', ids: 'bitcoin' });
33
+ console.log(price);
34
+ }
32
35
 
33
- console.log(price.bitcoin.usd);
36
+ main()
34
37
  ```
35
38
 
36
39
  ### Request & Response types
@@ -149,7 +152,7 @@ const { data: price, response: raw } = await client.simple.price
149
152
  .get({ vs_currencies: 'usd', ids: 'bitcoin' })
150
153
  .withResponse();
151
154
  console.log(raw.headers.get('X-My-Header'));
152
- console.log(price.bitcoin.usd);
155
+ console.log(price);
153
156
  ```
154
157
 
155
158
  ### Logging
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coingecko/coingecko-typescript",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "The official TypeScript library for the Coingecko API",
5
5
  "author": "Coingecko <eason.lim@coingecko.com>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.3.0'; // x-release-please-version
1
+ export const VERSION = '1.4.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.3.0";
1
+ export declare const VERSION = "1.4.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.3.0";
1
+ export declare const VERSION = "1.4.0";
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.3.0'; // x-release-please-version
4
+ exports.VERSION = '1.4.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.3.0'; // x-release-please-version
1
+ export const VERSION = '1.4.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map