@graphcommerce/hygraph-dynamic-rows 8.1.0-canary.12 → 8.1.0-canary.13

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,12 @@
1
1
  # @graphcommerce/hygraph-dynamic-rows
2
2
 
3
+ ## 8.1.0-canary.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2268](https://github.com/graphcommerce-org/graphcommerce/pull/2268) [`8ffe2d5`](https://github.com/graphcommerce-org/graphcommerce/commit/8ffe2d5d1b040797ee4987d7740de5fdeadd4f72) - Fix for non extensible object error in Dynamic Row package
8
+ ([@JoshuaS98](https://github.com/JoshuaS98))
9
+
3
10
  ## 8.1.0-canary.12
4
11
 
5
12
  ## 8.1.0-canary.11
@@ -117,7 +117,7 @@ export async function hygraphDynamicRows(
117
117
  const page = pageResult.data.pages[0] as Page | undefined
118
118
 
119
119
  // Create a copy of the content array.
120
- const content = page?.content ?? []
120
+ const content = [...(page?.content ?? [])]
121
121
 
122
122
  dynamicResult?.data.dynamicRows.forEach((dynamicRow) => {
123
123
  const { placement, target, rows, row } = dynamicRow
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/hygraph-dynamic-rows",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.1.0-canary.12",
5
+ "version": "8.1.0-canary.13",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,13 +12,13 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.12",
16
- "@graphcommerce/graphcms-ui": "^8.1.0-canary.12",
17
- "@graphcommerce/graphql": "^8.1.0-canary.12",
18
- "@graphcommerce/image": "^8.1.0-canary.12",
19
- "@graphcommerce/next-ui": "^8.1.0-canary.12",
20
- "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.12",
21
- "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.12",
15
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.13",
16
+ "@graphcommerce/graphcms-ui": "^8.1.0-canary.13",
17
+ "@graphcommerce/graphql": "^8.1.0-canary.13",
18
+ "@graphcommerce/image": "^8.1.0-canary.13",
19
+ "@graphcommerce/next-ui": "^8.1.0-canary.13",
20
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.13",
21
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.13",
22
22
  "@mui/material": "^5.10.16",
23
23
  "next": "*",
24
24
  "react": "^18.2.0",