@go-avro/avro-js 0.0.102 → 0.0.104

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.
@@ -59,6 +59,7 @@ export interface ErrorLogEntry {
59
59
  js_version?: string | null;
60
60
  user_agent?: string | null;
61
61
  remote_addr?: string | null;
62
+ forwarded_for?: string | null;
62
63
  user?: {
63
64
  id: string;
64
65
  username: string;
@@ -10,7 +10,7 @@ declare module '../../types/api/Job' {
10
10
  company: string;
11
11
  description: string;
12
12
  id: string;
13
- autostart_radius: number;
13
+ checkin_radius: number;
14
14
  latitude: number;
15
15
  longitude: number;
16
16
  name: string;
@@ -104,7 +104,7 @@ export class Task {
104
104
  }
105
105
  // Cutoff: midnight (local time) of the day route.start_time falls on.
106
106
  // Counts work completed at any point during the route's day (including
107
- // an early-start autostart that finishes a few minutes before
107
+ // an early-started visit that finishes a few minutes before
108
108
  // route.start_time) while still rejecting stale events from previous
109
109
  // occurrences. Applies to both recurring and one-shot tasks.
110
110
  const routeDay = new Date(route.start_time * 1000);
@@ -21,7 +21,6 @@ declare module '../../types/api/_Event' {
21
21
  earned_revenue: number;
22
22
  additional_charges: AdditionalCharge[];
23
23
  users: UserEvent[];
24
- autostart: boolean;
25
24
  team_id: string | null;
26
25
  }
27
26
  }
@@ -13,6 +13,5 @@ export class _Event extends LineItem {
13
13
  this.task_names = init?.task_names ?? [];
14
14
  this.additional_charges = init?.additional_charges ?? [];
15
15
  this.users = init?.users ?? [];
16
- this.autostart = init?.autostart ?? false;
17
16
  }
18
17
  }
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const AVRO_JS_VERSION = "0.0.102";
1
+ export declare const AVRO_JS_VERSION = "0.0.104";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED by scripts/gen-version.js — do not edit by hand.
2
2
  // Regenerated from package.json by the `prebuild` npm hook.
3
- export const AVRO_JS_VERSION = '0.0.102';
3
+ export const AVRO_JS_VERSION = '0.0.104';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.102",
3
+ "version": "0.0.104",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",