@depsmith/depsmith-sdk 0.9.3 → 0.9.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/CHANGELOG.md +16 -0
- package/README.md +49 -2
- package/dist/depsmith-sdk.global.js +1 -1
- package/dist/depsmith-sdk.global.js.map +1 -1
- package/dist/depsmith-sdk.pixel.global.js +1 -1
- package/dist/depsmith-sdk.replay.global.js +3 -0
- package/dist/depsmith-sdk.replay.global.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/replay.cjs +3 -0
- package/dist/replay.cjs.map +1 -0
- package/dist/replay.d.cts +56 -0
- package/dist/replay.d.ts +56 -0
- package/dist/replay.js +3 -0
- package/dist/replay.js.map +1 -0
- package/package.json +29 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depsmith/depsmith-sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "DepSmith SDK \u2014 web event tracking SDK for Agentic Product Analytics",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://depsmith.com",
|
|
@@ -14,9 +14,22 @@
|
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"import": "./dist/index.js",
|
|
16
16
|
"require": "./dist/index.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./replay": {
|
|
19
|
+
"types": "./dist/replay.d.ts",
|
|
20
|
+
"import": "./dist/replay.js",
|
|
21
|
+
"require": "./dist/replay.cjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"typesVersions": {
|
|
25
|
+
"*": {
|
|
26
|
+
"replay": [
|
|
27
|
+
"./dist/replay.d.ts"
|
|
28
|
+
]
|
|
17
29
|
}
|
|
18
30
|
},
|
|
19
31
|
"files": [
|
|
32
|
+
"CHANGELOG.md",
|
|
20
33
|
"dist"
|
|
21
34
|
],
|
|
22
35
|
"scripts": {
|
|
@@ -27,17 +40,22 @@
|
|
|
27
40
|
"size": "size-limit",
|
|
28
41
|
"smoke": "node _smoke.mjs",
|
|
29
42
|
"smoke:pixel": "node _smoke-pixel.mjs",
|
|
30
|
-
"cdn": "npm run build && cp dist/depsmith-sdk.global.js cdn/sdk.js",
|
|
43
|
+
"cdn": "npm run build && cp dist/depsmith-sdk.global.js cdn/sdk.js && cp dist/depsmith-sdk.replay.global.js cdn/sdk.replay.js",
|
|
31
44
|
"cdn:deploy": "npm run cdn && npx wrangler pages deploy cdn --project-name depsmith-cdn --branch=master --commit-dirty=true"
|
|
32
45
|
},
|
|
33
46
|
"size-limit": [
|
|
34
47
|
{
|
|
35
|
-
"name": "core (incl. \u00a714 user-property operators)",
|
|
48
|
+
"name": "core (incl. \u00a714 user-property operators, replay registry)",
|
|
36
49
|
"path": "dist/index.js",
|
|
37
50
|
"ignore": [
|
|
38
51
|
"./autocapture.js"
|
|
39
52
|
],
|
|
40
|
-
"limit": "
|
|
53
|
+
"limit": "16.2 KB"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "session replay (opt-in entry, @depsmith/depsmith-sdk/replay)",
|
|
57
|
+
"path": "dist/replay.js",
|
|
58
|
+
"limit": "20.5 KB"
|
|
41
59
|
},
|
|
42
60
|
{
|
|
43
61
|
"name": "autocapture (lazy chunk)",
|
|
@@ -47,12 +65,17 @@
|
|
|
47
65
|
{
|
|
48
66
|
"name": "browser IIFE (core + autocapture inlined)",
|
|
49
67
|
"path": "dist/depsmith-sdk.global.js",
|
|
50
|
-
"limit": "19.
|
|
68
|
+
"limit": "19.85 KB"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "session replay IIFE (sdk.replay.js)",
|
|
72
|
+
"path": "dist/depsmith-sdk.replay.global.js",
|
|
73
|
+
"limit": "20.5 KB"
|
|
51
74
|
},
|
|
52
75
|
{
|
|
53
76
|
"name": "shopify custom pixel",
|
|
54
77
|
"path": "dist/depsmith-sdk.pixel.global.js",
|
|
55
|
-
"limit": "
|
|
78
|
+
"limit": "14 KB"
|
|
56
79
|
}
|
|
57
80
|
],
|
|
58
81
|
"devDependencies": {
|