Socket
Socket
Sign inDemoInstall

arbundles

Package Overview
Dependencies
16
Maintainers
3
Versions
89
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.19 to 0.6.20

10

package.json
{
"name": "arbundles",
"version": "0.6.19",
"version": "0.6.20",
"description": "Arweave bundling library",

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

"ts-jest": "~27.0.2",
"ts-node": "^10.8.1",
"tslib": "^2.4.0",
"tsutils": "~3.21.0",

@@ -56,2 +58,3 @@ "typescript": "~4.3.2"

"dependencies": {
"@noble/ed25519": "^1.6.1",
"@randlabs/myalgo-connect": "^1.1.2",

@@ -69,9 +72,6 @@ "@solana/wallet-adapter-base": "^0.9.2",

"multistream": "^4.1.0",
"noble-ed25519": "^1.2.6",
"process": "^0.11.10",
"secp256k1": "^4.0.2",
"tmp-promise": "^3.0.2",
"ts-node": "^10.5.0",
"tslib": "^2.3.0"
"tmp-promise": "^3.0.2"
}
}

@@ -47,2 +47,3 @@ /// <reference types="node" />

sign(signer: Signer): Promise<Buffer>;
setSignature(signature: Buffer): Promise<void>;
isSigned(): boolean;

@@ -49,0 +50,0 @@ /**

@@ -36,2 +36,3 @@ "use strict";

const crypto = __importStar(require("crypto"));
const arweave_1 = __importDefault(require("arweave"));
exports.MIN_BINARY_SIZE = 80;

@@ -166,2 +167,6 @@ class DataItem {

}
async setSignature(signature) {
this.binary.set(signature, 2);
this._id = buffer_1.Buffer.from(await arweave_1.default.crypto.hash(signature));
}
isSigned() {

@@ -168,0 +173,0 @@ var _a, _b;

@@ -25,3 +25,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const ed25519 = __importStar(require("noble-ed25519"));
const ed25519 = __importStar(require("@noble/ed25519"));
const base64url_1 = __importDefault(require("base64url"));

@@ -28,0 +28,0 @@ const constants_1 = require("../../constants");

@@ -26,3 +26,3 @@ "use strict";

const base64url_1 = __importDefault(require("base64url"));
const ed25519 = __importStar(require("noble-ed25519"));
const ed25519 = __importStar(require("@noble/ed25519"));
const constants_1 = require("../../constants");

@@ -29,0 +29,0 @@ class Curve25519 {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc