Comparing version 0.6.21 to 0.7.0-a1
{ | ||
"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
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
234175
138
3418
17
+ Addedaptos@^1.3.13
+ Added@aptos-labs/aptos-client@0.1.1(transitive)
+ Added@noble/hashes@1.3.3(transitive)
+ Added@scure/base@1.1.9(transitive)
+ Added@scure/bip39@1.2.1(transitive)
+ Added@sindresorhus/is@4.6.0(transitive)
+ Added@szmarczak/http-timer@4.0.6(transitive)
+ Added@types/cacheable-request@6.0.3(transitive)
+ Added@types/http-cache-semantics@4.0.4(transitive)
+ Added@types/keyv@3.1.4(transitive)
+ Added@types/node@22.7.4(transitive)
+ Added@types/responselike@1.0.3(transitive)
+ Addedaptos@1.21.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaxios@1.7.4(transitive)
+ Addedcacheable-lookup@5.0.4(transitive)
+ Addedcacheable-request@7.0.4(transitive)
+ Addedclone-response@1.0.3(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addeddecompress-response@6.0.0(transitive)
+ Addeddefer-to-connect@2.0.1(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedform-data@4.0.0(transitive)
+ Addedget-stream@5.2.0(transitive)
+ Addedgot@11.8.6(transitive)
+ Addedhttp-cache-semantics@4.1.1(transitive)
+ Addedhttp2-wrapper@1.0.3(transitive)
+ Addedjson-buffer@3.0.1(transitive)
+ Addedkeyv@4.5.4(transitive)
+ Addedlowercase-keys@2.0.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedmimic-response@1.0.13.1.0(transitive)
+ Addednormalize-url@6.1.0(transitive)
+ Addedp-cancelable@2.1.1(transitive)
+ Addedproxy-from-env@1.1.0(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedquick-lru@5.1.1(transitive)
+ Addedresolve-alpn@1.2.1(transitive)
+ Addedresponselike@2.0.1(transitive)
+ Addedundici-types@6.19.8(transitive)