@hatchet-dev/typescript-sdk 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/util/grpc-helpers.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
package/util/grpc-helpers.js
CHANGED
|
@@ -37,6 +37,8 @@ const channelFactory = (config, credentials) => (0, nice_grpc_1.createChannel)(c
|
|
|
37
37
|
'grpc.keepalive_time_ms': 10 * 1000,
|
|
38
38
|
// Allow keepalive pings when there are no gRPC calls.
|
|
39
39
|
'grpc.keepalive_permit_without_calls': 1,
|
|
40
|
+
// Enable gzip compression for all calls on this channel
|
|
41
|
+
'grpc.default_compression_algorithm': 2, // 2 = Gzip compression
|
|
40
42
|
});
|
|
41
43
|
exports.channelFactory = channelFactory;
|
|
42
44
|
const addTokenMiddleware = (token) => function _(call, options) {
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HATCHET_VERSION = "1.10.
|
|
1
|
+
export declare const HATCHET_VERSION = "1.10.3";
|
package/version.js
CHANGED