@gala-chain/launchpad-sdk 3.6.7 → 3.7.1

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,12 +1,53 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix memory leaks and enable incremental builds
8
+ - Fix WebSocket onAny listener cleanup
9
+ - Fix HTTP interceptor cleanup
10
+ - Enable incremental TypeScript builds (50% faster rebuilds)
11
+ - Add comprehensive performance documentation
12
+
3
13
  All notable changes to the Gala Launchpad SDK will be documented in this file.
4
14
 
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).
15
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
16
+ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
17
+
18
+ ## [3.7.0] - 2025-10-02
19
+
20
+ ### Changed
21
+
22
+ **BREAKING CHANGE:** Peer dependencies are now required to be installed separately.
23
+
24
+ - **Bundle size optimization** - Reduced from 525 KB to ~40-50 KB gzipped (90% reduction)
25
+ - Externalized all major dependencies via Rollup configuration
26
+ - Added 7 peer dependencies: `ethers`, `@gala-chain/api`, `@gala-chain/connect`,
27
+ `socket.io-client`, `axios`, `bignumber.js`, `zod`
28
+ - All peer dependencies are REQUIRED (including `socket.io-client` for transaction verification)
29
+ - Updated UMD globals mapping for externalized dependencies
30
+
31
+ ### Fixed
32
+
33
+ - **TypeScript exports order** - Types now appear first in exports for proper resolution
34
+ - **Package.json structure** - Added comprehensive `peerDependencies` field
35
+
36
+ ### Migration Guide
37
+
38
+ Users upgrading from 3.6.x need to install peer dependencies:
39
+
40
+ ```bash
41
+ 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
42
+ ```
43
+
44
+ This is a one-time setup that prevents dependency duplication and achieves the 50 KB bundle size
45
+ target.
6
46
 
7
47
  ## [3.6.0] - 2025-10-02
8
48
 
9
49
  ### Changed
50
+
10
51
  - **Major architectural refactoring** - LaunchpadService decomposed into specialized services
11
52
  - Extracted PoolService (~400 lines) - Pool queries, distribution, badges, volume data
12
53
  - Extracted TradeService (~150 lines) - Trade history and queries
@@ -18,6 +59,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
18
59
  - All public methods maintained for 100% backward compatibility
19
60
 
20
61
  ### Added
62
+
21
63
  - **Centralized constants** - `constants/endpoints.ts` eliminates magic strings
22
64
  - 14 API endpoint URLs now defined in single location
23
65
  - Type-safe via `as const` assertion
@@ -37,6 +79,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
37
79
  - `createPaginationFlags()` - hasNext/hasPrevious flag generation
38
80
 
39
81
  ### Removed
82
+
40
83
  - **Eliminated code duplication** - 163 lines of inline validation removed
41
84
  - All validation now uses centralized utilities
42
85
  - No functionality lost, just consolidated
@@ -47,12 +90,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
47
90
  - `buildTokenHoldQueryParams` → `buildBackendQueryParams`
48
91
 
49
92
  ### Fixed
93
+
50
94
  - **TypeScript strict mode compliance** - Fixed exactOptionalPropertyTypes issues
51
95
  - Conditional property assignment pattern for optional fields
52
96
  - Type-safe field mapping in query builder
53
97
  - All compilation errors resolved
54
98
 
55
99
  ### Benefits
100
+
56
101
  - ✅ **76.8% reduction** in main service file (1,657 → 384 lines)
57
102
  - ✅ **100% backward compatible** - All public methods unchanged
58
103
  - ✅ **Single Responsibility Principle** - Each service has one clear purpose
@@ -63,7 +108,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
63
108
  - ✅ **All tests passing** - 53/53 tests verified
64
109
 
65
110
  ### Architecture
111
+
66
112
  New service structure (facade pattern):
