Skip to content

Commit

Permalink
feature: increase fwdHeaderKeys to less than 10 from 5 -- last update…
Browse files Browse the repository at this point in the history
… did not work for some reason
  • Loading branch information
newbreedofgeek committed Apr 18, 2024
1 parent 3ef4d16 commit 111240e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
"version": "3.2.0",
"version": "3.2.1",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
Expand Down
4 changes: 2 additions & 2 deletions src/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,12 @@ export function validateSpecificParamsViewData(params: {
typeof params.fwdHeaderKeys === 'string' &&
params.fwdHeaderKeys.trim() !== '' &&
params.fwdHeaderKeys.split(',').length > 0 &&
params.fwdHeaderKeys.split(',').length < 5
params.fwdHeaderKeys.split(',').length < 10
) {
fwdHeaderKeysIsValid = true;
} else {
validationMessages +=
'[fwdHeaderKeys needs to be a comma separated lowercase string with less than 5 items]';
'[fwdHeaderKeys needs to be a comma separated lowercase string with less than 10 items]';
}
}

Expand Down

0 comments on commit 111240e

Please sign in to comment.