@calmlens/sdk 0.9.1 → 0.10.1
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/LICENSE +21 -0
- package/README.md +156 -60
- package/cjs/CalmLensTypes-DjYFaTyh.d.ts +8608 -0
- package/cjs/CalmLensWebhooks-DJnaLpRy.js +741 -0
- package/cjs/index.d.ts +276 -7525
- package/cjs/index.js +672 -1185
- package/cjs/testing.d.ts +83 -8
- package/cjs/testing.js +991 -596
- package/esm/CalmLensTypes-DjYFaTyh.d.ts +8608 -0
- package/esm/CalmLensWebhooks-DLUozliX.js +556 -0
- package/esm/index.d.ts +276 -7525
- package/esm/index.js +658 -1169
- package/esm/testing.d.ts +83 -8
- package/esm/testing.js +960 -592
- package/package.json +24 -18
- package/cjs/CalmLensTypes-CZqyni4p.d.ts +0 -3633
- package/cjs/CalmLensUtils-B6vwJijv.js +0 -657
- package/esm/CalmLensTypes-CZqyni4p.d.ts +0 -3633
- package/esm/CalmLensUtils-O1xk_Ts0.js +0 -492
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calmlens/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.1",
|
|
4
|
+
"description": "Official CalmLens SDK for JavaScript and TypeScript: content moderation, asset storage and CDN delivery.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://calmlens.com/docs/sdk/javascript",
|
|
4
7
|
"repository": {
|
|
5
8
|
"type": "git",
|
|
6
|
-
"url": "https://github.com/
|
|
9
|
+
"url": "git+https://github.com/CalmLens/CalmLens.git",
|
|
7
10
|
"directory": "packages/js-sdk"
|
|
8
11
|
},
|
|
9
12
|
"publishConfig": {
|
|
@@ -27,16 +30,16 @@
|
|
|
27
30
|
"verify:package": "node scripts/verify-package.mjs"
|
|
28
31
|
},
|
|
29
32
|
"keywords": [
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
33
|
+
"calmlens",
|
|
34
|
+
"content-moderation",
|
|
35
|
+
"moderation",
|
|
36
|
+
"image-moderation",
|
|
37
|
+
"text-moderation",
|
|
38
|
+
"trust-and-safety",
|
|
39
|
+
"webhooks",
|
|
40
|
+
"cdn",
|
|
41
|
+
"sdk",
|
|
42
|
+
"typescript"
|
|
40
43
|
],
|
|
41
44
|
"files": [
|
|
42
45
|
"LICENSE",
|
|
@@ -55,9 +58,6 @@
|
|
|
55
58
|
"typescript": "catalog:"
|
|
56
59
|
},
|
|
57
60
|
"dependencies": {
|
|
58
|
-
"api-def": "^0.17.1",
|
|
59
|
-
"json-schema-to-ts": "^3.1.1",
|
|
60
|
-
"sendable-error": "^0.11.4",
|
|
61
61
|
"zod": "^4.6.5"
|
|
62
62
|
},
|
|
63
63
|
"exports": {
|
|
@@ -69,7 +69,8 @@
|
|
|
69
69
|
"require": {
|
|
70
70
|
"types": "./cjs/index.d.ts",
|
|
71
71
|
"default": "./cjs/index.js"
|
|
72
|
-
}
|
|
72
|
+
},
|
|
73
|
+
"default": "./esm/index.js"
|
|
73
74
|
},
|
|
74
75
|
"./testing": {
|
|
75
76
|
"import": {
|
|
@@ -79,7 +80,12 @@
|
|
|
79
80
|
"require": {
|
|
80
81
|
"types": "./cjs/testing.d.ts",
|
|
81
82
|
"default": "./cjs/testing.js"
|
|
82
|
-
}
|
|
83
|
-
|
|
83
|
+
},
|
|
84
|
+
"default": "./esm/testing.js"
|
|
85
|
+
},
|
|
86
|
+
"./package.json": "./package.json"
|
|
87
|
+
},
|
|
88
|
+
"bugs": {
|
|
89
|
+
"url": "https://github.com/CalmLens/CalmLens/issues"
|
|
84
90
|
}
|
|
85
91
|
}
|