@gala-chain/launchpad-sdk 3.11.8 → 3.12.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +6 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add CommonJS build support with proper exports configuration
8
+ - Export CommonJS bundle (`index.cjs.js`) via package.json exports field
9
+ - Maintain ESM as primary format with proper import/require resolution
10
+ - Add CommonJS bundle to size-limit checks
11
+ - Keep UMD bundle as "main" fallback for backward compatibility
12
+
13
+ Enables legacy CommonJS projects to import the SDK without requiring build tool transformations.
14
+
3
15
  ## 3.11.8
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gala-chain/launchpad-sdk",
3
- "version": "3.11.8",
3
+ "version": "3.12.0",
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",
@@ -23,7 +23,7 @@
23
23
  ".": {
24
24
  "types": "./dist/index.d.ts",
25
25
  "import": "./dist/index.esm.js",
26
- "require": "./dist/index.js"
26
+ "require": "./dist/index.cjs.js"
27
27
  }
28
28
  },
29
29
  "scripts": {
@@ -157,6 +157,10 @@
157
157
  {
158
158
  "path": "./dist/index.esm.js",
159
159
  "limit": "50 kB"
160
+ },
161
+ {
162
+ "path": "./dist/index.cjs.js",
163
+ "limit": "50 kB"
160
164
  }
161
165
  ]
162
166
  }