npgsqlrest 2.26.0 → 2.27.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npgsqlrest",
3
- "version": "2.26.0",
3
+ "version": "2.27.1",
4
4
  "description": "Automatic REST API for PostgreSQL Databases Client Build",
5
5
  "scripts": {
6
6
  "postinstall": "node postinstall.js",
package/postinstall.js CHANGED
@@ -6,7 +6,7 @@ const os = require("os");
6
6
  const https = require("https");
7
7
 
8
8
  const downloadDir = "../.bin/";
9
- const downloadFrom = "https://github.com/NpgsqlRest/NpgsqlRest/releases/download/v2.31.0-client-v2.26.0/";
9
+ const downloadFrom = "https://github.com/NpgsqlRest/NpgsqlRest/releases/download/v2.32.0-client-v2.27.1/";
10
10
 
11
11
  function download(url, to, done) {
12
12
  https.get(url, (response) => {
package/readme.md CHANGED
@@ -180,7 +180,7 @@ Type executable name:
180
180
  ```console
181
181
  ~/dev
182
182
  ❯ ./npgsqlrest
183
- [11:33:35.440 INF] Started in 00:00:00.0940095, listening on ["http://localhost:8080"], version 2.26.0.0 [NpgsqlRest]
183
+ [11:33:35.440 INF] Started in 00:00:00.0940095, listening on ["http://localhost:8080"], version 2.27.0.0 [NpgsqlRest]
184
184
  ```
185
185
 
186
186
  Or, run as NPX command for NPM distributions:
@@ -188,7 +188,7 @@ Or, run as NPX command for NPM distributions:
188
188
  ```console
189
189
  ~/dev
190
190
  ❯ npx npgsqlrest
191
- [11:33:35.440 INF] Started in 00:00:00.0940095, listening on ["http://localhost:8080"], version 2.26.0.0 [NpgsqlRest]
191
+ [11:33:35.440 INF] Started in 00:00:00.0940095, listening on ["http://localhost:8080"], version 2.27.0.0 [NpgsqlRest]
192
192
  ```
193
193
 
194
194
  Or, run the appropriate Docker command (expose the 8080 default port and bind the default configuration):
@@ -196,7 +196,7 @@ Or, run the appropriate Docker command (expose the 8080 default port and bind th
196
196
  ```bash
197
197
  ~/dev
198
198
  ❯ docker run -p 8080:8080 -v ./appsettings.json:/app/appsettings.json --network host vbilopav/npgsqlrest:latest
199
- [11:33:35.440 INF] Started in 00:00:00.0940095, listening on ["http://localhost:8080"], version 2.26.0.0 [NpgsqlRest]
199
+ [11:33:35.440 INF] Started in 00:00:00.0940095, listening on ["http://localhost:8080"], version 2.27.0.0 [NpgsqlRest]
200
200
  ```
201
201
 
202
202
  Congratulations, your High Speed Web Server is running with `/hello` endpoint exposed.
@@ -251,7 +251,7 @@ After running with this configuration, we will see much more information in the
251
251
  [12:46:05.332 DBG] Created HTTP file: ./src/http/todo_public.http [NpgsqlRest.HttpFiles]
252
252
  [12:46:05.340 DBG] Created Typescript type file: ./src/app/api/publicApiTypes.d.ts [NpgsqlRest.TsClient]
253
253
  [12:46:05.340 DBG] Created Typescript file: ./src/app/api/publicApi.ts [NpgsqlRest.TsClient]
254
- [12:46:05.358 INF] Started in 00:00:00.2759846, listening on ["http://localhost:8080"], version 2.26.0.0 [NpgsqlRest]
254
+ [12:46:05.358 INF] Started in 00:00:00.2759846, listening on ["http://localhost:8080"], version 2.27.0.0 [NpgsqlRest]
255
255
  ```
256
256
 
257
257
  Also, two more files will be generated on startup: