@littlepartytime/dev-kit 1.10.0 → 1.11.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.
@@ -53,6 +53,10 @@ export default function Play() {
53
53
  },
54
54
  reportResult: () => {},
55
55
  getAssetUrl: (assetPath: string) => `/assets/${assetPath}`,
56
+ getDeviceCapabilities: () => ({ haptics: false, motion: false }),
57
+ haptic: () => {},
58
+ onShake: () => () => {},
59
+ onTilt: () => () => {},
56
60
  } : null;
57
61
 
58
62
  if (!joined) {
@@ -122,6 +122,10 @@ export default function Preview() {
122
122
  console.log('Game result reported:', result);
123
123
  },
124
124
  getAssetUrl: (assetPath: string) => `/assets/${assetPath}`,
125
+ getDeviceCapabilities: () => ({ haptics: false, motion: false }),
126
+ haptic: () => {},
127
+ onShake: () => () => {},
128
+ onTilt: () => () => {},
125
129
  };
126
130
  }, [engine]);
127
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@littlepartytime/dev-kit",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "Development toolkit CLI for Little Party Time game developers",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",