@nine-lab/nine-mu 0.1.336 → 0.1.337

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
@@ -17537,7 +17537,7 @@ render_fn = function() {
17537
17537
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
17538
17538
  this.shadowRoot.innerHTML = `
17539
17539
  <style>
17540
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
17540
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.336"}/dist/css/nine-mu.css";
17541
17541
  ${customImport}
17542
17542
  </style>
17543
17543
  <div class="wrapper">
@@ -43787,7 +43787,7 @@ class NineDiff extends HTMLElement {
43787
43787
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
43788
43788
  this.shadowRoot.innerHTML = `
43789
43789
  <style>
43790
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
43790
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.336"}/dist/css/nine-mu.css";
43791
43791
  ${customImport}
43792
43792
  </style>
43793
43793
 
@@ -43927,7 +43927,7 @@ renderScaffolding_fn = function() {
43927
43927
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
43928
43928
  this.shadowRoot.innerHTML = `
43929
43929
  <style>
43930
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
43930
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.336"}/dist/css/nine-mu.css";
43931
43931
  ${customImport}
43932
43932
  </style>
43933
43933
 
@@ -44036,7 +44036,7 @@ render_fn2 = function() {
44036
44036
  const customImport = nine$1.cssPath ? `@import "${nine$1.cssPath}/nine-mu.css";` : "";
44037
44037
  this.shadowRoot.innerHTML = `
44038
44038
  <style>
44039
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
44039
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.336"}/dist/css/nine-mu.css";
44040
44040
  ${customImport}
44041
44041
  </style>
44042
44042
 
@@ -44366,7 +44366,7 @@ class ChatMessageBody extends HTMLElement {
44366
44366
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
44367
44367
  this.shadowRoot.innerHTML = `
44368
44368
  <style>
44369
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
44369
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.336"}/dist/css/nine-mu.css";
44370
44370
  ${customImport}
44371
44371
  </style>
44372
44372
 
@@ -44476,7 +44476,7 @@ class ExceptionHook extends HTMLElement {
44476
44476
  const customImport = nine.cssPath ? `@import "${nine.cssPath}/nine-mu.css";` : "";
44477
44477
  this.shadowRoot.innerHTML = `
44478
44478
  <style>
44479
- @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.335"}/dist/css/nine-mu.css";
44479
+ @import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-mu@${"0.1.336"}/dist/css/nine-mu.css";
44480
44480
  ${customImport}
44481
44481
  </style>
44482
44482
 
@@ -44486,21 +44486,21 @@ class ExceptionHook extends HTMLElement {
44486
44486
  <div class="nine-exception-board"></div>
44487
44487
  `;
44488
44488
  });
44489
- // src/components/exception/ExceptionHook.js
44490
44489
  __privateAdd(this, _handleRuntimeError, (event) => {
44491
44490
  var _a2, _b;
44492
44491
  if (__privateGet(this, _hasError)) return;
44493
- const isReactError = event.error || event.target && this.contains(event.target);
44494
- if (isReactError) {
44495
- const message = ((_a2 = event.error) == null ? void 0 : _a2.message) || event.message || "알 수 없는 런타임 에러";
44496
- const stack = ((_b = event.error) == null ? void 0 : _b.stack) || "Stack trace unavailable";
44497
- __privateMethod(this, _ExceptionHook_instances, renderError_fn).call(this, message, stack);
44492
+ const errorMessage = ((_a2 = event.error) == null ? void 0 : _a2.message) || event.message || String(event);
44493
+ const errorStack = ((_b = event.error) == null ? void 0 : _b.stack) || "No stack trace available";
44494
+ if (errorMessage) {
44495
+ __privateMethod(this, _ExceptionHook_instances, renderError_fn).call(this, errorMessage, errorStack);
44498
44496
  }
44499
44497
  });
44500
44498
  __privateAdd(this, _handlePromiseError, (event) => {
44501
- var _a2, _b;
44502
44499
  if (__privateGet(this, _hasError)) return;
44503
- __privateMethod(this, _ExceptionHook_instances, renderError_fn).call(this, ((_a2 = event.reason) == null ? void 0 : _a2.message) || String(event.reason), (_b = event.reason) == null ? void 0 : _b.stack);
44500
+ const reason = event.reason;
44501
+ const errorMessage = (reason == null ? void 0 : reason.message) || String(reason || "Unhandled Promise Rejection");
44502
+ const errorStack = (reason == null ? void 0 : reason.stack) || "No stack trace available";
44503
+ __privateMethod(this, _ExceptionHook_instances, renderError_fn).call(this, errorMessage, errorStack);
44504
44504
  });
44505
44505
  __privateAdd(this, _handleLocationChange, () => {
44506
44506
  setTimeout(() => {
@@ -44606,7 +44606,7 @@ if (!customElements.get("nine-exception-hook")) {
44606
44606
  customElements.define("nine-exception-hook", ExceptionHook);
44607
44607
  }
44608
44608
  const NineMu = {
44609
- version: "0.1.335",
44609
+ version: "0.1.336",
44610
44610
  init: (config2) => {
44611
44611
  trace$1.log("🛠️ Nine-Mu Engine initialized", config2);
44612
44612
  }