Comparing version 0.6.15 to 0.6.16
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126
3102
213827