@zilliqa-js/core
Advanced tools
Comparing version
@@ -166,4 +166,2 @@ import fetch from 'cross-fetch'; | ||
RPCMethod["GetNetworkId"] = "GetNetworkId"; | ||
// GetClientVersion = 'GetClientVersion', | ||
// GetProtocolVersion = 'GetProtocolVersion', | ||
// Blockchain-related methods | ||
@@ -188,12 +186,10 @@ RPCMethod["GetBlockchainInfo"] = "GetBlockchainInfo"; | ||
RPCMethod["GetPrevDSDifficulty"] = "GetPrevDSDifficulty"; | ||
// GetBlockTransactionCount = 'GetBlockTransactionCount', | ||
// Transaction-related methods | ||
RPCMethod["CreateTransaction"] = "CreateTransaction"; | ||
RPCMethod["GetTransaction"] = "GetTransaction"; | ||
// GetTransactionReceipt = 'GetTransactionReceipt', | ||
RPCMethod["GetRecentTransactions"] = "GetRecentTransactions"; | ||
RPCMethod["GetTransactionsForTxBlock"] = "GetTransactionsForTxBlock"; | ||
RPCMethod["GetNumTxnsTxEpoch"] = "GetNumTxnsTxEpoch"; | ||
RPCMethod["GetNumTxnsDSEpoch"] = "GetNumTxnsDSEpoch"; | ||
RPCMethod["GetMinimumGasPrice"] = "GetMinimumGasPrice"; | ||
// GetGasEstimate = 'GetGasEstimate', | ||
// Contract-related methods | ||
@@ -204,3 +200,2 @@ RPCMethod["GetSmartContractCode"] = "GetSmartContractCode"; | ||
RPCMethod["GetContractAddressFromTransactionID"] = "GetContractAddressFromTransactionID"; | ||
// GetStorageAt = 'GetStorageAt', | ||
// Account-related methods | ||
@@ -207,0 +202,0 @@ RPCMethod["GetBalance"] = "GetBalance"; |
@@ -167,4 +167,2 @@ (function (global, factory) { | ||
RPCMethod["GetNetworkId"] = "GetNetworkId"; | ||
// GetClientVersion = 'GetClientVersion', | ||
// GetProtocolVersion = 'GetProtocolVersion', | ||
// Blockchain-related methods | ||
@@ -189,12 +187,10 @@ RPCMethod["GetBlockchainInfo"] = "GetBlockchainInfo"; | ||
RPCMethod["GetPrevDSDifficulty"] = "GetPrevDSDifficulty"; | ||
// GetBlockTransactionCount = 'GetBlockTransactionCount', | ||
// Transaction-related methods | ||
RPCMethod["CreateTransaction"] = "CreateTransaction"; | ||
RPCMethod["GetTransaction"] = "GetTransaction"; | ||
// GetTransactionReceipt = 'GetTransactionReceipt', | ||
RPCMethod["GetRecentTransactions"] = "GetRecentTransactions"; | ||
RPCMethod["GetTransactionsForTxBlock"] = "GetTransactionsForTxBlock"; | ||
RPCMethod["GetNumTxnsTxEpoch"] = "GetNumTxnsTxEpoch"; | ||
RPCMethod["GetNumTxnsDSEpoch"] = "GetNumTxnsDSEpoch"; | ||
RPCMethod["GetMinimumGasPrice"] = "GetMinimumGasPrice"; | ||
// GetGasEstimate = 'GetGasEstimate', | ||
// Contract-related methods | ||
@@ -205,3 +201,2 @@ RPCMethod["GetSmartContractCode"] = "GetSmartContractCode"; | ||
RPCMethod["GetContractAddressFromTransactionID"] = "GetContractAddressFromTransactionID"; | ||
// GetStorageAt = 'GetStorageAt', | ||
// Account-related methods | ||
@@ -208,0 +203,0 @@ RPCMethod["GetBalance"] = "GetBalance"; |
@@ -29,2 +29,3 @@ import { WithRequest } from './util'; | ||
GetRecentTransactions = "GetRecentTransactions", | ||
GetTransactionsForTxBlock = "GetTransactionsForTxBlock", | ||
GetNumTxnsTxEpoch = "GetNumTxnsTxEpoch", | ||
@@ -31,0 +32,0 @@ GetNumTxnsDSEpoch = "GetNumTxnsDSEpoch", |
@@ -14,4 +14,2 @@ "use strict"; | ||
RPCMethod["GetNetworkId"] = "GetNetworkId"; | ||
// GetClientVersion = 'GetClientVersion', | ||
// GetProtocolVersion = 'GetProtocolVersion', | ||
// Blockchain-related methods | ||
@@ -36,12 +34,10 @@ RPCMethod["GetBlockchainInfo"] = "GetBlockchainInfo"; | ||
RPCMethod["GetPrevDSDifficulty"] = "GetPrevDSDifficulty"; | ||
// GetBlockTransactionCount = 'GetBlockTransactionCount', | ||
// Transaction-related methods | ||
RPCMethod["CreateTransaction"] = "CreateTransaction"; | ||
RPCMethod["GetTransaction"] = "GetTransaction"; | ||
// GetTransactionReceipt = 'GetTransactionReceipt', | ||
RPCMethod["GetRecentTransactions"] = "GetRecentTransactions"; | ||
RPCMethod["GetTransactionsForTxBlock"] = "GetTransactionsForTxBlock"; | ||
RPCMethod["GetNumTxnsTxEpoch"] = "GetNumTxnsTxEpoch"; | ||
RPCMethod["GetNumTxnsDSEpoch"] = "GetNumTxnsDSEpoch"; | ||
RPCMethod["GetMinimumGasPrice"] = "GetMinimumGasPrice"; | ||
// GetGasEstimate = 'GetGasEstimate', | ||
// Contract-related methods | ||
@@ -52,3 +48,2 @@ RPCMethod["GetSmartContractCode"] = "GetSmartContractCode"; | ||
RPCMethod["GetContractAddressFromTransactionID"] = "GetContractAddressFromTransactionID"; | ||
// GetStorageAt = 'GetStorageAt', | ||
// Account-related methods | ||
@@ -55,0 +50,0 @@ RPCMethod["GetBalance"] = "GetBalance"; |
{ | ||
"name": "@zilliqa-js/core", | ||
"version": "0.3.3", | ||
"version": "0.4.0", | ||
"description": "Core abstractions that power the zilliqa JS client.", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@zilliqa-js/util": "0.3.3", | ||
"@zilliqa-js/util": "0.4.0", | ||
"axios": "^0.18.0", | ||
@@ -28,3 +28,3 @@ "cross-fetch": "^2.2.2", | ||
}, | ||
"gitHead": "70062a8d95d22c313a6261d23d7a140cf3e43cd3" | ||
"gitHead": "932c378f22ff89a2fe701c8e83017a2b301be83c" | ||
} |
@@ -12,4 +12,2 @@ import fetch from 'cross-fetch'; | ||
GetNetworkId = 'GetNetworkId', | ||
// GetClientVersion = 'GetClientVersion', | ||
// GetProtocolVersion = 'GetProtocolVersion', | ||
@@ -35,3 +33,2 @@ // Blockchain-related methods | ||
GetPrevDSDifficulty = 'GetPrevDSDifficulty', | ||
// GetBlockTransactionCount = 'GetBlockTransactionCount', | ||
@@ -41,8 +38,7 @@ // Transaction-related methods | ||
GetTransaction = 'GetTransaction', | ||
// GetTransactionReceipt = 'GetTransactionReceipt', | ||
GetRecentTransactions = 'GetRecentTransactions', | ||
GetTransactionsForTxBlock = 'GetTransactionsForTxBlock', | ||
GetNumTxnsTxEpoch = 'GetNumTxnsTxEpoch', | ||
GetNumTxnsDSEpoch = 'GetNumTxnsDSEpoch', | ||
GetMinimumGasPrice = 'GetMinimumGasPrice', | ||
// GetGasEstimate = 'GetGasEstimate', | ||
@@ -54,3 +50,2 @@ // Contract-related methods | ||
GetContractAddressFromTransactionID = 'GetContractAddressFromTransactionID', | ||
// GetStorageAt = 'GetStorageAt', | ||
@@ -57,0 +52,0 @@ // Account-related methods |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
180385
-0.72%2139
-0.88%+ Added
- Removed
Updated