repzo 1.0.77 → 1.0.79

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/lib/index.js CHANGED
@@ -2085,11 +2085,11 @@ Repzo.CommandLog = class {
2085
2085
  };
2086
2086
  } else {
2087
2087
  this.error = error;
2088
- this.error_details.push({
2089
- timestamp: Date.now(),
2090
- error: this.error,
2091
- });
2092
2088
  }
2089
+ this.error_details.push({
2090
+ timestamp: Date.now(),
2091
+ error: this.error,
2092
+ });
2093
2093
  return this;
2094
2094
  }
2095
2095
  switch (status) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repzo",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "description": "Repzo TypeScript SDK",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -2810,6 +2810,8 @@ export default class Repzo {
2810
2810
  this.processedAt = command_log.processedAt;
2811
2811
  this.onGoing = command_log.onGoing || false;
2812
2812
  this.trigger = command_log.trigger;
2813
+ this.sync_details = command_log.sync_details;
2814
+ this.error_details = command_log.error_details;
2813
2815
  // this.priority = command_log.priority
2814
2816
  // ? command_log.priority
2815
2817
  // : this.priority
@@ -2834,11 +2836,11 @@ export default class Repzo {
2834
2836
  };
2835
2837
  } else {
2836
2838
  this.error = error;
2837
- this.error_details.push({
2838
- timestamp: Date.now(),
2839
- error: this.error,
2840
- });
2841
2839
  }
2840
+ this.error_details.push({
2841
+ timestamp: Date.now(),
2842
+ error: this.error,
2843
+ });
2842
2844
  return this;
2843
2845
  }
2844
2846
  switch (status) {
@@ -7491,6 +7491,8 @@ export namespace Service {
7491
7491
  onGoing?: boolean;
7492
7492
  retries?: number;
7493
7493
  trigger?: string;
7494
+ sync_details: { timestamp: number; body: { [key: string]: any } }[];
7495
+ error_details: { timestamp: number; error: { [key: string]: any } }[];
7494
7496
  createdAt: string;
7495
7497
  updatedAt: string;
7496
7498
  __v: number;