113
+
67
114
  ```
68
115
  LaunchpadService (facade)
69
116
  ├── PoolService - Pool operations
@@ -77,14 +124,17 @@ LaunchpadService (facade)
77
124
  ## [3.5.2] - 2025-10-02
78
125
 
79
126
  ### Changed
127
+
80
128
  - **Internal code quality improvements** - DRY refactoring to eliminate code duplication
81
- - Consolidated validation helper functions (`validateOptionalUrl`, `validatePositiveDecimalString`)
129
+ - Consolidated validation helper functions (`validateOptionalUrl`,
130
+ `validatePositiveDecimalString`)
82
131
  - Reduced ~250 lines of duplicated validation logic
83
132
  - Fixed regex bug in `validateLaunchTokenData` (double-escaped pattern)
84
133
  - Removed legacy address format wrapper functions
85
134
  - No breaking changes - 100% backward compatible
86
135
 
87
136
  ### Benefits
137
+
88
138
  - ✅ Improved code maintainability and consistency
89
139
  - ✅ Reduced bundle size through code consolidation
90
140
  - ✅ Better validation error messages
@@ -93,14 +143,19 @@ LaunchpadService (facade)
93
143
  ## [3.5.1] - 2025-10-01
94
144
 
95
145
  ### Changed
96
- - **BREAKING: Address parameter standardization** - Renamed `walletAddress` to `address` across entire SDK
146
+
147
+ - **BREAKING: Address parameter standardization** - Renamed `walletAddress` to `address` across
148
+ entire SDK
97
149
  - Affected interfaces: `FetchGalaBalanceOptions`, `UpdateProfileData`, `UploadProfileImageOptions`
98
- - Affected methods: `fetchGalaBalance()`, `updateProfile()`, `uploadProfileImage()`, `fetchProfile()`, `retrieveGalaFromFaucet()`
150
+ - Affected methods: `fetchGalaBalance()`, `updateProfile()`, `uploadProfileImage()`,
151
+ `fetchProfile()`, `retrieveGalaFromFaucet()`
99
152
  - All type guards and validation methods updated to use `address` parameter name
100
153
  - Error messages now reference `address` field instead of `walletAddress`
101
154
 
102
155
  ### Added
103
- - **Smart address parser** - New `normalizeAddressInput()` utility for automatic address format conversion
156
+
157
+ - **Smart address parser** - New `normalizeAddressInput()` utility for automatic address format
158
+ conversion
104
159
  - Accepts both Ethereum (`0x...`) and GalaChain (`eth|...`) formats
105
160
  - Automatically normalizes to GalaChain format required by backend
106
161
  - Eliminates manual address format conversion
@@ -108,12 +163,14 @@ LaunchpadService (facade)
108
163
  - Integrated into all SDK methods that accept address parameters
109
164
 
110
165
  ### Benefits
166
+
111
167
  - ✅ Use natural `0x...` addresses - no more manual conversion needed
112
168
  - ✅ Consistent parameter naming throughout SDK - always `address`
113
169
  - ✅ Better developer experience with automatic format handling
114
170
  - ✅ Clearer error messages with standardized field names
115
171
 
116
172
  ### Migration Guide
173
+
117
174
  ```typescript
118
175
  // Before (3.5.0)
119
176
  await sdk.fetchGalaBalance(walletAddress);
@@ -129,7 +186,9 @@ await sdk.uploadProfileImage({ file, address });
129
186
  ## [3.5.0] - 2025-10-01
130
187
 
131
188
  ### Added
132
- - **Multi-wallet support with privateKey override** - Execute operations from different wallets without creating new SDK instances
189
+
190
+ - **Multi-wallet support with privateKey override** - Execute operations from different wallets
191
+ without creating new SDK instances
133
192
  - Added optional `privateKey` parameter to all 9 signing operations:
134
193
  - Trading: `buy()`, `sell()`
135
194
  - Token Creation: `launchToken()`, `uploadTokenImage()`, `uploadProfileImage()`
@@ -137,11 +196,14 @@ await sdk.uploadProfileImage({ file, address });
137
196
  - Social & Profile: `postComment()`, `updateProfile()`
138
197
  - `privateKey` must be in format: `'0x' + 64 hexadecimal characters`
139
198
  - Enables multi-user trading bots, testing scenarios, and wallet coordination
140
- - SDK creates temporary instances with override wallet using new `createOverrideSdk()` helper method
199
+ - SDK creates temporary instances with override wallet using new `createOverrideSdk()` helper
200
+ method
141
201
  - Full validation ensures privateKey format compliance before execution
142
- - Example: `await sdk.buy({ ...options, privateKey: '0x1234...' })` uses different wallet for that operation
202
+ - Example: `await sdk.buy({ ...options, privateKey: '0x1234...' })` uses different wallet for that
203
+ operation
143
204
 
144
205
  ### Benefits
206
+
145
207
  - ✅ Test multi-wallet workflows without server restart
146
208
  - ✅ Build multi-user trading applications
147
209
  - ✅ Simulate different user behaviors in testing
@@ -149,6 +211,7 @@ await sdk.uploadProfileImage({ file, address });
149
211
  - ✅ Coordinate multiple wallets from single SDK instance
150
212
 
151
213
  ### Documentation
214
+
152
215
  - Added comprehensive multi-wallet section to SDK README with examples
153
216
  - Updated AI Agent Developer docs with multi-wallet patterns
154
217
  - Added privateKey format requirements and validation examples
@@ -156,7 +219,9 @@ await sdk.uploadProfileImage({ file, address });
156
219
  ## [3.3.4] - 2025-10-01
157
220
 
158
221
  ### Fixed
