@mpgd/target-config 0.15.0 → 0.15.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.
@@ -23,9 +23,9 @@ import { createMpgdReleaseIdentity, isMpgdFinalSemVer } from './releaseIdentity.
23
23
  /** Opt-in Microsoft Store policy deriving both package numbers from one shell revision. */
24
24
  export const HOSTED_PWA_SHELL_VERSION_POLICY = 'hosted-pwa-shell-revision-v1';
25
25
  /** Microsoft Store package version components are bounded to 16 bits. */
26
- export const MICROSOFT_STORE_VERSION_COMPONENT_MAX = 65535;
26
+ export const MICROSOFT_STORE_VERSION_COMPONENT_MAX = 65_535;
27
27
  /** Android `versionCode` upper bound from the official versioning documentation. */
28
- export const ANDROID_VERSION_CODE_MAX = 2100000000;
28
+ export const ANDROID_VERSION_CODE_MAX = 2_100_000_000;
29
29
  /** Targets whose plan entry only carries the shared release identity. */
30
30
  export const LABEL_ONLY_RELEASE_TARGETS = [
31
31
  'web-preview',
package/dist/runtime.js CHANGED
@@ -157,11 +157,7 @@ export function getFeatureAvailability(feature, config, capabilities) {
157
157
  enabled,
158
158
  targetEnabled,
159
159
  capabilitySupported,
160
- reason: enabled
161
- ? 'available'
162
- : targetEnabled
163
- ? 'capability-unsupported'
164
- : 'target-disabled',
160
+ reason: enabled ? 'available' : targetEnabled ? 'capability-unsupported' : 'target-disabled',
165
161
  };
166
162
  }
167
163
  export function getIntegrationAvailability(integration, config, gateway) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpgd/target-config",
3
- "version": "0.15.0",
3
+ "version": "0.15.2",
4
4
  "description": "Target-specific platform feature availability and effective config helpers for mpgd.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -37,12 +37,12 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "typia": "13.0.2",
40
- "@mpgd/catalog": "0.7.2",
41
- "@mpgd/i18n": "0.6.1",
42
- "@mpgd/platform": "0.12.0"
40
+ "@mpgd/catalog": "0.7.4",
41
+ "@mpgd/i18n": "0.6.3",
42
+ "@mpgd/platform": "0.12.2"
43
43
  },
44
44
  "devDependencies": {
45
- "ttsc": "0.18.4",
45
+ "ttsc": "0.30.4",
46
46
  "typescript": "7.0.2"
47
47
  },
48
48
  "main": "./dist/index.js",