@coingecko/coingecko-typescript 3.1.0 → 3.1.6

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