Socket
Socket
Sign inDemoInstall

arbundles

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arbundles - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

build/signing/keys/Ecdsa.d.ts

8

build/DataItem.js

@@ -52,3 +52,7 @@ "use strict";

get rawOwner() {
return this.binary.subarray(514, 514 + 512);
switch (this.signatureType) {
case 1:
return this.binary.subarray(514, 514 + 512);
}
throw new Error("Not a valid signature type");
}

@@ -163,2 +167,4 @@ get owner() {

const numberOfTagBytes = utils_1.byteArrayToLong(numberOfTagBytesArray);
if (numberOfTagBytes > 2048)
return false;
if (numberOfTags > 0) {

@@ -165,0 +171,0 @@ try {

@@ -57,2 +57,4 @@ "use strict";

const numberOfTagsBytes = await read(handle.fd, Buffer.allocUnsafe(8), 0, 8, tagsStart + 8).then((r) => utils_1.byteArrayToLong(r.buffer));
if (numberOfTagsBytes > 2048)
return false;
const tagsBytes = await read(handle.fd, Buffer.allocUnsafe(numberOfTagsBytes), 0, numberOfTagsBytes, tagsStart + 16).then((r) => r.buffer);

@@ -59,0 +61,0 @@ if (numberOfTags > 0) {

4

package.json
{
"name": "arbundles",
"version": "0.2.9",
"version": "0.2.10",
"description": "Arweave bundling library",

@@ -49,2 +49,3 @@ "author": "Josh Benaron <joshbenaron@gmail.com>",

"@akiroz/size-chunker-stream": "^0.0.1",
"@toruslabs/eccrypto": "^1.1.7",
"@types/axios": "^0.14.0",

@@ -61,2 +62,3 @@ "@types/browser-or-node": "^1.3.0",

"multistream": "^4.1.0",
"starkbank-ecdsa": "^1.1.2",
"stream-chunker": "^1.2.8",

@@ -63,0 +65,0 @@ "tmp": "^0.2.1",

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