@iblai/web-utils 1.2.12 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -53,6 +53,10 @@ export type ChatSliceState = {
53
53
  artifactsEnabled: boolean;
54
54
  streamingArtifactContentBuffer: string;
55
55
  lastArtifactContentFlushTime: number;
56
+ metadata: {
57
+ edxCourseId: string;
58
+ edxUsageId: string;
59
+ };
56
60
  };
57
61
  export declare const chatActions: import("@reduxjs/toolkit").CaseReducerActions<import("@reduxjs/toolkit").SliceCaseReducers<ChatSliceState>, string>;
58
62
  export declare const chatSliceReducerShared: Reducer<ChatSliceState>;
@@ -99,6 +103,12 @@ export declare const selectIframeContext: (state: {
99
103
  pageContent: string;
100
104
  metadata: Record<string, string> | null;
101
105
  };
106
+ export declare const selectMetadata: (state: {
107
+ chatSliceShared: ChatSliceState;
108
+ }) => {
109
+ edxCourseId: string;
110
+ edxUsageId: string;
111
+ };
102
112
  export declare const selectDocumentFilter: (state: {
103
113
  chatSliceShared: ChatSliceState;
104
114
  }) => Record<string, unknown> | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/web-utils",
3
- "version": "1.2.12",
3
+ "version": "1.3.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",