@graphcommerce/google-datalayer 9.0.4-canary.9 → 9.0.4

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,24 +1,18 @@
1
1
  # @graphcommerce/google-datalayer
2
2
 
3
- ## 9.0.4-canary.9
3
+ ## 9.0.4
4
4
 
5
- ## 9.0.4-canary.8
5
+ ## 9.0.3
6
6
 
7
- ## 9.0.4-canary.7
7
+ ## 9.0.3-canary.0
8
8
 
9
- ## 9.0.4-canary.6
9
+ ## 9.0.2
10
10
 
11
- ## 9.0.4-canary.5
11
+ ## 9.0.2-canary.0
12
12
 
13
- ## 9.0.4-canary.4
13
+ ## 9.0.1
14
14
 
15
- ## 9.0.4-canary.3
16
-
17
- ## 9.0.4-canary.2
18
-
19
- ## 9.0.4-canary.1
20
-
21
- ## 9.0.4-canary.0
15
+ ## 9.0.1-canary.1
22
16
 
23
17
  ## 9.0.0
24
18
 
@@ -52,7 +52,9 @@ export const googleEventNames = [
52
52
  'view_search_results',
53
53
  ] as const
54
54
 
55
- /** @see https://developers.google.com/tag-platform/gtagjs/reference/events */
55
+ /**
56
+ * @see https://developers.google.com/tag-platform/gtagjs/reference/events
57
+ */
56
58
  export type GoogleEventTypes = {
57
59
  exception: { description?: string; fatal?: boolean }
58
60
  share: { method?: string; content_type?: string; item_id?: string }
@@ -2,7 +2,9 @@ import { productPageCategory } from '@graphcommerce/magento-product'
2
2
  import { nonNullable } from '@graphcommerce/next-ui'
3
3
  import type { Product_DatalayerItemFragment } from './Product_DatalayerItem.gql'
4
4
 
5
- /** https://developers.google.com/tag-platform/gtagjs/reference/events#add_to_cart_item */
5
+ /**
6
+ * https://developers.google.com/tag-platform/gtagjs/reference/events#add_to_cart_item
7
+ */
6
8
  export type GoogleDatalayerItem = {
7
9
  item_id: string
8
10
  item_uid: string
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/google-datalayer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.4-canary.9",
5
+ "version": "9.0.4",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,15 +12,15 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^9.0.4-canary.9",
16
- "@graphcommerce/magento-cart": "^9.0.4-canary.9",
17
- "@graphcommerce/magento-cart-payment-method": "^9.0.4-canary.9",
18
- "@graphcommerce/magento-cart-shipping-method": "^9.0.4-canary.9",
19
- "@graphcommerce/magento-product": "^9.0.4-canary.9",
20
- "@graphcommerce/next-ui": "^9.0.4-canary.9",
21
- "@graphcommerce/prettier-config-pwa": "^9.0.4-canary.9",
22
- "@graphcommerce/react-hook-form": "^9.0.4-canary.9",
23
- "@graphcommerce/typescript-config-pwa": "^9.0.4-canary.9",
15
+ "@graphcommerce/eslint-config-pwa": "^9.0.4",
16
+ "@graphcommerce/magento-cart": "^9.0.4",
17
+ "@graphcommerce/magento-cart-payment-method": "^9.0.4",
18
+ "@graphcommerce/magento-cart-shipping-method": "^9.0.4",
19
+ "@graphcommerce/magento-product": "^9.0.4",
20
+ "@graphcommerce/next-ui": "^9.0.4",
21
+ "@graphcommerce/prettier-config-pwa": "^9.0.4",
22
+ "@graphcommerce/react-hook-form": "^9.0.4",
23
+ "@graphcommerce/typescript-config-pwa": "^9.0.4",
24
24
  "@mui/material": "^5.14.20",
25
25
  "next": "*",
26
26
  "react": "^18.2.0",
@@ -15,8 +15,7 @@ export const config: PluginConfig = {
15
15
  /**
16
16
  * When a product is added to the Cart, send a Google Analytics event.
17
17
  *
18
- * Based on this information:
19
- * https://github.com/GoogleChrome/web-vitals?tab=readme-ov-file#send-the-results-to-google-analytics
18
+ * Based on this information: https://github.com/GoogleChrome/web-vitals?tab=readme-ov-file#send-the-results-to-google-analytics
20
19
  */
21
20
  export function FramerNextPages(props: PluginProps<PagesProps>) {
22
21
  const { Prev, ...rest } = props