@kolinalabs/nodejs-api-pack
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "@kolinalabs/nodejs-api-pack", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Basic API flow helper for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
const { Method, Type } = require("./enums"); | ||
const StrictApiPack = require('./strict-api-pack'); | ||
@@ -170,2 +171,14 @@ module.exports = class ApiPack { | ||
} | ||
strictify(operation) { | ||
return new StrictApiPack({ | ||
operation, | ||
provider: this.getOperationProvider(), | ||
persister: this.getOperationPersister(), | ||
routeChecker: this.getRouteChecker(), | ||
resourceChecker: this.getOperationChecker(), /** @deprecated method */ | ||
validator: this.getOperationValidator(), | ||
serializer: this.getOperationSerializer() | ||
}); | ||
} | ||
}; |
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
23396
14
557