@nomalism-com/api 1.3.3 → 1.3.5

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.d.ts CHANGED
@@ -1901,9 +1901,8 @@ interface IDownloadSaftRequest {
1901
1901
  }
1902
1902
  declare class Repository {
1903
1903
  route: string;
1904
- private api;
1905
- constructor({ api, route }: IModuleConstructor);
1906
- getUrl({ month, year, token }: IDownloadSaftRequest): Promise<string>;
1904
+ constructor({ route }: IModuleConstructor);
1905
+ getUrl({ month, year, token }: IDownloadSaftRequest): string;
1907
1906
  }
1908
1907
 
1909
1908
  type saft_IDownloadSaftRequest = IDownloadSaftRequest;
package/dist/index.js CHANGED
@@ -4211,11 +4211,10 @@ __export(saft_exports, {
4211
4211
  default: () => Repository122
4212
4212
  });
4213
4213
  var Repository122 = class {
4214
- constructor({ api, route }) {
4215
- this.api = api;
4214
+ constructor({ route }) {
4216
4215
  this.route = route;
4217
4216
  }
4218
- async getUrl({ month, year, token }) {
4217
+ getUrl({ month, year, token }) {
4219
4218
  const qs = new URLSearchParams();
4220
4219
  qs.set("month", month.toString());
4221
4220
  qs.set("year", year.toString());
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.3",
4
+ "version": "1.3.5",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",