express-router-api
Advanced tools
Comparing version 1.3.6 to 1.3.7
@@ -10,6 +10,6 @@ import { Request, Response, Router, RouterOptions } from 'express'; | ||
} | ||
export declare const ApiNext: {}; | ||
export declare const ApiNext: unique symbol; | ||
declare type SimpleApiResult = string | boolean | number | object | { | ||
[key: string]: string; | ||
} | undefined; | ||
} | typeof ApiNext | undefined; | ||
export declare class ApiResponse { | ||
@@ -16,0 +16,0 @@ apiResult: SimpleApiResult; |
@@ -26,3 +26,3 @@ "use strict"; | ||
exports.ApiError = ApiError; | ||
exports.ApiNext = {}; | ||
exports.ApiNext = Symbol('ApiNext'); | ||
class ApiResponse { | ||
@@ -29,0 +29,0 @@ constructor(apiResult, code = 200) { |
{ | ||
"name": "express-router-api", | ||
"version": "1.3.6", | ||
"version": "1.3.7", | ||
"description": "Express router that lets you construct your API entirely on promises", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -34,5 +34,5 @@ import { | ||
export const ApiNext = {}; | ||
export const ApiNext: unique symbol = Symbol('ApiNext'); | ||
type SimpleApiResult = string | boolean | number | object | { [key: string]: string; } | undefined; | ||
type SimpleApiResult = string | boolean | number | object | { [key: string]: string; } | typeof ApiNext | undefined; | ||
@@ -39,0 +39,0 @@ export class ApiResponse { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80355