@jitsu/js 0.0.1-alpha.126 → 0.0.1-alpha.127
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/analytics-plugin.d.ts +1 -1
- package/dist/browser.d.ts +2 -2
- package/dist/jitsu.d.ts +3 -3
- package/package.json +2 -2
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 [2m0263d5983323ab5a[0m
|
|
2
|
+
[33m@jitsu/js:build: [0m
|
|
3
|
+
[33m@jitsu/js:build: [0m> @jitsu/js@0.0.0 build /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
|
|
4
|
+
[33m@jitsu/js:build: [0m> tsc -p . && rollup -c && cp compiled/src/*.d.ts dist
|
|
5
|
+
[33m@jitsu/js:build: [0m
|
|
6
|
+
[33m@jitsu/js:build: [0m[36m
|
|
7
|
+
[33m@jitsu/js:build: [0m[1m./compiled/src/browser.js[22m → [1mdist/web/p.js.txt[22m...[39m
|
|
8
|
+
[33m@jitsu/js:build: [0m[1m[33m(!) Circular dependency[39m[22m
|
|
9
|
+
[33m@jitsu/js:build: [0mcompiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
|
|
10
|
+
[33m@jitsu/js:build: [0m[32mcreated [1mdist/web/p.js.txt[22m in [1m613ms[22m[39m
|
|
11
|
+
[33m@jitsu/js:build: [0m[36m
|
|
12
|
+
[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
|
|
13
|
+
[33m@jitsu/js:build: [0m[1m[33m(!) Circular dependency[39m[22m
|
|
14
|
+
[33m@jitsu/js:build: [0mcompiled/src/index.js -> compiled/src/analytics-plugin.js -> compiled/src/index.js
|
|
15
|
+
[33m@jitsu/js:build: [0m[32mcreated [1mdist/jitsu.es.js, dist/jitsu.cjs.js[22m in [1m532ms[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 [2me0930b6eea397172[0m
|
|
2
|
+
[33m@jitsu/js:clean: [0m
|
|
3
|
+
[33m@jitsu/js:clean: [0m> @jitsu/js@0.0.0 clean /Users/ildarnurislamov/Projects/onetag/libs/jitsu-js
|
|
4
|
+
[33m@jitsu/js:clean: [0m> rm -rf ./dist
|
|
5
|
+
[33m@jitsu/js:clean: [0m
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JitsuOptions, PersistentStorage, RuntimeFacade } from "./jitsu";
|
|
2
2
|
import { AnalyticsPlugin } from "analytics";
|
|
3
3
|
export declare const parseQuery: (qs?: string) => Record<string, string>;
|
|
4
|
-
export
|
|
4
|
+
export type StorageFactory = (cookieDomain: string, cookie2key: Record<string, string>) => PersistentStorage;
|
|
5
5
|
export declare function getTopLevelDomain(opts?: JitsuOptions): string;
|
|
6
6
|
export declare function windowRuntime(opts: JitsuOptions): RuntimeFacade;
|
|
7
7
|
export declare const emptyRuntime: (config: JitsuOptions) => RuntimeFacade;
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JitsuOptions } from "./jitsu";
|
|
2
|
-
export
|
|
2
|
+
export type JitsuBrowserOptions = {
|
|
3
3
|
userId?: string;
|
|
4
4
|
onload?: string;
|
|
5
5
|
initOnly?: boolean;
|
|
6
6
|
} & JitsuOptions;
|
|
7
|
-
export
|
|
7
|
+
export type Parser = (arg: string) => any;
|
package/dist/jitsu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AnalyticsInterface } from "@jitsu/protocols/analytics";
|
|
2
2
|
import type { AnalyticsPlugin } from "analytics";
|
|
3
|
-
|
|
3
|
+
type JitsuOptions = {
|
|
4
4
|
/**
|
|
5
5
|
* API Key. Optional. If not set, Jitsu will send event to the server without auth, and server
|
|
6
6
|
* will link the call to configured source by domain name
|
|
@@ -15,12 +15,12 @@ declare type JitsuOptions = {
|
|
|
15
15
|
fetch?: typeof fetch;
|
|
16
16
|
runtime?: RuntimeFacade;
|
|
17
17
|
};
|
|
18
|
-
|
|
18
|
+
type PersistentStorage = {
|
|
19
19
|
getItem: (key: string, options?: any) => any;
|
|
20
20
|
setItem: (key: string, value: any, options?: any) => void;
|
|
21
21
|
removeItem: (key: string, options?: any) => void;
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
type RuntimeFacade = {
|
|
24
24
|
store(): PersistentStorage;
|
|
25
25
|
userAgent(): string | undefined;
|
|
26
26
|
language(): string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jitsu/js",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.127",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Jitsu Dev Team <dev@jitsu.com>",
|
|
6
6
|
"main": "dist/jitsu.cjs.js",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"analytics": "^0.8.1",
|
|
39
|
-
"@jitsu/protocols": "0.0.1-alpha.
|
|
39
|
+
"@jitsu/protocols": "0.0.1-alpha.127"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"clean": "rm -rf ./dist",
|