@masa-finance/masa-sdk
Advanced tools
Comparing version 0.3.8 to 0.3.9
{ | ||
"name": "@masa-finance/masa-sdk", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "Brand new masa SDK", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -6,3 +6,3 @@ import { MasaClient } from "./utils"; | ||
readonly arweaveClient: import("arweave"); | ||
constructor({ cookie, wallet, apiUrl, environment, network, arweave, }: MasaArgs); | ||
constructor({ cookie, wallet, apiUrl, environment, network, arweave, }?: MasaArgs); | ||
config: MasaConfig; | ||
@@ -9,0 +9,0 @@ session: { |
@@ -13,3 +13,3 @@ "use strict"; | ||
class Masa { | ||
constructor({ cookie, wallet = (0, account_1.createRandomWallet)(), apiUrl = "https://dev.middleware.masa.finance", environment = "dev", network = "goerli", arweave = { | ||
constructor({ cookie, wallet, apiUrl = "https://dev.middleware.masa.finance", environment = "dev", network = "goerli", arweave = { | ||
host: "arweave.net", | ||
@@ -19,3 +19,5 @@ port: 443, | ||
logging: false, | ||
}, }) { | ||
}, } = { | ||
wallet: (0, account_1.createRandomWallet)(), | ||
}) { | ||
this.session = (0, session_1.session)(this); | ||
@@ -22,0 +24,0 @@ this.identity = (0, identity_1.identity)(this); |
{ | ||
"name": "@masa-finance/masa-sdk", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "Brand new masa SDK", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
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 too big to display
Sorry, the diff of this file is not supported yet
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 too big to display
Sorry, the diff of this file is not supported yet
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
24113489
36637