@muze-nl/jsfs-solid 0.2.1 → 0.2.2

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/browser.js CHANGED
@@ -14776,7 +14776,7 @@
14776
14776
  #path;
14777
14777
  constructor(metroClient, path = "/", solidConfiguration = {}) {
14778
14778
  metroClient = client(metroClient).with(browser_default.oidcmw(solidConfiguration)).with(src_default3(solidConfiguration));
14779
- path = new Path(path);
14779
+ path = Path.collapse(path);
14780
14780
  super(metroClient, path);
14781
14781
  this.#client = metroClient;
14782
14782
  this.#path = path;
@@ -14785,7 +14785,7 @@
14785
14785
  return "SolidAdapter";
14786
14786
  }
14787
14787
  async read(path) {
14788
- let response2 = await this.#client.get(path);
14788
+ let response2 = await this.#client.get(Path.collapse(path, this.#path));
14789
14789
  let result2 = {
14790
14790
  type: this.getMimetype(response2),
14791
14791
  name: Path.filename(path),