@mushi-mushi/core 1.37.0 → 1.40.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/dist/index.cjs +24 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -3
- package/dist/index.d.ts +26 -3
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/reporter-channels.d.cts +1 -1
- package/dist/reporter-channels.d.ts +1 -1
- package/dist/{types-DGCkdOm1.d.cts → types-GBfop58j.d.cts} +16 -2
- package/dist/{types-DGCkdOm1.d.ts → types-GBfop58j.d.ts} +16 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-
|
|
1
|
+
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-GBfop58j.cjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-
|
|
1
|
+
export { U as MushiPushSubscriptionJSON, Y as MushiReporterChannelUnavailable, am as MushiReporterChannels, _ as MushiReporterNotificationPrefs, $ as MushiReporterPrefsUpdate, a1 as MushiReporterReportDetail, a2 as MushiReporterTimelineItem, a3 as MushiReporterUpdates, an as reporterChannels, ao as subscribeBrowserPush } from './types-GBfop58j.js';
|
|
@@ -316,7 +316,10 @@ interface MushiWidgetConfig {
|
|
|
316
316
|
* colour automatically, so only the base colour is required.
|
|
317
317
|
*/
|
|
318
318
|
accent?: string;
|
|
319
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Explicit text colour on the accent surface. Auto-computed (black or
|
|
321
|
+
* white) when omitted, or when this colour is under 3:1 contrast on the accent.
|
|
322
|
+
*/
|
|
320
323
|
accentText?: string;
|
|
321
324
|
triggerText?: string;
|
|
322
325
|
expandedTitle?: string;
|
|
@@ -382,7 +385,12 @@ interface MushiWidgetConfig {
|
|
|
382
385
|
respectSafeArea?: boolean;
|
|
383
386
|
/** Hide the launcher while any matching element exists in the document. */
|
|
384
387
|
hideOnSelector?: string;
|
|
385
|
-
/**
|
|
388
|
+
/**
|
|
389
|
+
* Hide the launcher on matching pathnames. An entry without `*` is a
|
|
390
|
+
* substring match (`/checkout` also hides `/checkout/done`). With `*` it
|
|
391
|
+
* is a glob over the whole path: `/admin/*` (one segment), `/blog/**`
|
|
392
|
+
* (`/blog` and everything under it).
|
|
393
|
+
*/
|
|
386
394
|
hideOnRoutes?: string[];
|
|
387
395
|
environments?: Partial<Record<'production' | 'staging' | 'development', 'always' | 'never' | 'manual'>>;
|
|
388
396
|
/** Opt-in smart trigger behavior; planned to become the default in a later minor. */
|
|
@@ -1481,6 +1489,12 @@ interface MushiDiagnosticsResult {
|
|
|
1481
1489
|
* rendered in the shadow DOM (not dismissed, not suppressed).
|
|
1482
1490
|
*/
|
|
1483
1491
|
bannerRendered: boolean;
|
|
1492
|
+
/**
|
|
1493
|
+
* Setup problems the widget worked around, in plain English. Today: text
|
|
1494
|
+
* on the accent under 3:1 contrast, replaced with black or white. Empty
|
|
1495
|
+
* when there are none; absent from older SDKs.
|
|
1496
|
+
*/
|
|
1497
|
+
warnings?: string[];
|
|
1484
1498
|
}
|
|
1485
1499
|
/**
|
|
1486
1500
|
* Page-aware assistant (P5). The host app publishes a structured snapshot of
|
|
@@ -316,7 +316,10 @@ interface MushiWidgetConfig {
|
|
|
316
316
|
* colour automatically, so only the base colour is required.
|
|
317
317
|
*/
|
|
318
318
|
accent?: string;
|
|
319
|
-
/**
|
|
319
|
+
/**
|
|
320
|
+
* Explicit text colour on the accent surface. Auto-computed (black or
|
|
321
|
+
* white) when omitted, or when this colour is under 3:1 contrast on the accent.
|
|
322
|
+
*/
|
|
320
323
|
accentText?: string;
|
|
321
324
|
triggerText?: string;
|
|
322
325
|
expandedTitle?: string;
|
|
@@ -382,7 +385,12 @@ interface MushiWidgetConfig {
|
|
|
382
385
|
respectSafeArea?: boolean;
|
|
383
386
|
/** Hide the launcher while any matching element exists in the document. */
|
|
384
387
|
hideOnSelector?: string;
|
|
385
|
-
/**
|
|
388
|
+
/**
|
|
389
|
+
* Hide the launcher on matching pathnames. An entry without `*` is a
|
|
390
|
+
* substring match (`/checkout` also hides `/checkout/done`). With `*` it
|
|
391
|
+
* is a glob over the whole path: `/admin/*` (one segment), `/blog/**`
|
|
392
|
+
* (`/blog` and everything under it).
|
|
393
|
+
*/
|
|
386
394
|
hideOnRoutes?: string[];
|
|
387
395
|
environments?: Partial<Record<'production' | 'staging' | 'development', 'always' | 'never' | 'manual'>>;
|
|
388
396
|
/** Opt-in smart trigger behavior; planned to become the default in a later minor. */
|
|
@@ -1481,6 +1489,12 @@ interface MushiDiagnosticsResult {
|
|
|
1481
1489
|
* rendered in the shadow DOM (not dismissed, not suppressed).
|
|
1482
1490
|
*/
|
|
1483
1491
|
bannerRendered: boolean;
|
|
1492
|
+
/**
|
|
1493
|
+
* Setup problems the widget worked around, in plain English. Today: text
|
|
1494
|
+
* on the accent under 3:1 contrast, replaced with black or white. Empty
|
|
1495
|
+
* when there are none; absent from older SDKs.
|
|
1496
|
+
*/
|
|
1497
|
+
warnings?: string[];
|
|
1484
1498
|
}
|
|
1485
1499
|
/**
|
|
1486
1500
|
* Page-aware assistant (P5). The host app publishes a structured snapshot of
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mushi-mushi/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"description": "Mushi Mushi SDK types, API client, pre-filter. One place to improve AI-built apps: fix bugs, smooth user journeys and clean up the code.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"size-limit": [
|
|
104
104
|
{
|
|
105
105
|
"path": "dist/index.js",
|
|
106
|
-
"limit": "26.
|
|
106
|
+
"limit": "26.3 KB"
|
|
107
107
|
}
|
|
108
108
|
],
|
|
109
109
|
"devDependencies": {
|