@morgan-and-morgan/intake-agent 1.4.1 → 1.5.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.
@@ -316,7 +316,7 @@
316
316
  };
317
317
  };
318
318
  const PANEL_ANIMATION_MS = 180;
319
- const PROMPT_DELAY_MS = 25e3;
319
+ const PROMPT_DELAY_MS = 5e3;
320
320
  const PROMPT_COOLDOWN_MS = 24 * 60 * 60 * 1e3;
321
321
  const PROMPT_COOLDOWN_KEY = "mm-intake-widget-prompt-dismissed-at";
322
322
  const PROMPT_SESSION_KEY = "mm-intake-widget-prompt-dismissed";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morgan-and-morgan/intake-agent",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "Embeddable chat widget loader.",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -23,7 +23,7 @@
23
23
  "build": "pnpm run build:bundle",
24
24
  "build:bundle": "node scripts/generate-icons.mjs && vite build",
25
25
  "generate:icons": "node scripts/generate-icons.mjs",
26
- "test": "node --test src/release-config.test.mjs",
26
+ "test": "node --test 'src/*.test.mjs'",
27
27
  "typecheck": "tsc --noEmit",
28
28
  "lint": "eslint \"src/**/*.ts\" --quiet",
29
29
  "lint:fix": "eslint \"src/**/*.ts\" --quiet --fix",