@nine-lab/nine-mu 0.1.81 → 0.1.83

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/nine-mu.js CHANGED
@@ -112,6 +112,7 @@ class NineChat extends HTMLElement {
112
112
  this.attachShadow({ mode: "open" });
113
113
  }
114
114
  async connectedCallback() {
115
+ var _a2;
115
116
  const connectorUrl = this.getAttribute("connector-url") || "http://localhost:3002";
116
117
  __privateSet(this, _service, new NineMuService(connectorUrl));
117
118
  __privateMethod(this, _NineChat_instances, render_fn).call(this);
@@ -122,7 +123,7 @@ class NineChat extends HTMLElement {
122
123
  trace.log(routeUrl);
123
124
  const res2 = await api.post("/nine-mu/source/readFile", { path: routeUrl });
124
125
  trace.log(res2);
125
- const asisSource = res2.contents;
126
+ const asisSource = (_a2 = res2.contents) == null ? void 0 : _a2.json();
126
127
  trace.log(asisSource);
127
128
  __privateSet(this, _routes, await __privateGet(this, _service).fetchRoutes(this.getAttribute("route-url")));
128
129
  }
@@ -190,7 +191,7 @@ render_fn = function() {
190
191
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
191
192
  this.shadowRoot.innerHTML = `
192
193
  <style>
193
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.80"}/dist/css/nine-mu.css";
194
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.82"}/dist/css/nine-mu.css";
194
195
  ${customImport}
195
196
  </style>
196
197
  <div class="wrapper">
@@ -26406,7 +26407,7 @@ class NineDiff extends HTMLElement {
26406
26407
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26407
26408
  this.shadowRoot.innerHTML = `
26408
26409
  <style>
26409
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.80"}/dist/css/nine-mu.css";
26410
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.82"}/dist/css/nine-mu.css";
26410
26411
  ${customImport}
26411
26412
  </style>
26412
26413
 
@@ -26516,7 +26517,7 @@ render_fn2 = function() {
26516
26517
  const customImport = this.getAttribute("css-path") ? `@import "${this.getAttribute("css-path")}";` : "";
26517
26518
  this.shadowRoot.innerHTML = `
26518
26519
  <style>
26519
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.80"}/dist/css/nine-mu.css";
26520
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.82"}/dist/css/nine-mu.css";
26520
26521
  ${customImport}
26521
26522
  </style>
26522
26523
 
@@ -26555,7 +26556,7 @@ handleCancel_fn = function() {
26555
26556
  };
26556
26557
  customElements.define("nine-diff-popup", NineDiffPopup);
26557
26558
  const NineMu = {
26558
- version: "0.1.80",
26559
+ version: "0.1.82",
26559
26560
  init: (config) => {
26560
26561
  trace.log("🛠️ Nine-Mu Engine initialized", config);
26561
26562
  }