@orpc/shared 2.0.0-beta.24 → 2.0.0-beta.26

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +2 -1
package/dist/index.mjs CHANGED
@@ -601,10 +601,10 @@ function clone(value) {
601
601
  if (isPlainObject(value)) {
602
602
  const result = {};
603
603
  for (const key in value) {
604
- result[key] = clone(value[key]);
604
+ defineOwnProperty(result, key, clone(value[key]));
605
605
  }
606
606
  for (const sym of Object.getOwnPropertySymbols(value)) {
607
- result[sym] = clone(value[sym]);
607
+ defineOwnProperty(result, sym, clone(value[sym]));
608
608
  }
609
609
  return result;
610
610
  }
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@orpc/shared",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.24",
4
+ "version": "2.0.0-beta.26",
5
5
  "license": "MIT",
6
+ "funding": "https://github.com/sponsors/dinwwwh",
6
7
  "homepage": "https://orpc.dev",
7
8
  "repository": {
8
9
  "type": "git",