Browse Source

fix(client): Removed Unused data Object

Removed unused data object in makeRequest method in utils.js.
Bumped version to 0.0.8
get-transaction-merkle
Corey Phillips 2 years ago
parent
commit
3ad29107a2
No known key found for this signature in database GPG Key ID: 5663F75560A16D6C
  1. 3
      lib/util.js
  2. 3
      package-lock.json
  3. 2
      package.json

3
lib/util.js

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

3
package-lock.json

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

2
package.json

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

Loading…
Cancel
Save