zano_web3 2.5.0 → 2.6.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zano_web3",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/server.ts CHANGED
@@ -29,7 +29,7 @@ async function validateWallet(rpcUrl: string, authData: AuthData) {
29
29
 
30
30
  async function fetchZanoApi(method: string, params: any) {
31
31
  return await axios.post(
32
- 'http://195.201.107.230:33340/json_rpc',
32
+ rpcUrl,
33
33
  {
34
34
  "id": 0,
35
35
  "jsonrpc": "2.0",
package/src/zanoWallet.ts CHANGED
@@ -140,7 +140,7 @@ class ZanoWallet {
140
140
  alias: walletData.alias,
141
141
  address: walletData.address,
142
142
  signature,
143
- publicKey,
143
+ pkey: publicKey,
144
144
  message: nonce,
145
145
  isSavedData: !!existingWallet
146
146
  }