@ninetailed/experience.js 6.4.0-beta.8 → 7.0.1-beta.0
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/index.cjs +21 -3164
- package/index.js +3 -3146
- package/lib/Ninetailed.d.ts +2 -2
- package/package.json +2 -2
package/lib/Ninetailed.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ type Options = {
|
|
|
30
30
|
onError?: OnErrorHandler;
|
|
31
31
|
componentViewTrackingThreshold?: number;
|
|
32
32
|
buildClientContext?: () => NinetailedRequestContext;
|
|
33
|
-
|
|
33
|
+
storageImpl?: Storage;
|
|
34
34
|
};
|
|
35
35
|
type NinetailedApiClientInstanceOrOptions = NinetailedApiClient | NinetailedApiClientOptions;
|
|
36
36
|
export declare class Ninetailed implements NinetailedInstance {
|
|
@@ -46,7 +46,7 @@ export declare class Ninetailed implements NinetailedInstance {
|
|
|
46
46
|
readonly plugins: NinetailedPlugin[];
|
|
47
47
|
readonly logger: Logger;
|
|
48
48
|
private readonly componentViewTrackingThreshold;
|
|
49
|
-
constructor(ninetailedApiClientInstanceOrOptions: NinetailedApiClientInstanceOrOptions, { plugins, url, profile, locale, requestTimeout, onLog, onError, buildClientContext, componentViewTrackingThreshold,
|
|
49
|
+
constructor(ninetailedApiClientInstanceOrOptions: NinetailedApiClientInstanceOrOptions, { plugins, url, profile, locale, requestTimeout, onLog, onError, buildClientContext, componentViewTrackingThreshold, storageImpl, }?: Options);
|
|
50
50
|
page: (data?: Partial<PageviewProperties>, options?: EventFunctionOptions) => Promise<import("./types").FlushResult>;
|
|
51
51
|
track: (event: string, properties?: Properties, options?: EventFunctionOptions) => Promise<import("./types").FlushResult>;
|
|
52
52
|
/**
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1-beta.0",
|
|
4
4
|
"module": "./index.js",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "./index.d.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@ninetailed/experience.js-shared": "
|
|
9
|
+
"@ninetailed/experience.js-shared": "7.0.1-beta.0",
|
|
10
10
|
"analytics": "0.8.1",
|
|
11
11
|
"zod": "3.21.4"
|
|
12
12
|
},
|