@mushi-mushi/core 1.34.0 → 1.35.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.
@@ -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-Nv_WYhjE.cjs';
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-c6R3idzB.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-Nv_WYhjE.js';
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-c6R3idzB.js';
@@ -1804,7 +1804,10 @@ interface MushiApiClient {
1804
1804
  getReportStatus(reportId: string): Promise<MushiApiResponse<{
1805
1805
  status: MushiReportStatus;
1806
1806
  }>>;
1807
- getSdkConfig(): Promise<MushiApiResponse<MushiRuntimeSdkConfig>>;
1807
+ /** `fresh` bypasses the browser HTTP cache (used by `trackSessions: 'on-demand'`). */
1808
+ getSdkConfig(opts?: {
1809
+ fresh?: boolean;
1810
+ }): Promise<MushiApiResponse<MushiRuntimeSdkConfig>>;
1808
1811
  /**
1809
1812
  * Send one assistant turn. Forwards the page context + thread id; the
1810
1813
  * end-user identity token (when set) travels on the X-Mushi-User-Token
@@ -1804,7 +1804,10 @@ interface MushiApiClient {
1804
1804
  getReportStatus(reportId: string): Promise<MushiApiResponse<{
1805
1805
  status: MushiReportStatus;
1806
1806
  }>>;
1807
- getSdkConfig(): Promise<MushiApiResponse<MushiRuntimeSdkConfig>>;
1807
+ /** `fresh` bypasses the browser HTTP cache (used by `trackSessions: 'on-demand'`). */
1808
+ getSdkConfig(opts?: {
1809
+ fresh?: boolean;
1810
+ }): Promise<MushiApiResponse<MushiRuntimeSdkConfig>>;
1808
1811
  /**
1809
1812
  * Send one assistant turn. Forwards the page context + thread id; the
1810
1813
  * end-user identity token (when set) travels on the X-Mushi-User-Token
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mushi-mushi/core",
3
- "version": "1.34.0",
3
+ "version": "1.35.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",
@@ -90,7 +90,7 @@
90
90
  "size-limit": [
91
91
  {
92
92
  "path": "dist/index.js",
93
- "limit": "25.9 KB"
93
+ "limit": "26.0 KB"
94
94
  }
95
95
  ],
96
96
  "devDependencies": {