Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lit-protocol/uint8arrays

Package Overview
Dependencies
Maintainers
0
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-protocol/uint8arrays - npm Package Compare versions

Comparing version 6.4.1 to 6.4.2-pr-621

8

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc