@mpgd/capacitor-storekit 0.7.1 → 0.7.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.
package/Package.swift
CHANGED
|
@@ -28,7 +28,7 @@ let package = Package(
|
|
|
28
28
|
]) + [
|
|
29
29
|
// OpenIAP Apple core (StoreKit 2), pinned exactly. See
|
|
30
30
|
// docs/specs/commerce/openiap-migration.md before changing it.
|
|
31
|
-
.package(url: "https://github.com/hyodotdev/openiap.git", exact: "4.0.
|
|
31
|
+
.package(url: "https://github.com/hyodotdev/openiap.git", exact: "4.0.7")
|
|
32
32
|
],
|
|
33
33
|
targets: bridgeTestsOnly ? [
|
|
34
34
|
bridge,
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @mpgd/capacitor-storekit
|
|
2
2
|
|
|
3
3
|
Opt-in StoreKit 2 one-time purchase collector for Capacitor 8 on iOS, built
|
|
4
|
-
on the [OpenIAP](https://github.com/hyodotdev/openiap) Apple core (4.0.
|
|
4
|
+
on the [OpenIAP](https://github.com/hyodotdev/openiap) Apple core (4.0.7).
|
|
5
5
|
It does not enable native IAP in the base Capacitor shell. Install it only in a
|
|
6
6
|
game-owned iOS project and register `createCapacitorStoreKitServiceProvider(...)`
|
|
7
7
|
in that game's provider list.
|
|
@@ -4,7 +4,7 @@ import StoreKit
|
|
|
4
4
|
/// Compatibility shim: the verified, read-only transaction lists behind
|
|
5
5
|
/// `getTransactions` and the `finishTransaction` lookup.
|
|
6
6
|
///
|
|
7
|
-
/// Why: OpenIAP Apple 4.0.
|
|
7
|
+
/// Why: OpenIAP Apple 4.0.7's `getPendingTransactionsIOS` and
|
|
8
8
|
/// `getAvailablePurchases` throw on the first transaction StoreKit cannot
|
|
9
9
|
/// verify (`OpenIapStoreKitModule.checkVerified`), so one unverifiable
|
|
10
10
|
/// transaction on a device would hide every verified one from recovery and
|
|
@@ -3,7 +3,7 @@ import StoreKit
|
|
|
3
3
|
|
|
4
4
|
/// Compatibility shim: forwards verified **revoked** one-time transactions.
|
|
5
5
|
///
|
|
6
|
-
/// Why: OpenIAP Apple 4.0.
|
|
6
|
+
/// Why: OpenIAP Apple 4.0.7's `Transaction.updates` listener skips any
|
|
7
7
|
/// transaction with a `revocationDate` (`OpenIapStoreKitModule`
|
|
8
8
|
/// `startTransactionListener`, "Skipping revoked transaction"). The 0.3 mpgd
|
|
9
9
|
/// plugin forwarded those updates as `transactionUpdated` with `revokedAt`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpgd/capacitor-storekit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Opt-in StoreKit 2 one-time purchase collector and commerce v2 provider for mpgd Capacitor games.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@capacitor/core": "^8.5.1",
|
|
41
41
|
"@mpgd/adapter-capacitor": "^0.19.0",
|
|
42
|
-
"@mpgd/bridge": "^0.
|
|
42
|
+
"@mpgd/bridge": "^0.19.0",
|
|
43
43
|
"@mpgd/platform": "^0.35.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@capacitor/core": "8.5.2",
|
|
47
47
|
"ttsc": "0.34.2",
|
|
48
48
|
"typescript": "7.0.2",
|
|
49
|
-
"@mpgd/
|
|
50
|
-
"@mpgd/
|
|
51
|
-
"@mpgd/
|
|
52
|
-
"@mpgd/
|
|
49
|
+
"@mpgd/game-services": "0.34.0",
|
|
50
|
+
"@mpgd/platform": "0.35.1",
|
|
51
|
+
"@mpgd/bridge": "0.19.0",
|
|
52
|
+
"@mpgd/adapter-capacitor": "0.19.2"
|
|
53
53
|
},
|
|
54
54
|
"main": "./dist/index.js",
|
|
55
55
|
"types": "./dist/index.d.ts",
|