@project-sunbird/collection-editor-react 1.0.7 → 1.0.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.
package/dist/index.js CHANGED
@@ -8996,7 +8996,7 @@ async function CT(e, t, r, n) {
8996
8996
  })).data) == null ? void 0 : o.result) ?? {};
8997
8997
  }
8998
8998
  async function _T(e, t = "") {
8999
- await ze.post(`/action/content/v3/publish/${e}`, {
8999
+ await ze.post(`/action/collection/v1/publish/${e}`, {
9000
9000
  request: {
9001
9001
  content: {
9002
9002
  lastPublishedBy: t
@@ -9019,16 +9019,16 @@ async function Ph(e) {
9019
9019
  async function wT(e) {
9020
9020
  var r, n;
9021
9021
  return (n = (r = (await ze.get(
9022
- `/action/content/v3/read/${e}`
9022
+ `/action/collection/v1/read/${e}`
9023
9023
  )).data) == null ? void 0 : r.result) == null ? void 0 : n.content;
9024
9024
  }
9025
9025
  async function ST(e) {
9026
- await ze.post(`/action/content/v3/review/${e}`, {
9026
+ await ze.post(`/action/collection/v1/review/${e}`, {
9027
9027
  request: { content: {} }
9028
9028
  });
9029
9029
  }
9030
9030
  async function TT(e, t) {
9031
- await ze.post(`/action/content/v3/reject/${e}`, {
9031
+ await ze.post(`/action/collection/v1/reject/${e}`, {
9032
9032
  request: { content: { rejectComment: t } }
9033
9033
  });
9034
9034
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@project-sunbird/collection-editor-react",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",