@bsv/sdk 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsv/sdk",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "type": "module",
5
5
  "description": "BSV Blockchain Software Development Kit",
6
6
  "main": "dist/cjs/mod.js",
@@ -1125,8 +1125,8 @@ export function validateListOutputsArgs (args: ListOutputsArgs): ValidListOutput
1125
1125
  else throw new WERR_INVALID_PARAMETER('tagQueryMode', 'undefined, \'any\', or \'all\'')
1126
1126
 
1127
1127
  const vargs: ValidListOutputsArgs = {
1128
- basket: validateStringLength(args.basket, 'basket', 1, 300),
1129
- tags: (args.tags != null ? args.tags : []).map(t => validateStringLength(t, 'tag', 1, 300)),
1128
+ basket: validateBasket(args.basket),
1129
+ tags: (args.tags != null ? args.tags : []).map(t => validateTag(t)),
1130
1130
  tagQueryMode,
1131
1131
  includeLockingScripts: args.include === 'locking scripts',
1132
1132
  includeTransactions: args.include === 'entire transactions',