@spaceinvoices/js-sdk 2.3.4 → 2.3.5
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/client-headers.cjs +2 -0
- package/dist/client-headers.cjs.map +1 -0
- package/dist/client-headers.js +2 -0
- package/dist/client-headers.js.map +1 -0
- package/dist/index.cjs +232 -2
- package/dist/index.cjs.map +1 -387
- package/dist/index.js +232 -2
- package/dist/index.js.map +1 -387
- package/dist/sdk/index.cjs +3 -0
- package/dist/sdk/index.cjs.map +1 -0
- package/dist/sdk/index.js +3 -0
- package/dist/sdk/index.js.map +1 -0
- package/package.json +17 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spaceinvoices/js-sdk",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"description": "Official JavaScript/TypeScript SDK for the Space Invoices API",
|
|
5
5
|
"author": "Space Invoices <support@spaceinvoices.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
-
"bun": "./
|
|
32
|
-
"react-native": "./
|
|
31
|
+
"bun": "./dist/index.js",
|
|
32
|
+
"react-native": "./dist/index.js",
|
|
33
33
|
"import": {
|
|
34
34
|
"types": "./dist/index.d.ts",
|
|
35
35
|
"default": "./dist/index.js"
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"./sdk": {
|
|
43
|
-
"bun": "./
|
|
44
|
-
"react-native": "./
|
|
43
|
+
"bun": "./dist/sdk/index.js",
|
|
44
|
+
"react-native": "./dist/sdk/index.js",
|
|
45
45
|
"import": {
|
|
46
46
|
"types": "./dist/sdk/index.d.ts",
|
|
47
47
|
"default": "./dist/sdk/index.js"
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"./client-headers": {
|
|
55
|
-
"bun": "./
|
|
56
|
-
"react-native": "./
|
|
55
|
+
"bun": "./dist/client-headers.js",
|
|
56
|
+
"react-native": "./dist/client-headers.js",
|
|
57
57
|
"import": {
|
|
58
58
|
"types": "./dist/client-headers.d.ts",
|
|
59
59
|
"default": "./dist/client-headers.js"
|
|
@@ -65,9 +65,10 @@
|
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"sideEffects": [
|
|
68
|
-
"./src/mutator/custom-fetch.ts",
|
|
69
68
|
"./dist/index.js",
|
|
70
|
-
"./dist/index.cjs"
|
|
69
|
+
"./dist/index.cjs",
|
|
70
|
+
"./dist/sdk/index.js",
|
|
71
|
+
"./dist/sdk/index.cjs"
|
|
71
72
|
],
|
|
72
73
|
"files": [
|
|
73
74
|
"dist"
|
|
@@ -77,28 +78,25 @@
|
|
|
77
78
|
},
|
|
78
79
|
"scripts": {
|
|
79
80
|
"build": "bun run build.mjs",
|
|
81
|
+
"build:runtime": "tsup",
|
|
82
|
+
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir ./dist",
|
|
80
83
|
"prepublishOnly": "bun run build",
|
|
81
84
|
"generate": "bun run generate:orval && bun run generate:sdk && bun run generate:format && bun run generate:patch && bun run generate:format",
|
|
82
85
|
"generate:orval": "orval",
|
|
83
86
|
"generate:sdk": "bun run scripts/generate-sdk.ts",
|
|
84
87
|
"generate:format": "bunx biome check --write src/",
|
|
85
88
|
"generate:patch": "bun run scripts/patch-sdk.ts",
|
|
86
|
-
"test": "bun test"
|
|
89
|
+
"test": "bun test",
|
|
90
|
+
"test:dist": "bun run build && bun run scripts/test-dist.ts"
|
|
87
91
|
},
|
|
88
92
|
"devDependencies": {
|
|
89
93
|
"@types/bun": "latest",
|
|
90
94
|
"orval": "^8.2.0",
|
|
95
|
+
"tsup": "^8.3.5",
|
|
91
96
|
"typescript": "^5.7.3"
|
|
92
97
|
},
|
|
93
|
-
"peerDependencies": {
|
|
94
|
-
"zod": "^3.0.0 || ^4.0.0"
|
|
95
|
-
},
|
|
96
|
-
"peerDependenciesMeta": {
|
|
97
|
-
"zod": {
|
|
98
|
-
"optional": true
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
98
|
"dependencies": {
|
|
102
|
-
"@babel/runtime": "^7.25.0"
|
|
99
|
+
"@babel/runtime": "^7.25.0",
|
|
100
|
+
"zod": "^4.0.0"
|
|
103
101
|
}
|
|
104
102
|
}
|