@eik/service 2.0.162 → 2.0.163

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.0.163](https://github.com/eik-lib/service/compare/v2.0.162...v2.0.163) (2024-07-29)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * sending in service default config to the FS sink ([#492](https://github.com/eik-lib/service/issues/492)) ([f9025f6](https://github.com/eik-lib/service/commit/f9025f61af27a6957717d9a0fd662ba28b336392))
7
+
1
8
  ## [2.0.162](https://github.com/eik-lib/service/compare/v2.0.161...v2.0.162) (2024-07-08)
2
9
 
3
10
 
package/lib/main.js CHANGED
@@ -30,7 +30,7 @@ const EikService = class EikService {
30
30
  sink = new eik.sink.MEM();
31
31
  } else {
32
32
  logger.info(`Server is running with the file system sink. Uploaded files will be stored under "${config.get('sink.path')}"`);
33
- sink = new eik.sink.FS();
33
+ sink = new eik.sink.FS({ sinkFsRootPath: config.get('sink.path') });
34
34
  }
35
35
 
36
36
  // Transform organization config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eik/service",
3
- "version": "2.0.162",
3
+ "version": "2.0.163",
4
4
  "description": "Eik REST API as a standalone HTTP service",
5
5
  "type": "module",
6
6
  "main": "./lib/main.js",
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "scripts": {
13
13
  "start": "node ./bin/eik-server.js | pino-pretty",
14
- "test": "LOG_LEVEL=fatal tap ./test --disable-coverage --allow-empty-coverage --serial=test",
15
- "test:snapshots": "LOG_LEVEL=fatal tap --snapshot --disable-coverage --allow-empty-coverage --serial=test",
14
+ "test": "cross-env LOG_LEVEL=fatal tap ./test --disable-coverage --allow-empty-coverage --serial=test",
15
+ "test:snapshots": "cross-env LOG_LEVEL=fatal tap --snapshot --disable-coverage --allow-empty-coverage --serial=test",
16
16
  "lint:fix": "eslint --fix .",
17
17
  "lint": "eslint ."
18
18
  },
@@ -34,11 +34,11 @@
34
34
  "homepage": "https://github.com/eik-lib/service#readme",
35
35
  "dependencies": {
36
36
  "@eik/core": "1.3.47",
37
- "convict": "6.2.4",
38
- "fastify": "4.28.0",
39
37
  "@fastify/compress": "6.5.0",
40
38
  "@fastify/cors": "8.5.0",
41
39
  "@fastify/jwt": "7.2.4",
40
+ "convict": "6.2.4",
41
+ "fastify": "4.28.0",
42
42
  "http-errors": "2.0.0",
43
43
  "js-yaml": "4.1.0",
44
44
  "pino": "8.21.0"
@@ -47,6 +47,7 @@
47
47
  "@babel/eslint-parser": "7.24.6",
48
48
  "@semantic-release/changelog": "6.0.3",
49
49
  "@semantic-release/git": "10.0.1",
50
+ "cross-env": "^7.0.3",
50
51
  "eslint": "8.57.0",
51
52
  "eslint-config-airbnb-base": "15.0.0",
52
53
  "eslint-config-prettier": "9.1.0",