@jitsu/js 0.0.1-alpha.125 → 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.
@@ -1,15 +1,15 @@
1
- @jitsu/js:build: cache hit, replaying output 9f7a1241ace64e9d
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 compiled/src/*.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 193ms
11
- @jitsu/js:build: 
12
- @jitsu/js:build: ./compiled/src/index.js, ./compiled/src/jitsu.js, ./compiled/src/analytics-plugin.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 131ms
1
+ @jitsu/js:build: cache hit, replaying output 0263d5983323ab5a
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 compiled/src/*.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 613ms
11
+ @jitsu/js:build: 
12
+ @jitsu/js:build: ./compiled/src/index.js, ./compiled/src/jitsu.js, ./compiled/src/analytics-plugin.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 532ms
@@ -1,5 +1,5 @@
1
- @jitsu/js:clean: cache hit, replaying output 706db8e09c90ca8d
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: 
1
+ @jitsu/js:clean: cache hit, replaying output e0930b6eea397172
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: 
@@ -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 declare type StorageFactory = (cookieDomain: string, cookie2key: Record<string, string>) => PersistentStorage;
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 declare type JitsuBrowserOptions = {
2
+ export type JitsuBrowserOptions = {
3
3
  userId?: string;
4
4
  onload?: string;
5
5
  initOnly?: boolean;
6
6
  } & JitsuOptions;
7
- export declare type Parser = (arg: string) => any;
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
- declare type JitsuOptions = {
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
- declare type PersistentStorage = {
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
- declare type RuntimeFacade = {
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.125",
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.125"
39
+ "@jitsu/protocols": "0.0.1-alpha.127"
40
40
  },
41
41
  "scripts": {
42
42
  "clean": "rm -rf ./dist",