@shipengine/js-api 0.51.0 → 0.52.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "0.51.0",
3
+ "version": "0.52.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
@@ -1,9 +1,9 @@
1
1
  import { Address, AddressValidation } from "../addresses";
2
2
  import { CarrierPackage } from "../carriers";
3
- import { CodedError } from '../errors';
3
+ import { CodedError } from "../errors";
4
4
  import { OrderSourceCode } from "../order-sources";
5
5
  import { Money } from "../payments";
6
- import { Rate } from '../rates';
6
+ import { Rate } from "../rates";
7
7
  import { Download, LinkedResource } from "../resources";
8
8
  import { WeightWithUnit } from "../weight";
9
9
  /**
@@ -171,6 +171,7 @@ export interface Shipment {
171
171
  useUpsGroundFreightPricing?: boolean;
172
172
  };
173
173
  carrierId: string;
174
+ comparisonRateType?: string;
174
175
  confirmation: ConfirmationType;
175
176
  createdAt: string;
176
177
  customs?: Customs;
@@ -27,7 +27,7 @@ export type RuleValueUnit = DimensionUnit | WeightUnit;
27
27
  export interface ShippingRulesConditions {
28
28
  identifier: RuleIdentifier;
29
29
  operation: RuleOperation;
30
- value: string;
30
+ value: string | string[] | number;
31
31
  valueUnit?: RuleValueUnit;
32
32
  }
33
33
  /**