Comparing version 1.1.5 to 1.1.6
@@ -1,1 +0,2 @@ | ||
export {}; | ||
import { Arweave } from "./arweave/arweave"; | ||
export declare function init(apiConfig: object): Arweave; |
@@ -11,2 +11,8 @@ import { Arweave } from "./arweave/arweave"; | ||
}; | ||
export function init(apiConfig) { | ||
return new Arweave({ | ||
api: apiConfig, | ||
crypto: new WebCryptoDriver | ||
}); | ||
} | ||
//# sourceMappingURL=web.js.map |
{ | ||
"name": "arweave", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Arweave JS client library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,1 +13,8 @@ import { Arweave } from "./arweave/arweave"; | ||
}; | ||
export function init(apiConfig: object): Arweave { | ||
return new Arweave({ | ||
api: apiConfig, | ||
crypto: new WebCryptoDriver | ||
}); | ||
} |
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
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
3539344
40637