@injectivelabs/chain-consumer
Advanced tools
Comparing version
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.0.17](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/chain-consumer@0.0.16...@injectivelabs/chain-consumer@0.0.17) (2021-02-25) | ||
### Features | ||
* added a node transport for grpc consumers ([a6c2a7d](https://github.com/InjectiveLabs/injective-ts/commit/a6c2a7d32b7046dd2f951f89dcb0b56ec091f152)) | ||
## 0.0.16 (2021-02-24) | ||
@@ -8,0 +14,0 @@ |
@@ -5,2 +5,7 @@ "use strict"; | ||
const exceptions_1 = require("@injectivelabs/exceptions"); | ||
const utils_1 = require("@injectivelabs/utils"); | ||
const grpc_web_node_http_transport_1 = require("@improbable-eng/grpc-web-node-http-transport"); | ||
if (utils_1.isServerSide()) { | ||
grpc_web_1.grpc.setDefaultTransport(grpc_web_node_http_transport_1.NodeHttpTransport()); | ||
} | ||
class BaseConsumer { | ||
@@ -7,0 +12,0 @@ constructor(endpoint) { |
{ | ||
"name": "@injectivelabs/chain-consumer", | ||
"description": "Interacting with our Chain API made easy. Can be reused throughout Injective's projects.", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"license": "MIT", | ||
@@ -31,10 +31,11 @@ "main": "dist/index.js", | ||
"@improbable-eng/grpc-web": "^0.14.0", | ||
"@improbable-eng/grpc-web-node-http-transport": "^0.14.0", | ||
"@injectivelabs/chain-api": "^1.2.2", | ||
"@injectivelabs/exceptions": "^0.0.16", | ||
"@injectivelabs/ts-types": "^0.0.13", | ||
"@injectivelabs/utils": "^0.0.16", | ||
"@injectivelabs/utils": "^0.0.17", | ||
"link-module-alias": "^1.2.0", | ||
"shx": "^0.3.2" | ||
}, | ||
"gitHead": "1bec7b41a7b612f0f5f08292483c2090fc9a84d5" | ||
"gitHead": "91d4bfc17dc5c4e9f603219fb0d2b7944ad0254f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23112
3.42%231
2.21%8
14.29%+ Added
+ Added
- Removed
Updated