Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

arweave

Package Overview
Dependencies
Maintainers
4
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arweave - npm Package Compare versions

Comparing version 1.10.8 to 1.10.9

0

LICENSE.md

@@ -0,0 +0,0 @@ Copyright 2020 The Arweave Team

@@ -0,0 +0,0 @@ export default class Ar {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Api from "./lib/api";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Ar from "./ar";

@@ -0,0 +0,0 @@ "use strict";

import Arweave from "./common";
export = Arweave;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { JWKInterface } from "../wallet";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=crypto-interface.js.map

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

export declare function pemTojwk(pem: any, extras?: any): any;
export declare function jwkTopem(json: any): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ declare type DeepHashChunk = Uint8Array | DeepHashChunks;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { AxiosResponse } from "axios";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface Chunk {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Transaction from "./transaction";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Chunk, Proof } from "./merkle";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare type Base64UrlString = string;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface JWKPublicInterface {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=wallet.js.map

@@ -0,0 +0,0 @@ import Api from "./lib/api";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Api from "./lib/api";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

6

node/transactions.js

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

// @ts-ignore
if (!jwk && (!window || !window.weavemask || !options)) {
if (!jwk && (!window || !window.arweaveWallet)) {
throw new Error(`A new Arweave transaction must provide the jwk parameter.`);

@@ -171,3 +171,3 @@ }

// @ts-ignore
await window.weavemask.connect(["SIGN_TRANSACTION"]);
await window.arweaveWallet.connect(["SIGN_TRANSACTION"]);
}

@@ -178,3 +178,3 @@ catch (_a) {

// @ts-ignore
const signedTransaction = await window.weavemask.sign(transaction, options);
const signedTransaction = await window.arweaveWallet.sign(transaction, options);
transaction.set(signedTransaction);

@@ -181,0 +181,0 @@ }

@@ -0,0 +0,0 @@ import Api from "./lib/api";

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

// @ts-ignore
await window.weavemask.connect(["ACCESS_ADDRESS"]);
await window.arweaveWallet.connect(["ACCESS_ADDRESS"]);
}

@@ -89,3 +89,3 @@ catch (_a) {

// @ts-ignore
return window.weavemask.getActiveAddress();
return window.arweaveWallet.getActiveAddress();
}

@@ -92,0 +92,0 @@ else {

{
"name": "arweave",
"version": "1.10.8",
"version": "1.10.9",
"description": "Arweave JS client library",

@@ -5,0 +5,0 @@ "main": "./node/index.js",

@@ -0,0 +0,0 @@ # Arweave JS

@@ -0,0 +0,0 @@ export default class Ar {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Api from "./lib/api";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Ar from "./ar";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Arweave from "./common";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { JWKInterface } from "../wallet";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=crypto-interface.js.map

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

export declare function pemTojwk(pem: any, extras?: any): any;
export declare function jwkTopem(json: any): any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ declare type DeepHashChunk = Uint8Array | DeepHashChunks;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { AxiosResponse } from "axios";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface Chunk {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Transaction from "./transaction";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Chunk, Proof } from "./merkle";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare type Base64UrlString = string;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface JWKPublicInterface {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=wallet.js.map

@@ -0,0 +0,0 @@ import Api from "./lib/api";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import Api from "./lib/api";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /// <reference types="node" />

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

// @ts-ignore
if (!jwk && (!window || !window.weavemask || !options)) {
if (!jwk && (!window || !window.arweaveWallet)) {
throw new Error(`A new Arweave transaction must provide the jwk parameter.`);

@@ -149,3 +149,3 @@ }

// @ts-ignore
await window.weavemask.connect(["SIGN_TRANSACTION"]);
await window.arweaveWallet.connect(["SIGN_TRANSACTION"]);
}

@@ -156,3 +156,3 @@ catch (_a) {

// @ts-ignore
const signedTransaction = await window.weavemask.sign(transaction, options);
const signedTransaction = await window.arweaveWallet.sign(transaction, options);
transaction.set(signedTransaction);

@@ -159,0 +159,0 @@ }

@@ -0,0 +0,0 @@ import Api from "./lib/api";

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

// @ts-ignore
await window.weavemask.connect(["ACCESS_ADDRESS"]);
await window.arweaveWallet.connect(["ACCESS_ADDRESS"]);
}

@@ -70,3 +70,3 @@ catch (_a) {

// @ts-ignore
return window.weavemask.getActiveAddress();
return window.arweaveWallet.getActiveAddress();
}

@@ -73,0 +73,0 @@ else {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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