@zyphe-sdk/core 0.1.10 → 0.1.12

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @zyphe-sdk/core@0.1.10 build /Users/mtumiati/dev/zyphe/zyphe-sdk/packages/core
3
+ > @zyphe-sdk/core@0.1.12 build /Users/mtumiati/dev/zyphe/zyphe-sdk/packages/core
4
4
  > tsup
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -9,9 +9,14 @@
9
9
  CLI Using tsup config: /Users/mtumiati/dev/zyphe/zyphe-sdk/packages/core/tsup.config.ts
10
10
  CLI Target: es2023
11
11
  ESM Build start
12
+ CJS Build start
12
13
  ESM dist/index.js 4.31 KB
13
14
  ESM dist/index.js.map 9.62 KB
14
- ESM ⚡️ Build success in 14ms
15
+ ESM ⚡️ Build success in 13ms
16
+ CJS dist/index.cjs 6.12 KB
17
+ CJS dist/index.cjs.map 9.89 KB
18
+ CJS ⚡️ Build success in 13ms
15
19
  DTS Build start
16
- DTS ⚡️ Build success in 1421ms
17
- DTS dist/index.d.ts 62.09 KB
20
+ DTS ⚡️ Build success in 619ms
21
+ DTS dist/index.d.ts 62.09 KB
22
+ DTS dist/index.d.cts 62.09 KB
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "@zyphe-sdk/core",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "Simplifies interaction with the Zyphe platform for creating and managing digital identities and digital onboarding flows with ease",
5
5
  "author": "Zyphe",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "sideEffects": false,
9
- "main": "dist/index.js",
9
+ "main": "dist/index.cjs",
10
10
  "module": "dist/index.js",
11
11
  "types": "dist/index.d.ts",
12
12
  "exports": {
13
13
  ".": {
14
- "import": "./dist/index.js"
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs"
15
17
  },
16
18
  "./openapi": {
17
19
  "types": "./dist/openapi.d.ts",
package/tsup.config.ts CHANGED
@@ -2,7 +2,7 @@ import { defineConfig } from "tsup";
2
2
 
3
3
  export default defineConfig({
4
4
  dts: true,
5
- format: ["esm"],
5
+ format: ["esm", "cjs"],
6
6
  sourcemap: true,
7
7
  outDir: "dist",
8
8
  entry: ["src/index.ts"],