@shipengine/alchemy 5.0.14 → 5.0.15

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.
Files changed (3) hide show
  1. package/index.js +4 -1
  2. package/index.mjs +4 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -16480,7 +16480,10 @@ class ShippingRulesAPI {
16480
16480
  * `ShippingRule`.
16481
16481
  */
16482
16482
  this.edit = (shippingRule) => {
16483
- return this.client.put(`/v1/shipping_rules/${shippingRule.id}`, shippingRule);
16483
+ return this.client.put(
16484
+ `/v1/shipping_rules/${shippingRule.shippingRuleId}`,
16485
+ shippingRule
16486
+ );
16484
16487
  };
16485
16488
  this.client = client;
16486
16489
  }
package/index.mjs CHANGED
@@ -16458,7 +16458,10 @@ class ShippingRulesAPI {
16458
16458
  * `ShippingRule`.
16459
16459
  */
16460
16460
  this.edit = (shippingRule) => {
16461
- return this.client.put(`/v1/shipping_rules/${shippingRule.id}`, shippingRule);
16461
+ return this.client.put(
16462
+ `/v1/shipping_rules/${shippingRule.shippingRuleId}`,
16463
+ shippingRule
16464
+ );
16462
16465
  };
16463
16466
  this.client = client;
16464
16467
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "5.0.14",
3
+ "version": "5.0.15",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {