@simplr-ai/web-components 1.0.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.
- package/LICENSE +21 -0
- package/README.md +202 -0
- package/dist/index.cjs +573 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +211 -0
- package/dist/index.d.ts +211 -0
- package/dist/index.js +506 -0
- package/dist/index.js.map +1 -0
- package/dist/simplr-web-components.global.js +6 -0
- package/dist/simplr-web-components.global.js.map +1 -0
- package/package.json +62 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@simplr-ai/web-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Framework-agnostic Web Components for the Simplr platform. Standard Custom Elements + a small imperative controller that expose the full @simplr-ai/js browser core (device fingerprint, behavioral biometrics, fraud/order checks, feature flags, RUM, profiles, AI delegation) in ANY framework (Vue, Angular, Svelte, Astro, plain HTML) or none — one universal package.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Simplr",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "dist/index.cjs",
|
|
9
|
+
"module": "dist/index.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"unpkg": "dist/simplr-web-components.global.js",
|
|
12
|
+
"jsdelivr": "dist/simplr-web-components.global.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./global": "./dist/simplr-web-components.global.js"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"sideEffects": [
|
|
25
|
+
"./dist/simplr-web-components.global.js"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "tsup",
|
|
29
|
+
"dev": "tsup --watch",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"test:watch": "vitest",
|
|
32
|
+
"typecheck": "tsc --noEmit"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"web-components",
|
|
36
|
+
"custom-elements",
|
|
37
|
+
"framework-agnostic",
|
|
38
|
+
"vue",
|
|
39
|
+
"angular",
|
|
40
|
+
"svelte",
|
|
41
|
+
"astro",
|
|
42
|
+
"fraud-detection",
|
|
43
|
+
"device-fingerprinting",
|
|
44
|
+
"behavioral-biometrics",
|
|
45
|
+
"feature-flags",
|
|
46
|
+
"rum",
|
|
47
|
+
"ai-delegation",
|
|
48
|
+
"simplr"
|
|
49
|
+
],
|
|
50
|
+
"homepage": "https://docs.simplr.so/docs/sdks/",
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@simplr-ai/js": "1.1.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@simplr-ai/js": "1.1.0",
|
|
56
|
+
"@testing-library/dom": "^10.0.0",
|
|
57
|
+
"jsdom": "^24.0.0",
|
|
58
|
+
"tsup": "^8.0.1",
|
|
59
|
+
"typescript": "^5.3.3",
|
|
60
|
+
"vitest": "^1.6.0"
|
|
61
|
+
}
|
|
62
|
+
}
|