@etsoo/smarterp-core 1.0.82 → 1.0.83

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/lib/cjs/OrgApi.js CHANGED
@@ -236,7 +236,7 @@ class OrgApi extends appscript_1.EntityApi {
236
236
  * @returns Result
237
237
  */
238
238
  updateApiRead(id, payload) {
239
- return this.updateReadBase(id, payload);
239
+ return this.api.get(`${this.flag}/UpdateApiRead/${id}`, undefined, payload);
240
240
  }
241
241
  /**
242
242
  * Upload profle attachments
package/lib/mjs/OrgApi.js CHANGED
@@ -233,7 +233,7 @@ export class OrgApi extends EntityApi {
233
233
  * @returns Result
234
234
  */
235
235
  updateApiRead(id, payload) {
236
- return this.updateReadBase(id, payload);
236
+ return this.api.get(`${this.flag}/UpdateApiRead/${id}`, undefined, payload);
237
237
  }
238
238
  /**
239
239
  * Upload profle attachments
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.82",
3
+ "version": "1.0.83",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -47,7 +47,7 @@
47
47
  "@babel/runtime-corejs3": "^7.27.6",
48
48
  "@types/react": "^18.3.23",
49
49
  "@types/react-dom": "^18.3.7",
50
- "@vitejs/plugin-react": "^4.5.2",
50
+ "@vitejs/plugin-react": "^4.6.0",
51
51
  "jsdom": "^26.1.0",
52
52
  "typescript": "^5.8.3",
53
53
  "vitest": "^3.2.4"
package/src/OrgApi.ts CHANGED
@@ -303,7 +303,7 @@ export class OrgApi extends EntityApi {
303
303
  * @returns Result
304
304
  */
305
305
  updateApiRead(id: number, payload?: IApiPayload<OrgUpdateApiReadDto>) {
306
- return this.updateReadBase(id, payload);
306
+ return this.api.get(`${this.flag}/UpdateApiRead/${id}`, undefined, payload);
307
307
  }
308
308
 
309
309
  /**