@shipengine/connect-carrier-api 2.8.3 → 2.8.4

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/README.md CHANGED
@@ -4,7 +4,7 @@ The purpose of this library is to fill a similar role that CarrierApi.Common ser
4
4
 
5
5
  ## Building
6
6
 
7
- From the repo root, navigate to this package directory.
7
+ From the repository root, navigate to this package directory.
8
8
 
9
9
  Install dependencies
10
10
  `yarn`
@@ -10,6 +10,7 @@ export declare class CreateLabelResponse extends BaseResponse {
10
10
  packages?: LabelPackage[];
11
11
  billing_line_items?: BillingLineItem[];
12
12
  tracking_number?: string;
13
+ tracking_url?: string;
13
14
  trackable?: boolean;
14
15
  alternative_identifiers?: Identifier[];
15
16
  estimated_delivery_datetime?: string;
@@ -17,6 +17,7 @@ exports.CreateLabelResponseSchema = base_response_1.BaseResponseSchema.keys({
17
17
  packages: joi_1.default.array().optional().items(models_1.LabelPackageSchema),
18
18
  billing_line_items: joi_1.default.array().optional().items(models_1.BillingLineItemSchema),
19
19
  tracking_number: joi_1.default.string().optional().empty(),
20
+ tracking_url: joi_1.default.string().optional().empty(),
20
21
  trackable: joi_1.default.boolean().optional(),
21
22
  alternative_identifiers: joi_1.default.array().optional().items(models_1.IdentifierSchema),
22
23
  estimated_delivery_datetime: joi_1.default.string().optional().empty().isoDate(),
@@ -1 +1 @@
1
- {"version":3,"file":"create-label-response.js","sourceRoot":"","sources":["../../src/responses/create-label-response.ts"],"names":[],"mappings":";;;;AAAA,mDAAmE;AACnE,sCAiBmB;AACnB,sDAAsB;AAEtB,oEAAoE;AACpE,MAAa,mBAAoB,SAAQ,4BAAY;CAiBpD;AAjBD,kDAiBC;AAEY,QAAA,yBAAyB,GAAG,kCAAkB,CAAC,IAAI,CAAC;IAC/D,cAAc,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,cAAc,EAAE,4BAAmB,CAAC,QAAQ,EAAE;IAC9C,aAAa,E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4BAAmB,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,2BAAkB,CAAC,QAAQ,EAAE;IAC5C,SAAS,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,uBAAc,CAAC;IACvD,QAAQ,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,2BAAkB,CAAC;IAC1D,kBAAkB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,8BAAqB,CAAC;IACvE,eAAe,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAChD,YAAY,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC7C,SAAS,EAAE,aAAG,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,uBAAuB,EAAE,aAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,yBAAgB,CAAC;IACvE,2BAA2B,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE;IACtE,yBAAyB,EAAE,aAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE;IAC1D,qBAAqB,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAClD,eAAe,EAAE,yBAAgB,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,gCAAuB,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/connect-carrier-api",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
4
4
  "description": "This is the typescript/javascript definitions for carrier api",
5
5
  "homepage": "https://github.com/ShipEngine/connect",
6
6
  "main": "./lib/index.js",
@@ -12,7 +12,7 @@
12
12
  "format": "prettier --single-quote --trailing-comma=all --write \"src/**/*.ts\"",
13
13
  "lint": "prettier --single-quote --trailing-comma=all --check \"src/**/*.ts\"",
14
14
  "release": "yarn version:release",
15
- "test": "jest",
15
+ "test": "vitest run",
16
16
  "watch": "yarn build:watch"
17
17
  },
18
18
  "repository": {
@@ -31,12 +31,10 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "devDependencies": {
34
- "@types/jest": "^27.0.3",
35
34
  "@types/sanitize-html": "^2.6.2",
36
- "jest": "^27.4.5",
37
35
  "prettier": "^2.4.0",
38
- "ts-jest": "^27.1.2",
39
- "typescript": "^4.3.5"
36
+ "typescript": "^4.3.5",
37
+ "vitest": "^0.23.4"
40
38
  },
41
39
  "dependencies": {
42
40
  "joi": "^17.4.2",