@mpgd/capacitor-play-billing 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +3 -3
  3. package/package.json +23 -13
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 imjlk
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -9,9 +9,9 @@ purchase via Google Play Publisher, commit the mpgd ledger grant, and perform
9
9
  acknowledge/consume after the grant. A device callback alone never grants a
10
10
  purchase.
11
11
 
12
- The published package has passed mocked contract checks, an Android compile,
13
- and external tarball consumer checks. It has not yet passed a live Play purchase
14
- on a signed game; validate that path before a production rollout.
12
+ This package is published for opt-in integration, but Kit's mock and compile
13
+ checks do not establish live Play purchase behavior. Validate it in a
14
+ game-owned Play Console project before relying on it in a published game.
15
15
 
16
16
  The provider maps game logical product IDs to Play product IDs and requires a
17
17
  stable obfuscated account ID that agrees with the backend account resolver.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpgd/capacitor-play-billing",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Opt-in Android Google Play Billing purchase collector for mpgd Capacitor games.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -12,6 +12,12 @@
12
12
  "url": "https://github.com/imjlk/mpgd-kit/issues"
13
13
  },
14
14
  "homepage": "https://github.com/imjlk/mpgd-kit#readme",
15
+ "keywords": [
16
+ "mpgd",
17
+ "capacitor",
18
+ "google-play-billing",
19
+ "game-development"
20
+ ],
15
21
  "type": "module",
16
22
  "sideEffects": false,
17
23
  "exports": {
@@ -25,28 +31,32 @@
25
31
  "src": "android"
26
32
  }
27
33
  },
28
- "files": ["dist", "android/build.gradle", "android/src"],
29
- "scripts": {
30
- "check": "ttsc --noEmit",
31
- "lint": "ttsc --noEmit",
32
- "test": "cd ../.. && node tools/run-ttsx.mjs native-plugins/capacitor-play-billing/src/provider.test.ts"
33
- },
34
+ "files": [
35
+ "dist",
36
+ "android/build.gradle",
37
+ "android/src"
38
+ ],
34
39
  "peerDependencies": {
35
40
  "@capacitor/core": "^8.5.1",
36
41
  "@mpgd/bridge": "^0.10.0",
37
- "@mpgd/platform": "^0.13.0 || ^0.14.0"
42
+ "@mpgd/platform": "^0.14.0"
38
43
  },
39
44
  "devDependencies": {
40
45
  "@capacitor/core": "8.5.2",
41
- "@mpgd/bridge": "workspace:*",
42
- "@mpgd/game-services": "workspace:*",
43
- "@mpgd/platform": "workspace:*",
44
46
  "ttsc": "0.30.4",
45
- "typescript": "7.0.2"
47
+ "typescript": "7.0.2",
48
+ "@mpgd/game-services": "0.17.1",
49
+ "@mpgd/platform": "0.14.0",
50
+ "@mpgd/bridge": "0.10.0"
46
51
  },
47
52
  "main": "./dist/index.js",
48
53
  "types": "./dist/index.d.ts",
49
54
  "publishConfig": {
50
55
  "access": "public"
56
+ },
57
+ "scripts": {
58
+ "check": "ttsc --noEmit",
59
+ "lint": "ttsc --noEmit",
60
+ "test": "cd ../.. && node tools/run-ttsx.mjs native-plugins/capacitor-play-billing/src/provider.test.ts"
51
61
  }
52
- }
62
+ }