kyro-connect 0.1.9 → 0.1.11

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/dist/index.cjs CHANGED
@@ -98,7 +98,8 @@ function createClient(opts) {
98
98
  function buildProxy(path) {
99
99
  return new Proxy(function() {
100
100
  }, {
101
- get(_, prop) {
101
+ get(target, prop) {
102
+ if (prop in target) return target[prop];
102
103
  return buildProxy([...path, prop]);
103
104
  },
104
105
  apply(_, __, args) {
package/dist/index.js CHANGED
@@ -71,7 +71,8 @@ function createClient(opts) {
71
71
  function buildProxy(path) {
72
72
  return new Proxy(function() {
73
73
  }, {
74
- get(_, prop) {
74
+ get(target, prop) {
75
+ if (prop in target) return target[prop];
75
76
  return buildProxy([...path, prop]);
76
77
  },
77
78
  apply(_, __, args) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kyro-connect",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Universal SDK for Kyro CMS. Type-safe client + codegen for any platform.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",