fix: 🐛 Switch to require()
parent
17bd43d4b1
commit
bbac418fe1
5
main.js
5
main.js
|
@ -1,7 +1,6 @@
|
|||
import axios from 'axios'
|
||||
const axios = require('axios')
|
||||
|
||||
module.exports = Wallet
|
||||
class Wallet {
|
||||
module.exports = class Wallet {
|
||||
url; wallet; password;
|
||||
address; viewKey; restoreHeight;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "monero-wallet-rpc-js",
|
||||
"type": "module",
|
||||
"version": "1.1.3",
|
||||
"version": "1.1.4",
|
||||
"description": "Javascript wrapper for monero-wallet-rpc calls",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue