@ninetailed/experience.js-plugin-google-analytics 7.20.5 → 7.21.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.js +3 -8
- package/index.esm.js +3 -8
- package/package.json +4 -4
- package/src/NinetailedGoogleAnalyticsPlugin.d.ts +13 -13
- package/src/index.d.ts +2 -2
package/index.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
19
19
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
20
20
|
PERFORMANCE OF THIS SOFTWARE.
|
|
21
21
|
***************************************************************************** */
|
|
22
|
-
/* global Reflect, Promise
|
|
22
|
+
/* global Reflect, Promise */
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
@@ -28,14 +28,9 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
28
28
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
29
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
30
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg,
|
|
31
|
+
step((generator = generator.apply(thisArg, [])).next());
|
|
32
32
|
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
36
|
-
var e = new Error(message);
|
|
37
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
38
|
-
};
|
|
33
|
+
}
|
|
39
34
|
|
|
40
35
|
const TEMPLATE_OPTIONS = {
|
|
41
36
|
interpolate: /{{([\s\S]+?)}}/g
|
package/index.esm.js
CHANGED
|
@@ -15,7 +15,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
15
15
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
16
16
|
PERFORMANCE OF THIS SOFTWARE.
|
|
17
17
|
***************************************************************************** */
|
|
18
|
-
/* global Reflect, Promise
|
|
18
|
+
/* global Reflect, Promise */
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
@@ -24,14 +24,9 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
24
24
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
25
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
26
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
-
step((generator = generator.apply(thisArg,
|
|
27
|
+
step((generator = generator.apply(thisArg, [])).next());
|
|
28
28
|
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
32
|
-
var e = new Error(message);
|
|
33
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
34
|
-
};
|
|
29
|
+
}
|
|
35
30
|
|
|
36
31
|
const TEMPLATE_OPTIONS = {
|
|
37
32
|
interpolate: /{{([\s\S]+?)}}/g
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ninetailed/experience.js-plugin-google-analytics",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.21.0",
|
|
4
4
|
"description": "Ninetailed SDK plugin for Google Analytics",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ninetailed/experience.js": "7.
|
|
32
|
-
"@ninetailed/experience.js-plugin-analytics": "7.
|
|
33
|
-
"@ninetailed/experience.js-shared": "7.
|
|
31
|
+
"@ninetailed/experience.js": "7.21.0",
|
|
32
|
+
"@ninetailed/experience.js-plugin-analytics": "7.21.0",
|
|
33
|
+
"@ninetailed/experience.js-shared": "7.21.0"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { NinetailedAnalyticsPlugin, TrackComponentProperties } from '@ninetailed/experience.js-plugin-analytics';
|
|
2
|
-
type NinetailedGoogleAnalyticsPluginOptions = {
|
|
3
|
-
actionTemplate?: string;
|
|
4
|
-
labelTemplate?: string;
|
|
5
|
-
};
|
|
6
|
-
export declare class NinetailedGoogleAnalyticsPlugin extends NinetailedAnalyticsPlugin {
|
|
7
|
-
private options;
|
|
8
|
-
name: string;
|
|
9
|
-
constructor(options?: NinetailedGoogleAnalyticsPluginOptions);
|
|
10
|
-
protected onTrackExperience(): Promise<void>;
|
|
11
|
-
protected onTrackComponent(properties: TrackComponentProperties): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
1
|
+
import { NinetailedAnalyticsPlugin, TrackComponentProperties } from '@ninetailed/experience.js-plugin-analytics';
|
|
2
|
+
type NinetailedGoogleAnalyticsPluginOptions = {
|
|
3
|
+
actionTemplate?: string;
|
|
4
|
+
labelTemplate?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare class NinetailedGoogleAnalyticsPlugin extends NinetailedAnalyticsPlugin {
|
|
7
|
+
private options;
|
|
8
|
+
name: string;
|
|
9
|
+
constructor(options?: NinetailedGoogleAnalyticsPluginOptions);
|
|
10
|
+
protected onTrackExperience(): Promise<void>;
|
|
11
|
+
protected onTrackComponent(properties: TrackComponentProperties): Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { NinetailedGoogleAnalyticsPlugin } from './NinetailedGoogleAnalyticsPlugin';
|
|
2
|
-
export { NinetailedGoogleAnalyticsPlugin as default } from './NinetailedGoogleAnalyticsPlugin';
|
|
1
|
+
export { NinetailedGoogleAnalyticsPlugin } from './NinetailedGoogleAnalyticsPlugin';
|
|
2
|
+
export { NinetailedGoogleAnalyticsPlugin as default } from './NinetailedGoogleAnalyticsPlugin';
|