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.12 to 0.6.13

src/signing/chains/NearSigner.d.ts

17

package.json
{
"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

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