@graphcommerce/googleanalytics 6.0.0-canary.43 → 6.0.0-canary.44

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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.0.0-canary.44
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1842](https://github.com/graphcommerce-org/graphcommerce/pull/1842) [`7b67d84bd`](https://github.com/graphcommerce-org/graphcommerce/commit/7b67d84bd269c3fc91afbd69f6683c5d12808d36) - Renamed i18n to storefront in configuration ([@paales](https://github.com/paales))
8
+
3
9
  ## 6.0.0-canary.43
4
10
 
5
11
  ## 6.0.0-canary.42
package/Config.graphqls CHANGED
@@ -1,4 +1,4 @@
1
- extend input GraphCommerceI18nConfig {
1
+ extend input GraphCommerceStorefrontConfig {
2
2
  """
3
3
  Configure different Google Analytics IDs for different locales.
4
4
 
@@ -1,8 +1,8 @@
1
- import { useI18nConfig } from '@graphcommerce/next-ui'
1
+ import { useStorefrontConfig } from '@graphcommerce/next-ui'
2
2
  import Script from 'next/script'
3
3
 
4
4
  export function GoogleAnalyticsScript() {
5
- const id = useI18nConfig().googleAnalyticsId ?? import.meta.graphCommerce.googleAnalyticsId
5
+ const id = useStorefrontConfig().googleAnalyticsId ?? import.meta.graphCommerce.googleAnalyticsId
6
6
 
7
7
  return (
8
8
  <>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/googleanalytics",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "6.0.0-canary.43",
5
+ "version": "6.0.0-canary.44",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,18 +12,18 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/graphql-mesh": "6.0.0-canary.43",
16
- "@graphcommerce/magento-cart": "6.0.0-canary.43",
17
- "@graphcommerce/magento-cart-payment-method": "6.0.0-canary.43",
18
- "@graphcommerce/magento-cart-shipping-method": "6.0.0-canary.43",
19
- "@graphcommerce/magento-product": "6.0.0-canary.43",
20
- "@graphcommerce/next-config": "6.0.0-canary.43",
21
- "@graphcommerce/next-ui": "6.0.0-canary.43"
15
+ "@graphcommerce/graphql-mesh": "6.0.0-canary.44",
16
+ "@graphcommerce/magento-cart": "6.0.0-canary.44",
17
+ "@graphcommerce/magento-cart-payment-method": "6.0.0-canary.44",
18
+ "@graphcommerce/magento-cart-shipping-method": "6.0.0-canary.44",
19
+ "@graphcommerce/magento-product": "6.0.0-canary.44",
20
+ "@graphcommerce/next-config": "6.0.0-canary.44",
21
+ "@graphcommerce/next-ui": "6.0.0-canary.44"
22
22
  },
23
23
  "devDependencies": {
24
- "@graphcommerce/eslint-config-pwa": "6.0.0-canary.43",
25
- "@graphcommerce/prettier-config-pwa": "6.0.0-canary.43",
26
- "@graphcommerce/typescript-config-pwa": "6.0.0-canary.43",
24
+ "@graphcommerce/eslint-config-pwa": "6.0.0-canary.44",
25
+ "@graphcommerce/prettier-config-pwa": "6.0.0-canary.44",
26
+ "@graphcommerce/typescript-config-pwa": "6.0.0-canary.44",
27
27
  "@types/gtag.js": "^0.0.12"
28
28
  },
29
29
  "peerDependencies": {