@mushi-mushi/core 1.40.1 → 1.41.0

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @mushi-mushi/core
2
2
 
3
- > **Your AI built it. Mushi Mushi makes it better.**
3
+ > **The bug button for apps built with AI.**
4
4
 
5
5
  The shared types, API client and utilities under every [Mushi Mushi](https://github.com/kensaurus/mushi-mushi) SDK.
6
6
 
@@ -26,4 +26,5 @@ declare function collectDiagnostics(provider: MushiDiagnosticsProvider | null |
26
26
  scrub?: (s: string) => string;
27
27
  }): Promise<DiagnosticsValue | null>;
28
28
 
29
- export { DIAGNOSTICS_MAX_CHARS, type MushiDiagnosticsProvider, collectDiagnostics };
29
+ export { DIAGNOSTICS_MAX_CHARS, collectDiagnostics };
30
+ export type { MushiDiagnosticsProvider };
@@ -26,4 +26,5 @@ declare function collectDiagnostics(provider: MushiDiagnosticsProvider | null |
26
26
  scrub?: (s: string) => string;
27
27
  }): Promise<DiagnosticsValue | null>;
28
28
 
29
- export { DIAGNOSTICS_MAX_CHARS, type MushiDiagnosticsProvider, collectDiagnostics };
29
+ export { DIAGNOSTICS_MAX_CHARS, collectDiagnostics };
30
+ export type { MushiDiagnosticsProvider };
package/dist/index.cjs CHANGED
@@ -283,7 +283,7 @@ function createApiClient(options) {
283
283
  const errorBody = await response.json().catch(() => ({}));
284
284
  if ((response.status === 401 || response.status === 403) && !_credWarningEmitted) {
285
285
  _credWarningEmitted = true;
286
- const where = baseUrl === DEFAULT_API_ENDPOINT ? "Get the correct values at: https://kensaur.us/mushi-mushi/admin/projects" : "Get the correct values from your Mushi console's Projects page.";
286
+ const where = baseUrl === DEFAULT_API_ENDPOINT ? "Get the correct values at: https://mushi.kensaur.us/projects" : "Get the correct values from your Mushi console's Projects page.";
287
287
  console.error(
288
288
  `[Mushi] Credentials rejected (HTTP ${response.status}). Check your Project ID and API key scope (must be "report:write"). ` + where
289
289
  );