@contentful/field-editor-rich-text 4.5.0 → 4.6.0

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.
@@ -66,7 +66,8 @@ function _interop_require_wildcard(obj, nodeInterop) {
66
66
  }
67
67
  function useSdk({ sdk }) {
68
68
  const sdkMemo = _react.useMemo(()=>sdk, [
69
- sdk.parameters.instance.release
69
+ sdk.parameters.instance.release,
70
+ sdk.field.validations
70
71
  ]);
71
72
  return sdkMemo;
72
73
  }
@@ -2,7 +2,8 @@ import * as React from 'react';
2
2
  import constate from 'constate';
3
3
  function useSdk({ sdk }) {
4
4
  const sdkMemo = React.useMemo(()=>sdk, [
5
- sdk.parameters.instance.release
5
+ sdk.parameters.instance.release,
6
+ sdk.field.validations
6
7
  ]);
7
8
  return sdkMemo;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-rich-text",
3
- "version": "4.5.0",
3
+ "version": "4.6.0",
4
4
  "source": "./src/index.tsx",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "registry": "https://npm.pkg.github.com/"
88
88
  },
89
- "gitHead": "62868063532796d312b7002cac13f27ab3557110"
89
+ "gitHead": "73f0d1456d48bd96eab09ca08a23cd21ba69e7fa"
90
90
  }