UNPKG

@pokt-network/pocket-js

Version:

Pocket-js core package with the main functionalities to interact with the Pocket Network.

22 lines 669 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RPC = void 0; var client_1 = require("./namespaces/client"); var query_1 = require("./namespaces/query"); /** * RPC Namespace */ var RPC = /** @class */ (function () { /** * RPC Class for the query and client namespaces. * @param {IRPCProvider} rpcProvider - RPC Provider. */ function RPC(rpcProvider) { this.rpcProvider = rpcProvider; this.client = new client_1.ClientNamespace(this.rpcProvider); this.query = new query_1.QueryNamespace(this.rpcProvider); } return RPC; }()); exports.RPC = RPC; //# sourceMappingURL=rpc.js.map