@flink-app/generic-request-plugin 0.11.4-next.0 → 0.11.4

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
@@ -5,7 +5,7 @@ export declare enum HttpMethod {
5
5
  put = "put",
6
6
  delete = "delete"
7
7
  }
8
- export type GenericRequestOptions = {
8
+ export declare type GenericRequestOptions = {
9
9
  /**
10
10
  * Path for request
11
11
  */
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ var HttpMethod;
11
11
  HttpMethod["post"] = "post";
12
12
  HttpMethod["put"] = "put";
13
13
  HttpMethod["delete"] = "delete";
14
- })(HttpMethod || (exports.HttpMethod = HttpMethod = {}));
14
+ })(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));
15
15
  var genericRequestPlugin = function (options) {
16
16
  return {
17
17
  id: "genericRequestPlugin",
@@ -27,5 +27,5 @@ function init(app, options) {
27
27
  expressApp[options.method](options.path, function (req, res) {
28
28
  options.handler(req, res, app);
29
29
  });
30
- node_color_log_1.default.info("Registered genericRequest route ".concat(options.method, " ").concat(options.path));
30
+ node_color_log_1.default.info("Registered genericRequest route " + options.method + " " + options.path);
31
31
  }
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
1
  {
2
- "name": "@flink-app/generic-request-plugin",
3
- "version": "0.11.4-next.0",
4
- "description": "Flink plugin that makes it possible to override default request handlers and handle specific requests manually",
5
- "scripts": {
6
- "test": "echo \"Error: no test specified\"",
7
- "prepublish": "tsc"
8
- },
9
- "author": "johan@frost.se",
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "license": "MIT",
14
- "types": "dist/index.d.ts",
15
- "main": "dist/index.js",
16
- "dependencies": {
17
- "express": "^4.17.1",
18
- "node-color-log": "^5.3.1"
19
- },
20
- "devDependencies": {
21
- "@flink-app/flink": "^0.11.4-next.0",
22
- "@types/express": "4.17.11",
23
- "@types/node": "^22.10.1",
24
- "ts-node": "^10.9.2",
25
- "typescript": "5.6.2"
26
- },
27
- "gitHead": "6a44df1b6601c86ea3402750b939784d003202c3"
2
+ "name": "@flink-app/generic-request-plugin",
3
+ "version": "0.11.4",
4
+ "description": "Flink plugin that makes it possible to override default request handlers and handle specific requests manually",
5
+ "scripts": {
6
+ "test": "echo \"Error: no test specified\"",
7
+ "prepublish": "tsc"
8
+ },
9
+ "author": "johan@frost.se",
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "license": "MIT",
14
+ "types": "dist/index.d.ts",
15
+ "main": "dist/index.js",
16
+ "dependencies": {
17
+ "express": "^4.17.1",
18
+ "node-color-log": "^5.3.1"
19
+ },
20
+ "devDependencies": {
21
+ "@flink-app/flink": "^0.11.4",
22
+ "@types/express": "4.17.11",
23
+ "@types/node": "^15.6.2",
24
+ "ts-node": "^9.1.1",
25
+ "typescript": "^4.2.4"
26
+ },
27
+ "gitHead": "5f36b236f3059fbd77cb01b363d60e3061bdf714"
28
28
  }