@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 +8 -0
- package/README.md +6 -3
- package/package.json +1 -1
- 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
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
|
-
|
|
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
|
-
|
|
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
|
|
155
|
+
console.log(price);
|
|
153
156
|
```
|
|
154
157
|
|
|
155
158
|
### Logging
|
package/package.json
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "1.4.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.4.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|