@powerhousedao/connect 1.0.3-dev.0 → 1.0.4-dev.1

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.
Files changed (37) hide show
  1. package/LICENSE +661 -0
  2. package/dist/assets/{app-D9QJBr8i.css → app-CcH3qGge.css} +213 -60
  3. package/dist/assets/{app-BYkaiTES.js → app-CrkKw3iM.js} +2100 -1018
  4. package/dist/assets/{app-loader-Bnp0H-wa.css → app-loader-DGByWxSG.css} +165 -22
  5. package/dist/assets/{app-loader-Bkg_WUos.js → app-loader-UcJ4Us8H.js} +438 -294
  6. package/dist/assets/{ccip-Dn5Ob09y.js → ccip-By_pxEiI.js} +3 -3
  7. package/dist/assets/{content-DcF7YyCb.js → content-Cztr255I.js} +36 -6
  8. package/dist/assets/{index-zVQzC6z2.js → index-CIzDiBJQ.js} +4 -4
  9. package/dist/assets/{index-B62Phyap.js → index-DL-uHasR.js} +3 -3
  10. package/dist/assets/{index-CBIcU4C0.js → index-vxDIqVse.js} +670 -519
  11. package/dist/assets/{main.CgKmK6gL.js → main.b7W0Jdwz.js} +1 -1
  12. package/dist/assets/{style-D4JhTt_m.css → style-Ce3V83BE.css} +31 -36
  13. package/dist/hmr.js +1 -1
  14. package/dist/index.html +1 -1
  15. package/dist/modules/@powerhousedao/reactor-browser/{chunk-G6LMXRY5.js → chunk-2ONJ2PX4.js} +1 -1
  16. package/dist/modules/@powerhousedao/reactor-browser/{chunk-XXFOSD4A.js → chunk-4GNNWOQN.js} +1 -1
  17. package/dist/modules/@powerhousedao/reactor-browser/{chunk-PQ4UODLR.js → chunk-AEE452AO.js} +1 -1
  18. package/dist/modules/@powerhousedao/reactor-browser/{chunk-FW7N6EJH.js → chunk-C7QRY43M.js} +3 -3
  19. package/dist/modules/@powerhousedao/reactor-browser/{chunk-45DCPCA7.js → chunk-CO2RVWYY.js} +1 -1
  20. package/dist/modules/@powerhousedao/reactor-browser/{chunk-YDERCA5J.js → chunk-N7NRLUYA.js} +1 -1
  21. package/dist/modules/@powerhousedao/reactor-browser/{chunk-F3RCGUF6.js → chunk-NHD6VUCD.js} +2 -2
  22. package/dist/modules/@powerhousedao/reactor-browser/{chunk-UP4DC4D2.js → chunk-Q5MVFG2N.js} +1 -1
  23. package/dist/modules/@powerhousedao/reactor-browser/{chunk-M2UUQ5LH.js → chunk-U34SEKEB.js} +2 -2
  24. package/dist/modules/@powerhousedao/reactor-browser/{chunk-A4GIWVYS.js → chunk-ZZIQ3KGW.js} +322 -183
  25. package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
  26. package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
  27. package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +8 -8
  28. package/dist/modules/@powerhousedao/reactor-browser/hooks/useAddDebouncedOperations.js +3 -3
  29. package/dist/modules/@powerhousedao/reactor-browser/hooks/useConnectCrypto.js +2 -2
  30. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentDrives.js +2 -2
  31. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentEditor.js +5 -5
  32. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
  33. package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
  34. package/dist/modules/@powerhousedao/reactor-browser/index.js +10 -10
  35. package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
  36. package/dist/vite-envs.sh +1 -1
  37. package/package.json +9 -9
@@ -99,7 +99,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
99
99
  return baseModule().catch(handlePreloadError);
100
100
  });
101
101
  };
102
- __vitePreload(() => import("./index-B62Phyap.js"), true ? [] : void 0);
102
+ __vitePreload(() => import("./index-DL-uHasR.js"), true ? [] : void 0);
103
103
  export {
104
104
  __vitePreload as _
105
105
  };
@@ -1,6 +1,6 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
2
2
 
