@gala-chain/launchpad-sdk 3.11.7 → 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.
- package/CHANGELOG.md +26 -3
- package/README.md +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
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
|
+
|
|
15
|
+
## 3.11.8
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Fix: Update STAGE environment launchpadFrontendUrl from lpad-frontend-dev1 to lpad-frontend-test1
|
|
20
|
+
to correct MCP tool URL generation for token frontend links
|
|
21
|
+
|
|
3
22
|
## 3.11.7
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -12,7 +31,10 @@
|
|
|
12
31
|
|
|
13
32
|
### Patch Changes
|
|
14
33
|
|
|
15
|
-
- Fix TypeScript declaration file output structure. The tsconfig.json `rootDir` was incorrectly set
|
|
34
|
+
- Fix TypeScript declaration file output structure. The tsconfig.json `rootDir` was incorrectly set
|
|
35
|
+
to "." instead of "src", causing declaration files to output to `dist/src/index.d.ts` instead of
|
|
36
|
+
`dist/index.d.ts`. Restored original working configuration with `rootDir: "src"` and added test
|
|
37
|
+
file exclusion patterns.
|
|
16
38
|
|
|
17
39
|
**Key improvements:**
|
|
18
40
|
- Restored correct TypeScript compilation structure
|
|
@@ -20,7 +42,8 @@
|
|
|
20
42
|
- Declaration files now output to correct location (`dist/index.d.ts`)
|
|
21
43
|
- MCP server builds successfully with proper SDK type imports
|
|
22
44
|
|
|
23
|
-
**Breaking change:** None - This fixes a configuration regression that was preventing proper type
|
|
45
|
+
**Breaking change:** None - This fixes a configuration regression that was preventing proper type
|
|
46
|
+
resolution
|
|
24
47
|
|
|
25
48
|
## 3.11.5
|
|
26
49
|
|
|
@@ -513,7 +536,7 @@ await sdk.uploadProfileImage({ file, address });
|
|
|
513
536
|
|
|
514
537
|
- Added `launchpadFrontendUrl` to EnvironmentConfig
|
|
515
538
|
- PROD: `https://lpad-frontend-prod1.defi.gala.com`
|
|
516
|
-
- STAGE: `https://lpad-frontend-
|
|
539
|
+
- STAGE: `https://lpad-frontend-test1.defi.gala.com`
|
|
517
540
|
- Supports custom URL override in LaunchpadSDKConfig
|
|
518
541
|
|
|
519
542
|
### Documentation
|
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ console.log(`Profile name: ${profile.fullName || 'Not set'}`);
|
|
|
214
214
|
// URL Utilities - Generate frontend URLs
|
|
215
215
|
const tokenUrl = sdk.getUrlByTokenName('dragnrkti');
|
|
216
216
|
console.log(`View token: ${tokenUrl}`);
|
|
217
|
-
// Output: https://lpad-frontend-
|
|
217
|
+
// Output: https://lpad-frontend-test1.defi.gala.com/buy-sell/dragnrkti
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
## Auto-Pagination Feature
|