@artginzburg/next-ym 1.3.4 → 1.3.5

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.
@@ -4,6 +4,5 @@ export declare const standardYMInitParameters: {
4
4
  trackLinks: true;
5
5
  accurateTrackBounce: true;
6
6
  webvisor: true;
7
- ssr: true;
8
- ecommerce: "dataLayer";
7
+ ecommerce: true;
9
8
  };
@@ -4,7 +4,6 @@ export const standardYMInitParameters = {
4
4
  trackLinks: true,
5
5
  accurateTrackBounce: true,
6
6
  webvisor: true,
7
- ssr: true,
8
- ecommerce: 'dataLayer',
7
+ ecommerce: true,
9
8
  };
10
9
  //# sourceMappingURL=defaults.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/constants/defaults.ts"],"names":[],"mappings":"AAEA,wFAAwF;AACxF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,mBAAmB,EAAE,IAAI;IACzB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,IAAI;IACT,SAAS,EAAE,WAAW;CACE,CAAC"}
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/constants/defaults.ts"],"names":[],"mappings":"AAEA,wFAAwF;AACxF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,mBAAmB,EAAE,IAAI;IACzB,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,IAAI;CACS,CAAC"}
@@ -87,9 +87,9 @@ export interface InitParameters {
87
87
  */
88
88
  triggerEvent?: boolean;
89
89
  /**
90
- * Enable SSR-compatible mode. The tag won't send a pageview on init,
91
- * relying on SPA navigation events instead.
92
- * @default false
90
+ * A technical parameter used by the ad tag.
91
+ * Setting this to `true` apparently prevents normal counter initialization.
92
+ * Omit or set to `false` for standard usage.
93
93
  */
94
94
  ssr?: boolean;
95
95
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artginzburg/next-ym",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Yandex Metrica integration for Next.js v14",
5
5
  "files": [
6
6
  "dist"
@@ -39,16 +39,6 @@
39
39
  "metrika",
40
40
  "analytics"
41
41
  ],
42
- "scripts": {
43
- "build": "del-cli dist && tsc",
44
- "prepublishOnly": "pnpm build",
45
- "lint": "eslint src --fix --max-warnings 0",
46
- "lint:ts": "tsc --noEmit",
47
- "test": "jest",
48
- "test:ci": "jest --ci --coverage",
49
- "format": "prettier --write --log-level silent .",
50
- "format:check": "prettier --check ."
51
- },
52
42
  "devDependencies": {
53
43
  "@artginzburg/experimental": "^0.1.6",
54
44
  "@testing-library/jest-dom": "^6.1.5",
@@ -81,5 +71,14 @@
81
71
  },
82
72
  "publishConfig": {
83
73
  "access": "public"
74
+ },
75
+ "scripts": {
76
+ "build": "del-cli dist && tsc",
77
+ "lint": "eslint src --fix --max-warnings 0",
78
+ "lint:ts": "tsc --noEmit",
79
+ "test": "jest",
80
+ "test:ci": "jest --ci --coverage",
81
+ "format": "prettier --write --log-level silent .",
82
+ "format:check": "prettier --check ."
84
83
  }
85
- }
84
+ }