@valbuild/react 0.63.0 → 0.63.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/react",
3
- "version": "0.63.0",
3
+ "version": "0.63.1",
4
4
  "private": false,
5
5
  "description": "Val - React internal helpers",
6
6
  "sideEffects": false,
@@ -9,9 +9,9 @@
9
9
  "test": "jest"
10
10
  },
11
11
  "dependencies": {
12
- "@valbuild/core": "~0.63.0",
13
- "@valbuild/shared": "~0.63.0",
14
- "@valbuild/ui": "~0.63.0",
12
+ "@valbuild/core": "~0.63.1",
13
+ "@valbuild/shared": "~0.63.1",
14
+ "@valbuild/ui": "~0.63.1",
15
15
  "@vercel/stega": "^0.1.0",
16
16
  "base64-arraybuffer": "^1.0.2"
17
17
  },
@@ -249,7 +249,9 @@ function stegaEncode(input, opts) {
249
249
  }
250
250
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isRichTextSchema(recOpts.schema)) {
251
251
  var res = rec(sourceOrSelector);
252
- res.valPath = recOpts.path;
252
+ if (_typeof(res) === "object" && res !== null) {
253
+ res.valPath = recOpts.path;
254
+ }
253
255
  return res;
254
256
  }
255
257
  if (_typeof(sourceOrSelector) === "object") {
@@ -259,7 +259,9 @@ function stegaEncode(input, opts) {
259
259
  }
260
260
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isRichTextSchema(recOpts.schema)) {
261
261
  var res = rec(sourceOrSelector);
262
- res.valPath = recOpts.path;
262
+ if (slicedToArray._typeof(res) === "object" && res !== null) {
263
+ res.valPath = recOpts.path;
264
+ }
263
265
  return res;
264
266
  }
265
267
  if (slicedToArray._typeof(sourceOrSelector) === "object") {
@@ -259,7 +259,9 @@ function stegaEncode(input, opts) {
259
259
  }
260
260
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isRichTextSchema(recOpts.schema)) {
261
261
  var res = rec(sourceOrSelector);
262
- res.valPath = recOpts.path;
262
+ if (slicedToArray._typeof(res) === "object" && res !== null) {
263
+ res.valPath = recOpts.path;
264
+ }
263
265
  return res;
264
266
  }
265
267
  if (slicedToArray._typeof(sourceOrSelector) === "object") {
@@ -249,7 +249,9 @@ function stegaEncode(input, opts) {
249
249
  }
250
250
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isRichTextSchema(recOpts.schema)) {
251
251
  var res = rec(sourceOrSelector);
252
- res.valPath = recOpts.path;
252
+ if (_typeof(res) === "object" && res !== null) {
253
+ res.valPath = recOpts.path;
254
+ }
253
255
  return res;
254
256
  }
255
257
  if (_typeof(sourceOrSelector) === "object") {
@@ -249,7 +249,9 @@ function stegaEncode(input, opts) {
249
249
  }
250
250
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isRichTextSchema(recOpts.schema)) {
251
251
  var res = rec(sourceOrSelector);
252
- res.valPath = recOpts.path;
252
+ if (_typeof(res) === "object" && res !== null) {
253
+ res.valPath = recOpts.path;
254
+ }
253
255
  return res;
254
256
  }
255
257
  if (_typeof(sourceOrSelector) === "object") {