@levo-so/core 0.1.25 → 0.1.26

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/dist/index.js CHANGED
@@ -66,10 +66,7 @@ var LevoClient = class {
66
66
  credentials: "include",
67
67
  signal: AbortSignal.timeout(3e4),
68
68
  // 30 seconds timeout,
69
- headers: {
70
- Accept: "application/json",
71
- "Content-Type": "application/json"
72
- }
69
+ headers: {}
73
70
  };
74
71
  if (this.workspace) {
75
72
  options.headers = {
@@ -22,10 +22,6 @@ export declare class LevoAudience extends LevoPlugin {
22
22
  startActivityListener(): any;
23
23
  track(event: string, properties: ILevoAudience.Properties): Promise<any>;
24
24
  bounce: (properties?: ILevoAudience.Properties) => void;
25
- click: ({ properties, target, }: {
26
- properties?: ILevoAudience.Properties;
27
- target: HTMLElement;
28
- }) => void;
29
25
  getCurrentTabId(): string | null;
30
26
  getTabCount(): number | null;
31
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LevoAudience.d.ts","sourceRoot":"","sources":["../../src/plugins/LevoAudience.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,YAAa,SAAQ,UAAU;;IAC1C,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAK1C,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;IA2B9B,YAAY,UAAS;IACrB,YAAY,EAAE,GAAG,EAAE,CAAM;IAEnB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,UAAU;IAuGnD,WAAW;;;;;;;;;;;IAmEX,qBAAqB;IAqBf,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,CAAC,UAAU;IAyB/D,MAAM,gBAAiB,aAAa,CAAC,UAAU,UAyB7C;IAEF,KAAK,4BAGF;QACD,UAAU,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC;QACtC,MAAM,EAAE,WAAW,CAAC;KACrB,UAOC;IAEF,eAAe;IAef,WAAW;CAYZ"}
1
+ {"version":3,"file":"LevoAudience.d.ts","sourceRoot":"","sources":["../../src/plugins/LevoAudience.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,qBAAa,YAAa,SAAQ,UAAU;;IAC1C,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAK1C,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;IA2B9B,YAAY,UAAS;IACrB,YAAY,EAAE,GAAG,EAAE,CAAM;IAEnB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,UAAU;IAuGnD,WAAW;;;;;;;;;;;IAmEX,qBAAqB;IAqBf,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,CAAC,UAAU;IAyB/D,MAAM,gBAAiB,aAAa,CAAC,UAAU,UAyB7C;IAEF,eAAe;IAef,WAAW;CAYZ"}
@@ -410,16 +410,6 @@ var LevoAudience = class extends LevoPlugin {
410
410
  JSON.stringify(payload)
411
411
  );
412
412
  };
413
- click = ({
414
- properties,
415
- target
416
- }) => {
417
- const label = target.innerText;
418
- this.track("button.click", {
419
- ...properties,
420
- label
421
- });
422
- };
423
413
  getCurrentTabId() {
424
414
  try {
425
415
  if (typeof window === "undefined" || !("sessionStorage" in window)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levo-so/core",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "author": "Levo Engineering <devs@theinternetfolks.com>",
5
5
  "description": "Levo common utilities",
6
6
  "type": "module",
@@ -24,8 +24,8 @@
24
24
  "devDependencies": {
25
25
  "tsup": "8.2.4",
26
26
  "typescript": "5.5.4",
27
- "@levo/eslint-config": "0.0.0",
28
- "@levo/ts-config": "0.0.0"
27
+ "@levo/ts-config": "0.0.0",
28
+ "@levo/eslint-config": "0.0.0"
29
29
  },
30
30
  "main": "./dist/index.js",
31
31
  "module": "./dist/index.js",