@jitsu/js 1.5.1 → 1.7.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/.turbo/turbo-build.log +21 -11
- package/.turbo/turbo-clean.log +2 -2
- package/.turbo/turbo-test.log +989 -58
- package/README.md +9 -0
- package/dist/analytics-plugin.d.ts +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/jitsu.cjs.js +187 -59
- package/dist/jitsu.d.ts +2 -0
- package/dist/jitsu.es.js +188 -59
- package/dist/web/p.js.txt +1 -1
- package/package.json +3 -3
- package/src/analytics-plugin.ts +76 -17
- package/src/browser.ts +35 -2
- package/src/destination-plugins/ga4.ts +123 -0
- package/src/destination-plugins/gtm.ts +39 -38
- package/src/destination-plugins/index.ts +3 -1
- package/src/index.ts +0 -1
- package/src/jitsu.ts +3 -0
- package/tsconfig.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@jitsu/js:build: cache hit, replaying output [
|
|
1
|
+
@jitsu/js:build: cache hit, replaying output [2m23f19cfad8da9588[0m
|
|
2
2
|
[36m@jitsu/js:build: [0m
|
|
3
|
-
[36m@jitsu/js:build: [0m> @jitsu/js@0.0.0 build /Users/
|
|
3
|
+
[36m@jitsu/js:build: [0m> @jitsu/js@0.0.0 build /Users/ildarnurislamov/Projects/newjitsu/libs/jitsu-js
|
|
4
4
|
[36m@jitsu/js:build: [0m> tsc -p . && rollup -c && cp compiled/src/*.d.ts dist
|
|
5
5
|
[36m@jitsu/js:build: [0m
|
|
6
6
|
[36m@jitsu/js:build: [0m[36m
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
[36m@jitsu/js:build: [0m3: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
15
|
[36m@jitsu/js:build: [0m4: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
16
16
|
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
17
|
-
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/
|
|
17
|
+
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/logrocket.js[22m
|
|
18
18
|
[36m@jitsu/js:build: [0m[90m1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
19
19
|
[36m@jitsu/js:build: [0m ^
|
|
20
20
|
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
21
21
|
[36m@jitsu/js:build: [0m3: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
22
22
|
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
23
|
-
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/
|
|
23
|
+
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/gtm.js[22m
|
|
24
24
|
[36m@jitsu/js:build: [0m[90m1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
25
25
|
[36m@jitsu/js:build: [0m ^
|
|
26
26
|
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -32,12 +32,17 @@
|
|
|
32
32
|
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
33
33
|
[36m@jitsu/js:build: [0m3: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
34
34
|
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
35
|
+
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/ga4.js[22m
|
|
36
|
+
[36m@jitsu/js:build: [0m[90m1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
[36m@jitsu/js:build: [0m ^
|
|
38
|
+
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
39
|
+
[36m@jitsu/js:build: [0m3: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
40
|
+
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
35
41
|
[36m@jitsu/js:build: [0m[1m[33m(!) Circular dependencies[39m[22m
|
|
36
42
|
[36m@jitsu/js:build: [0mcompiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
|
|
37
43
|
[36m@jitsu/js:build: [0mcompiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/destination-plugins/index.js
|
|
38
44
|
[36m@jitsu/js:build: [0mcompiled/src/analytics-plugin.js -> compiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/analytics-plugin.js
|
|
39
|
-
[36m@jitsu/js:build: [
|
|
40
|
-
[36m@jitsu/js:build: [0mcompiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/gtm.js -> compiled/src/destination-plugins/index.js
|
|
45
|
+
[36m@jitsu/js:build: [0m...and 3 more
|
|
41
46
|
[36m@jitsu/js:build: [0m[1m[33m(!) Use of eval is strongly discouraged[39m[22m
|
|
42
47
|
[36m@jitsu/js:build: [0m[90mhttps://rollupjs.org/troubleshooting/#avoiding-eval[39m
|
|
43
48
|
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/tag.js[22m
|
|
@@ -47,7 +52,7 @@
|
|
|
47
52
|
[36m@jitsu/js:build: [0m ^
|
|
48
53
|
[36m@jitsu/js:build: [0m71: }
|
|
49
54
|
[36m@jitsu/js:build: [0m72: catch (e) {[39m
|
|
50
|
-
[36m@jitsu/js:build: [0m[32mcreated [1mdist/web/p.js.txt[22m in [
|
|
55
|
+
[36m@jitsu/js:build: [0m[32mcreated [1mdist/web/p.js.txt[22m in [1m670ms[22m[39m
|
|
51
56
|
[36m@jitsu/js:build: [0m[36m
|
|
52
57
|
[36m@jitsu/js:build: [0m[1m./compiled/src/index.js, ./compiled/src/jitsu.js, ./compiled/src/analytics-plugin.js[22m → [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m...[39m
|
|
53
58
|
[36m@jitsu/js:build: [0m[1m[33m(!) "this" has been rewritten to "undefined"[39m[22m
|
|
@@ -65,13 +70,19 @@
|
|
|
65
70
|
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
66
71
|
[36m@jitsu/js:build: [0m3: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
67
72
|
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
73
|
+
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/gtm.js[22m
|
|
74
|
+
[36m@jitsu/js:build: [0m[90m1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
75
|
+
[36m@jitsu/js:build: [0m ^
|
|
76
|
+
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
77
|
+
[36m@jitsu/js:build: [0m3: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
78
|
+
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
68
79
|
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/logrocket.js[22m
|
|
69
80
|
[36m@jitsu/js:build: [0m[90m1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
70
81
|
[36m@jitsu/js:build: [0m ^
|
|
71
82
|
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
72
83
|
[36m@jitsu/js:build: [0m3: return new (P || (P = Promise))(function (resolve, reject) {[39m
|
|
73
84
|
[36m@jitsu/js:build: [0m...and 1 other occurrence
|
|
74
|
-
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/
|
|
85
|
+
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/ga4.js[22m
|
|
75
86
|
[36m@jitsu/js:build: [0m[90m1: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
76
87
|
[36m@jitsu/js:build: [0m ^
|
|
77
88
|
[36m@jitsu/js:build: [0m2: function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -81,8 +92,7 @@
|
|
|
81
92
|
[36m@jitsu/js:build: [0mcompiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
|
|
82
93
|
[36m@jitsu/js:build: [0mcompiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/destination-plugins/index.js
|
|
83
94
|
[36m@jitsu/js:build: [0mcompiled/src/analytics-plugin.js -> compiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/tag.js -> compiled/src/analytics-plugin.js
|
|
84
|
-
[36m@jitsu/js:build: [
|
|
85
|
-
[36m@jitsu/js:build: [0mcompiled/src/destination-plugins/index.js -> compiled/src/destination-plugins/gtm.js -> compiled/src/destination-plugins/index.js
|
|
95
|
+
[36m@jitsu/js:build: [0m...and 3 more
|
|
86
96
|
[36m@jitsu/js:build: [0m[1m[33m(!) Use of eval is strongly discouraged[39m[22m
|
|
87
97
|
[36m@jitsu/js:build: [0m[90mhttps://rollupjs.org/troubleshooting/#avoiding-eval[39m
|
|
88
98
|
[36m@jitsu/js:build: [0m[1mcompiled/src/destination-plugins/tag.js[22m
|
|
@@ -92,4 +102,4 @@
|
|
|
92
102
|
[36m@jitsu/js:build: [0m ^
|
|
93
103
|
[36m@jitsu/js:build: [0m71: }
|
|
94
104
|
[36m@jitsu/js:build: [0m72: catch (e) {[39m
|
|
95
|
-
[36m@jitsu/js:build: [0m[32mcreated [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m in [
|
|
105
|
+
[36m@jitsu/js:build: [0m[32mcreated [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m in [1m258ms[22m[39m
|
package/.turbo/turbo-clean.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@jitsu/js:clean: cache hit, replaying output [
|
|
1
|
+
@jitsu/js:clean: cache hit, replaying output [2m1c1123f0bdfba0af[0m
|
|
2
2
|
[36m@jitsu/js:clean: [0m
|
|
3
|
-
[36m@jitsu/js:clean: [0m> @jitsu/js@0.0.0 clean /Users/
|
|
3
|
+
[36m@jitsu/js:clean: [0m> @jitsu/js@0.0.0 clean /Users/ildarnurislamov/Projects/newjitsu/libs/jitsu-js
|
|
4
4
|
[36m@jitsu/js:clean: [0m> rm -rf ./dist
|
|
5
5
|
[36m@jitsu/js:clean: [0m
|