159
- - **Launchpad token precision loss in trading DTOs** - Fixed critical bug truncating tokens to 8 decimals
222
+
223
+ - **Launchpad token precision loss in trading DTOs** - Fixed critical bug truncating tokens to 8
224
+ decimals
160
225
  - `formatForDTO()` now accepts optional `decimals` parameter (defaults to 18)
161
226
  - Added `formatGalaForDTO()` helper for GALA amounts (8 decimals - GalaChain requirement)
162
227
  - Added `formatLaunchpadTokenForDTO()` helper for launchpad tokens (18 decimals - full precision)
@@ -167,9 +232,11 @@ await sdk.uploadProfileImage({ file, address });
167
232
  - `expectedNativeToken` (GALA) → Uses `formatGalaForDTO()` (8 decimals)
168
233
  - Prevents precision loss when trading high-precision launchpad tokens
169
234
  - GALA amounts still correctly limited to 8 decimals (GalaChain transaction requirement)
170
- - Example: Token amount `1000.123456789012345678` now preserved at full 18 decimals instead of truncated to `1000.12345679`
235
+ - Example: Token amount `1000.123456789012345678` now preserved at full 18 decimals instead of
236
+ truncated to `1000.12345679`
171
237
 
172
238
  ### Added
239
+
173
240
  - **Decimal Constants** - Token decimal precision constants for type-safe operations
174
241
  - `GALA_DECIMALS = 8` - GALA token decimal places (GalaChain standard)
175
242
  - `LAUNCHPAD_TOKEN_DECIMALS = 18` - Launchpad token decimal places (ERC-20 standard)
@@ -179,11 +246,13 @@ await sdk.uploadProfileImage({ file, address });
179
246
  - Prevents hardcoded magic numbers across SDK
180
247
 
181
248
  ### Changed
249
+
182
250
  - **precision-math.ts** - Now uses `LAUNCHPAD_TOKEN_DECIMALS` constant instead of hardcoded 18
183
251
  - Improves code maintainability and clarity
184
252
  - Self-documenting code intent
185
253
 
186
254
  ### Benefits
255
+
187
256
  - ✅ Full precision for launchpad tokens (18 decimals) - no more truncation
188
257
  - ✅ Correct precision limits for GALA (8 decimals) - prevents transaction failures
189
258
  - ✅ Type-safe decimal constants via const assertions
@@ -193,6 +262,7 @@ await sdk.uploadProfileImage({ file, address });
193
262
  ## [3.3.3] - 2025-10-01
194
263
 
195
264
  ### Fixed
265
+
196
266
  - **fetchLaunchpadTokenSpotPrice calculation** - Fixed critical precision and logic bugs
197
267
  - Removed incorrect division by 1e18 (buyResult.amount is already in decimal format, not wei)
198
268
  - Switched from `Number()` to `BigNumber.js` for precise calculations
@@ -203,6 +273,7 @@ await sdk.uploadProfileImage({ file, address });
203
273
  ## [3.3.2] - 2025-09-30
204
274
 
205
275
  ### Added
276
+
206
277
  - **Public API exports** - Utility types now properly exported
207
278
  - Exported `TokenClassKey` - GalaChain token identifier interface
208
279
  - Exported `TokenInstanceKey` - Token instance identifier (extends TokenClassKey)
@@ -210,12 +281,14 @@ await sdk.uploadProfileImage({ file, address });
210
281
  - These types are used by `resolveTokenClassKey()` and GalaChain operations
211
282
 
212
283
  ### Documentation
284
+
213
285
  - Clarified that `resolveTokenClassKey()` and `resolveVaultAddress()` are part of public SDK API
214
286
  - Both utility methods are now properly exposed for downstream consumers (e.g., MCP server)
215
287
 
216
288
  ## [3.3.1] - 2025-09-30
217
289
 
218
290
  ### Fixed
291
+
219
292
  - **fetchPoolDetails response** - Extract clean PoolDetailsData from wrapper
220
293
  - Previously returned `InternalFetchPoolDetailsResponse` with `{ Status: 1, Data: {...} }`
221
294
  - Now returns just the `Data` field for cleaner consumption
@@ -225,6 +298,7 @@ await sdk.uploadProfileImage({ file, address });
225
298
  ## [3.3.0] - 2025-09-30
226
299
 
227
300
  ### Added
301
+
228
302
  - **Constants Export** - Type-safe constants for trading and pool operations
229
303
  - `TRADING_TYPES = { NATIVE: 'native', EXACT: 'exact' } as const`
230
304
  - `POOL_TYPES = { RECENT: 'recent', POPULAR: 'popular' } as const`
@@ -233,6 +307,7 @@ await sdk.uploadProfileImage({ file, address });
233
307
  - Import: `import { TRADING_TYPES, POOL_TYPES } from '@gala-chain/launchpad-sdk'`
