@amplitude/plugin-page-view-tracking-browser 2.6.6 → 2.6.7-SR-2360.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreatePageViewTrackingPlugin, Options } from './typings/page-view-tracking';
|
|
2
2
|
export declare const defaultPageViewEvent = "[Amplitude] Page Viewed";
|
|
3
3
|
export declare const pageViewTrackingPlugin: CreatePageViewTrackingPlugin;
|
|
4
|
-
export declare const shouldTrackHistoryPageView: (trackingOption: Options[
|
|
4
|
+
export declare const shouldTrackHistoryPageView: (trackingOption: Options["trackHistoryChanges"], newURLStr: string, oldURLStr: string) => boolean;
|
|
5
5
|
//# sourceMappingURL=page-view-tracking.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-view-tracking.d.ts","sourceRoot":"","sources":["../../src/page-view-tracking.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,4BAA4B,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGrF,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAE9D,eAAO,MAAM,sBAAsB,EAAE,4BAsIpC,CAAC;AAeF,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"page-view-tracking.d.ts","sourceRoot":"","sources":["../../src/page-view-tracking.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,4BAA4B,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAGrF,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAE9D,eAAO,MAAM,sBAAsB,EAAE,4BAsIpC,CAAC;AAeF,eAAO,MAAM,0BAA0B,GACrC,gBAAgB,OAAO,CAAC,qBAAqB,CAAC,EAC9C,WAAW,MAAM,EACjB,WAAW,MAAM,KAChB,OAaF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,2BAStE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amplitude/plugin-page-view-tracking-browser",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.7-SR-2360.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Amplitude Inc",
|
|
6
6
|
"homepage": "https://github.com/amplitude/Amplitude-TypeScript",
|
|
@@ -17,28 +17,12 @@
|
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/amplitude/Amplitude-TypeScript.git"
|
|
19
19
|
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "yarn bundle && yarn build:es5 && yarn build:esm",
|
|
22
|
-
"bundle": "rollup --config rollup.config.js",
|
|
23
|
-
"build:es5": "tsc -p ./tsconfig.es5.json",
|
|
24
|
-
"build:esm": "tsc -p ./tsconfig.esm.json",
|
|
25
|
-
"watch": "tsc -p ./tsconfig.esm.json --watch",
|
|
26
|
-
"clean": "rimraf node_modules lib coverage",
|
|
27
|
-
"fix": "yarn fix:eslint & yarn fix:prettier",
|
|
28
|
-
"fix:eslint": "eslint '{src,test}/**/*.ts' --fix",
|
|
29
|
-
"fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
|
|
30
|
-
"lint": "yarn lint:eslint & yarn lint:prettier",
|
|
31
|
-
"lint:eslint": "eslint '{src,test}/**/*.ts'",
|
|
32
|
-
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
|
|
33
|
-
"test": "jest",
|
|
34
|
-
"typecheck": "tsc -p ./tsconfig.json"
|
|
35
|
-
},
|
|
36
20
|
"bugs": {
|
|
37
21
|
"url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
|
|
38
22
|
},
|
|
39
23
|
"dependencies": {
|
|
40
|
-
"
|
|
41
|
-
"
|
|
24
|
+
"tslib": "^2.4.1",
|
|
25
|
+
"@amplitude/analytics-core": "2.36.0-SR-2360.0"
|
|
42
26
|
},
|
|
43
27
|
"devDependencies": {
|
|
44
28
|
"@rollup/plugin-commonjs": "^23.0.4",
|
|
@@ -52,5 +36,20 @@
|
|
|
52
36
|
"files": [
|
|
53
37
|
"lib"
|
|
54
38
|
],
|
|
55
|
-
"
|
|
56
|
-
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "pnpm bundle && pnpm build:es5 && pnpm build:esm",
|
|
41
|
+
"bundle": "rollup --config rollup.config.js",
|
|
42
|
+
"build:es5": "tsc -p ./tsconfig.es5.json",
|
|
43
|
+
"build:esm": "tsc -p ./tsconfig.esm.json",
|
|
44
|
+
"watch": "tsc -p ./tsconfig.esm.json --watch",
|
|
45
|
+
"clean": "rimraf node_modules lib coverage",
|
|
46
|
+
"fix": "pnpm fix:eslint & pnpm fix:prettier",
|
|
47
|
+
"fix:eslint": "eslint '{src,test}/**/*.ts' --fix",
|
|
48
|
+
"fix:prettier": "prettier --write \"{src,test}/**/*.ts\"",
|
|
49
|
+
"lint": "pnpm lint:eslint & pnpm lint:prettier",
|
|
50
|
+
"lint:eslint": "eslint '{src,test}/**/*.ts'",
|
|
51
|
+
"lint:prettier": "prettier --check \"{src,test}/**/*.ts\"",
|
|
52
|
+
"test": "jest",
|
|
53
|
+
"typecheck": "tsc -p ./tsconfig.json"
|
|
54
|
+
}
|
|
55
|
+
}
|