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 +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
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(
|
|
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