@graffy/core 0.15.11 → 0.15.12-alpha.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.
Files changed (3) hide show
  1. package/index.cjs +2 -1
  2. package/index.mjs +2 -1
  3. package/package.json +3 -3
package/index.cjs CHANGED
@@ -199,7 +199,8 @@ class Graffy {
199
199
  }, path));
200
200
  }
201
201
  use(...args) {
202
- const [path, provider] = validateOn(...args);
202
+ const [pathArg, provider] = validateOn(...args);
203
+ const path = this.path.concat(pathArg);
203
204
  provider(new Graffy(path, this.core));
204
205
  }
205
206
  call(type, payload, options = {}) {
package/index.mjs CHANGED
@@ -194,7 +194,8 @@ class Graffy {
194
194
  }, path));
195
195
  }
196
196
  use(...args) {
197
- const [path, provider] = validateOn(...args);
197
+ const [pathArg, provider] = validateOn(...args);
198
+ const path = this.path.concat(pathArg);
198
199
  provider(new Graffy(path, this.core));
199
200
  }
200
201
  call(type, payload, options = {}) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graffy/core",
3
3
  "description": "The main module for Graffy, a library for intuitive real-time data APIs.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.15.11",
5
+ "version": "0.15.12-alpha.1",
6
6
  "main": "./index.cjs",
7
7
  "exports": {
8
8
  "import": "./index.mjs",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@graffy/common": "0.15.11",
20
- "@graffy/stream": "0.15.11",
19
+ "@graffy/common": "0.15.12-alpha.1",
20
+ "@graffy/stream": "0.15.12-alpha.1",
21
21
  "debug": "^4.3.2"
22
22
  }
23
23
  }