@commercelayer/sdk 5.19.1 → 5.19.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -275,7 +275,7 @@ In general:
275
275
 
276
276
  - An API endpoint like `/api/customers` or `/api/customers/<customerId>` translates to `cl.customers` or `cl.customers('<customerId>')` with the SDK.
277
277
  - 1-to-1 relationship API endpoints like `/api/orders/<orderId>/shipping_address` translates to `cl.orders('<orderId>', { include: ['shipping_address'] }}` with the SDK.
278
- - 1-to-N relationship API endpoints like `/api/customers/<customerId>?include=orders` or `/api/customers/<customerId>/orders` translates to `cl.customers.retrieve('customerId', { include: ['orders'] })` or `cl.customers.orders('<customerId>')` with the SDK.
278
+ - 1-to-N relationship API endpoints like `/api/customers/<customerId>?include=orders` or `/api/customers/<customerId>/orders` translates to `cl.customers.retrieve('<customerId>', { include: ['orders'] })` or `cl.customers.orders('<customerId>')` with the SDK.
279
279
 
280
280
  ℹ️ Check our API reference for more information on how to [fetch relationships](https://docs.commercelayer.io/core/fetching-relationships).
281
281
  </details>
@@ -406,7 +406,7 @@ Commerce Layer API returns specific errors (with extra information) on each attr
406
406
 
407
407
  1. Join [Commerce Layer's Slack community](https://slack.commercelayer.app).
408
408
 
409
- 2. Create an [issue](https://github.com/commercelayer/commercelayer-cli/issues) in this repository.
409
+ 2. Create an [issue](https://github.com/commercelayer/commercelayer-sdk/issues) in this repository.
410
410
 
411
411
  3. Ping us [on Twitter](https://twitter.com/commercelayer).
412
412
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercelayer/sdk",
3
- "version": "5.19.1",
3
+ "version": "5.19.2",
4
4
  "main": "lib/cjs/index.js",
5
5
  "types": "lib/cjs/index.d.ts",
6
6
  "module": "lib/esm/index.js",