iap-apple 3.0.3 → 3.0.4

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 +8 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  **Lightweight Apple App Store receipt validation for Node.js** - Zero dependencies, TypeScript-first, blazing fast.
13
13
 
14
- ## Why iap-apple?
14
+ ## Why iap-apple? 🤔
15
15
 
16
16
  | Feature | iap-apple | Others |
17
17
  |---------|-----------|--------|
@@ -26,7 +26,7 @@
26
26
  - **Production Ready** - 93%+ test coverage, battle-tested
27
27
  - **Simple API** - One function to validate, intuitive helpers
28
28
 
29
- ## Installation
29
+ ## Installation 📦
30
30
 
31
31
  ```bash
32
32
  # pnpm (recommended)
@@ -41,7 +41,7 @@ yarn add iap-apple
41
41
 
42
42
  **Requirements:** Node.js 22+
43
43
 
44
- ## Quick Start
44
+ ## Quick Start 🚀
45
45
 
46
46
  ```typescript
47
47
  import { verify, getPurchasedItems, isPurchasedItemExpired } from 'iap-apple';
@@ -61,7 +61,7 @@ if (!isPurchasedItemExpired(latestPurchase)) {
61
61
  }
62
62
  ```
63
63
 
64
- ## API Reference
64
+ ## API Reference 📚
65
65
 
66
66
  ### verify(receipt, config)
67
67
 
@@ -152,7 +152,7 @@ if (isPurchasedItemCanceled(items[0])) {
152
152
  }
153
153
  ```
154
154
 
155
- ## Types
155
+ ## Types 📝
156
156
 
157
157
  ### PurchasedItem
158
158
 
@@ -203,7 +203,7 @@ Common status codes:
203
203
  - `21007` - Sandbox receipt sent to production
204
204
  - `21008` - Production receipt sent to sandbox
205
205
 
206
- ## StoreKit 2 / App Store Server API
206
+ ## StoreKit 2 / App Store Server API 🆕
207
207
 
208
208
  This library uses Apple's legacy `verifyReceipt` endpoint, which still works but is deprecated for new apps.
209
209
 
@@ -224,10 +224,10 @@ npm install @apple/app-store-server-library
224
224
  - Need App Store Server Notifications V2
225
225
  - Need subscription offer signing
226
226
 
227
- ## Contributing
227
+ ## Contributing 🤝
228
228
 
229
229
  Contributions are welcome! Please open an issue or submit a PR.
230
230
 
231
- ## License
231
+ ## License 📄
232
232
 
233
233
  ISC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iap-apple",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Integration with Apples InAppPurchases in Typescript, available for NodeJS environments.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",