@nomalism-com/api 1.3.31 → 1.3.32

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
@@ -4013,10 +4013,10 @@ var Repository119 = class {
4013
4013
  constructor({ route }) {
4014
4014
  this.route = route;
4015
4015
  }
4016
- getUrl({ month, year, token }) {
4016
+ getUrl({ date_start, date_end, token }) {
4017
4017
  const qs = new URLSearchParams();
4018
- qs.set("month", month.toString());
4019
- qs.set("year", year.toString());
4018
+ qs.set("date_start", date_start);
4019
+ qs.set("date_end", date_end);
4020
4020
  qs.set("token", token);
4021
4021
  return `${this.route}download?${qs.toString()}`;
4022
4022
  }
@@ -1,11 +1,11 @@
1
1
  import { IModuleConstructor } from '../../main';
2
2
  export interface IDownloadSaftRequest {
3
- month: number;
4
- year: number;
3
+ date_start: string;
4
+ date_end: string;
5
5
  token: string;
6
6
  }
7
7
  export default class Repository {
8
8
  route: string;
9
9
  constructor({ route }: IModuleConstructor);
10
- getUrl({ month, year, token }: IDownloadSaftRequest): string;
10
+ getUrl({ date_start, date_end, token }: IDownloadSaftRequest): string;
11
11
  }
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.31",
4
+ "version": "1.3.32",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "axios": "^1.15.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@swc/core": "^1.15.24",
30
+ "@swc/core": "^1.15.26",
31
31
  "@types/node": "^24.12.2",
32
32
  "@typescript-eslint/eslint-plugin": "^8.58.2",
33
33
  "@typescript-eslint/parser": "^8.58.2",
@@ -35,7 +35,7 @@
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "eslint-import-resolver-typescript": "^4.4.4",
37
37
  "eslint-plugin-prettier": "^5.5.5",
38
- "prettier": "^3.8.2",
38
+ "prettier": "^3.8.3",
39
39
  "tsup": "^8.5.1"
40
40
  },
41
41
  "repository": {