iap-apple 2.0.1 โ†’ 2.0.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [2.0.2](https://github.com/ssbarbee/iap-apple/compare/v2.0.1...v2.0.2) (2022-12-23)
2
+
3
+ ## [2.0.1](https://github.com/ssbarbee/iap-apple/compare/v2.0.0...v2.0.1) (2022-12-23)
4
+
1
5
  # [2.0.0](https://github.com/ssbarbee/iap-apple/compare/v1.3.12...v2.0.0) (2022-12-23)
2
6
 
3
7
  ## [1.3.12](https://github.com/ssbarbee/iap-apple/compare/v1.3.11...v1.3.12) (2022-12-23)
package/README.md CHANGED
@@ -7,12 +7,12 @@
7
7
 
8
8
  A NodeJS module for in-app purchase (in-app billing) and subscription for Apple.
9
9
 
10
- ## Overview
10
+ ## Overview ๐Ÿง
11
11
 
12
12
  Create a Typescript package for validation of [App Store Receipts](https://developer.apple.com/documentation/appstorereceipts).
13
13
  This package is meant to be used server side to validate receipts from the App Store by talking to Apples servers.
14
14
 
15
- ## Installation
15
+ ## Installation ๐Ÿ“ฆ
16
16
 
17
17
  ### npm
18
18
 
@@ -22,9 +22,9 @@ This package is meant to be used server side to validate receipts from the App S
22
22
 
23
23
  ```yarn add iap-apple```
24
24
 
25
- ## API documentation
25
+ ## API documentation ๐Ÿ“š
26
26
 
27
- ### verify
27
+ ### verify ๐Ÿงช
28
28
 
29
29
  API used to verify receipt data received during an App Store purchase.
30
30
  Requires **appSharedSecret** to be passed as part of the configuration.
@@ -70,7 +70,7 @@ async function verifyAppleReceipt(receipt: string) {
70
70
  }
71
71
  ```
72
72
 
73
- ### isVerifiedReceipt
73
+ ### isVerifiedReceipt ๐Ÿงช
74
74
 
75
75
  API used to verify if response returned by `verify` is verified.
76
76
  Requires the output of `verify` to be passed.
@@ -94,7 +94,7 @@ async function isVerifiedAppleReceipt(receipt: string, config: IIAPAppleConfig)
94
94
  }
95
95
  ```
96
96
 
97
- ### getPurchasedItems
97
+ ### getPurchasedItems ๐Ÿงช
98
98
 
99
99
  API used to get an array of PurchasedItem objects from the Apple App Store response,
100
100
  sort by their purchase date descending.
@@ -121,7 +121,7 @@ async function isVerifiedAppleReceipt(receipt: string, config: IIAPAppleConfig)
121
121
  }
122
122
  ```
123
123
 
124
- ### isPurchasedItemCanceled
124
+ ### isPurchasedItemCanceled ๐Ÿงช
125
125
 
126
126
  API used to check if a purchased item is canceled.
127
127
  Requires the output of `getPurchasedItems` to be passed.
@@ -148,7 +148,7 @@ async function isVerifiedAppleReceipt(receipt: string, config: IIAPAppleConfig)
148
148
  ```
149
149
 
150
150
 
151
- ### isPurchasedItemExpired
151
+ ### isPurchasedItemExpired ๐Ÿงช
152
152
 
153
153
  API used to check if a purchased item is expired.
154
154
  Requires the output of `getPurchasedItems` to be passed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iap-apple",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Integration with Apples InAppPurchases in Typescript, available for NodeJS environments.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "prettier:check": "prettier --check 'src/**/*.{ts,tsx}'",
18
18
  "prettier:fix": "prettier --write 'src/**/*.{ts,tsx}'",
19
19
  "release": "semantic-release",
20
- "postrelease": "cp dist/package.json package.json",
20
+ "postversion": "cp -r package.json ..",
21
21
  "code-quality:check": "concurrently 'yarn ts:check' 'yarn prettier:check' 'yarn lint:check --quiet'",
22
22
  "generate:coverage-badges": "istanbul-badges-readme --silent"
23
23
  },