commerce-kit 0.10.0 → 0.12.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
@@ -18,9 +18,7 @@ import { Commerce } from 'commerce-kit';
18
18
  const commerce = Commerce();
19
19
  ```
20
20
 
21
- That's it! The SDK reads `YNS_API_KEY` from environment and auto-detects the endpoint:
22
- - `sk-live-*` → `https://yns.store`
23
- - `sk-test-*` → `https://yns.cx`
21
+ That's it! The SDK reads `YNS_API_TOKEN` from environment and auto-detects the correct store and API base URL: `https://yns.store`
24
22
 
25
23
  ## Products
26
24
 
@@ -106,7 +104,6 @@ import type {
106
104
  APIProductGetByIdResult,
107
105
  APICartCreateBody,
108
106
  APIOrderGetByIdResult,
109
- YNSConfig,
110
107
  CommerceConfig,
111
108
  } from 'commerce-kit';
112
109
  ```