Comparing version 2.1.1 to 2.1.2
@@ -61,2 +61,3 @@ 'use strict' | ||
case 401: | ||
case 403: | ||
throw new Error(messages.INVALID_AUTH_ERROR) | ||
@@ -63,0 +64,0 @@ case 404: |
{ | ||
"name": "openwhisk", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "JavaScript client library for the OpenWhisk platform", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -9,2 +9,3 @@ 'use strict' | ||
t.throws(() => base_operation.handle_errors({statusCode: 401}), /authentication failed/) | ||
t.throws(() => base_operation.handle_errors({statusCode: 403}), /authentication failed/) | ||
t.throws(() => base_operation.handle_errors({statusCode: 404}), /HTTP 404/) | ||
@@ -11,0 +12,0 @@ t.throws(() => base_operation.handle_errors({statusCode: 408}), /timed out/) |
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
107949
2176