@mpgd/adapter-capacitor 0.19.3 → 0.19.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.
- package/dist/index.js +2 -0
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { bridgeCommerceEventProtocol, bridgeNotificationsEventProtocol, decodeBridgeCredentialLoadData, decodeBridgeStorageLoadData, } from '@mpgd/bridge';
|
|
2
2
|
import { CapacitorGameServices } from '@mpgd/capacitor-game-services';
|
|
3
3
|
import { PlatformOperationError, } from '@mpgd/platform';
|
|
4
|
+
import { createUnsupportedPlatformAnalyticsSink } from '@mpgd/platform/analytics';
|
|
4
5
|
import { withShareIntentCheck } from '@mpgd/platform/routes';
|
|
5
6
|
import { createCapacitorAppEvents, } from './app-events.js';
|
|
6
7
|
import { namesOtherProtocol } from './bridge-events.js';
|
|
@@ -399,6 +400,7 @@ export function createCapacitorPlatformGateway(input) {
|
|
|
399
400
|
}
|
|
400
401
|
return {
|
|
401
402
|
target: input.target,
|
|
403
|
+
analytics: createUnsupportedPlatformAnalyticsSink(),
|
|
402
404
|
async getCapabilities() {
|
|
403
405
|
const base = await request('runtime.getCapabilities', {});
|
|
404
406
|
// A native shell built before the commerce v2 removals may still send the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpgd/adapter-capacitor",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.4",
|
|
4
4
|
"description": "Capacitor platform adapter for mpgd Android and iOS shells.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@capacitor/app": "8.1.1",
|
|
54
|
-
"@mpgd/bridge": "0.
|
|
55
|
-
"@mpgd/
|
|
56
|
-
"@mpgd/
|
|
57
|
-
"@mpgd/
|
|
58
|
-
"@mpgd/
|
|
54
|
+
"@mpgd/bridge": "0.20.0",
|
|
55
|
+
"@mpgd/capacitor-game-services": "0.9.9",
|
|
56
|
+
"@mpgd/platform": "0.37.0",
|
|
57
|
+
"@mpgd/game-services": "0.36.0",
|
|
58
|
+
"@mpgd/target-config": "0.24.10"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@capacitor-community/admob": "^8.1.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"ttsc": "0.34.2",
|
|
93
93
|
"typescript": "7.0.2",
|
|
94
94
|
"vitest": "^4.0.0",
|
|
95
|
-
"@mpgd/game-runtime": "0.10.
|
|
95
|
+
"@mpgd/game-runtime": "0.10.4"
|
|
96
96
|
},
|
|
97
97
|
"main": "./dist/index.js",
|
|
98
98
|
"types": "./dist/index.d.ts",
|