@jitsu/js 0.0.0-alpha.95 → 0.0.0-alpha.96
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 +15 -15
- package/.turbo/turbo-clean.log +5 -5
- package/dist/jitsu.cjs.js +1 -1
- package/dist/jitsu.es.js +1 -1
- package/dist/web/p.js.txt +1 -1
- package/package.json +2 -2
- package/src/analytics-plugin.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
@jitsu/js:build: cache hit, replaying output [
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
1
|
+
@jitsu/js:build: cache hit, replaying output [2m928a48e4624f3833[0m
|
|
2
|
+
[32m@jitsu/js:build: [0m
|
|
3
|
+
[32m@jitsu/js:build: [0m> @jitsu/js@0.0.0 build /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
|
|
4
|
+
[32m@jitsu/js:build: [0m> tsc -p . && rollup -c && cp src/jitsu.d.ts dist
|
|
5
|
+
[32m@jitsu/js:build: [0m
|
|
6
|
+
[32m@jitsu/js:build: [0m[36m
|
|
7
|
+
[32m@jitsu/js:build: [0m[1m./compiled/src/browser.js[22m → [1mdist/web/p.js.txt[22m...[39m
|
|
8
|
+
[32m@jitsu/js:build: [0m[1m[33m(!) Circular dependency[39m[22m
|
|
9
|
+
[32m@jitsu/js:build: [0mcompiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
|
|
10
|
+
[32m@jitsu/js:build: [0m[32mcreated [1mdist/web/p.js.txt[22m in [1m180ms[22m[39m
|
|
11
|
+
[32m@jitsu/js:build: [0m[36m
|
|
12
|
+
[32m@jitsu/js:build: [0m[1m./compiled/src/index.js[22m → [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m...[39m
|
|
13
|
+
[32m@jitsu/js:build: [0m[1m[33m(!) Circular dependency[39m[22m
|
|
14
|
+
[32m@jitsu/js:build: [0mcompiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
|
|
15
|
+
[32m@jitsu/js:build: [0m[32mcreated [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m in [1m117ms[22m[39m
|
package/.turbo/turbo-clean.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@jitsu/js:clean: cache hit, replaying output [
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
@jitsu/js:clean: cache hit, replaying output [2me9ff626e279ba8cc[0m
|
|
2
|
+
[32m@jitsu/js:clean: [0m
|
|
3
|
+
[32m@jitsu/js:clean: [0m> @jitsu/js@0.0.0 clean /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
|
|
4
|
+
[32m@jitsu/js:clean: [0m> rm -rf ./dist
|
|
5
|
+
[32m@jitsu/js:clean: [0m
|
package/dist/jitsu.cjs.js
CHANGED
|
@@ -309,7 +309,7 @@ function adjustPayload(payload, config, storage) {
|
|
|
309
309
|
return withContext;
|
|
310
310
|
}
|
|
311
311
|
function send(method, payload, jitsuConfig, store) {
|
|
312
|
-
const url = `${jitsuConfig.host}/s/${method}`;
|
|
312
|
+
const url = `${jitsuConfig.host}/api/s/${method}`;
|
|
313
313
|
const fetch = jitsuConfig.fetch || globalThis.fetch;
|
|
314
314
|
if (!fetch) {
|
|
315
315
|
throw new Error("Please specify fetch function in jitsu plugin initialization, fetch isn't available in global scope");
|
package/dist/jitsu.es.js
CHANGED
|
@@ -307,7 +307,7 @@ function adjustPayload(payload, config, storage) {
|
|
|
307
307
|
return withContext;
|
|
308
308
|
}
|
|
309
309
|
function send(method, payload, jitsuConfig, store) {
|
|
310
|
-
const url = `${jitsuConfig.host}/s/${method}`;
|
|
310
|
+
const url = `${jitsuConfig.host}/api/s/${method}`;
|
|
311
311
|
const fetch = jitsuConfig.fetch || globalThis.fetch;
|
|
312
312
|
if (!fetch) {
|
|
313
313
|
throw new Error("Please specify fetch function in jitsu plugin initialization, fetch isn't available in global scope");
|
package/dist/web/p.js.txt
CHANGED
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
return withContext;
|
|
311
311
|
}
|
|
312
312
|
function send(method, payload, jitsuConfig, store) {
|
|
313
|
-
const url = `${jitsuConfig.host}/s/${method}`;
|
|
313
|
+
const url = `${jitsuConfig.host}/api/s/${method}`;
|
|
314
314
|
const fetch = jitsuConfig.fetch || globalThis.fetch;
|
|
315
315
|
if (!fetch) {
|
|
316
316
|
throw new Error("Please specify fetch function in jitsu plugin initialization, fetch isn't available in global scope");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jitsu/js",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.96",
|
|
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/types": "0.0.0-alpha.
|
|
36
|
+
"@jitsu/types": "0.0.0-alpha.96"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"analytics": "^0.8.1"
|
package/src/analytics-plugin.ts
CHANGED
|
@@ -275,7 +275,7 @@ function adjustPayload(payload: any, config: JitsuOptions, storage: PersistentSt
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
function send(method, payload, jitsuConfig: Required<JitsuOptions>, store: PersistentStorage): Promise<void> {
|
|
278
|
-
const url = `${jitsuConfig.host}/s/${method}`;
|
|
278
|
+
const url = `${jitsuConfig.host}/api/s/${method}`;
|
|
279
279
|
const fetch = jitsuConfig.fetch || globalThis.fetch;
|
|
280
280
|
if (!fetch) {
|
|
281
281
|
throw new Error(
|