@gala-chain/launchpad-sdk 3.12.6 → 3.12.7

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 (2) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.12.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix: Include package.json in published npm package for version detection
8
+
9
+ Resolves SDK version showing as "unknown" in runtime environments. The SDK's version loader uses
10
+ `require('../../package.json')` to read the version at module load time, but package.json was not
11
+ included in the published files array, causing the require to fail silently and return "unknown".
12
+
13
+ This is essential for:
14
+ - MCP server version reporting
15
+ - Runtime version detection in applications
16
+ - Dependency analysis tools
17
+ - Following npm packaging best practices
18
+
19
+ Package.json is now included in the published package files list, ensuring the version loader can
20
+ successfully read and expose the SDK version.
21
+
3
22
  ## 3.12.6
4
23
 
5
24
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gala-chain/launchpad-sdk",
3
- "version": "3.12.6",
3
+ "version": "3.12.7",
4
4
  "description": "TypeScript SDK for Gala Launchpad Backend API - Production-ready DeFi token launchpad integration with wallet-based authentication, GalaChain trading, and comprehensive user operations. 100% tested (22/22 endpoints working).",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -12,6 +12,7 @@
12
12
  "!dist/**/*.test.*",
13
13
  "!dist/**/tests/**",
14
14
  "!dist/**/fixtures/**",
15
+ "package.json",
15
16
  "README.md",
16
17
  "API.md",
17
18
  "EXAMPLES.md",