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.21 to 0.7.0-a1

src/signing/chains/AptosSigner.d.ts

3

package.json
{
"name": "arbundles",
"version": "0.6.21",
"version": "0.7.0-a1",
"description": "Arweave bundling library",

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

"algosdk": "^1.13.1",
"aptos": "^1.3.13",
"arweave": "^1.11.4",

@@ -63,0 +64,0 @@ "arweave-stream-tx": "^1.1.0",

@@ -5,3 +5,5 @@ export declare enum SignatureConfig {

ETHEREUM = 3,
SOLANA = 4
SOLANA = 4,
INJECTEDAPTOS = 5,
MULTIAPTOS = 6
}

@@ -8,0 +10,0 @@ interface SignatureMeta {

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

SignatureConfig[SignatureConfig["SOLANA"] = 4] = "SOLANA";
SignatureConfig[SignatureConfig["INJECTEDAPTOS"] = 5] = "INJECTEDAPTOS";
SignatureConfig[SignatureConfig["MULTIAPTOS"] = 6] = "MULTIAPTOS";
})(SignatureConfig = exports.SignatureConfig || (exports.SignatureConfig = {}));

@@ -33,3 +35,13 @@ exports.SIG_CONFIG = {

},
[SignatureConfig.INJECTEDAPTOS]: {
sigLength: 64,
pubLength: 32,
sigName: "injectedAptos",
},
[SignatureConfig.MULTIAPTOS]: {
sigLength: 64 * 32 + 4,
pubLength: 32 * 32 + 1,
sigName: "multiAptos",
},
};
//# sourceMappingURL=constants.js.map

@@ -60,2 +60,8 @@ "use strict";

}
case 5: {
return constants_1.SignatureConfig.INJECTEDAPTOS;
}
case 6: {
return constants_1.SignatureConfig.MULTIAPTOS;
}
default: {

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

@@ -12,1 +12,4 @@ import ArweaveSigner from "./ArweaveSigner";

export { default as HexSolanaSigner } from "./HexSolanaSigner";
export { default as AptosSigner } from "./AptosSigner";
export { default as InjectedAptosSigner } from "./InjectedAptosSigner";
export { default as MultiSignatureAptosSigner } from "./multiSignatureAptos";

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

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

@@ -36,2 +36,8 @@ exports.ArweaveSigner = ArweaveSigner_1.default;

Object.defineProperty(exports, "HexSolanaSigner", { enumerable: true, get: function () { return __importDefault(HexSolanaSigner_1).default; } });
var AptosSigner_1 = require("./AptosSigner");
Object.defineProperty(exports, "AptosSigner", { enumerable: true, get: function () { return __importDefault(AptosSigner_1).default; } });
var InjectedAptosSigner_1 = require("./InjectedAptosSigner");
Object.defineProperty(exports, "InjectedAptosSigner", { enumerable: true, get: function () { return __importDefault(InjectedAptosSigner_1).default; } });
var multiSignatureAptos_1 = require("./multiSignatureAptos");
Object.defineProperty(exports, "MultiSignatureAptosSigner", { enumerable: true, get: function () { return __importDefault(multiSignatureAptos_1).default; } });
//# sourceMappingURL=index.js.map

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

const chains_1 = require("./chains");
const multiSignatureAptos_1 = __importDefault(require("./chains/multiSignatureAptos"));
exports.indexToType = {

@@ -24,3 +25,9 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment

4: chains_1.HexInjectedSolanaSigner,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
5: chains_1.InjectedAptosSigner,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
6: multiSignatureAptos_1.default,
};
//# 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