@graphcommerce/googletagmanager 8.0.6-canary.3 → 8.1.0-canary.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.1.0-canary.10
4
+
5
+ ## 8.1.0-canary.9
6
+
7
+ ## 8.1.0-canary.8
8
+
9
+ ## 8.1.0-canary.7
10
+
11
+ ## 8.1.0-canary.6
12
+
13
+ ## 8.1.0-canary.5
14
+
15
+ ## 8.0.6-canary.4
16
+
3
17
  ## 8.0.6-canary.3
4
18
 
5
19
  ## 8.0.6-canary.2
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/googletagmanager",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.0.6-canary.3",
5
+ "version": "8.1.0-canary.10",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,16 +12,16 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/google-datalayer": "8.0.6-canary.3"
15
+ "@graphcommerce/google-datalayer": "8.1.0-canary.10"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/gapi.client.tagmanager": "^2.0.4"
19
19
  },
20
20
  "peerDependencies": {
21
- "@graphcommerce/eslint-config-pwa": "^8.0.6-canary.3",
22
- "@graphcommerce/next-ui": "^8.0.6-canary.3",
23
- "@graphcommerce/prettier-config-pwa": "^8.0.6-canary.3",
24
- "@graphcommerce/typescript-config-pwa": "^8.0.6-canary.3",
21
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.10",
22
+ "@graphcommerce/next-ui": "^8.1.0-canary.10",
23
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.10",
24
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.10",
25
25
  "@mui/material": "^5.10.16",
26
26
  "next": "*",
27
27
  "react": "^18.2.0",
@@ -1,12 +1,18 @@
1
1
  import type { PagesProps } from '@graphcommerce/framer-next-pages'
2
- import type { IfConfig, PluginProps } from '@graphcommerce/next-config'
2
+ import type { IfConfig, PluginConfig, PluginProps } from '@graphcommerce/next-config'
3
3
  import { GoogleTagManagerScript } from '../components/GoogleTagManagerScript'
4
4
 
5
5
  export const component = 'FramerNextPages'
6
6
  export const exported = '@graphcommerce/framer-next-pages'
7
7
  export const ifConfig: IfConfig = 'googleTagmanagerId'
8
8
 
9
- function GtagFramerNextPages(props: PluginProps<PagesProps>) {
9
+ export const config: PluginConfig = {
10
+ type: 'component',
11
+ module: '@graphcommerce/framer-next-pages',
12
+ ifConfig: 'googleTagmanagerId',
13
+ }
14
+
15
+ export function FramerNextPages(props: PluginProps<PagesProps>) {
10
16
  const { Prev, ...rest } = props
11
17
  return (
12
18
  <>
@@ -15,5 +21,3 @@ function GtagFramerNextPages(props: PluginProps<PagesProps>) {
15
21
  </>
16
22
  )
17
23
  }
18
-
19
- export const Plugin = GtagFramerNextPages