@meltingspot/core 1.7.0 → 1.10.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 +42 -0
- package/api/meltingSpotApi.d.ts +6 -2
- package/index.d.ts +1 -1
- package/index.mjs +5703 -6194
- package/index.umd.js +18 -18
- package/package.json +1 -1
- package/playbookEditor/index.d.ts +4 -1
- package/services/api/playbook/playbook.api.output.d.ts +3 -0
- package/services/http.service.d.ts +3 -0
- package/types/coachMute/coachMutePreset.d.ts +8 -0
- package/types/coachMute/index.d.ts +1 -0
- package/types/conversation/conversationSseEvent.d.ts +8 -1
- package/types/index.d.ts +1 -0
- package/types/meltyIntent/displayConfig.d.ts +13 -0
- package/types/meltyIntent/displayRuleTimeUnit.d.ts +5 -0
- package/types/meltyIntent/index.d.ts +3 -0
- package/types/meltyIntent/intentUserState.d.ts +1 -0
- package/types/meltyIntent/repetitionMode.d.ts +6 -0
- package/utils/playbookEditor/bridge.d.ts +19 -4
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,48 @@ Date: YYYY-MM-DD
|
|
|
15
15
|
|
|
16
16
|
-->
|
|
17
17
|
|
|
18
|
+
## v1.10.0
|
|
19
|
+
|
|
20
|
+
Date: 2026-09-03
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- Export the `HttpError` class, so an integrator can read the HTTP status code
|
|
25
|
+
of a failed API call (`error.code`) instead of parsing its message.
|
|
26
|
+
- Export `CoachMutePreset`, the durations a member can choose from when muting
|
|
27
|
+
the Coach: 30 minutes, 1 hour, 2 hours, until tomorrow, until next week, or
|
|
28
|
+
until they turn it back on.
|
|
29
|
+
- Export the intent display-rule types — `MeltyDisplayConfig`, `DisplayRuleTimer`,
|
|
30
|
+
`RepetitionMode` and `DisplayRuleTimeUnit` — describing how long a hotspot
|
|
31
|
+
stays hidden once a member has set it aside, and how often it may come back.
|
|
32
|
+
- `IntentUserState` gained a required `lastPoppedAt` field. Reading the type is
|
|
33
|
+
unaffected; code that builds the value has to set it.
|
|
34
|
+
|
|
35
|
+
### Patch Changes
|
|
36
|
+
|
|
37
|
+
- Fixed a case where two Coaches could end up running on the same page while an
|
|
38
|
+
admin was editing or previewing a playbook.
|
|
39
|
+
|
|
40
|
+
## v1.9.0
|
|
41
|
+
|
|
42
|
+
Date: 2026-08-18
|
|
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
|
+
|
|
50
|
+
## v1.8.0
|
|
51
|
+
|
|
52
|
+
Date: 2026-08-13
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- Release alignment with the other MeltingSpot SDKs (`@meltingspot/embed`,
|
|
57
|
+
`@meltingspot/widget`, `@meltingspot/coach`). No functional changes to
|
|
58
|
+
`@meltingspot/core`.
|
|
59
|
+
|
|
18
60
|
## v1.7.0
|
|
19
61
|
|
|
20
62
|
Date: 2026-08-10
|
package/api/meltingSpotApi.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Result } from 'neverthrow';
|
|
2
|
-
import { HttpGetInput, HttpPatchInput, HttpPostInput, HttpError, HttpMethods } from '../services/http.service';
|
|
2
|
+
import { HttpDeleteInput, HttpGetInput, HttpPatchInput, HttpPostInput, HttpError, HttpMethods } from '../services/http.service';
|
|
3
3
|
export declare enum MeltingSpotApiHeaders {
|
|
4
4
|
Authorization = "Authorization",
|
|
5
5
|
SpotId = "x-spotid"
|
|
@@ -10,6 +10,10 @@ interface CommonApiCallInput {
|
|
|
10
10
|
options?: Omit<HttpGetInput, 'url'> | Omit<HttpPostInput, 'url'>;
|
|
11
11
|
requiresAuth?: boolean;
|
|
12
12
|
}
|
|
13
|
+
interface DeleteApiCallInput extends CommonApiCallInput {
|
|
14
|
+
method: HttpMethods.DELETE;
|
|
15
|
+
options?: Omit<HttpDeleteInput, 'url'>;
|
|
16
|
+
}
|
|
13
17
|
interface GetApiCallInput extends CommonApiCallInput {
|
|
14
18
|
method: HttpMethods.GET;
|
|
15
19
|
options?: Omit<HttpGetInput, 'url'>;
|
|
@@ -22,7 +26,7 @@ interface PostApiCallInput extends CommonApiCallInput {
|
|
|
22
26
|
method: HttpMethods.POST;
|
|
23
27
|
options: Omit<HttpPostInput, 'url'>;
|
|
24
28
|
}
|
|
25
|
-
type ApiCallInput = GetApiCallInput | PatchApiCallInput | PostApiCallInput;
|
|
29
|
+
type ApiCallInput = DeleteApiCallInput | GetApiCallInput | PatchApiCallInput | PostApiCallInput;
|
|
26
30
|
export interface AuthenticatedRequest {
|
|
27
31
|
url: string;
|
|
28
32
|
headers: Record<string, string>;
|
package/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { ConfigurationService } from './services/configuration.service';
|
|
|
6
6
|
import { SsoService } from './services/sso.service';
|
|
7
7
|
export { AuthService, AuthServiceEvents, type AuthTokensUpdatedEventDetail, } from './services/auth.service';
|
|
8
8
|
export { SsoService } from './services/sso.service';
|
|
9
|
-
export { HttpService, HttpMethods } from './services/http.service';
|
|
9
|
+
export { HttpError, HttpService, HttpMethods } from './services/http.service';
|
|
10
10
|
export { RouteChangeDetector } from './services/routeChangeDetector.service';
|
|
11
11
|
export type { RouteChangeDetectorOptions } from './services/routeChangeDetector.service';
|
|
12
12
|
export type { MeltingSpotConfiguration, StreamTransport, StreamTransportRequest, } from './services/configuration.service';
|