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

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,12 @@ 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
+ * Defaults to 'v1' (works on both sandbox and test environments).
45
+ * Set to 'v4' only if your backend specifically requires it.
46
+ */
47
+ categoryDefinitionApiVersion?: 'v1' | 'v4';
42
48
  }
43
49
  export interface IEditorConfig {
44
50
  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.9",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",