Comparing version 6.0.1 to 6.0.2
@@ -11,5 +11,2 @@ "use strict"; | ||
constructor({ identityProviders }) { | ||
if (identityProviders.length === 0) { | ||
throw new Error('Identity providers are missing.'); | ||
} | ||
this.identityProviders = identityProviders; | ||
@@ -16,0 +13,0 @@ } |
@@ -26,6 +26,2 @@ import { Claims } from './Claims'; | ||
}) { | ||
if (identityProviders.length === 0) { | ||
throw new Error('Identity providers are missing.'); | ||
} | ||
this.identityProviders = identityProviders; | ||
@@ -32,0 +28,0 @@ } |
{ | ||
"name": "limes", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "limes authenticates users.", | ||
@@ -26,9 +26,10 @@ "contributors": [ | ||
"@types/express": "4.17.2", | ||
"@types/jsonwebtoken": "8.3.5", | ||
"@types/jsonwebtoken": "8.3.7", | ||
"@types/supertest": "2.0.8", | ||
"assertthat": "5.0.2", | ||
"assertthat": "5.1.0", | ||
"express": "4.17.1", | ||
"roboter": "9.2.3", | ||
"roboter": "11.0.21", | ||
"semantic-release-configuration": "1.0.18", | ||
"supertest": "4.0.2", | ||
"uuidv4": "6.0.0" | ||
"uuidv4": "6.0.2" | ||
}, | ||
@@ -35,0 +36,0 @@ "repository": { |
@@ -7,9 +7,9 @@ # limes | ||
| Category | Status | | ||
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | ||
| Version | [![npm](https://img.shields.io/npm/v/limes)](https://www.npmjs.com/package/limes) | | ||
| Dependencies | ![David](https://img.shields.io/david/thenativeweb/limes) | | ||
| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/limes) | | ||
| Build | [![CircleCI](https://img.shields.io/circleci/build/github/thenativeweb/limes)](https://circleci.com/gh/thenativeweb/limes/tree/master) | | ||
| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/limes) | | ||
| Category | Status | | ||
| ---------------- | ------------------------------------------------------------------------------------------------------- | | ||
| Version | [![npm](https://img.shields.io/npm/v/limes)](https://www.npmjs.com/package/limes) | | ||
| Dependencies | ![David](https://img.shields.io/david/thenativeweb/limes) | | ||
| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/limes) | | ||
| Build | ![GitHub Actions](https://github.com/thenativeweb/limes/workflows/Release/badge.svg?branch=master) | | ||
| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/limes) | | ||
@@ -48,3 +48,3 @@ ## Installation | ||
Then you can call the `Limes` constructor function to create a new limes instance. Hand over an array of one or more of the previously created identity providers: | ||
Then you can call the `Limes` constructor function to create a new limes instance. Hand over an array of the previously created identity providers: | ||
@@ -51,0 +51,0 @@ ```javascript |
16
23958
9
475