@jitsu/js 1.1.0-canary.212.20230220173912 → 1.1.0-canary.227.20230222142636
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/.pnpm-debug.log +23 -0
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-clean.log +2 -2
- package/dist/jitsu.cjs.js +3 -1
- package/dist/jitsu.es.js +3 -1
- package/dist/web/p.js.txt +3 -1
- package/package.json +2 -2
- package/src/analytics-plugin.ts +3 -1
package/.pnpm-debug.log
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"0 debug pnpm:scope": {
|
|
3
|
+
"selected": 1,
|
|
4
|
+
"workspacePrefix": "/Users/ildarnurislamov/Projects/onetag"
|
|
5
|
+
},
|
|
6
|
+
"1 error pnpm": {
|
|
7
|
+
"code": "ELIFECYCLE",
|
|
8
|
+
"errno": "ENOENT",
|
|
9
|
+
"syscall": "spawn",
|
|
10
|
+
"file": "sh",
|
|
11
|
+
"pkgid": "@jitsu/js@0.0.0",
|
|
12
|
+
"stage": "build",
|
|
13
|
+
"script": "tsc -p . && rollup -c && cp src/jitsu.d.ts dist",
|
|
14
|
+
"pkgname": "@jitsu/js",
|
|
15
|
+
"err": {
|
|
16
|
+
"name": "pnpm",
|
|
17
|
+
"message": "@jitsu/js@0.0.0 build: `tsc -p . && rollup -c && cp src/jitsu.d.ts dist`\nspawn ENOENT",
|
|
18
|
+
"code": "ELIFECYCLE",
|
|
19
|
+
"stack": "pnpm: @jitsu/js@0.0.0 build: `tsc -p . && rollup -c && cp src/jitsu.d.ts dist`\nspawn ENOENT\n at ChildProcess.<anonymous> (/opt/homebrew/lib/node_modules/pnpm/dist/pnpm.cjs:93535:22)\n at ChildProcess.emit (node:events:527:28)\n at maybeClose (node:internal/child_process:1092:16)\n at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"2 warn pnpm:global": " Local package.json exists, but node_modules missing, did you mean to install?"
|
|
23
|
+
}
|
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 [2mba40be9de835fbde[0m
|
|
2
2
|
[33m@jitsu/js:build: [0m
|
|
3
|
-
[33m@jitsu/js:build: [0m> @jitsu/js@0.0.0 build /Users/
|
|
3
|
+
[33m@jitsu/js:build: [0m> @jitsu/js@0.0.0 build /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
|
|
4
4
|
[33m@jitsu/js:build: [0m> tsc -p . && rollup -c && cp compiled/src/*.d.ts dist
|
|
5
5
|
[33m@jitsu/js:build: [0m
|
|
6
6
|
[33m@jitsu/js:build: [0m[36m
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
[33m@jitsu/js:build: [0m ^
|
|
33
33
|
[33m@jitsu/js:build: [0m78: }
|
|
34
34
|
[33m@jitsu/js:build: [0m79: catch (e) {[39m
|
|
35
|
-
[33m@jitsu/js:build: [0m[32mcreated [1mdist/web/p.js.txt[22m in [
|
|
35
|
+
[33m@jitsu/js:build: [0m[32mcreated [1mdist/web/p.js.txt[22m in [1m388ms[22m[39m
|
|
36
36
|
[33m@jitsu/js:build: [0m[36m
|
|
37
37
|
[33m@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
|
|
38
38
|
[33m@jitsu/js:build: [0m[1m[33m(!) "this" has been rewritten to "undefined"[39m[22m
|
|
@@ -62,4 +62,4 @@
|
|
|
62
62
|
[33m@jitsu/js:build: [0m ^
|
|
63
63
|
[33m@jitsu/js:build: [0m78: }
|
|
64
64
|
[33m@jitsu/js:build: [0m79: catch (e) {[39m
|
|
65
|
-
[33m@jitsu/js:build: [0m[32mcreated [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m in [
|
|
65
|
+
[33m@jitsu/js:build: [0m[32mcreated [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m in [1m231ms[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 [2m8fcc48ba2013f124[0m
|
|
2
2
|
[33m@jitsu/js:clean: [0m
|
|
3
|
-
[33m@jitsu/js:clean: [0m> @jitsu/js@0.0.0 clean /Users/
|
|
3
|
+
[33m@jitsu/js:clean: [0m> @jitsu/js@0.0.0 clean /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
|
|
4
4
|
[33m@jitsu/js:clean: [0m> rm -rf ./dist
|
|
5
5
|
[33m@jitsu/js:clean: [0m
|
package/dist/jitsu.cjs.js
CHANGED
|
@@ -469,7 +469,9 @@ function processDestinations(destinations, method, event, debug, analyticsInstan
|
|
|
469
469
|
const plugin = internalDestinationPlugins[destination.deviceOptions.name];
|
|
470
470
|
if (plugin) {
|
|
471
471
|
try {
|
|
472
|
-
|
|
472
|
+
//to support old versions, where credentials were stored in root
|
|
473
|
+
const credentials = destination.credentials || destination;
|
|
474
|
+
promises.push(plugin.handle(credentials, event));
|
|
473
475
|
}
|
|
474
476
|
catch (e) {
|
|
475
477
|
console.warn(`[JITSU] Error processing event with internal plugin '${destination.deviceOptions.name}': ${e === null || e === void 0 ? void 0 : e.message}`, e);
|
package/dist/jitsu.es.js
CHANGED
|
@@ -467,7 +467,9 @@ function processDestinations(destinations, method, event, debug, analyticsInstan
|
|
|
467
467
|
const plugin = internalDestinationPlugins[destination.deviceOptions.name];
|
|
468
468
|
if (plugin) {
|
|
469
469
|
try {
|
|
470
|
-
|
|
470
|
+
//to support old versions, where credentials were stored in root
|
|
471
|
+
const credentials = destination.credentials || destination;
|
|
472
|
+
promises.push(plugin.handle(credentials, event));
|
|
471
473
|
}
|
|
472
474
|
catch (e) {
|
|
473
475
|
console.warn(`[JITSU] Error processing event with internal plugin '${destination.deviceOptions.name}': ${e === null || e === void 0 ? void 0 : e.message}`, e);
|
package/dist/web/p.js.txt
CHANGED
|
@@ -470,7 +470,9 @@
|
|
|
470
470
|
const plugin = internalDestinationPlugins[destination.deviceOptions.name];
|
|
471
471
|
if (plugin) {
|
|
472
472
|
try {
|
|
473
|
-
|
|
473
|
+
//to support old versions, where credentials were stored in root
|
|
474
|
+
const credentials = destination.credentials || destination;
|
|
475
|
+
promises.push(plugin.handle(credentials, event));
|
|
474
476
|
}
|
|
475
477
|
catch (e) {
|
|
476
478
|
console.warn(`[JITSU] Error processing event with internal plugin '${destination.deviceOptions.name}': ${e === null || e === void 0 ? void 0 : e.message}`, e);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jitsu/js",
|
|
3
|
-
"version": "1.1.0-canary.
|
|
3
|
+
"version": "1.1.0-canary.227.20230222142636",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Jitsu Dev Team <dev@jitsu.com>",
|
|
6
6
|
"main": "dist/jitsu.cjs.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"raw-loader": "^4.0.2",
|
|
34
34
|
"rollup": "^3.2.5",
|
|
35
35
|
"ts-jest": "^29.0.3",
|
|
36
|
-
"@jitsu/protocols": "1.1.0-canary.
|
|
36
|
+
"@jitsu/protocols": "1.1.0-canary.227.20230222142636"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"analytics": "^0.8.1"
|
package/src/analytics-plugin.ts
CHANGED
|
@@ -319,7 +319,9 @@ async function processDestinations(
|
|
|
319
319
|
const plugin = internalDestinationPlugins[destination.deviceOptions.name];
|
|
320
320
|
if (plugin) {
|
|
321
321
|
try {
|
|
322
|
-
|
|
322
|
+
//to support old versions, where credentials were stored in root
|
|
323
|
+
const credentials = destination.credentials || destination;
|
|
324
|
+
promises.push(plugin.handle(credentials, event));
|
|
323
325
|
} catch (e) {
|
|
324
326
|
console.warn(
|
|
325
327
|
`[JITSU] Error processing event with internal plugin '${destination.deviceOptions.name}': ${e?.message}`,
|