@mpgd/capacitor-play-billing 0.3.8 → 0.3.10
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 +4 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -142,8 +142,10 @@ PR C3): the service provider is registered for every catalog product whose
|
|
|
142
142
|
`platformProductIds.android` names a Play SKU (subscriptions are skipped),
|
|
143
143
|
and `accountBinding` is the reference binding in
|
|
144
144
|
`src/platform/commerceAccountBinding.ts`, the 64-character hex SHA-256 of
|
|
145
|
-
`mpgd-commerce-account:<playerId>` for the
|
|
146
|
-
|
|
145
|
+
`mpgd-commerce-account:<playerId>` for the server session's player (the
|
|
146
|
+
generated game's `guestIdentity.ts` signs in a server-issued guest when
|
|
147
|
+
`VITE_MPGD_IDENTITY_URL` is set) or an authenticated platform player; the
|
|
148
|
+
native shell's local player binds nothing, so the purchase is refused with
|
|
147
149
|
`ACCOUNT_BINDING_REQUIRED`). The backend's `resolveObfuscatedAccountId`
|
|
148
150
|
must derive the same value, or both are replaced together.
|
|
149
151
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpgd/capacitor-play-billing",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"description": "Opt-in Android Google Play Billing purchase collector for mpgd Capacitor games.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@capacitor/core": "^8.5.1",
|
|
41
|
-
"@mpgd/adapter-capacitor": "^0.
|
|
42
|
-
"@mpgd/bridge": "^0.
|
|
43
|
-
"@mpgd/platform": "^0.
|
|
41
|
+
"@mpgd/adapter-capacitor": "^0.13.0",
|
|
42
|
+
"@mpgd/bridge": "^0.16.0",
|
|
43
|
+
"@mpgd/platform": "^0.29.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@capacitor/core": "8.5.2",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"ttsc": "0.32.1",
|
|
49
49
|
"typescript": "7.0.2",
|
|
50
50
|
"vitest": "^4.0.0",
|
|
51
|
-
"@mpgd/
|
|
52
|
-
"@mpgd/
|
|
53
|
-
"@mpgd/game-services": "0.
|
|
54
|
-
"@mpgd/
|
|
51
|
+
"@mpgd/bridge": "0.16.1",
|
|
52
|
+
"@mpgd/platform": "0.29.0",
|
|
53
|
+
"@mpgd/game-services": "0.29.0",
|
|
54
|
+
"@mpgd/adapter-capacitor": "0.13.0"
|
|
55
55
|
},
|
|
56
56
|
"main": "./dist/index.js",
|
|
57
57
|
"types": "./dist/index.d.ts",
|