@therms/rpc-client
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,8 @@ | ||
## [2.1.1](http://bitbucket.org/thermsio/rpc-client-ts/compare/v2.1.0...v2.1.1) (2021-09-22) | ||
### Bug Fixes | ||
* return not optional ([7b2553a](http://bitbucket.org/thermsio/rpc-client-ts/commits/7b2553a8e9b650834a72190db9f2097a4dd98faf)) | ||
# [2.1.0](http://bitbucket.org/thermsio/rpc-client-ts/compare/v2.0.0...v2.1.0) (2021-09-19) | ||
@@ -2,0 +9,0 @@ |
export interface CallResponseDTO<Data = any> { | ||
code: number; | ||
correlationId?: any; | ||
data?: Data; | ||
data: Data; | ||
message?: string; | ||
@@ -6,0 +6,0 @@ success: boolean; |
@@ -120,3 +120,3 @@ 'use strict'; | ||
typeof strippedCallRequest === 'object') { | ||
key = stringify__default['default'](sortKeys(strippedCallRequest, { deep: true })); | ||
key = stringify__default["default"](sortKeys(strippedCallRequest, { deep: true })); | ||
} | ||
@@ -305,3 +305,3 @@ else { | ||
constructor(cacheOptions) { | ||
this.cachedResponseByParams = new LRU__default['default']({ | ||
this.cachedResponseByParams = new LRU__default["default"]({ | ||
max: cacheOptions?.cacheMaxSize || InMemoryCache.DEFAULT_CACHE_MAX_SIZE, | ||
@@ -308,0 +308,0 @@ maxAge: cacheOptions?.cacheMaxAgeMs || InMemoryCache.DEFAULT_CACHE_MAX_AGE_MS, |
{ | ||
"name": "@therms/rpc-client", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "RPC framework, browser client lib", | ||
@@ -10,3 +10,3 @@ "private": false, | ||
"scripts": { | ||
"build": "rollup -c", | ||
"build": "tsc && rollup -c", | ||
"test": "jest" | ||
@@ -13,0 +13,0 @@ }, |
Sorry, the diff of this file is not supported yet
149936
112
2192