@magitch/vite-plugin-dev-connect 1.0.1 → 1.0.2

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/dist/index.js CHANGED
@@ -31,11 +31,12 @@ var DEFAULT_TRUSTED_HOSTS = [
31
31
  "localhost",
32
32
  "supgen.ai"
33
33
  ];
34
+ var DEFAULT_DEBUG = true;
34
35
  function magitchDevConnect(options = {}) {
35
36
  const {
36
37
  previewProtocolUrl = DEFAULT_PREVIEW_PROTOCOL_URL,
37
38
  trustedHosts = DEFAULT_TRUSTED_HOSTS,
38
- debug = false
39
+ debug = DEFAULT_DEBUG
39
40
  } = options;
40
41
  return {
41
42
  name: "magitch-dev-connect",
package/dist/index.mjs CHANGED
@@ -6,11 +6,12 @@ var DEFAULT_TRUSTED_HOSTS = [
6
6
  "localhost",
7
7
  "supgen.ai"
8
8
  ];
9
+ var DEFAULT_DEBUG = true;
9
10
  function magitchDevConnect(options = {}) {
10
11
  const {
11
12
  previewProtocolUrl = DEFAULT_PREVIEW_PROTOCOL_URL,
12
13
  trustedHosts = DEFAULT_TRUSTED_HOSTS,
13
- debug = false
14
+ debug = DEFAULT_DEBUG
14
15
  } = options;
15
16
  return {
16
17
  name: "magitch-dev-connect",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magitch/vite-plugin-dev-connect",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Vite plugin for Magitch dev environment — injects preview bridge (preview-protocol) for cross-origin communication between IDE and sandbox preview.",
5
5
  "keywords": [
6
6
  "vite-plugin",