@usethrottle/cart 3.7.0 → 3.8.0

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
@@ -96,7 +96,7 @@ const { checkoutUrl } = await cart.checkout({
96
96
  ```
97
97
 
98
98
  The opaque `cart_…` session id is scoped to exactly one cart. See the
99
- [cart sessions guide](https://docs.usethrottle.dev/developers/cart-sessions).
99
+ [cart sessions guide](https://usethrottle.dev/docs/developers/cart-sessions).
100
100
 
101
101
  ## Net-N invoice terms
102
102
 
package/dist/index.d.cts CHANGED
@@ -11,6 +11,8 @@ export { ThrottleError, isThrottleError } from '@usethrottle/errors';
11
11
  interface CartAddress {
12
12
  firstName?: string;
13
13
  lastName?: string;
14
+ /** Business name. Optional — B2B addresses use it, B2C addresses omit it. */
15
+ company?: string;
14
16
  addressLine1: string;
15
17
  addressLine2?: string;
16
18
  city: string;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,8 @@ export { ThrottleError, isThrottleError } from '@usethrottle/errors';
11
11
  interface CartAddress {
12
12
  firstName?: string;
13
13
  lastName?: string;
14
+ /** Business name. Optional — B2B addresses use it, B2C addresses omit it. */
15
+ company?: string;
14
16
  addressLine1: string;
15
17
  addressLine2?: string;
16
18
  city: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usethrottle/cart",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "Typed REST client for the Throttle Cart API.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",