Comparing version 0.6.12 to 0.6.13
{ | ||
"name": "arbundles", | ||
"version": "0.6.12", | ||
"version": "0.6.13", | ||
"description": "Arweave bundling library", | ||
@@ -33,9 +33,6 @@ "author": "Josh Benaron <joshbenaron@gmail.com>", | ||
"devDependencies": { | ||
"@textury/ardb": "^1.1.3", | ||
"@types/deep-equal": "^1.0.1", | ||
"@types/jest": "~26.0.23", | ||
"@types/node": "^16.3.3", | ||
"@types/node": "^17.0.10", | ||
"@typescript-eslint/eslint-plugin": "~4.25.0", | ||
"@typescript-eslint/parser": "~4.25.0", | ||
"deep-equal": "^2.0.5", | ||
"eslint": "~7.27.0", | ||
@@ -56,11 +53,7 @@ "eslint-config-prettier": "~8.3.0", | ||
"dependencies": { | ||
"@akiroz/size-chunker-stream": "^0.0.1", | ||
"@solana/wallet-adapter-base": "^0.9.2", | ||
"@toruslabs/eccrypto": "^1.1.7", | ||
"@types/axios": "^0.14.0", | ||
"@types/browser-or-node": "^1.3.0", | ||
"@types/bs58": "^4.0.1", | ||
"@types/multistream": "^2.1.1", | ||
"@types/secp256k1": "^4.0.3", | ||
"@types/tmp": "^0.2.1", | ||
"arweave": "^1.10.18", | ||
@@ -72,4 +65,2 @@ "arweave-stream-tx": "^1.1.0", | ||
"bs58": "^4.0.1", | ||
"combined-stream2": "^1.1.2", | ||
"curve25519-js": "^0.0.4", | ||
"ethers": "^5.5.1", | ||
@@ -79,6 +70,4 @@ "keccak256": "^1.0.3", | ||
"noble-ed25519": "^1.2.6", | ||
"process": "^0.11.10", | ||
"secp256k1": "^4.0.2", | ||
"starkbank-ecdsa": "^1.1.2", | ||
"stream-chunker": "^1.2.8", | ||
"tmp": "^0.2.1", | ||
"tmp-promise": "^3.0.2", | ||
@@ -85,0 +74,0 @@ "tslib": "^2.3.0" |
@@ -7,5 +7,2 @@ # ANS-104 Bundles | ||
Note: Gateways currently only index bundles up to 250mb. Creating bundles larger than this could lead to them not being indexed. The new gateway implementation will provide infinite bundle limits. | ||
If you wish to upload a transactions >250mb submit a standard transaction via [arweave-js](https://github.com/ArweaveTeam/arweave-js). | ||
See [ANS-104](https://github.com/joshbenaron/arweave-standards/blob/ans104/ans/ANS-104.md) for more details. | ||
@@ -34,11 +31,1 @@ | ||
``` | ||
# File API | ||
This API is _experimental_ so avoid use in production. There's one issue that exists that may affect it's overall | ||
functionality and could lead to breaking changes. | ||
The file API stores the items in the filesystem meaning you can bundle more items without hitting the NodeJS memory | ||
limit. | ||
Docs coming soon... |
@@ -8,1 +8,2 @@ import ArweaveSigner from "./ArweaveSigner"; | ||
export { ArweaveSigner, PolygonSigner, InjectedEthereumSigner }; | ||
export { default as NearSigner } from "./NearSigner"; |
@@ -16,3 +16,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InjectedEthereumSigner = exports.PolygonSigner = exports.ArweaveSigner = exports.InjectedSolanaSigner = void 0; | ||
exports.NearSigner = exports.InjectedEthereumSigner = exports.PolygonSigner = exports.ArweaveSigner = exports.InjectedSolanaSigner = void 0; | ||
const ArweaveSigner_1 = __importDefault(require("./ArweaveSigner")); | ||
@@ -28,2 +28,4 @@ exports.ArweaveSigner = ArweaveSigner_1.default; | ||
Object.defineProperty(exports, "InjectedSolanaSigner", { enumerable: true, get: function () { return __importDefault(injectedSolanaSigner_1).default; } }); | ||
var NearSigner_1 = require("./NearSigner"); | ||
Object.defineProperty(exports, "NearSigner", { enumerable: true, get: function () { return __importDefault(NearSigner_1).default; } }); | ||
//# sourceMappingURL=index.js.map |
/// <reference types="node" /> | ||
import Curve25519 from '../keys/curve25519'; | ||
import Curve25519 from "../keys/curve25519"; | ||
export default class SolanaSigner extends Curve25519 { | ||
@@ -4,0 +4,0 @@ get publicKey(): Buffer; |
@@ -8,3 +8,2 @@ "use strict"; | ||
const bs58_1 = __importDefault(require("bs58")); | ||
const bs58_2 = __importDefault(require("bs58")); | ||
class SolanaSigner extends curve25519_1.default { | ||
@@ -19,3 +18,3 @@ get publicKey() { | ||
const b = bs58_1.default.decode(_key); | ||
super(bs58_2.default.encode(b.subarray(0, 32)), bs58_2.default.encode(b.subarray(32, 64))); | ||
super(bs58_1.default.encode(b.subarray(0, 32)), bs58_1.default.encode(b.subarray(32, 64))); | ||
} | ||
@@ -22,0 +21,0 @@ } |
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
201431
19
17
114
2889
30
+ Addedprocess@^0.11.10
+ Addedms@2.1.3(transitive)
+ Addedprocess@0.11.10(transitive)
- Removed@akiroz/size-chunker-stream@^0.0.1
- Removed@toruslabs/eccrypto@^1.1.7
- Removed@types/browser-or-node@^1.3.0
- Removed@types/tmp@^0.2.1
- Removedcombined-stream2@^1.1.2
- Removedcurve25519-js@^0.0.4
- Removedstarkbank-ecdsa@^1.1.2
- Removedstream-chunker@^1.2.8
- Removedtmp@^0.2.1
- Removed@akiroz/size-chunker-stream@0.0.1(transitive)
- Removed@toruslabs/eccrypto@1.1.8(transitive)
- Removed@types/browser-or-node@1.3.2(transitive)
- Removed@types/tmp@0.2.6(transitive)
- Removedacorn@8.12.1(transitive)
- Removedbig-integer@1.6.52(transitive)
- Removedbip66@1.1.5(transitive)
- Removedbluebird@2.11.0(transitive)
- Removedbrowserify-aes@1.2.0(transitive)
- Removedbuffer-xor@1.0.3(transitive)
- Removedcipher-base@1.0.4(transitive)
- Removedcombined-stream2@1.1.2(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedcreate-hash@1.2.0(transitive)
- Removedcreate-hmac@1.1.7(transitive)
- Removedcurve25519-js@0.0.4(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddrbg.js@1.0.1(transitive)
- Removedelliptic@6.5.7(transitive)
- Removedevp_bytestokey@1.0.3(transitive)
- Removedhash-base@3.1.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedjs-sha256@0.9.0(transitive)
- Removedmd5.js@1.3.5(transitive)
- Removedms@2.0.0(transitive)
- Removednan@2.20.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedripemd160@2.0.2(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsecp256k1@3.8.0(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedstarkbank-ecdsa@1.1.5(transitive)
- Removedstream-chunker@1.2.8(transitive)
- Removedstream-length@1.0.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedxtend@4.0.2(transitive)