@project-sunbird/collection-editor-react 0.1.7 → 0.1.8

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.
@@ -39,6 +39,11 @@ export interface IConfig {
39
39
  allowContentUnderRoot?: boolean;
40
40
  /** URL for the iframe-based content preview player. Defaults to the bundled preview.html path. */
41
41
  previewCdnUrl?: string;
42
+ /**
43
+ * API version for object/category/definition endpoint.
44
+ * Sandbox/older envs use 'v1'; current backend uses 'v4' (default).
45
+ */
46
+ categoryDefinitionApiVersion?: 'v1' | 'v4';
42
47
  }
43
48
  export interface IEditorConfig {
44
49
  context: IContext;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@project-sunbird/collection-editor-react",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",