@jitsu/js 1.9.18-canary.1269.20250403142744 → 1.9.18-canary.1288.20250415192732

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.
Files changed (51) hide show
  1. package/.turbo/turbo-build.log +67 -0
  2. package/.turbo/turbo-clean.log +5 -0
  3. package/.turbo/turbo-test.log +2884 -0
  4. package/__tests__/node/method-queue.test.ts +66 -0
  5. package/__tests__/node/nodejs.test.ts +306 -0
  6. package/__tests__/playwright/cases/anonymous-id-bug.html +26 -0
  7. package/__tests__/playwright/cases/basic.html +32 -0
  8. package/__tests__/playwright/cases/callbacks.html +21 -0
  9. package/__tests__/playwright/cases/cookie-names.html +22 -0
  10. package/__tests__/playwright/cases/disable-user-ids.html +23 -0
  11. package/__tests__/playwright/cases/dont-send.html +22 -0
  12. package/__tests__/playwright/cases/ip-policy.html +22 -0
  13. package/__tests__/playwright/cases/reset.html +32 -0
  14. package/__tests__/playwright/cases/segment-reference.html +64 -0
  15. package/__tests__/playwright/cases/url-bug.html +20 -0
  16. package/__tests__/playwright/integration.test.ts +640 -0
  17. package/__tests__/simple-syrup.ts +136 -0
  18. package/dist/jitsu.cjs.js +4 -8
  19. package/dist/jitsu.es.js +4 -8
  20. package/dist/web/p.js.txt +4 -8
  21. package/jest.config.js +13 -0
  22. package/package/README.md +9 -0
  23. package/package/dist/analytics-plugin.d.ts +28 -0
  24. package/package/dist/browser.d.ts +10 -0
  25. package/package/dist/index.d.ts +28 -0
  26. package/package/dist/jitsu.cjs.js +2100 -0
  27. package/package/dist/jitsu.d.ts +78 -0
  28. package/package/dist/jitsu.es.js +2090 -0
  29. package/package/dist/method-queue.d.ts +19 -0
  30. package/package/dist/script-loader.d.ts +8 -0
  31. package/package/dist/tlds.d.ts +3 -0
  32. package/package/dist/version.d.ts +3 -0
  33. package/package/dist/web/p.js.txt +2219 -0
  34. package/package/package.json +56 -0
  35. package/package.json +3 -7
  36. package/playwrite.config.ts +91 -0
  37. package/rollup.config.js +32 -0
  38. package/src/analytics-plugin.ts +989 -0
  39. package/src/browser.ts +163 -0
  40. package/src/destination-plugins/ga4.ts +138 -0
  41. package/src/destination-plugins/gtm.ts +142 -0
  42. package/src/destination-plugins/index.ts +61 -0
  43. package/src/destination-plugins/logrocket.ts +85 -0
  44. package/src/destination-plugins/tag.ts +85 -0
  45. package/src/index.ts +255 -0
  46. package/src/method-queue.ts +70 -0
  47. package/src/script-loader.ts +76 -0
  48. package/src/tlds.ts +27 -0
  49. package/src/version.ts +6 -0
  50. package/tsconfig.json +23 -0
  51. package/tsconfig.test.json +15 -0
