Socket
Socket
Sign inDemoInstall

arbundles

Package Overview
Dependencies
Maintainers
3
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.9.0-a2 to 0.9.0-a3

4

build/node/cjs/src/signing/chains/InjectedTypedEthereumSigner.js

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

address: this.address,
message,
"Transaction hash": message,
});

@@ -31,3 +31,3 @@ return Buffer.from(signature.slice(2), "hex"); // trim leading 0x, convert to hex.

const address = pk;
const addr = (0, utils_1.verifyTypedData)(TypedEthereumSigner_1.domain, TypedEthereumSigner_1.types, { address, message }, signature);
const addr = (0, utils_1.verifyTypedData)(TypedEthereumSigner_1.domain, TypedEthereumSigner_1.types, { address, "Transaction hash": message }, signature);
return address === addr;

@@ -34,0 +34,0 @@ }

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

};
export declare const MESSAGE = "Bundlr(bytes message, address address)";
export declare const MESSAGE = "Bundlr(bytes Transaction hash, address address)";
export declare const DOMAIN = "EIP712Domain(string name,string version)";

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

address: this.address,
message,
"Transaction hash": message,
});

@@ -34,3 +34,3 @@ return Buffer.from(signature.slice(2), "hex"); // trim leading 0x, convert to hex.

const address = pk.toString();
const addr = (0, utils_1.verifyTypedData)(exports.domain, exports.types, { address, message }, signature);
const addr = (0, utils_1.verifyTypedData)(exports.domain, exports.types, { address, "Transaction hash": message }, signature);
return address.toLowerCase() === addr.toLowerCase();

@@ -46,8 +46,8 @@ }

Bundlr: [
{ name: "message", type: "bytes" },
{ name: "Transaction hash", type: "bytes" },
{ name: "address", type: "address" },
],
};
exports.MESSAGE = "Bundlr(bytes message, address address)";
exports.MESSAGE = "Bundlr(bytes Transaction hash, address address)";
exports.DOMAIN = "EIP712Domain(string name,string version)";
//# sourceMappingURL=TypedEthereumSigner.js.map

@@ -17,3 +17,3 @@ import { SignatureConfig, SIG_CONFIG } from "../../constants.js";

address: this.address,
message,
"Transaction hash": message,
});

@@ -24,3 +24,3 @@ return Buffer.from(signature.slice(2), "hex"); // trim leading 0x, convert to hex.

const address = pk;
const addr = verifyTypedData(domain, types, { address, message }, signature);
const addr = verifyTypedData(domain, types, { address, "Transaction hash": message }, signature);
return address === addr;

@@ -27,0 +27,0 @@ }

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

};
export declare const MESSAGE = "Bundlr(bytes message, address address)";
export declare const MESSAGE = "Bundlr(bytes Transaction hash, address address)";
export declare const DOMAIN = "EIP712Domain(string name,string version)";

@@ -23,3 +23,3 @@ import { Wallet } from "ethers";

address: this.address,
message,
"Transaction hash": message,
});

@@ -30,3 +30,3 @@ return Buffer.from(signature.slice(2), "hex"); // trim leading 0x, convert to hex.

const address = pk.toString();
const addr = verifyTypedData(domain, types, { address, message }, signature);
const addr = verifyTypedData(domain, types, { address, "Transaction hash": message }, signature);
return address.toLowerCase() === addr.toLowerCase();

@@ -41,8 +41,8 @@ }

Bundlr: [
{ name: "message", type: "bytes" },
{ name: "Transaction hash", type: "bytes" },
{ name: "address", type: "address" },
],
};
export const MESSAGE = "Bundlr(bytes message, address address)";
export const MESSAGE = "Bundlr(bytes Transaction hash, address address)";
export const DOMAIN = "EIP712Domain(string name,string version)";
//# sourceMappingURL=TypedEthereumSigner.js.map

@@ -17,3 +17,3 @@ import { SignatureConfig, SIG_CONFIG } from "../../constants.js";

address: this.address,
message,
"Transaction hash": message,
});

@@ -24,3 +24,3 @@ return Buffer.from(signature.slice(2), "hex"); // trim leading 0x, convert to hex.

const address = pk;
const addr = verifyTypedData(domain, types, { address, message }, signature);
const addr = verifyTypedData(domain, types, { address, "Transaction hash": message }, signature);
return address === addr;

@@ -27,0 +27,0 @@ }

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

};
export declare const MESSAGE = "Bundlr(bytes message, address address)";
export declare const MESSAGE = "Bundlr(bytes Transaction hash, address address)";
export declare const DOMAIN = "EIP712Domain(string name,string version)";

@@ -23,3 +23,3 @@ import { Wallet } from "ethers";

address: this.address,
message,
"Transaction hash": message,
});

@@ -30,3 +30,3 @@ return Buffer.from(signature.slice(2), "hex"); // trim leading 0x, convert to hex.

const address = pk.toString();
const addr = verifyTypedData(domain, types, { address, message }, signature);
const addr = verifyTypedData(domain, types, { address, "Transaction hash": message }, signature);
return address.toLowerCase() === addr.toLowerCase();

@@ -41,8 +41,8 @@ }

Bundlr: [
{ name: "message", type: "bytes" },
{ name: "Transaction hash", type: "bytes" },
{ name: "address", type: "address" },
],
};
export const MESSAGE = "Bundlr(bytes message, address address)";
export const MESSAGE = "Bundlr(bytes Transaction hash, address address)";
export const DOMAIN = "EIP712Domain(string name,string version)";
//# sourceMappingURL=TypedEthereumSigner.js.map
{
"name": "arbundles",
"version": "0.9.0-a2",
"version": "0.9.0-a3",
"description": "Arweave bundling library",

@@ -5,0 +5,0 @@ "author": "Josh Benaron <joshbenaron@gmail.com>",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc