@capacitor/motion 8.0.0-dev-2410-20250905T161405.0 → 8.0.0-dev-2440-20251112T164403.0

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.
@@ -19,9 +19,9 @@ export interface MotionPlugin {
19
19
  */
20
20
  removeAllListeners(): Promise<void>;
21
21
  }
22
- export declare type AccelListener = (event: AccelListenerEvent) => void;
23
- export declare type OrientationListener = (event: OrientationListenerEvent) => void;
24
- export declare type OrientationListenerEvent = RotationRate;
22
+ export type AccelListener = (event: AccelListenerEvent) => void;
23
+ export type OrientationListener = (event: OrientationListenerEvent) => void;
24
+ export type OrientationListenerEvent = RotationRate;
25
25
  export interface RotationRate {
26
26
  /**
27
27
  * The amount of rotation around the Z axis, in degrees per second.
@@ -92,19 +92,19 @@ export interface AccelListenerEvent {
92
92
  * @deprecated Use `AccelListener`.
93
93
  * @since 1.0.0
94
94
  */
95
- export declare type MotionWatchAccelCallback = AccelListener;
95
+ export type MotionWatchAccelCallback = AccelListener;
96
96
  /**
97
97
  * @deprecated Use `AccelListenerEvent`.
98
98
  * @since 1.0.0
99
99
  */
100
- export declare type MotionEventResult = AccelListenerEvent;
100
+ export type MotionEventResult = AccelListenerEvent;
101
101
  /**
102
102
  * @deprecated Use `OrientationListener`.
103
103
  * @since 1.0.0
104
104
  */
105
- export declare type MotionWatchOrientationCallback = OrientationListener;
105
+ export type MotionWatchOrientationCallback = OrientationListener;
106
106
  /**
107
107
  * @deprecated Use `OrientationListenerEvent`.
108
108
  * @since 1.0.0
109
109
  */
110
- export declare type MotionOrientationEventResult = OrientationListenerEvent;
110
+ export type MotionOrientationEventResult = OrientationListenerEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/motion",
3
- "version": "8.0.0-dev-2410-20250905T161405.0",
3
+ "version": "8.0.0-dev-2440-20251112T164403.0",
4
4
  "description": "The Motion API tracks accelerometer and device orientation (compass heading, etc.)",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -41,16 +41,16 @@
41
41
  "devDependencies": {
42
42
  "@capacitor/android": "next",
43
43
  "@capacitor/core": "next",
44
- "@capacitor/docgen": "0.2.2",
44
+ "@capacitor/docgen": "0.3.0",
45
45
  "@capacitor/ios": "next",
46
46
  "@ionic/eslint-config": "^0.4.0",
47
47
  "@ionic/prettier-config": "~1.0.1",
48
- "eslint": "^8.57.0",
48
+ "eslint": "^8.57.1",
49
49
  "prettier": "~2.3.0",
50
50
  "prettier-plugin-java": "~1.0.2",
51
- "rimraf": "^6.0.1",
52
- "rollup": "^4.26.0",
53
- "typescript": "~4.1.5"
51
+ "rimraf": "^6.1.0",
52
+ "rollup": "^4.53.2",
53
+ "typescript": "^5.9.3"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@capacitor/core": "next"