@@ -0,0 +1,67 @@
1
+ @jitsu/js:build: cache hit, replaying output 3d0b0ba902067472
2
+ @jitsu/js:build: 
3
+ @jitsu/js:build: > @jitsu/js@0.0.0 build /Users/vklmn/dev2/newjitsu/libs/jitsu-js
4
+ @jitsu/js:build: > tsc -p . && rollup -c && cp compiled/src/*.d.ts dist
5
+ @jitsu/js:build: 
6
+ @jitsu/js:build: 
7
+ @jitsu/js:build: ./compiled/src/browser.js → dist/web/p.js.txt...
8
+ @jitsu/js:build: (!) "this" has been rewritten to "undefined"
9
+ @jitsu/js:build: https://rollupjs.org/troubleshooting/#error-this-is-undefined
10
+ @jitsu/js:build: compiled/src/index.js
11
+ @jitsu/js:build: 1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
+ @jitsu/js:build:  ^
13
+ @jitsu/js:build: 2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ @jitsu/js:build: 3: return new (P || (P = Promise))(function (resolve, reject) {
15
+ @jitsu/js:build: ...and 1 other occurrence
16
+ @jitsu/js:build: compiled/src/analytics-plugin.js
17
+ @jitsu/js:build: 1: /* global analytics */
18
+ @jitsu/js:build: 2: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
19
+ @jitsu/js:build:  ^
20
+ @jitsu/js:build: 3: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
21
+ @jitsu/js:build: 4: return new (P || (P = Promise))(function (resolve, reject) {
22
+ @jitsu/js:build: ...and 1 other occurrence
23
+ @jitsu/js:build: compiled/src/destination-plugins/logrocket.js
24
+ @jitsu/js:build: 1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
25
+ @jitsu/js:build:  ^
26
+ @jitsu/js:build: 2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
+ @jitsu/js:build: 3: return new (P || (P = Promise))(function (resolve, reject) {
28
+ @jitsu/js:build: ...and 1 other occurrence
29
+ @jitsu/js:build: 
30
+ @jitsu/js:build: ...and 3 other files
31
+ @jitsu/js:build: (!) Circular dependencies
32
+ @jitsu/js:build: compiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
33
+ @jitsu/js:build: compiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/destination-plugins/index.js
34
+ @jitsu/js:build: compiled/src/analytics-plugin.js -> compiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/analytics-plugin.js
35
+ @jitsu/js:build: ...and 3 more
36
+ @jitsu/js:build: created dist/web/p.js.txt in 177ms
37
+ @jitsu/js:build: 
38
+ @jitsu/js:build: ./compiled/src/index.js, ./compiled/src/jitsu.js, ./compiled/src/analytics-plugin.js → dist/jitsu.es.js, dist/jitsu.cjs.js...
39
+ @jitsu/js:build: (!) "this" has been rewritten to "undefined"
40
+ @jitsu/js:build: https://rollupjs.org/troubleshooting/#error-this-is-undefined
41
+ @jitsu/js:build: compiled/src/index.js
42
+ @jitsu/js:build: 1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
43
+ @jitsu/js:build:  ^
44
+ @jitsu/js:build: 2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
45
+ @jitsu/js:build: 3: return new (P || (P = Promise))(function (resolve, reject) {
46
+ @jitsu/js:build: ...and 1 other occurrence
47
+ @jitsu/js:build: compiled/src/analytics-plugin.js
48
+ @jitsu/js:build: 1: /* global analytics */
49
+ @jitsu/js:build: 2: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
50
+ @jitsu/js:build:  ^
51
+ @jitsu/js:build: 3: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
52
+ @jitsu/js:build: 4: return new (P || (P = Promise))(function (resolve, reject) {
53
+ @jitsu/js:build: ...and 1 other occurrence
54
+ @jitsu/js:build: compiled/src/destination-plugins/logrocket.js
55
+ @jitsu/js:build: 1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
56
+ @jitsu/js:build:  ^
57
+ @jitsu/js:build: 2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
58
+ @jitsu/js:build: 3: return new (P || (P = Promise))(function (resolve, reject) {
59
+ @jitsu/js:build: ...and 1 other occurrence
60
+ @jitsu/js:build: 
61
+ @jitsu/js:build: ...and 3 other files
62
+ @jitsu/js:build: (!) Circular dependencies
63
+ @jitsu/js:build: compiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
64
+ @jitsu/js:build: compiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/destination-plugins/index.js
65
+ @jitsu/js:build: compiled/src/analytics-plugin.js -> compiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/analytics-plugin.js
66
+ @jitsu/js:build: ...and 3 more
67
+ @jitsu/js:build: created dist/jitsu.es.js, dist/jitsu.cjs.js in 112ms
@@ -0,0 +1,5 @@
1
+ @jitsu/js:clean: cache hit, replaying output 6b6265f9f9771254
2
+ @jitsu/js:clean: 
3
+ @jitsu/js:clean: > @jitsu/js@0.0.0 clean /Users/vklmn/dev2/newjitsu/libs/jitsu-js
4
+ @jitsu/js:clean: > rm -rf ./dist
5
+ @jitsu/js:clean: