hplx-feature-library 1.0.96 → 1.0.97

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.
@@ -23504,7 +23504,7 @@ function yx(o) {
23504
23504
  }, xt = async (gt) => {
23505
23505
  try {
23506
23506
  const ht = await p(gt);
23507
- ht.status && ht.data ? me(ht.data) : m?.("Failed to update document.");
23507
+ ht.success && ht.data ? me(ht.data) : m?.("Failed to update document.");
23508
23508
  } catch (ht) {
23509
23509
  m?.("An unexpected error occurred while updating the document."), console.error(ht);
23510
23510
  }
@@ -107,7 +107,7 @@ export interface I_UPDATE_DOCUMENT_REQUEST {
107
107
  }
108
108
  export interface I_UPDATE_DOCUMENT_RESPONSE {
109
109
  data?: I_DOCUMENT;
110
- status: boolean;
110
+ success: boolean;
111
111
  message: string;
112
112
  }
113
113
  export interface I_DELETE_FILE_RESPONSE {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hplx-feature-library",
3
3
  "private": false,
4
- "version": "1.0.96",
4
+ "version": "1.0.97",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "npm i hplx-react-elements-dev@qa && vite",
@@ -120,6 +120,7 @@
120
120
  "@types/react-modal": "^3.16.3",
121
121
  "@vitejs/plugin-react": "^4.5.2",
122
122
  "autoprefixer": "^10.4.21",
123
+ "axios": "^1.11.0",
123
124
  "eslint": "^9.29.0",
124
125
  "eslint-config-prettier": "^10.1.5",
125
126
  "eslint-plugin-import": "^2.32.0",