Skip to content

Commit 8aaa5f3

Browse files
authored
Merge pull request #27 from lighthouse-web3/v0.2.1
V0.2.1
2 parents f63efb1 + 1abfade commit 8aaa5f3

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lighthouse-web3/kavach",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Encryption SDK: Build your trustless, decentralized and fault resistance Application using distributed key shades with threshold cryptography",
55
"author": "xlassix",
66
"main": "./dist/methods/index.js",

src/methods/accessControl/validator.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ const SupportedChains = {
7575
};
7676

7777
const evmConditions = Joi.array()
78-
.min(1)
7978
.required()
8079
.items(
8180
Joi.object({
@@ -127,7 +126,6 @@ const evmConditions = Joi.array()
127126
.unique((a, b) => a.id === b.id);
128127

129128
const solanaConditions = Joi.array()
130-
.min(1)
131129
.required()
132130
.items(
133131
Joi.object({
@@ -176,7 +174,6 @@ const solanaConditions = Joi.array()
176174
.unique((a, b) => a.id === b.id);
177175

178176
const coreumConditions = Joi.array()
179-
.min(1)
180177
.required()
181178
.items(
182179
Joi.object({
@@ -218,7 +215,6 @@ const coreumConditions = Joi.array()
218215
.unique((a, b) => a.id === b.id);
219216

220217
const radixConditions = Joi.array()
221-
.min(1)
222218
.required()
223219
.items(
224220
Joi.object({

0 commit comments

Comments
 (0)