@croct/plug 0.21.0 → 0.21.1

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.
@@ -2,7 +2,7 @@ import { DynamicContentOptions as DynamicContentOptions$1, StaticContentOptions
2
2
  import { ApiKey } from '@croct/sdk/apiKey';
3
3
  import { Logger } from '@croct/sdk/logging';
4
4
  import { JsonObject, JsonValue } from '@croct/json/mutable';
5
- import { F as FetchResponse } from '../plug-B9fh6jr4.cjs';
5
+ import { F as FetchResponse } from '../plug-CPsFBGem.cjs';
6
6
  import { SlotContent, VersionedSlotId } from '../slot.cjs';
7
7
  import '@croct/sdk/facade/sessionFacade';
8
8
  import '@croct/sdk/facade/userFacade';
@@ -2,7 +2,7 @@ import { DynamicContentOptions as DynamicContentOptions$1, StaticContentOptions
2
2
  import { ApiKey } from '@croct/sdk/apiKey';
3
3
  import { Logger } from '@croct/sdk/logging';
4
4
  import { JsonObject, JsonValue } from '@croct/json/mutable';
5
- import { F as FetchResponse } from '../plug-D_pcliI7.js';
5
+ import { F as FetchResponse } from '../plug-aoj2L27K.js';
6
6
  import { SlotContent, VersionedSlotId } from '../slot.js';
7
7
  import '@croct/sdk/facade/sessionFacade';
8
8
  import '@croct/sdk/facade/userFacade';
@@ -1,6 +1,4 @@
1
- import {
2
- ContentFetcher
3
- } from "@croct/sdk/contentFetcher";
1
+ import { ContentFetcher } from "@croct/sdk/contentFetcher";
4
2
  import { formatCause } from "@croct/sdk/error";
5
3
  import { loadSlotContent } from "@croct/content";
6
4
  function fetchContent(slotId, options) {
package/api/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { EvaluationOptions, evaluate } from './evaluate.cjs';
2
2
  export { DynamicContentOptions, FetchOptions, StaticContentOptions, fetchContent } from './fetchContent.cjs';
3
- export { F as FetchResponse } from '../plug-B9fh6jr4.cjs';
3
+ export { F as FetchResponse } from '../plug-CPsFBGem.cjs';
4
4
  import '@croct/sdk/evaluator';
5
5
  import '@croct/sdk/apiKey';
6
6
  import '@croct/sdk/logging';
package/api/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { EvaluationOptions, evaluate } from './evaluate.js';
2
2
  export { DynamicContentOptions, FetchOptions, StaticContentOptions, fetchContent } from './fetchContent.js';
3
- export { F as FetchResponse } from '../plug-D_pcliI7.js';
3
+ export { F as FetchResponse } from '../plug-aoj2L27K.js';
4
4
  import '@croct/sdk/evaluator';
5
5
  import '@croct/sdk/apiKey';
6
6
  import '@croct/sdk/logging';
package/constants.cjs CHANGED
@@ -28,7 +28,7 @@ const CDN_URL = "https://cdn.croct.io/js/v1/lib/plug.js";
28
28
  const PLAYGROUND_ORIGIN = "https://play.croct.com";
29
29
  const PLAYGROUND_CONNECT_URL = "https://play.croct.com/connect.html";
30
30
  const PREVIEW_WIDGET_ORIGIN = "https://cdn.croct.io";
31
- const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.0.html";
31
+ const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.1.html";
32
32
  // Annotate the CommonJS export names for ESM import in node:
33
33
  0 && (module.exports = {
34
34
  CDN_URL,
package/constants.d.cts CHANGED
@@ -2,6 +2,6 @@ declare const CDN_URL = "https://cdn.croct.io/js/v1/lib/plug.js";
2
2
  declare const PLAYGROUND_ORIGIN = "https://play.croct.com";
3
3
  declare const PLAYGROUND_CONNECT_URL = "https://play.croct.com/connect.html";
4
4
  declare const PREVIEW_WIDGET_ORIGIN = "https://cdn.croct.io";
5
- declare const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.0.html";
5
+ declare const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.1.html";
6
6
 
7
7
  export { CDN_URL, PLAYGROUND_CONNECT_URL, PLAYGROUND_ORIGIN, PREVIEW_WIDGET_ORIGIN, PREVIEW_WIDGET_URL };
package/constants.d.ts CHANGED
@@ -2,6 +2,6 @@ declare const CDN_URL = "https://cdn.croct.io/js/v1/lib/plug.js";
2
2
  declare const PLAYGROUND_ORIGIN = "https://play.croct.com";
3
3
  declare const PLAYGROUND_CONNECT_URL = "https://play.croct.com/connect.html";
4
4
  declare const PREVIEW_WIDGET_ORIGIN = "https://cdn.croct.io";
5
- declare const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.0.html";
5
+ declare const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.1.html";
6
6
 
7
7
  export { CDN_URL, PLAYGROUND_CONNECT_URL, PLAYGROUND_ORIGIN, PREVIEW_WIDGET_ORIGIN, PREVIEW_WIDGET_URL };
package/constants.js CHANGED
@@ -2,7 +2,7 @@ const CDN_URL = "https://cdn.croct.io/js/v1/lib/plug.js";
2
2
  const PLAYGROUND_ORIGIN = "https://play.croct.com";
3
3
  const PLAYGROUND_CONNECT_URL = "https://play.croct.com/connect.html";
4
4
  const PREVIEW_WIDGET_ORIGIN = "https://cdn.croct.io";
5
- const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.0.html";
5
+ const PREVIEW_WIDGET_URL = "https://cdn.croct.io/js/v1/lib/plug/widget-0.21.1.html";
6
6
  export {
7
7
  CDN_URL,
8
8
  PLAYGROUND_CONNECT_URL,
package/global.d.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as Plug } from './plug-B9fh6jr4.cjs';
1
+ import { P as Plug } from './plug-CPsFBGem.cjs';
2
2
  import '@croct/sdk/facade/sessionFacade';
3
3
  import '@croct/sdk/facade/userFacade';
4
4
  import '@croct/sdk/facade/trackerFacade';
package/global.d.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as Plug } from './plug-D_pcliI7.js';
1
+ import { P as Plug } from './plug-aoj2L27K.js';
2
2
  import '@croct/sdk/facade/sessionFacade';
3
3
  import '@croct/sdk/facade/userFacade';
4
4
  import '@croct/sdk/facade/trackerFacade';
package/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { G as GlobalPlug } from './plug-B9fh6jr4.cjs';
2
- export { C as Configuration, F as FetchResponse, P as Plug } from './plug-B9fh6jr4.cjs';
1
+ import { G as GlobalPlug } from './plug-CPsFBGem.cjs';
2
+ export { C as Configuration, F as FetchResponse, P as Plug } from './plug-CPsFBGem.cjs';
3
3
  import '@croct/sdk/facade/sessionFacade';
4
4
  import '@croct/sdk/facade/userFacade';
5
5
  import '@croct/sdk/facade/trackerFacade';
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { G as GlobalPlug } from './plug-D_pcliI7.js';
2
- export { C as Configuration, F as FetchResponse, P as Plug } from './plug-D_pcliI7.js';
1
+ import { G as GlobalPlug } from './plug-aoj2L27K.js';
2
+ export { C as Configuration, F as FetchResponse, P as Plug } from './plug-aoj2L27K.js';
3
3
  import '@croct/sdk/facade/sessionFacade';
4
4
  import '@croct/sdk/facade/userFacade';
5
5
  import '@croct/sdk/facade/trackerFacade';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@croct/plug",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "A fully-featured devkit for building natively personalized applications.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -71,16 +71,17 @@
71
71
  "tslib": "^2.7.0"
72
72
  },
73
73
  "devDependencies": {
74
- "@croct/eslint-plugin": "^0.7.1",
74
+ "@croct/eslint-plugin": "^0.8.2",
75
+ "@eslint/eslintrc": "^3.3.3",
75
76
  "@rollup/plugin-commonjs": "^28.0.0",
76
77
  "@rollup/plugin-node-resolve": "^16.0.0",
77
78
  "@rollup/plugin-replace": "^6.0.0",
78
79
  "@rollup/plugin-terser": "^0.4.4",
79
80
  "@rollup/plugin-typescript": "^12.0.0",
80
81
  "@types/jest": "^29.5.12",
81
- "@typescript-eslint/parser": "^6.21.0",
82
+ "@typescript-eslint/parser": "^8.54.0",
82
83
  "esbuild-fix-imports-plugin": "^1.0.19",
83
- "eslint": "^8.27.0",
84
+ "eslint": "^9.39.2",
84
85
  "jest": "^29.3.1",
85
86
  "jest-environment-jsdom": "^29.3.1",
86
87
  "rollup": "^4.0.0",
@@ -106,4 +106,4 @@ declare class GlobalPlug implements Plug {
106
106
  unplug(): Promise<void>;
107
107
  }
108
108
 
109
- export { type Configuration as C, type FetchResponse as F, GlobalPlug as G, type Plug as P, type Plugin as a, type PluginArguments as b, type PluginFactory as c, type PluginSdk as d, type PluginConfigurations as e, type FetchOptions as f };
109
+ export { type Configuration as C, type FetchResponse as F, GlobalPlug as G, type Plug as P, type Plugin as a, type PluginArguments as b, type PluginFactory as c, type PluginSdk as d, type FetchOptions as e, type PluginConfigurations as f };
@@ -106,4 +106,4 @@ declare class GlobalPlug implements Plug {
106
106
  unplug(): Promise<void>;
107
107
  }
108
108
 
109
- export { type Configuration as C, type FetchResponse as F, GlobalPlug as G, type Plug as P, type Plugin as a, type PluginArguments as b, type PluginFactory as c, type PluginSdk as d, type PluginConfigurations as e, type FetchOptions as f };
109
+ export { type Configuration as C, type FetchResponse as F, GlobalPlug as G, type Plug as P, type Plugin as a, type PluginArguments as b, type PluginFactory as c, type PluginSdk as d, type FetchOptions as e, type PluginConfigurations as f };
package/plug.d.cts CHANGED
@@ -7,7 +7,7 @@ import '@croct/sdk/utilityTypes';
7
7
  import '@croct/sdk/trackingEvents';
8
8
  import '@croct/sdk/facade/contentFetcherFacade';
9
9
  import '@croct/sdk/contentFetcher';
10
- export { C as Configuration, f as FetchOptions, F as FetchResponse, G as GlobalPlug, P as Plug, e as PluginConfigurations } from './plug-B9fh6jr4.cjs';
10
+ export { C as Configuration, e as FetchOptions, F as FetchResponse, G as GlobalPlug, P as Plug, f as PluginConfigurations } from './plug-CPsFBGem.cjs';
11
11
  import './slot.cjs';
12
12
  import '@croct/json/mutable';
13
13
  import '@croct/sdk/token';
package/plug.d.ts CHANGED
@@ -7,7 +7,7 @@ import '@croct/sdk/utilityTypes';
7
7
  import '@croct/sdk/trackingEvents';
8
8
  import '@croct/sdk/facade/contentFetcherFacade';
9
9
  import '@croct/sdk/contentFetcher';
10
- export { C as Configuration, f as FetchOptions, F as FetchResponse, G as GlobalPlug, P as Plug, e as PluginConfigurations } from './plug-D_pcliI7.js';
10
+ export { C as Configuration, e as FetchOptions, F as FetchResponse, G as GlobalPlug, P as Plug, f as PluginConfigurations } from './plug-aoj2L27K.js';
11
11
  import './slot.js';
12
12
  import '@croct/json/mutable';
13
13
  import '@croct/sdk/token';
package/plugin.d.cts CHANGED
@@ -2,7 +2,7 @@ import '@croct/sdk/token';
2
2
  import '@croct/sdk/facade/evaluatorFacade';
3
3
  import '@croct/sdk/facade/trackerFacade';
4
4
  import './sdk/index.cjs';
5
- export { a as Plugin, b as PluginArguments, c as PluginFactory, d as PluginSdk } from './plug-B9fh6jr4.cjs';
5
+ export { a as Plugin, b as PluginArguments, c as PluginFactory, d as PluginSdk } from './plug-CPsFBGem.cjs';
6
6
  import '@croct/sdk/facade/userFacade';
7
7
  import '@croct/sdk/facade/sessionFacade';
8
8
  import '@croct/sdk/tab';
package/plugin.d.ts CHANGED
@@ -2,7 +2,7 @@ import '@croct/sdk/token';
2
2
  import '@croct/sdk/facade/evaluatorFacade';
3
3
  import '@croct/sdk/facade/trackerFacade';
4
4
  import './sdk/index.js';
5
- export { a as Plugin, b as PluginArguments, c as PluginFactory, d as PluginSdk } from './plug-D_pcliI7.js';
5
+ export { a as Plugin, b as PluginArguments, c as PluginFactory, d as PluginSdk } from './plug-aoj2L27K.js';
6
6
  import '@croct/sdk/facade/userFacade';
7
7
  import '@croct/sdk/facade/sessionFacade';
8
8
  import '@croct/sdk/tab';
@@ -24,11 +24,13 @@ module.exports = __toCommonJS(autoTracking_exports);
24
24
  var import_structuredData = require('./structuredData.cjs');
25
25
  class AutoTrackingPlugin {
26
26
  constructor(configuration) {
27
+ this.scanTimeout = null;
27
28
  this.tab = configuration.tab;
28
29
  this.tracker = configuration.tracker;
29
30
  this.options = configuration.options;
30
31
  this.trackStructuredData = this.trackStructuredData.bind(this);
31
32
  this.trackLinkOpened = this.trackLinkOpened.bind(this);
33
+ this.handleUrlChange = this.handleUrlChange.bind(this);
32
34
  }
33
35
  isDisabled() {
34
36
  return this.options?.disablePostViewed === true && this.options?.disableProductViewed === true && this.options?.disableLinkOpened === true;
@@ -38,15 +40,31 @@ class AutoTrackingPlugin {
38
40
  return;
39
41
  }
40
42
  this.trackStructuredData();
41
- this.tab.addListener("urlChange", this.trackStructuredData);
43
+ this.tab.addListener("urlChange", this.handleUrlChange);
42
44
  if (this.options?.disableLinkOpened !== true) {
43
45
  document.addEventListener("click", this.trackLinkOpened, true);
44
46
  }
45
47
  }
46
48
  disable() {
47
- this.tab.removeListener("urlChange", this.trackStructuredData);
49
+ if (this.scanTimeout !== null) {
50
+ clearTimeout(this.scanTimeout);
51
+ this.scanTimeout = null;
52
+ }
53
+ this.tab.removeListener("urlChange", this.handleUrlChange);
48
54
  document.removeEventListener("click", this.trackLinkOpened, true);
49
55
  }
56
+ handleUrlChange() {
57
+ if (this.scanTimeout !== null) {
58
+ clearTimeout(this.scanTimeout);
59
+ }
60
+ this.scanTimeout = setTimeout(
61
+ () => {
62
+ this.scanTimeout = null;
63
+ this.trackStructuredData();
64
+ },
65
+ 1e3
66
+ );
67
+ }
50
68
  trackStructuredData() {
51
69
  const structuredDataElements = document.querySelectorAll('script[type="application/ld+json"]');
52
70
  for (const element of structuredDataElements) {
@@ -136,11 +154,11 @@ class AutoTrackingPlugin {
136
154
  return result;
137
155
  }
138
156
  }
139
- const factory = (props) => new AutoTrackingPlugin({
157
+ const factory = ((props) => new AutoTrackingPlugin({
140
158
  tab: props.sdk.tab,
141
159
  tracker: props.sdk.tracker,
142
160
  options: props.options
143
- });
161
+ }));
144
162
  // Annotate the CommonJS export names for ESM import in node:
145
163
  0 && (module.exports = {
146
164
  AutoTrackingPlugin,
@@ -1,4 +1,4 @@
1
- import { a as Plugin, b as PluginArguments } from '../../plug-B9fh6jr4.cjs';
1
+ import { a as Plugin, b as PluginArguments } from '../../plug-CPsFBGem.cjs';
2
2
  import { TrackerFacade } from '@croct/sdk/facade/trackerFacade';
3
3
  import { Tab } from '@croct/sdk/tab';
4
4
  import '@croct/sdk/facade/sessionFacade';
@@ -35,10 +35,12 @@ declare class AutoTrackingPlugin implements Plugin {
35
35
  private readonly tab;
36
36
  private readonly tracker;
37
37
  private readonly options?;
38
+ private scanTimeout;
38
39
  constructor(configuration: Configuration);
39
40
  private isDisabled;
40
41
  enable(): void;
41
42
  disable(): void;
43
+ private handleUrlChange;
42
44
  private trackStructuredData;
43
45
  private trackPostViewed;
44
46
  private trackProductViewed;
@@ -1,4 +1,4 @@
1
- import { a as Plugin, b as PluginArguments } from '../../plug-D_pcliI7.js';
1
+ import { a as Plugin, b as PluginArguments } from '../../plug-aoj2L27K.js';
2
2
  import { TrackerFacade } from '@croct/sdk/facade/trackerFacade';
3
3
  import { Tab } from '@croct/sdk/tab';
4
4
  import '@croct/sdk/facade/sessionFacade';
@@ -35,10 +35,12 @@ declare class AutoTrackingPlugin implements Plugin {
35
35
  private readonly tab;
36
36
  private readonly tracker;
37
37
  private readonly options?;
38
+ private scanTimeout;
38
39
  constructor(configuration: Configuration);
39
40
  private isDisabled;
40
41
  enable(): void;
41
42
  disable(): void;
43
+ private handleUrlChange;
42
44
  private trackStructuredData;
43
45
  private trackPostViewed;
44
46
  private trackProductViewed;
@@ -1,11 +1,13 @@
1
1
  import { parseEntity } from "./structuredData.js";
2
2
  class AutoTrackingPlugin {
3
3
  constructor(configuration) {
4
+ this.scanTimeout = null;
4
5
  this.tab = configuration.tab;
5
6
  this.tracker = configuration.tracker;
6
7
  this.options = configuration.options;
7
8
  this.trackStructuredData = this.trackStructuredData.bind(this);
8
9
  this.trackLinkOpened = this.trackLinkOpened.bind(this);
10
+ this.handleUrlChange = this.handleUrlChange.bind(this);
9
11
  }
10
12
  isDisabled() {
11
13
  return this.options?.disablePostViewed === true && this.options?.disableProductViewed === true && this.options?.disableLinkOpened === true;
@@ -15,15 +17,31 @@ class AutoTrackingPlugin {
15
17
  return;
16
18
  }
17
19
  this.trackStructuredData();
18
- this.tab.addListener("urlChange", this.trackStructuredData);
20
+ this.tab.addListener("urlChange", this.handleUrlChange);
19
21
  if (this.options?.disableLinkOpened !== true) {
20
22
  document.addEventListener("click", this.trackLinkOpened, true);
21
23
  }
22
24
  }
23
25
  disable() {
24
- this.tab.removeListener("urlChange", this.trackStructuredData);
26
+ if (this.scanTimeout !== null) {
27
+ clearTimeout(this.scanTimeout);
28
+ this.scanTimeout = null;
29
+ }
30
+ this.tab.removeListener("urlChange", this.handleUrlChange);
25
31
  document.removeEventListener("click", this.trackLinkOpened, true);
26
32
  }
33
+ handleUrlChange() {
34
+ if (this.scanTimeout !== null) {
35
+ clearTimeout(this.scanTimeout);
36
+ }
37
+ this.scanTimeout = setTimeout(
38
+ () => {
39
+ this.scanTimeout = null;
40
+ this.trackStructuredData();
41
+ },
42
+ 1e3
43
+ );
44
+ }
27
45
  trackStructuredData() {
28
46
  const structuredDataElements = document.querySelectorAll('script[type="application/ld+json"]');
29
47
  for (const element of structuredDataElements) {
@@ -113,11 +131,11 @@ class AutoTrackingPlugin {
113
131
  return result;
114
132
  }
115
133
  }
116
- const factory = (props) => new AutoTrackingPlugin({
134
+ const factory = ((props) => new AutoTrackingPlugin({
117
135
  tab: props.sdk.tab,
118
136
  tracker: props.sdk.tracker,
119
137
  options: props.options
120
- });
138
+ }));
121
139
  export {
122
140
  AutoTrackingPlugin,
123
141
  factory
@@ -56,7 +56,7 @@ class GlobalVariablePlugin {
56
56
  }
57
57
  }
58
58
  }
59
- const factory = (props) => new GlobalVariablePlugin({ plug: props.sdk.plug });
59
+ const factory = ((props) => new GlobalVariablePlugin({ plug: props.sdk.plug }));
60
60
  // Annotate the CommonJS export names for ESM import in node:
61
61
  0 && (module.exports = {
62
62
  GlobalVariablePlugin,
@@ -1,4 +1,4 @@
1
- import { P as Plug, a as Plugin, b as PluginArguments } from '../../plug-B9fh6jr4.cjs';
1
+ import { P as Plug, a as Plugin, b as PluginArguments } from '../../plug-CPsFBGem.cjs';
2
2
  import '@croct/sdk/facade/sessionFacade';
3
3
  import '@croct/sdk/facade/userFacade';
4
4
  import '@croct/sdk/facade/trackerFacade';
@@ -1,4 +1,4 @@
1
- import { P as Plug, a as Plugin, b as PluginArguments } from '../../plug-D_pcliI7.js';
1
+ import { P as Plug, a as Plugin, b as PluginArguments } from '../../plug-aoj2L27K.js';
2
2
  import '@croct/sdk/facade/sessionFacade';
3
3
  import '@croct/sdk/facade/userFacade';
4
4
  import '@croct/sdk/facade/trackerFacade';
@@ -33,7 +33,7 @@ class GlobalVariablePlugin {
33
33
  }
34
34
  }
35
35
  }
36
- const factory = (props) => new GlobalVariablePlugin({ plug: props.sdk.plug });
36
+ const factory = ((props) => new GlobalVariablePlugin({ plug: props.sdk.plug }));
37
37
  export {
38
38
  GlobalVariablePlugin,
39
39
  factory
@@ -1,5 +1,5 @@
1
1
  import { Logger } from '@croct/sdk/logging';
2
- import { a as Plugin, c as PluginFactory } from '../../plug-B9fh6jr4.cjs';
2
+ import { a as Plugin, c as PluginFactory } from '../../plug-CPsFBGem.cjs';
3
3
  import { TokenStore } from '@croct/sdk/token';
4
4
  import '@croct/sdk/facade/sessionFacade';
5
5
  import '@croct/sdk/facade/userFacade';
@@ -1,5 +1,5 @@
1
1
  import { Logger } from '@croct/sdk/logging';
2
- import { a as Plugin, c as PluginFactory } from '../../plug-D_pcliI7.js';
2
+ import { a as Plugin, c as PluginFactory } from '../../plug-aoj2L27K.js';
3
3
  import { TokenStore } from '@croct/sdk/token';
4
4
  import '@croct/sdk/facade/sessionFacade';
5
5
  import '@croct/sdk/facade/userFacade';
package/sdk/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { EventManager, EventListener, EventDispatcher, EventSubscriber } from '@croct/sdk/eventManager';
1
+ import { EventManager, EventDispatcher, EventListener, EventSubscriber } from '@croct/sdk/eventManager';
2
2
  import { SdkEventMap, SdkEventType } from '@croct/sdk/sdkEvents';
3
3
  export { SdkEvent, SdkEventType } from '@croct/sdk/sdkEvents';
4
4
  export { Logger } from '@croct/sdk/logging';
package/sdk/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { EventManager, EventListener, EventDispatcher, EventSubscriber } from '@croct/sdk/eventManager';
1
+ import { EventManager, EventDispatcher, EventListener, EventSubscriber } from '@croct/sdk/eventManager';
2
2
  import { SdkEventMap, SdkEventType } from '@croct/sdk/sdkEvents';
3
3
  export { SdkEvent, SdkEventType } from '@croct/sdk/sdkEvents';
4
4
  export { Logger } from '@croct/sdk/logging';