3
- /*! tailwindcss v4.0.14 | MIT License | https://tailwindcss.com */
3
+ /*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */
4
4
  :root {
5
5
  --toastify-color-light: #fff;
6
6
  --toastify-color-dark: #121212;
@@ -687,9 +687,6 @@
687
687
  @layer theme, base, components, utilities;
688
688
  @layer theme {
689
689
  :root, :host {
690
- --font-sans: "Inter", sans-serif;
691
- --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
692
- "Courier New", monospace;
693
690
  --color-red-800: hsl(5 81% 61%);
694
691
  --color-red-900: hsl(5 81% 56%);
695
692
  --color-slate-50: hsl(210 20% 96%);
@@ -721,18 +718,6 @@
721
718
  --radius-3xl: 1.5rem;
722
719
  --default-transition-duration: 150ms;
723
720
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
724
- --default-font-family: var(--font-sans);
725
- --default-font-feature-settings: var(--font-sans--font-feature-settings);
726
- --default-font-variation-settings: var(
727
- --font-sans--font-variation-settings
728
- );
729
- --default-mono-font-family: var(--font-mono);
730
- --default-mono-font-feature-settings: var(
731
- --font-mono--font-feature-settings
732
- );
733
- --default-mono-font-variation-settings: var(
734
- --font-mono--font-variation-settings
735
- );
736
721
  }
737
722
  }
738
723
  @layer base {
@@ -746,14 +731,11 @@
746
731
  line-height: 1.5;
747
732
  -webkit-text-size-adjust: 100%;
748
733
  tab-size: 4;
749
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
750
- font-feature-settings: var(--default-font-feature-settings, normal);
751
- font-variation-settings: var( --default-font-variation-settings, normal );
734
+ font-family: "Inter", sans-serif;
735
+ font-feature-settings: initial;
736
+ font-variation-settings: initial;
752
737
  -webkit-tap-highlight-color: transparent;
753
738
  }
754
- body {
755
- line-height: inherit;
756
- }
757
739
  hr {
758
740
  height: 0;
759
741
  color: inherit;
@@ -776,9 +758,10 @@
776
758
  font-weight: bolder;
777
759
  }
778
760
  code, kbd, samp, pre {
779
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
780
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
781
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
761
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
762
+ "Courier New", monospace;
763
+ font-feature-settings: initial;
764
+ font-variation-settings: initial;
782
765
  font-size: 1em;
783
766
  }
784
767
  small {
@@ -842,7 +825,11 @@
842
825
  }
843
826
  ::placeholder {
844
827
  opacity: 1;
845
- color: color-mix(in oklab, currentColor 50%, transparent);
828
+ }
829
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
830
+ ::placeholder {
831
+ color: color-mix(in oklab, currentColor 50%, transparent);
832
+ }
846
833
  }
847
834
  textarea {
848
835
  resize: vertical;
@@ -1392,14 +1379,11 @@ input[type="number"] {
1392
1379
  line-height: 1.5;
1393
1380
  -webkit-text-size-adjust: 100%;
1394
1381
  tab-size: 4;
1395
- font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" );
1396
- font-feature-settings: var(--default-font-feature-settings, normal);
1397
- font-variation-settings: var( --default-font-variation-settings, normal );
1382
+ font-family: "Inter", sans-serif;
1383
+ font-feature-settings: initial;
1384
+ font-variation-settings: initial;
1398
1385
  -webkit-tap-highlight-color: transparent;
1399
1386
  }
1400
- body {
1401
- line-height: inherit;
1402
- }
1403
1387
  hr {
1404
1388
  height: 0;
1405
1389
  color: inherit;
@@ -1422,9 +1406,10 @@ input[type="number"] {
1422
1406
  font-weight: bolder;
1423
1407
  }
1424
1408
  code, kbd, samp, pre {
1425
- font-family: var( --default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace );
1426
- font-feature-settings: var( --default-mono-font-feature-settings, normal );
1427
- font-variation-settings: var( --default-mono-font-variation-settings, normal );
1409
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
1410
+ "Courier New", monospace;
1411
+ font-feature-settings: initial;
1412
+ font-variation-settings: initial;
1428
1413
  font-size: 1em;
1429
1414
  }
1430
1415
  small {
@@ -1488,7 +1473,11 @@ input[type="number"] {
1488
1473
  }
1489
1474
  ::placeholder {
1490
1475
  opacity: 1;
1491
- color: color-mix(in oklab, currentColor 50%, transparent);
1476
+ }
1477
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
1478
+ ::placeholder {
1479
+ color: color-mix(in oklab, currentColor 50%, transparent);
1480
+ }
1492
1481
  }
1493
1482
  textarea {
1494
1483
  resize: vertical;
@@ -1523,6 +1512,12 @@ input[type="number"] {
1523
1512
  }
1524
1513
  }
1525
1514
  @layer utilities;
1515
+ @layer base {
1516
+ * {
1517
+ scrollbar-color: initial;
1518
+ scrollbar-width: initial;
1519
+ }
1520
+ }
1526
1521
  @property --tw-rotate-x {
1527
1522
  syntax: "*";
1528
1523
  inherits: false;
package/dist/hmr.js CHANGED
@@ -1,4 +1,4 @@
1
- const hmr = void 0;
1
+ const hmr = import.meta.hot;
2
2
  export {
3
3
  hmr
4
4
  };
package/dist/index.html CHANGED
@@ -94,4 +94,4 @@
94
94
  "@powerhousedao/reactor-browser/utils/index": "/modules/@powerhousedao/reactor-browser/utils/index.js",
95
95
  "@powerhousedao/reactor-browser/utils/signature": "/modules/@powerhousedao/reactor-browser/utils/signature.js"
96
96
  }
97
- }</script><script type="module" crossorigin="" src="/assets/main.CgKmK6gL.js"></script></head><body><div id="app"></div></body></html>
97
+ }</script><script type="module" crossorigin="" src="/assets/main.b7W0Jdwz.js"></script></head><body><div id="app"></div></body></html>
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  atom,
3
3
  useAtom
