@meltingspot/core 1.19.0 → 1.21.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 +32 -0
- package/index.d.ts +5 -0
- package/index.mjs +1009 -921
- package/index.umd.js +4 -4
- package/package.json +1 -1
- package/services/api/melty/melty.api.output.d.ts +7 -0
- package/services/api/melty/melty.api.service.d.ts +13 -0
- package/services/api/playbook/playbook.api.input.d.ts +5 -0
- package/types/conversation/conversationMessage.d.ts +2 -0
- package/types/conversation/conversationSseEvent.d.ts +9 -1
- package/types/conversation/getConversationMessagesResponse.d.ts +2 -0
- package/types/conversation/index.d.ts +1 -0
- package/types/conversation/listConversationsSort.d.ts +10 -0
- package/types/index.d.ts +1 -0
- package/types/roleplay/index.d.ts +1 -0
- package/types/roleplay/roleplayModality.d.ts +5 -0
- package/types/widget/metadata/generatedContentWidgetContentMetadata.d.ts +6 -0
- package/types/widget/metadata/index.d.ts +5 -1
- package/types/widget/metadata/roleplayWidgetContentMetadata.d.ts +10 -0
- package/types/widget/playbook/playbookIntentWidgetMode.d.ts +2 -1
- package/types/widget/spotWidgetContentType.d.ts +2 -0
- package/utils/date/types.d.ts +1 -1
- package/utils/formatLogContext.d.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,38 @@ Date: YYYY-MM-DD
|
|
|
15
15
|
|
|
16
16
|
-->
|
|
17
17
|
|
|
18
|
+
## Unreleased
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- `PlaybookApiService.listAccessiblePlaybookIntents` accepts an optional
|
|
23
|
+
`capabilities` list (e.g. `['roleplay']`): the intents of an opt-in content
|
|
24
|
+
type are only returned when its capability is sent. Unknown values are
|
|
25
|
+
ignored.
|
|
26
|
+
|
|
27
|
+
## v1.21.0
|
|
28
|
+
|
|
29
|
+
Date: 2026-11-25
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- `MeltingSpotApi.stream` returns an empty stream on a 204 answer, instead of
|
|
34
|
+
the `Response body is empty` error some browsers produced.
|
|
35
|
+
- The SDK loggers print an error passed as context (directly or as
|
|
36
|
+
`{ data: error }`) as `<name>: <message>`, so text-only consoles such as the
|
|
37
|
+
Errors tab of `chrome://extensions` show the cause instead of
|
|
38
|
+
`[object Object]`.
|
|
39
|
+
|
|
40
|
+
## v1.20.0
|
|
41
|
+
|
|
42
|
+
Date: 2026-11-17
|
|
43
|
+
|
|
44
|
+
### Minor Changes
|
|
45
|
+
|
|
46
|
+
- Release alignment with the other MeltingSpot SDKs (`@meltingspot/embed`,
|
|
47
|
+
`@meltingspot/widget`, `@meltingspot/coach`). No functional changes to
|
|
48
|
+
`@meltingspot/core`.
|
|
49
|
+
|
|
18
50
|
## v1.19.0
|
|
19
51
|
|
|
20
52
|
Date: 2026-11-09
|
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MeltyApiService } from './services/api/melty/melty.api.service';
|
|
1
2
|
import { PlaybookApiService } from './services/api/playbook/playbook.api.service';
|
|
2
3
|
import { SpotApiService } from './services/api/spot/spot.api.service';
|
|
3
4
|
import { SpotMemberApiService } from './services/api/spotMember/spotMember.api.service';
|
|
@@ -12,6 +13,7 @@ export type { RouteChangeDetectorOptions } from './services/routeChangeDetector.
|
|
|
12
13
|
export type { MeltingSpotConfiguration, StreamTransport, StreamTransportRequest, } from './services/configuration.service';
|
|
13
14
|
export { ConfigurationService } from './services/configuration.service';
|
|
14
15
|
export { MeltingSpotApi, type AuthenticatedRequest, } from './api/meltingSpotApi';
|
|
16
|
+
export * from './services/api/melty/melty.api.output';
|
|
15
17
|
export * from './services/api/playbook/playbook.api.input';
|
|
16
18
|
export * from './services/api/playbook/playbook.api.output';
|
|
17
19
|
export * from './services/api/spot/spot.api.output';
|
|
@@ -19,6 +21,7 @@ export { LIST_SPOTS_LIMIT } from './services/api/spot/spot.api.service';
|
|
|
19
21
|
export * from './services/api/spotMember/spotMember.api.output';
|
|
20
22
|
export * from './services/api/spotMemberAuth/spotMemberAuth.api.output';
|
|
21
23
|
export { AnalyticsApiService } from './services/api/analytics/analytics.api.service';
|
|
24
|
+
export { MeltyApiService } from './services/api/melty/melty.api.service';
|
|
22
25
|
export { PlaybookApiService } from './services/api/playbook/playbook.api.service';
|
|
23
26
|
export { SpotMemberApiService, type SearchSpotMembersInput, } from './services/api/spotMember/spotMember.api.service';
|
|
24
27
|
export { SpotMemberAuthApiService, type GeneratePreviewAccessKeyInput, } from './services/api/spotMemberAuth/spotMemberAuth.api.service';
|
|
@@ -31,6 +34,7 @@ export declare const Configuration: ConfigurationService;
|
|
|
31
34
|
export declare const Auth: AuthService;
|
|
32
35
|
export declare const Sso: SsoService;
|
|
33
36
|
export declare const Api: {
|
|
37
|
+
Melty: MeltyApiService;
|
|
34
38
|
Playbook: PlaybookApiService;
|
|
35
39
|
Spot: SpotApiService;
|
|
36
40
|
SpotMember: SpotMemberApiService;
|
|
@@ -41,6 +45,7 @@ declare global {
|
|
|
41
45
|
Auth: AuthService;
|
|
42
46
|
Sso: SsoService;
|
|
43
47
|
Api: {
|
|
48
|
+
Melty: MeltyApiService;
|
|
44
49
|
Playbook: PlaybookApiService;
|
|
45
50
|
Spot: SpotApiService;
|
|
46
51
|
SpotMember: SpotMemberApiService;
|