@coingecko/coingecko-typescript 3.1.0 → 3.1.5
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 +61 -0
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +2 -1
- package/src/internal/utils/env.ts +2 -2
- 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,66 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.5 (2026-04-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.1.4...v3.1.5](https://github.com/coingecko/coingecko-typescript/compare/v3.1.4...v3.1.5)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* trusted publisher requires npm>11, node20 doesnt include npm>11 ([4ee9b74](https://github.com/coingecko/coingecko-typescript/commit/4ee9b742d9b763d747b4c0f0656845fcd94eb051))
|
|
10
|
+
|
|
11
|
+
## 3.1.4 (2026-04-15)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v3.1.3...v3.1.4](https://github.com/coingecko/coingecko-typescript/compare/v3.1.3...v3.1.4)
|
|
14
|
+
|
|
15
|
+
### Chores
|
|
16
|
+
|
|
17
|
+
* remove release doctor, we don't need npm token anymore so its redundant ([76cc604](https://github.com/coingecko/coingecko-typescript/commit/76cc60418c6806f24f02232293557bc0efd87613))
|
|
18
|
+
* replace yarn with npx ([6c6afe8](https://github.com/coingecko/coingecko-typescript/commit/6c6afe83d29ac72378931afc8575329fbd5c6674))
|
|
19
|
+
|
|
20
|
+
## 3.1.3 (2026-04-15)
|
|
21
|
+
|
|
22
|
+
Full Changelog: [v3.1.2...v3.1.3](https://github.com/coingecko/coingecko-typescript/compare/v3.1.2...v3.1.3)
|
|
23
|
+
|
|
24
|
+
### Chores
|
|
25
|
+
|
|
26
|
+
* point npm registry not yarnpkg and remove tokens from env var ([921afb3](https://github.com/coingecko/coingecko-typescript/commit/921afb30d67444885d600ee731a2b6b0754fed38))
|
|
27
|
+
|
|
28
|
+
## 3.1.2 (2026-04-14)
|
|
29
|
+
|
|
30
|
+
Full Changelog: [v3.1.1...v3.1.2](https://github.com/coingecko/coingecko-typescript/compare/v3.1.1...v3.1.2)
|
|
31
|
+
|
|
32
|
+
### Chores
|
|
33
|
+
|
|
34
|
+
* **internal:** codegen related update ([c5b7848](https://github.com/coingecko/coingecko-typescript/commit/c5b7848db087f9e4e33c6dbe368f2d81fd3ded79))
|
|
35
|
+
* **internal:** codegen related update ([9fb880d](https://github.com/coingecko/coingecko-typescript/commit/9fb880da6c9dc93c37dbdfcb24f77326d57f3535))
|
|
36
|
+
* **internal:** fix MCP docker image builds in yarn projects ([55db6fc](https://github.com/coingecko/coingecko-typescript/commit/55db6fccb950123747a66ae85b9bd834586e8ae6))
|
|
37
|
+
* **internal:** fix MCP server import ordering ([edd40aa](https://github.com/coingecko/coingecko-typescript/commit/edd40aa83f1212f74d489b996286560e636de602))
|
|
38
|
+
* **internal:** improve local docs search for MCP servers ([a4a7632](https://github.com/coingecko/coingecko-typescript/commit/a4a76325c5e81e380d3766092e9c0b1c0629bec3))
|
|
39
|
+
* **internal:** show error causes in MCP servers when running in local mode ([8afeac0](https://github.com/coingecko/coingecko-typescript/commit/8afeac08abcab44ee43c54347151cbf2b5052a58))
|
|
40
|
+
* **internal:** support type annotations when running MCP in local execution mode ([12a76cc](https://github.com/coingecko/coingecko-typescript/commit/12a76cce2cfb0131c3edaa32d6eea4e4601a78d4))
|
|
41
|
+
* **internal:** use link instead of file in MCP server package.json files ([24e1c38](https://github.com/coingecko/coingecko-typescript/commit/24e1c38bb7db1d8df129f10a03b5a1e5c1b44cdf))
|
|
42
|
+
* **mcp-server:** increase local docs search result count from 5 to 10 ([40f495c](https://github.com/coingecko/coingecko-typescript/commit/40f495cf8f7d26c7ee9508f1063bc61ab1d1ccea))
|
|
43
|
+
* **mcp-server:** log client info ([6f0dc70](https://github.com/coingecko/coingecko-typescript/commit/6f0dc70e136ed5f86c232620218ac7ab21d9f50b))
|
|
44
|
+
* npm trusted publisher supprot ([564ce5a](https://github.com/coingecko/coingecko-typescript/commit/564ce5a15538adbd195c2fd9f3bd585effba04e5))
|
|
45
|
+
|
|
46
|
+
## 3.1.1 (2026-03-31)
|
|
47
|
+
|
|
48
|
+
Full Changelog: [v3.1.0...v3.1.1](https://github.com/coingecko/coingecko-typescript/compare/v3.1.0...v3.1.1)
|
|
49
|
+
|
|
50
|
+
### Chores
|
|
51
|
+
|
|
52
|
+
* **ci:** escape input path in publish-npm workflow ([b90cf7d](https://github.com/coingecko/coingecko-typescript/commit/b90cf7d6874a99fbb36a85cb0714c67bf15970e7))
|
|
53
|
+
* **ci:** skip lint on metadata-only changes ([9259a33](https://github.com/coingecko/coingecko-typescript/commit/9259a338feaad3c50e090d2e4bb0735acbbfdf8b))
|
|
54
|
+
* **internal:** codegen related update ([a6dc59e](https://github.com/coingecko/coingecko-typescript/commit/a6dc59e16b8d7c067d8b49b99413909a94099d59))
|
|
55
|
+
* **internal:** fix MCP server TS errors that occur with required client options ([1ed7fb4](https://github.com/coingecko/coingecko-typescript/commit/1ed7fb41193f1963b666c5b3f3e89a7c008903b2))
|
|
56
|
+
* **internal:** improve local docs search for MCP servers ([9811884](https://github.com/coingecko/coingecko-typescript/commit/9811884f0f0cef9d3bcedf42ee42563355c8d867))
|
|
57
|
+
* **internal:** support custom-instructions-path flag in MCP servers ([086a8a6](https://github.com/coingecko/coingecko-typescript/commit/086a8a6bf65180104019e91831ec0b35dbdb4605))
|
|
58
|
+
* **internal:** support local docs search in MCP servers ([39d2d19](https://github.com/coingecko/coingecko-typescript/commit/39d2d1945ed471117c6d5576f878bd532c4cab88))
|
|
59
|
+
* **internal:** support x-stainless-mcp-client-permissions headers in MCP servers ([d695bc1](https://github.com/coingecko/coingecko-typescript/commit/d695bc1f09479e8b8c5895d563a97b42f59ba866))
|
|
60
|
+
* **internal:** tweak CI branches ([d727076](https://github.com/coingecko/coingecko-typescript/commit/d727076f35cb92e1443f0298cff729fa7d5e3a63))
|
|
61
|
+
* **internal:** update gitignore ([7571f0d](https://github.com/coingecko/coingecko-typescript/commit/7571f0d266b01c61e3ef107772f12859f034d8b1))
|
|
62
|
+
* **mcp-server:** add support for session id, forward client info ([a6285f7](https://github.com/coingecko/coingecko-typescript/commit/a6285f73ab694c34c3207a19475cd86264bca1f7))
|
|
63
|
+
|
|
3
64
|
## 3.1.0 (2026-03-14)
|
|
4
65
|
|
|
5
66
|
Full Changelog: [v3.0.0...v3.1.0](https://github.com/coingecko/coingecko-typescript/compare/v3.0.0...v3.1.0)
|
package/internal/utils/env.js
CHANGED
|
@@ -11,10 +11,10 @@ exports.readEnv = void 0;
|
|
|
11
11
|
*/
|
|
12
12
|
const readEnv = (env) => {
|
|
13
13
|
if (typeof globalThis.process !== 'undefined') {
|
|
14
|
-
return globalThis.process.env?.[env]?.trim()
|
|
14
|
+
return globalThis.process.env?.[env]?.trim() || undefined;
|
|
15
15
|
}
|
|
16
16
|
if (typeof globalThis.Deno !== 'undefined') {
|
|
17
|
-
return globalThis.Deno.env?.get?.(env)?.trim();
|
|
17
|
+
return globalThis.Deno.env?.get?.(env)?.trim() || undefined;
|
|
18
18
|
}
|
|
19
19
|
return undefined;
|
|
20
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.js","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF;;;;;;GAMG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACrE,CAAC;IACD,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QACpD,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"env.js","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF;;;;;;GAMG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACrE,CAAC;IACD,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QACpD,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACvE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"}
|
package/internal/utils/env.mjs
CHANGED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export const readEnv = (env) => {
|
|
10
10
|
if (typeof globalThis.process !== 'undefined') {
|
|
11
|
-
return globalThis.process.env?.[env]?.trim()
|
|
11
|
+
return globalThis.process.env?.[env]?.trim() || undefined;
|
|
12
12
|
}
|
|
13
13
|
if (typeof globalThis.Deno !== 'undefined') {
|
|
14
|
-
return globalThis.Deno.env?.get?.(env)?.trim();
|
|
14
|
+
return globalThis.Deno.env?.get?.(env)?.trim() || undefined;
|
|
15
15
|
}
|
|
16
16
|
return undefined;
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"env.mjs","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACrE,CAAC;IACD,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QACpD,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"env.mjs","sourceRoot":"","sources":["../../src/internal/utils/env.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACrE,CAAC;IACD,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QACpD,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,SAAS,CAAC;IACvE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coingecko/coingecko-typescript",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.5",
|
|
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",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"private": false,
|
|
16
16
|
"publishConfig": {
|
|
17
|
+
"registry": "https://registry.npmjs.org/",
|
|
17
18
|
"access": "public"
|
|
18
19
|
},
|
|
19
20
|
"scripts": {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export const readEnv = (env: string): string | undefined => {
|
|
11
11
|
if (typeof (globalThis as any).process !== 'undefined') {
|
|
12
|
-
return (globalThis as any).process.env?.[env]?.trim()
|
|
12
|
+
return (globalThis as any).process.env?.[env]?.trim() || undefined;
|
|
13
13
|
}
|
|
14
14
|
if (typeof (globalThis as any).Deno !== 'undefined') {
|
|
15
|
-
return (globalThis as any).Deno.env?.get?.(env)?.trim();
|
|
15
|
+
return (globalThis as any).Deno.env?.get?.(env)?.trim() || undefined;
|
|
16
16
|
}
|
|
17
17
|
return undefined;
|
|
18
18
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.1.
|
|
1
|
+
export const VERSION = '3.1.5'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.1.
|
|
1
|
+
export declare const VERSION = "3.1.5";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.1.
|
|
1
|
+
export declare const VERSION = "3.1.5";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.1.
|
|
1
|
+
export const VERSION = '3.1.5'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|