zano_web3 8.0.0 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server/src/server.ts +2 -2
package/package.json
CHANGED
package/server/src/server.ts
CHANGED
|
@@ -91,7 +91,7 @@ class ServerWallet {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
async fetchDaemon(method: string, params: any) {
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
const data = {
|
|
@@ -109,7 +109,7 @@ class ServerWallet {
|
|
|
109
109
|
return axios.post(this.daemonUrl, data, { headers });
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
async fetchWallet(method: string, params: any) {
|
|
113
113
|
|
|
114
114
|
const data = {
|
|
115
115
|
jsonrpc: "2.0",
|