@meltingspot/core 1.0.0 → 1.2.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/CHANGELOG.md +26 -0
- package/index.d.ts +2 -1
- package/index.mjs +1402 -1370
- package/index.umd.js +8 -8
- package/package.json +1 -1
- package/services/api/playbook/playbook.api.output.d.ts +1 -0
- package/services/api/spotMember/spotMember.api.service.d.ts +6 -0
- package/services/configuration.service.d.ts +22 -0
- package/services/http.service.d.ts +1 -0
- package/types/conversation/conversationMessage.d.ts +4 -0
- package/types/conversation/conversationSseEvent.d.ts +9 -1
- package/types/conversation/getConversationMessagesResponse.d.ts +4 -0
- package/types/conversation/index.d.ts +1 -0
- package/types/conversation/meltyHandoffReason.d.ts +6 -0
- package/types/simplifiedRichText.d.ts +3 -0
- package/types/widget/spotWidgetContentType.d.ts +1 -0
- package/utils/playbook/testUrlMatching.d.ts +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,32 @@ Date: YYYY-MM-DD
|
|
|
15
15
|
|
|
16
16
|
-->
|
|
17
17
|
|
|
18
|
+
## v1.2.0
|
|
19
|
+
|
|
20
|
+
Date: 2026-07-07
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- Add an optional `streamTransport` configuration override for SSE streaming.
|
|
25
|
+
When set, `MeltingSpotApi.stream` delegates to it instead of a direct `fetch`,
|
|
26
|
+
so an integrator can route the stream through its own channel (e.g. a browser
|
|
27
|
+
extension's service-worker Port) while callers keep consuming a
|
|
28
|
+
`ReadableStream` unchanged. Defaults to the direct authenticated fetch.
|
|
29
|
+
- Export the `StreamTransport` and `StreamTransportRequest` types (the transport
|
|
30
|
+
contract) and the `PlaybookApiService`.
|
|
31
|
+
|
|
32
|
+
## v1.1.0
|
|
33
|
+
|
|
34
|
+
Date: 2026-06-25
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- Add the opt-in `autoJoin` configuration flag (default `false`): when enabled,
|
|
39
|
+
the SDK auto-joins and auto-validates the member on the spot right after SSO
|
|
40
|
+
login.
|
|
41
|
+
- Expose `validateSsoToken` and the `spotMembers~joinFromSso` API service used
|
|
42
|
+
by the auto-join flow.
|
|
43
|
+
|
|
18
44
|
## v1.0.0
|
|
19
45
|
|
|
20
46
|
Date: 2026-06-17
|
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { SsoService } from './services/sso.service';
|
|
|
9
9
|
export { HttpService, HttpMethods } from './services/http.service';
|
|
10
10
|
export { RouteChangeDetector } from './services/routeChangeDetector.service';
|
|
11
11
|
export type { RouteChangeDetectorOptions } from './services/routeChangeDetector.service';
|
|
12
|
-
export type { MeltingSpotConfiguration } from './services/configuration.service';
|
|
12
|
+
export type { MeltingSpotConfiguration, StreamTransport, StreamTransportRequest, } from './services/configuration.service';
|
|
13
13
|
export { ConfigurationService } from './services/configuration.service';
|
|
14
14
|
export { MeltingSpotApi, type AuthenticatedRequest, } from './api/meltingSpotApi';
|
|
15
15
|
export * from './services/api/playbook/playbook.api.input';
|
|
@@ -17,6 +17,7 @@ export * from './services/api/playbook/playbook.api.output';
|
|
|
17
17
|
export * from './services/api/spot/spot.api.output';
|
|
18
18
|
export * from './services/api/spotMember/spotMember.api.output';
|
|
19
19
|
export { AnalyticsApiService } from './services/api/analytics/analytics.api.service';
|
|
20
|
+
export { PlaybookApiService } from './services/api/playbook/playbook.api.service';
|
|
20
21
|
export { SpotMemberApiService } from './services/api/spotMember/spotMember.api.service';
|
|
21
22
|
export type { AppendAnalyticsEventInput } from './services/api/analytics/analytics.api.input';
|
|
22
23
|
export { setLoggerDebugMode } from './logger';
|