@gala-chain/launchpad-sdk 3.12.7 → 3.12.8

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,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.12.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix SDK version detection by using build-time version injection instead of runtime file reading.
8
+ The SDK now generates a version constant during build, ensuring it works in all environments
9
+ (Node.js, browser, bundled). Additionally, added a `/version` slash command to the MCP server for
10
+ easy version checking.
11
+
12
+ ### Changes:
13
+ - **SDK**: Implement build-time version injection via `scripts/inject-version.ts`, matching the
14
+ MCP server pattern
15
+ - **SDK**: Update `packages/sdk/package.json` to run `build:version` before compilation
16
+ - **MCP Server**: Add new `utility` prompt category with `/version` command to fetch and display
17
+ SDK/MCP server versions
18
+
3
19
  ## 3.12.7
4
20
 
5
21
  ### Patch Changes
@@ -1,2 +1,6 @@
1
- export declare const SDK_VERSION: string;
1
+ /**
2
+ * SDK Version
3
+ * This is imported from the auto-generated version file which is created during build
4
+ */
5
+ export { SDK_VERSION } from './version.generated.js';
2
6
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/constants/version.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,WAAW,QAAyC,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/constants/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * AUTO-GENERATED VERSION FILE
3
+ * This file is generated by scripts/inject-version.ts during build
4
+ * DO NOT EDIT MANUALLY
5
+ */
6
+ export declare const SDK_VERSION = "3.12.8";
7
+ //# sourceMappingURL=version.generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.generated.d.ts","sourceRoot":"","sources":["../../src/constants/version.generated.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,WAAW,CAAC"}