arweave-uploader
Advanced tools
Comparing version 1.1.11 to 1.1.12
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>; |
@@ -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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
49748
15
310
1