@stvor/sdk 2.0.1 → 2.0.3

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/dist/example.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * IMPORTANT: This is a DX facade. The actual security guarantees
7
7
  * depend on the STVOR core implementation.
8
8
  */
9
- import { Stvor, StvorError } from './index';
9
+ import { Stvor, StvorError } from './index.js';
10
10
  /**
11
11
  * Basic messaging example with proper error handling
12
12
  */
package/dist/index.js CHANGED
@@ -2,6 +2,6 @@
2
2
  * STVOR SDK - Main exports
3
3
  */
4
4
  // Legacy core API (for migration)
5
- export * from './legacy';
5
+ export * from './legacy.js';
6
6
  // New DX Facade API
7
- export * from './facade';
7
+ export * from './facade.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stvor/sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "STVOR DX Facade - Simple E2EE SDK for client-side encryption",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,6 +25,6 @@
25
25
  },
26
26
  "homepage": "https://stvor.xyz",
27
27
  "scripts": {
28
- "build": "tsc"
28
+ "build": "tsc && node ./postbuild-fix-extensions.cjs"
29
29
  }
30
30
  }