@nomalism-com/api 1.3.54 → 1.3.55

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.cjs CHANGED
@@ -3675,7 +3675,7 @@ var Repository89 = class {
3675
3675
  await this.api.put(`${this.route}downloaded_batch_number/${id}`);
3676
3676
  }
3677
3677
  async deleteOne(selector) {
3678
- await this.api.delete(`${this.route}delete_batch${selector.id}`);
3678
+ await this.api.delete(`${this.route}delete_batch/${selector.id}`);
3679
3679
  }
3680
3680
  getBatchPdfUrl(opts) {
3681
3681
  const qs = new URLSearchParams();
package/dist/index.js CHANGED
@@ -3642,7 +3642,7 @@ var Repository89 = class {
3642
3642
  await this.api.put(`${this.route}downloaded_batch_number/${id}`);
3643
3643
  }
3644
3644
  async deleteOne(selector) {
3645
- await this.api.delete(`${this.route}delete_batch${selector.id}`);
3645
+ await this.api.delete(`${this.route}delete_batch/${selector.id}`);
3646
3646
  }
3647
3647
  getBatchPdfUrl(opts) {
3648
3648
  const qs = new URLSearchParams();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/api",
3
3
  "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "version": "1.3.54",
4
+ "version": "1.3.55",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -30,16 +30,16 @@
30
30
  "prepare": "husky"
31
31
  },
32
32
  "dependencies": {
33
- "@nomalism-com/types": "^1.3.56",
33
+ "@nomalism-com/types": "^1.3.58",
34
34
  "axios": "^1.20.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@eslint/js": "^10.0.1",
38
38
  "@swc/core": "^1.16.13",
39
- "@types/node": "^26.6.3",
39
+ "@types/node": "^26.6.4",
40
40
  "@typescript-eslint/eslint-plugin": "^8.62.0",
41
41
  "@typescript-eslint/parser": "^8.62.0",
42
- "eslint": "^10.11.0",
42
+ "eslint": "^10.12.0",
43
43
  "eslint-config-prettier": "^10.1.8",
44
44
  "eslint-plugin-simple-import-sort": "^14.0.0",
45
45
  "globals": "^17.13.0",
@@ -47,7 +47,7 @@
47
47
  "lint-staged": "^17.6.0",
48
48
  "prettier": "^3.9.9",
49
49
  "tsup": "^8.5.1",
50
- "typescript-eslint": "^8.71.0"
50
+ "typescript-eslint": "^8.71.1"
51
51
  },
52
52
  "repository": {
53
53
  "type": "git",