4
- } from "./chunk-FW7N6EJH.js";
4
+ } from "./chunk-C7QRY43M.js";
5
5
  import {
6
6
  BrowserKeyStorage
7
7
  } from "./chunk-YWKVPJNL.js";
@@ -4,7 +4,7 @@ import {
4
4
  ReactorBuilder,
5
5
  memory_default,
6
6
  mergeOperations
7
- } from "./chunk-A4GIWVYS.js";
7
+ } from "./chunk-ZZIQ3KGW.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
@@ -8,7 +8,7 @@ import {
8
8
  isFolderNode,
9
9
  moveNode,
10
10
  updateNode
11
- } from "./chunk-A4GIWVYS.js";
11
+ } from "./chunk-ZZIQ3KGW.js";
12
12
  import {
13
13
  generateId
14
14
  } from "./chunk-FQF4YAVC.js";
@@ -1,4 +1,4 @@
1
- // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.18_react@18.3.1/node_modules/jotai/esm/vanilla/internals.mjs
1
+ // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.20_react@18.3.1/node_modules/jotai/esm/vanilla/internals.mjs
2
2
  var isSelfAtom = (atom2, a) => atom2.unstable_is ? atom2.unstable_is(a) : a === atom2;
3
3
  var hasInitialValue = (atom2) => "init" in atom2;
4
4
  var isActuallyWritableAtom = (atom2) => !!atom2.write;
@@ -533,7 +533,7 @@ var INTERNAL_buildStoreRev1 = buildStore;
533
533
  var INTERNAL_initializeStoreHooks = initializeStoreHooks;
534
534
  var INTERNAL_registerAbortHandler = registerAbortHandler;
535
535
 
536
- // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.18_react@18.3.1/node_modules/jotai/esm/vanilla.mjs
536
+ // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.20_react@18.3.1/node_modules/jotai/esm/vanilla.mjs
537
537
  var keyCount = 0;
538
538
  function atom(read, write) {
539
539
  const key = `atom${++keyCount}`;
@@ -643,7 +643,7 @@ function getDefaultStore() {
643
643
  return defaultStore;
644
644
  }
645
645
 
646
- // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.18_react@18.3.1/node_modules/jotai/esm/react.mjs
646
+ // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.20_react@18.3.1/node_modules/jotai/esm/react.mjs
647
647
  import ReactExports, { createContext, useContext, useRef, createElement, useReducer, useEffect, useDebugValue, useCallback } from "react";
648
648
  var StoreContext = createContext(
649
649
  void 0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDocumentDrives
3
- } from "./chunk-M2UUQ5LH.js";
3
+ } from "./chunk-U34SEKEB.js";
4
4
  import {
5
5
  useUserPermissions
6
6
  } from "./chunk-OVGOA2P5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDriveActions
3
- } from "./chunk-PQ4UODLR.js";
3
+ } from "./chunk-AEE452AO.js";
4
4
  import {
5
5
  useDriveContext
6
6
  } from "./chunk-XBTEGV5M.js";
@@ -4,11 +4,11 @@ import {
4
4
  } from "./chunk-IQTSFTNF.js";
5
5
  import {
6
6
  useAddDebouncedOperations
7
- } from "./chunk-45DCPCA7.js";
7
+ } from "./chunk-CO2RVWYY.js";
8
8
  import {
9
9
  useConnectCrypto,
10
10
  useConnectDid
11
- } from "./chunk-G6LMXRY5.js";
11
+ } from "./chunk-2ONJ2PX4.js";
12
12
  import {
13
13
  useDocumentDispatch
14
14
  } from "./chunk-GDP7BUIH.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-P6NJ6IAQ.js";
7
7
  import {
8
8
  ReadDriveNotFoundError
9
- } from "./chunk-A4GIWVYS.js";
9
+ } from "./chunk-ZZIQ3KGW.js";
10
10
 
11
11
  // ../../packages/reactor-browser/dist/src/context/read-mode.js
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  atom,
3
3
  useAtom
4
- } from "./chunk-FW7N6EJH.js";
4
+ } from "./chunk-C7QRY43M.js";
5
5
  import {
6
6
  documentToHash
7
7
  } from "./chunk-P6NJ6IAQ.js";
@@ -9,7 +9,7 @@ import {
9
9
  // ../../packages/reactor-browser/dist/src/hooks/useDocumentDrives.js
10
10
  import { useMemo, useCallback } from "react";
11
11
 
12
- // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.18_react@18.3.1/node_modules/jotai/esm/vanilla/utils.mjs
12
+ // ../../node_modules/.pnpm/jotai@2.12.2_@types+react@18.3.20_react@18.3.1/node_modules/jotai/esm/vanilla/utils.mjs
13
13
  var RESET = Symbol(
14
14
  (import.meta.env ? import.meta.env.MODE : void 0) !== "production" ? "RESET" : ""
15
15
  );