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

arweave-uploader

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arweave-uploader - npm Package Compare versions

Comparing version 1.1.11 to 1.1.12

0

dist/index.d.ts
export declare const uploadTx: (tx: import("arweave/node/lib/transaction").default, wallet: import("arweave/node/lib/wallet").JWKInterface, userReference?: string | undefined) => Promise<string>;
export declare const setDebugOutput: (b: boolean) => boolean;

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

import Transaction from 'arweave/node/lib/transaction';
import { JWKInterface } from 'arweave/node/lib/wallet';
export declare const upload: (tx: Transaction, wallet: JWKInterface, userReference?: string | undefined) => Promise<string>;

2

dist/uploader.js

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

protocol: 'https',
timeout: 60000,
timeout: 600000,
});

@@ -53,0 +53,0 @@ var getFullStatus = function (txid) { return __awaiter(void 0, void 0, void 0, function () {

export declare const setDebugMessagesOn: (b: boolean) => boolean;
export declare const useLogfile: (b: boolean) => boolean;
export declare const logger: (...args: any[]) => void;
"use strict";
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
};

@@ -33,6 +31,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {

if (typeof window === 'undefined') {
console.log.apply(console, __spreadArrays([ansi_colors_1.default.blue('[arweave-uploader:]')], args));
console.log.apply(console, __spreadArray([ansi_colors_1.default.blue('[arweave-uploader:]')], args));
}
else {
console.log.apply(console, __spreadArrays(['%c[arweave-uploader:]', 'color: #0000ff'], args));
console.log.apply(console, __spreadArray(['%c[arweave-uploader:]', 'color: #0000ff'], args));
}

@@ -39,0 +37,0 @@ }

export declare const sleep: (ms: number) => Promise<void>;
export declare const getStatus: (txid: string) => Promise<number>;

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

{
"name": "arweave-uploader",
"version": "1.1.11",
"version": "1.1.12",
"description": "",

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

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