@gala-chain/launchpad-sdk 3.6.6 → 3.7.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 CHANGED
@@ -4,6 +4,33 @@ All notable changes to the Gala Launchpad SDK will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [3.7.0] - 2025-10-02
8
+
9
+ ### Changed
10
+
11
+ **BREAKING CHANGE:** Peer dependencies are now required to be installed separately.
12
+
13
+ - **Bundle size optimization** - Reduced from 525 KB to ~40-50 KB gzipped (90% reduction)
14
+ - Externalized all major dependencies via Rollup configuration
15
+ - Added 7 peer dependencies: `ethers`, `@gala-chain/api`, `@gala-chain/connect`, `socket.io-client`, `axios`, `bignumber.js`, `zod`
16
+ - All peer dependencies are REQUIRED (including `socket.io-client` for transaction verification)
17
+ - Updated UMD globals mapping for externalized dependencies
18
+
19
+ ### Fixed
20
+
21
+ - **TypeScript exports order** - Types now appear first in exports for proper resolution
22
+ - **Package.json structure** - Added comprehensive `peerDependencies` field
23
+
24
+ ### Migration Guide
25
+
26
+ Users upgrading from 3.6.x need to install peer dependencies:
27
+
28
+ ```bash
29
+ npm install ethers@^6.15.0 @gala-chain/api@^2.4.3 @gala-chain/connect@^2.4.3 socket.io-client@^4.8.1 axios@^1.12.2 bignumber.js@^9.1.2 zod@^3.25.76
30
+ ```
31
+
32
+ This is a one-time setup that prevents dependency duplication and achieves the 50 KB bundle size target.
33
+
7
34
  ## [3.6.0] - 2025-10-02
8
35
 
9
36
  ### Changed
package/README.md CHANGED
@@ -67,16 +67,34 @@ console.log(pools.hasNext); // Computed convenience properties
67
67
 
68
68
  ## Installation
69
69
 
70
+ ### NPM
71
+
70
72
  ```bash
71
73
  npm install @gala-chain/launchpad-sdk
72
74
  ```
73
75
 
74
- Or with yarn:
76
+ ### Yarn
75
77
 
76
78
  ```bash
77
79
  yarn add @gala-chain/launchpad-sdk
78
80
  ```
79
81
 
82
+ ### Peer Dependencies
83
+
84
+ This SDK requires the following peer dependencies to be installed:
85
+
86
+ ```bash
87
+ npm install ethers@^6.15.0 @gala-chain/api@^2.4.3 @gala-chain/connect@^2.4.3 socket.io-client@^4.8.1 axios@^1.12.2 bignumber.js@^9.1.2 zod@^3.25.76
88
+ ```
89
+
90
+ **Or with yarn:**
91
+
92
+ ```bash
93
+ yarn add ethers@^6.15.0 @gala-chain/api@^2.4.3 @gala-chain/connect@^2.4.3 socket.io-client@^4.8.1 axios@^1.12.2 bignumber.js@^9.1.2 zod@^3.25.76
94
+ ```
95
+
96
+ **All peer dependencies are required** - this includes `socket.io-client` which is needed for transaction verification via WebSocket.
97
+
80
98
 
81
99
  ## AI Agent Integration
82
100