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.6.15 to 0.6.16

src/signing/chains/phantomSigner.d.ts

2

package.json
{
"name": "arbundles",
"version": "0.6.15",
"version": "0.6.16",
"description": "Arweave bundling library",

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

export declare enum SignatureConfig {
ARWEAVE = 1,
ED25519 = 2,
ETHEREUM = 3
ETHEREUM = 3,
PHANTOM = 4
}

@@ -6,0 +7,0 @@ interface SignatureMeta {

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

SignatureConfig[SignatureConfig["ETHEREUM"] = 3] = "ETHEREUM";
SignatureConfig[SignatureConfig["PHANTOM"] = 4] = "PHANTOM";
})(SignatureConfig = exports.SignatureConfig || (exports.SignatureConfig = {}));

@@ -27,3 +28,8 @@ exports.SIG_CONFIG = {

},
[SignatureConfig.PHANTOM]: {
sigLength: 64,
pubLength: 32,
sigName: "phantom",
},
};
//# sourceMappingURL=constants.js.map

@@ -56,2 +56,5 @@ "use strict";

}
case 4: {
return constants_1.SignatureConfig.PHANTOM;
}
default: {

@@ -58,0 +61,0 @@ throw new Error("Unknown signature type: " + signatureTypeVal);

@@ -10,1 +10,2 @@ import ArweaveSigner from "./ArweaveSigner";

export { default as AlgorandSigner } from "./AlgorandSigner";
export { default as PhantomSigner } from "./phantomSigner";

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.AlgorandSigner = exports.NearSigner = exports.InjectedEthereumSigner = exports.PolygonSigner = exports.ArweaveSigner = exports.InjectedSolanaSigner = void 0;
exports.PhantomSigner = exports.AlgorandSigner = exports.NearSigner = exports.InjectedEthereumSigner = exports.PolygonSigner = exports.ArweaveSigner = exports.InjectedSolanaSigner = void 0;
const ArweaveSigner_1 = __importDefault(require("./ArweaveSigner"));

@@ -32,2 +32,4 @@ exports.ArweaveSigner = ArweaveSigner_1.default;

Object.defineProperty(exports, "AlgorandSigner", { enumerable: true, get: function () { return __importDefault(AlgorandSigner_1).default; } });
var phantomSigner_1 = require("./phantomSigner");
Object.defineProperty(exports, "PhantomSigner", { enumerable: true, get: function () { return __importDefault(phantomSigner_1).default; } });
//# sourceMappingURL=index.js.map

@@ -20,3 +20,6 @@ "use strict";

3: ethereumSigner_1.default,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
4: chains_1.PhantomSigner,
};
//# sourceMappingURL=constants.js.map

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

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