@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.
@@ -1,15 +1,15 @@
1
- @jitsu/js:build: cache hit, replaying output fd9a15b75ea61c02
2
- @jitsu/js:build: 
3
- @jitsu/js:build: > @jitsu/js@0.0.1 build /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
4
- @jitsu/js:build: > tsc -p . && rollup -c && cp src/jitsu.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: (!) Circular dependency
9
- @jitsu/js:build: compiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
10
- @jitsu/js:build: created dist/web/p.js.txt in 552ms
11
- @jitsu/js:build: 
12
- @jitsu/js:build: ./compiled/src/index.js → dist/jitsu.es.js, dist/jitsu.cjs.js...
13
- @jitsu/js:build: (!) Circular dependency
14
- @jitsu/js:build: compiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
15
- @jitsu/js:build: created dist/jitsu.es.js, dist/jitsu.cjs.js in 308ms
1
+ @jitsu/js:build: cache hit, replaying output 928a48e4624f3833
2
+ @jitsu/js:build: 
3
+ @jitsu/js:build: > @jitsu/js@0.0.0 build /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
4
+ @jitsu/js:build: > tsc -p . && rollup -c && cp src/jitsu.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: (!) Circular dependency
9
+ @jitsu/js:build: compiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
10
+ @jitsu/js:build: created dist/web/p.js.txt in 180ms
11
+ @jitsu/js:build: 
12
+ @jitsu/js:build: ./compiled/src/index.js → dist/jitsu.es.js, dist/jitsu.cjs.js...
13
+ @jitsu/js:build: (!) Circular dependency
14
+ @jitsu/js:build: compiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
15
+ @jitsu/js:build: created dist/jitsu.es.js, dist/jitsu.cjs.js in 117ms
@@ -1,5 +1,5 @@
1
- @jitsu/js:clean: cache hit, replaying output 6cc5edb43189bde9
2
- @jitsu/js:clean: 
3
- @jitsu/js:clean: > @jitsu/js@0.0.1 clean /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
4
- @jitsu/js:clean: > rm -rf ./dist
5
- @jitsu/js:clean: 
1
+ @jitsu/js:clean: cache hit, replaying output e9ff626e279ba8cc
2
+ @jitsu/js:clean: 
3
+ @jitsu/js:clean: > @jitsu/js@0.0.0 clean /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
4
+ @jitsu/js:clean: > rm -rf ./dist
5
+ @jitsu/js:clean: 
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.95",
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.95"
36
+ "@jitsu/types": "0.0.0-alpha.96"
37
37
  },
38
38
  "dependencies": {
39
39
  "analytics": "^0.8.1"
@@ -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(