@comms-id/company 0.3.0 → 0.4.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.
@@ -1,6 +1,6 @@
1
1
  import type { FieldController, FieldControllerOptions, FieldState } from "./field-types.js";
2
2
  export declare const DEFAULT_MIN_CHARS = 3;
3
- export declare const DEFAULT_DEBOUNCE_MS = 200;
3
+ export declare const DEFAULT_DEBOUNCE_MS = 400;
4
4
  export declare const DEFAULT_LIMIT = 8;
5
5
  /** The state of a controller that has not been used. */
6
6
  export declare const idleState: <R>(attribution: string) => FieldState<R>;
@@ -7,7 +7,7 @@
7
7
  // suggestion is either used as it is (the search already returned the record) or looked up.
8
8
  import { isCommsIdError, outcomeOf } from "./errors.js";
9
9
  export const DEFAULT_MIN_CHARS = 3;
10
- export const DEFAULT_DEBOUNCE_MS = 200;
10
+ export const DEFAULT_DEBOUNCE_MS = 400;
11
11
  export const DEFAULT_LIMIT = 8;
12
12
  const NO_SETTINGS = {};
13
13
  /** The state of a controller that has not been used. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comms-id/company",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Typed client for the Comms.ID Company API: Australian companies from ASIC's public registers: search by name, look up one by ACN",
5
5
  "type": "module",
6
6
  "sideEffects": false,