@lit-protocol/uint8arrays
Advanced tools
Comparing version 6.4.1 to 6.4.2-pr-621
@@ -24,10 +24,10 @@ { | ||
], | ||
"version": "6.4.1", | ||
"version": "6.4.2-pr-621", | ||
"dependencies": { | ||
"@ethersproject/abstract-provider": "5.7.0", | ||
"@lit-protocol/accs-schemas": "0.0.9", | ||
"@lit-protocol/contracts": "^0.0.39", | ||
"@openagenda/verror": "^3.1.4", | ||
"ethers": "^5.7.1", | ||
"jszip": "^3.10.1", | ||
"siwe": "^2.0.5", | ||
"@lit-protocol/constants": "6.4.2-pr-621", | ||
"@lit-protocol/types": "6.4.2-pr-621", | ||
"tslib": "1.14.1" | ||
@@ -34,0 +34,0 @@ }, |
@@ -9,2 +9,3 @@ "use strict"; | ||
// */ | ||
const constants_1 = require("@lit-protocol/constants"); | ||
function utf8Encode(str) { | ||
@@ -121,3 +122,8 @@ // Initialize an empty array to store the UTF-8 encoded dat | ||
default: | ||
throw new Error(`Unsupported encoding "${encoding}"`); | ||
throw new constants_1.InvalidParamType({ | ||
info: { | ||
encoding, | ||
str, | ||
}, | ||
}, `Unsupported encoding "${encoding}"`); | ||
} | ||
@@ -141,3 +147,8 @@ } | ||
default: | ||
throw new Error(`Unsupported encoding "${encoding}"`); | ||
throw new constants_1.InvalidParamType({ | ||
info: { | ||
encoding, | ||
_uint8array, | ||
}, | ||
}, `Unsupported encoding "${encoding}"`); | ||
} | ||
@@ -144,0 +155,0 @@ } |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
14165
167
1
+ Added@openagenda/verror@^3.1.4
+ Added@lit-protocol/constants@6.4.2-pr-621(transitive)
+ Added@lit-protocol/types@6.4.2-pr-621(transitive)
+ Added@openagenda/verror@3.1.4(transitive)
+ Addedassertion-error@1.1.0(transitive)
+ Addeddepd@2.0.0(transitive)
+ Addedsprintf-js@1.1.3(transitive)
- Removed@lit-protocol/accs-schemas@0.0.9
- Removed@lit-protocol/contracts@^0.0.39
- Removedjszip@^3.10.1
- Removed@lit-protocol/accs-schemas@0.0.9(transitive)
- Removed@lit-protocol/contracts@0.0.39(transitive)
- Removedajv@8.17.1(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-uri@3.0.3(transitive)
- Removedimmediate@3.0.6(transitive)
- Removedisarray@1.0.0(transitive)
- Removedjson-schema-traverse@1.0.0(transitive)
- Removedjszip@3.10.1(transitive)
- Removedlie@3.3.0(transitive)
- Removedpako@1.0.11(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedrequire-from-string@2.0.2(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedtypescript@5.6.3(transitive)
- Removedutil-deprecate@1.0.2(transitive)