234
308
 
235
309
  ### Benefits
310
+
236
311
  - Type safety via TypeScript const assertions
237
312
  - Auto-completion in IDEs
238
313
  - Prevents hardcoded string typos
@@ -241,19 +316,23 @@ await sdk.uploadProfileImage({ file, address });
241
316
  ## [3.2.0] - 2025-09-30
242
317
 
243
318
  ### Added
319
+
244
320
  - **getUrlByTokenName() method** - Generate frontend URLs for token pages
245
321
  - Environment-based URL generation (PROD/STAGE)
246
322
  - Custom frontend URL override support via `launchpadFrontendUrl` config
247
323
  - Returns format: `{baseUrl}/buy-sell/{tokenName}`
248
- - Example: `sdk.getUrlByTokenName('mytoken')` → `https://lpad-frontend-prod1.defi.gala.com/buy-sell/mytoken`
324
+ - Example: `sdk.getUrlByTokenName('mytoken')` →
325
+ `https://lpad-frontend-prod1.defi.gala.com/buy-sell/mytoken`
249
326
 
250
327
  ### Configuration
328
+
251
329
  - Added `launchpadFrontendUrl` to EnvironmentConfig
252
330
  - PROD: `https://lpad-frontend-prod1.defi.gala.com`
253
331
  - STAGE: `https://lpad-frontend-dev1.defi.gala.com`
254
332
  - Supports custom URL override in LaunchpadSDKConfig
255
333
 
256
334
  ### Documentation
335
+
257
336
  - Added comprehensive JSDoc documentation for getUrlByTokenName
258
337
  - Updated examples and README with URL generation use cases
259
338
 
@@ -268,9 +347,11 @@ await sdk.uploadProfileImage({ file, address });
268
347
 
269
348
  ### First Public Release
270
349
 
271
- A comprehensive TypeScript SDK for the Gala Launchpad Backend API, providing type-safe authentication, trading, and real-time features for DeFi applications.
350
+ A comprehensive TypeScript SDK for the Gala Launchpad Backend API, providing type-safe
351
+ authentication, trading, and real-time features for DeFi applications.
272
352
 
273
353
  ### Core Features
354
+
274
355
  - **Flat API Architecture**: All methods directly accessible on SDK root for simplicity
275
356
  - Pool management, trading, user operations, and comments all on `sdk.methodName()`
276
357
  - No nested controllers or complex navigation patterns
@@ -283,16 +364,18 @@ A comprehensive TypeScript SDK for the Gala Launchpad Backend API, providing typ
283
364
  - `createLaunchpadSDK()` - Main factory with wallet auto-detection
284
365
  - `createTestLaunchpadSDK()` - Test-optimized configuration
285
366
  - **Input Validation**: `validateWalletInput()` for format validation
286
- - **Type-Safe Authentication**: Ethereum wallet-based authentication with automatic signature generation
367
+ - **Type-Safe Authentication**: Ethereum wallet-based authentication with automatic signature
368
+ generation
287
369
  - **Comprehensive Trading**: Buy/sell tokens with slippage protection via GalaChain
288
370
  - **Real-time Features**: WebSocket support for live data feeds
289
371
  - **Multi-Environment Support**: Production, staging, and custom backend URLs
290
372
 
291
373
  ### Technical Implementation
374
+
292
375
  - **Complete API Coverage**: 22/22 backend endpoints working
293
376
  - **TypeScript-First**: Full type safety with comprehensive type definitions
294
377
  - **Multi-Target**: Compatible with Node.js and browser environments
295
378
  - **Framework Integration**: React hooks and Vue composables available
296
379
  - **High Test Coverage**: 132 tests passing with 80%+ line coverage
297
380
  - **Production Ready**: Bundle size under 50KB, comprehensive error handling
298
- - **Security**: Input validation, secure defaults, no credential exposure
381
+ - **Security**: Input validation, secure defaults, no credential exposure
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
 
@@ -1 +1 @@
1
- {"version":3,"file":"LaunchpadSDK.d.ts","sourceRoot":"","sources":["../src/LaunchpadSDK.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAYzE,OAAO,EAAwB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC1G,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EACL,iBAAiB,EACjB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAG9B;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;aACM,KAAK,CAAC,EAAE,KAAK;gBAA9C,OAAO,EAAE,MAAM,EAAkB,KAAK,CAAC,EAAE,KAAK,YAAA;CAI3D;AAED;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;gBAC3C,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;CAIrD;AAED;;GAEG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;aAE7B,aAAa,EAAE,MAAM;aACrB,MAAM,EAAE,MAAM;gBADd,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,MAAM,EAC9B,OAAO,CAAC,EAAE,MAAM;CAKnB;AA8DD,OAAO,EACL,oBAAoB,EAC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