@nomalism-com/api 0.8.405 → 0.8.408

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.
@@ -86,7 +86,7 @@ exports.findByProvider = repository.findByProvider, exports.findByOwnerId = repo
86
86
  var getStockCsvUrl = function (_a) {
87
87
  var date = _a.date, token = _a.token;
88
88
  var qs = new URLSearchParams();
89
- qs.set('date', date.toISOString());
89
+ qs.set('date', date);
90
90
  qs.set('token', token);
91
91
  return "".concat(exports.publicRoute, "csv?").concat(qs.toString());
92
92
  };
@@ -224,9 +224,9 @@ var getExportCurrentAccountUrl = function (_a) {
224
224
  var qs = new URLSearchParams();
225
225
  qs.set('owner_id', owner_id);
226
226
  if (start_date)
227
- qs.set('start_date', start_date.toISOString());
227
+ qs.set('start_date', start_date);
228
228
  if (end_date)
229
- qs.set('end_date', end_date.toISOString());
229
+ qs.set('end_date', end_date);
230
230
  qs.set('token', token);
231
231
  return "".concat(exports.publicRoute, "export_current_account?").concat(qs.toString());
232
232
  };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.8.405",
12
+ "version": "0.8.408",
13
13
  "main": "dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -32,22 +32,22 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/convert-units": "^2.3.6",
35
- "@types/node": "^18.16.19",
35
+ "@types/node": "^18.17.1",
36
36
  "@typescript-eslint/eslint-plugin": "^5.62.0",
37
37
  "@typescript-eslint/parser": "^5.62.0",
38
38
  "concurrently": "^8.2.0",
39
39
  "eslint": "^8.45.0",
40
40
  "eslint-config-airbnb-base": "^15.0.0",
41
- "eslint-config-prettier": "^8.8.0",
41
+ "eslint-config-prettier": "^8.9.0",
42
42
  "eslint-import-resolver-typescript": "^3.5.5",
43
- "eslint-plugin-import": "^2.27.5",
43
+ "eslint-plugin-import": "^2.28.0",
44
44
  "eslint-plugin-prettier": "^4.2.1",
45
45
  "prettier": "^2.8.8",
46
46
  "tsx": "^3.12.7",
47
47
  "typescript": "^5.1.6"
48
48
  },
49
49
  "dependencies": {
50
- "@nomalism-com/types": "^0.9.537",
50
+ "@nomalism-com/types": "^0.9.541",
51
51
  "axios": "^0.27.2"
52
52
  }
53
53
  }