@idle-screens/capabilities 0.2.1 → 0.2.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/README.md CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  Device and capability detection plus saver eligibility tiering for idle-screens. Pure decision logic (Node-testable) plus a thin browser detector.
4
4
 
5
+ It has no runtime dependencies. `@idle-screens/saver-metaquarium` uses it to choose a rendering tier for the device it runs on.
6
+
5
7
  See the [idle-screens repository](https://github.com/shaaaaawn/idle-screens) for full documentation.
package/dist/index.d.ts CHANGED
@@ -86,4 +86,5 @@ declare function playableSavers(savers: SaverInfo[], caps: Capabilities): SaverI
86
86
  */
87
87
  declare function detectCapabilities(): Promise<Capabilities>;
88
88
 
89
- export { type Backend, type BackendSupport, type Capabilities, type CapabilityTier, type CostTier, type EligibilityStatus, type MotionIntensity, type ReducedMotionFallback, type SaverEligibility, type SaverInfo, backendSupported, computeTier, costBudget, detectCapabilities, eligibleSavers, evaluateSaver, playableSavers };
89
+ export { backendSupported, computeTier, costBudget, detectCapabilities, eligibleSavers, evaluateSaver, playableSavers };
90
+ export type { Backend, BackendSupport, Capabilities, CapabilityTier, CostTier, EligibilityStatus, MotionIntensity, ReducedMotionFallback, SaverEligibility, SaverInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idle-screens/capabilities",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Device & capability detection + saver eligibility tiering for idle-screens. Pure decide (Node-testable) + a thin browser detector.",
5
5
  "license": "MIT",
6
6
  "author": "Shawn Partridge",