@traffical/js-client 0.6.0 → 0.8.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.
@@ -0,0 +1,2 @@
1
+ export declare const SDK_VERSION = "0.8.0";
2
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ // Auto-generated from package.json — do not edit manually.
2
+ export const SDK_VERSION = "0.8.0";
3
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@traffical/js-client",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Traffical JavaScript SDK for browser environments",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -16,7 +16,8 @@
16
16
  "dist"
17
17
  ],
18
18
  "scripts": {
19
- "build": "bun run build:esm && bun run build:iife",
19
+ "build": "bun run generate-version && bun run build:esm && bun run build:iife",
20
+ "generate-version": "bun run ../../scripts/generate-version.ts",
20
21
  "build:esm": "tsc",
21
22
  "build:iife": "bun run esbuild.config.ts",
22
23
  "dev": "tsc --watch",