@jwn-js/common 2.1.1 → 2.1.2

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/index.d.ts CHANGED
@@ -551,7 +551,7 @@ declare class Web {
551
551
  [key: string]: any;
552
552
  };
553
553
  constructor(res: HttpResponse, req: HttpRequest, context: OptionsWeb);
554
- setDefaultRequest(params: DefaultRequestParams): void;
554
+ setDefaultRequest(params: DefaultRequestParams): this;
555
555
  request(input?: Request): Promise<void>;
556
556
  /**
557
557
  * Import controller class
package/index.js CHANGED
@@ -1113,6 +1113,7 @@ class Web {
1113
1113
  }
1114
1114
  setDefaultRequest(params) {
1115
1115
  Object.assign(this.defaultRequest, params);
1116
+ return this;
1116
1117
  }
1117
1118
  async request(input = {}) {
1118
1119
  let response = {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jwn-js/common",
3
3
  "private": false,
4
- "version": "2.1.1",
4
+ "version": "2.1.2",
5
5
  "description": "@jwn-js/common package",
6
6
  "main": "./index.js",
7
7
  "types": "./index.d.ts",