@hatchet-dev/typescript-sdk 0.15.1-alpha4 → 0.15.1-alpha5

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.
@@ -84,17 +84,20 @@ class EventClient {
84
84
  }
85
85
  putLog(stepRunId, log, level) {
86
86
  const createdAt = new Date();
87
- (0, retrier_1.retrier)(() => __awaiter(this, void 0, void 0, function* () {
88
- return this.client.putLog({
89
- stepRunId,
90
- createdAt,
91
- message: log,
92
- level: level || LogLevel.INFO,
93
- });
94
- }), this.logger).catch((e) => {
95
- // log a warning, but this is not a fatal error
96
- this.logger.warn(`Could not put log: ${e.message.substring(0, 100)}`);
97
- });
87
+ // retrier(
88
+ // async () =>
89
+ // this.client.putLog({
90
+ // stepRunId,
91
+ // createdAt,
92
+ // message: log,
93
+ // level: level || LogLevel.INFO,
94
+ // }),
95
+ // this.logger
96
+ // ).catch((e: any) => {
97
+ // // log a warning, but this is not a fatal error
98
+ // console.error(e);
99
+ // // this.logger.warn(`Could not put log: ${e.message.substring(0, 100)}`);
100
+ // });
98
101
  }
99
102
  putStream(stepRunId, data) {
100
103
  const createdAt = new Date();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hatchet-dev/typescript-sdk",
3
- "version": "0.15.1-alpha4",
3
+ "version": "0.15.1-alpha5",
4
4
  "description": "Background task orchestration & visibility for developers",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [