@remit/web-client 0.0.83 → 0.0.85

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/web-client",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "type": "module",
5
5
  "description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
6
6
  "exports": {
@@ -28,7 +28,7 @@
28
28
  "build": "npm run generate:routes && tsc -b && vite build",
29
29
  "build:dist": "npm run generate:routes && node --import tsx harness/build.mjs",
30
30
  "preview": "vite preview",
31
- "test:typecheck": "npm run generate:routes && tsgo --noEmit",
31
+ "test:typecheck": "npm run generate:routes && tsgo --noEmit && tsgo --noEmit -p tsconfig.node.json",
32
32
  "test:run": "node --import tsx --import ./test-support/register.mjs --experimental-test-coverage --test-coverage-include='src/**' --test-coverage-exclude='src/**/*.test.ts' --test-coverage-exclude='src/**/*.test.tsx' --test-coverage-exclude='src/test-support/**' --test-coverage-lines=86 --test 'src/**/*.test.ts'",
33
33
  "test": "npm run test:typecheck && npm run test:run"
34
34
  },
@@ -187,9 +187,10 @@ const MessageRowComponent = ({
187
187
  onLongPress?.(messageId);
188
188
  }, [onLongPress, messageId]);
189
189
 
190
+ // Threshold comes from useLongPress' default so the plain row and the
191
+ // swipeable row can't drift apart on timing.
190
192
  const { longPressProps } = useLongPress({
191
193
  onLongPress: handleLongPress,
192
- delayMs: 500,
193
194
  accessibilityDescription: isChecked ? "Deselect message" : "Select message",
194
195
  });
195
196