@shipengine/js-api 2.1.0 → 2.1.1

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/labels/types.d.ts CHANGED
@@ -9,6 +9,7 @@ export type LabelDisplayScheme = "label" | "paperless" | "qr_code" | "label_and_
9
9
  export type LabelFormat = "pdf" | "png" | "zpl";
10
10
  export type LabelLayout = "4x6" | "letter";
11
11
  export type LabelStatus = "processing" | "completed" | "error" | "voided";
12
+ export type LabelTrackingStatus = "unknown" | "in_transit" | "delivered" | "error";
12
13
  export type Label = {
13
14
  alternativeIdentifiers?: string[];
14
15
  batchId: string;
@@ -47,7 +48,7 @@ export type Label = {
47
48
  status: LabelStatus;
48
49
  trackable: boolean;
49
50
  trackingNumber: string;
50
- trackingStatus: string;
51
+ trackingStatus: LabelTrackingStatus;
51
52
  trackingUrl: string;
52
53
  voided: boolean;
53
54
  voidedAt: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {