@shipengine/js-api 3.13.0 → 3.13.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.
@@ -12,7 +12,7 @@ export declare class AccountBillingAPI {
12
12
  */
13
13
  get: () => Promise<import("axios").AxiosResponse<AccountBillingResponse, any>>;
14
14
  /**
15
- * The `post` method updates (or create) the Billing Info for the current user.
15
+ * The `put` method updates (or create) the Billing Info for the current user.
16
16
  */
17
- post: (reqBody: UpsertAccountBillingRequestBody) => Promise<import("axios").AxiosResponse<AccountBillingResponse, any>>;
17
+ put: (reqBody: UpsertAccountBillingRequestBody) => Promise<import("axios").AxiosResponse<AccountBillingResponse, any>>;
18
18
  }
package/index.js CHANGED
@@ -285,10 +285,10 @@ class AccountBillingAPI {
285
285
  return this.client.get("/v1/account/billing");
286
286
  };
287
287
  /**
288
- * The `post` method updates (or create) the Billing Info for the current user.
288
+ * The `put` method updates (or create) the Billing Info for the current user.
289
289
  */
290
- this.post = (reqBody) => {
291
- return this.client.post("/v1/account/billing", reqBody);
290
+ this.put = (reqBody) => {
291
+ return this.client.put("/v1/account/billing", reqBody);
292
292
  };
293
293
  this.client = client;
294
294
  }
package/index.mjs CHANGED
@@ -281,10 +281,10 @@ class AccountBillingAPI {
281
281
  return this.client.get("/v1/account/billing");
282
282
  };
283
283
  /**
284
- * The `post` method updates (or create) the Billing Info for the current user.
284
+ * The `put` method updates (or create) the Billing Info for the current user.
285
285
  */
286
- this.post = (reqBody) => {
287
- return this.client.post("/v1/account/billing", reqBody);
286
+ this.put = (reqBody) => {
287
+ return this.client.put("/v1/account/billing", reqBody);
288
288
  };
289
289
  this.client = client;
290
290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {