@next/third-parties 14.0.3-canary.8 → 14.0.3-canary.9

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,17 +1,4 @@
1
1
  import React from 'react';
2
- declare global {
3
- interface Window {
4
- dataLayer?: Object[];
5
- [key: string]: any;
6
- }
7
- }
8
- type GTMParams = {
9
- gtmId: string;
10
- dataLayer?: string[];
11
- dataLayerName?: string;
12
- auth?: string;
13
- preview?: string;
14
- };
2
+ import type { GTMParams } from '../types/google';
15
3
  export declare function GoogleTagManager(props: GTMParams): React.JSX.Element;
16
4
  export declare const sendGTMEvent: (data: Object) => void;
17
- export {};
@@ -1,3 +1,16 @@
1
+ declare global {
2
+ interface Window {
3
+ dataLayer?: Object[];
4
+ [key: string]: any;
5
+ }
6
+ }
7
+ export type GTMParams = {
8
+ gtmId: string;
9
+ dataLayer?: string[];
10
+ dataLayerName?: string;
11
+ auth?: string;
12
+ preview?: string;
13
+ };
1
14
  export type GoogleMapsEmbed = {
2
15
  height?: number;
3
16
  width?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/third-parties",
3
- "version": "14.0.3-canary.8",
3
+ "version": "14.0.3-canary.9",
4
4
  "repository": {
5
5
  "url": "vercel/next.js",
6
6
  "directory": "packages/third-parties"
@@ -8,6 +8,7 @@
8
8
  "exports": {
9
9
  "./google": "./dist/google/index.js"
10
10
  },
11
+ "types": "dist/types/google.d.ts",
11
12
  "files": [
12
13
  "dist"
13
14
  ],
@@ -22,7 +23,7 @@
22
23
  "third-party-capital": "1.0.20"
23
24
  },
24
25
  "devDependencies": {
25
- "next": "14.0.3-canary.8",
26
+ "next": "14.0.3-canary.9",
26
27
  "outdent": "0.8.0",
27
28
  "prettier": "2.5.1"
28
29
  },