Browse Source

Merge pull request #6 from synonymdev/remove-data-object

fix(client): Removed Unused data Object
get-transaction-merkle
Corey 2 years ago
committed by GitHub
parent
commit
104e44c6c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      lib/util.js
  2. 3
      package-lock.json
  3. 2
      package.json

3
lib/util.js

@ -1,12 +1,11 @@
'use strict'
const makeRequest = exports.makeRequest = (method, params, id, data = {}) => {
const makeRequest = exports.makeRequest = (method, params, id) => {
return JSON.stringify({
jsonrpc : "2.0",
method : method,
params : params,
id : id,
data
})
}

3
package-lock.json

@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "rn-electrum-client",
"version": "0.0.7",
"license": "MIT",
"devDependencies": {
@ -13373,6 +13374,7 @@
"integrity": "sha512-HcZ0RWQRuJfpPiaHyFQJzcym+/dDIVUPwUAXWoub/C4GkGu+mPjp8vqK6g0FxokCnnI2TK0gZTza2IDfiNNscQ==",
"peer": true,
"requires": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
@ -13419,6 +13421,7 @@
"integrity": "sha512-K1sHO3ODBFCr7uEiCQ4RvVr+cQg0EHQF8ChVPnecGh/WDD8udrTq9ECwB0dRfMjAvlsHtRUlJm6ZSI8UPgum2w==",
"peer": true,
"requires": {
"@babel/core": "^7.0.0",
"babel-preset-fbjs": "^3.3.0",
"metro-babel-transformer": "0.64.0",
"metro-react-native-babel-preset": "0.64.0",

2
package.json

@ -1,6 +1,6 @@
{
"name": "rn-electrum-client",
"version": "0.0.7",
"version": "0.0.8",
"description": "Electrum protocol client for React Native & Node.js",
"main": "index.js",
"scripts": {

Loading…
Cancel
Save