Comparing version 1.10.8 to 1.10.9
@@ -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" /> |
@@ -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
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
1238496