@powerhousedao/connect 1.0.16-dev.3 → 1.0.16-staging.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,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-DZZrGkgi.js","assets/main.OXkp562h.js","assets/app-loader-BdSc2Vvq.js","assets/app-loader-DiF8OhX3.css","assets/index-UNOfsmTA.js","assets/style-Ce3V83BE.css","assets/index-ft3Wt36_.js","assets/content-DhXca2Mw.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-CscXGeGj.js","assets/main.BuoJ8woF.js","assets/app-loader-nik9-lTL.js","assets/app-loader-DiF8OhX3.css","assets/index-DaRMlvdk.js","assets/style-Ce3V83BE.css","assets/index-CpmCEBJz.js","assets/content-CmVByr1W.js"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -19,9 +19,9 @@ var __privateWrapper = (obj, member, setter, getter) => ({
19
19
  }
20
20
  });
21
21
  var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _client, _retryer, _defaultOptions, _abortSignalConsumed, _Query_instances, dispatch_fn, _d, _queries, _e2, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client2, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn;
22
- import { _ as __vitePreload } from "./main.OXkp562h.js";
22
+ import { _ as __vitePreload } from "./main.BuoJ8woF.js";
23
23
  import { jsx as jsx$1, Fragment, jsxs } from "react/jsx-runtime";
24
- import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as getAugmentedNamespace, ak as setErrorHandler, al as driveDocumentModelModule, am as createBrowserDocumentDriveServer, an as hashKey$1, ao as childLogger, ap as reducer$8, aq as isDocumentDrive, ar as generateAddNodeAction, as as isFileNode, at as uploadDocumentOperations, au as updateFile, av as addFolder, aw as isFolderNode, ax as deleteNode, ay as updateNode, az as FILE$1, aA as moveNode, aB as generateNodesCopy, aC as copyNode, aD as createState$1, aE as setDriveName, aF as setAvailableOffline, aG as setSharingType, aH as SynchronizationUnitNotFoundError, aI as removeTrigger, aJ as generateUUID, aK as PullResponderTransmitter, aL as addTrigger, aM as ReadDriveNotFoundError, aN as openUrl, aO as getNodeOptions, aP as DRIVE$1, aQ as FOLDER, aR as requestPublicDrive, aS as serviceWorkerManager, aT as packageJson, aU as t$1, aV as gql, aW as request } from "./app-loader-BdSc2Vvq.js";
24
+ import { c as createAction, a as createReducer, i as isDocumentAction, R as ReorderStateExamplesInputSchema, D as DeleteStateExampleInputSchema, U as UpdateStateExampleInputSchema, A as AddStateExampleInputSchema, S as SetInitialStateInputSchema, b as SetStateSchemaInputSchema, d as ReorderModuleOperationsInputSchema, e as DeleteOperationInputSchema, M as MoveOperationInputSchema, f as SetOperationReducerInputSchema, g as SetOperationTemplateInputSchema, h as SetOperationDescriptionInputSchema, j as SetOperationSchemaInputSchema, k as SetOperationScopeInputSchema, l as SetOperationNameInputSchema, m as AddOperationInputSchema, n as ReorderOperationExamplesInputSchema, o as DeleteOperationExampleInputSchema, p as UpdateOperationExampleInputSchema, q as AddOperationExampleInputSchema, r as ReorderOperationErrorsInputSchema, s as DeleteOperationErrorInputSchema, t as SetOperationErrorTemplateInputSchema, u as SetOperationErrorDescriptionInputSchema, v as SetOperationErrorNameInputSchema, w as SetOperationErrorCodeInputSchema, x as AddOperationErrorInputSchema, y as ReorderModulesInputSchema, z as DeleteModuleInputSchema, B as SetModuleDescriptionInputSchema, C as SetModuleNameInputSchema, E as AddModuleInputSchema, F as ReorderChangeLogItemsInputSchema, G as DeleteChangeLogItemInputSchema, H as UpdateChangeLogItemInputSchema, I as AddChangeLogItemInputSchema, J as SetAuthorWebsiteInputSchema, K as SetAuthorNameInputSchema, L as SetModelDescriptionInputSchema, N as SetModelExtensionInputSchema, O as SetModelIdInputSchema, P as SetModelNameInputSchema, Q as baseCreateExtendedState, T as baseCreateDocument, V as baseSaveToFile, W as baseSaveToFileHandle, X as baseLoadFromFile, Y as baseLoadFromInput, Z as pascalCase, _ as Icon, $ as getDefaultExportFromCjs, a0 as LOCAL, a1 as commonjsGlobal, a2 as PUBLIC, a3 as SWITCHBOARD, a4 as locationInfoByLocation, a5 as sharingTypeOptions, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as logger$1, ad as LZString, ae as buildSignedOperation, af as getI18n, ag as getDefaults, ah as connectConfig, ai as hashDocumentStateForScope, aj as getAugmentedNamespace, ak as setErrorHandler, al as driveDocumentModelModule, am as createBrowserDocumentDriveServer, an as hashKey$1, ao as childLogger, ap as reducer$8, aq as isDocumentDrive, ar as generateAddNodeAction, as as isFileNode, at as uploadDocumentOperations, au as updateFile, av as addFolder, aw as isFolderNode, ax as deleteNode, ay as updateNode, az as FILE$1, aA as moveNode, aB as generateNodesCopy, aC as copyNode, aD as createState$1, aE as setDriveName, aF as setAvailableOffline, aG as setSharingType, aH as SynchronizationUnitNotFoundError, aI as removeTrigger, aJ as generateUUID, aK as PullResponderTransmitter, aL as addTrigger, aM as ReadDriveNotFoundError, aN as openUrl, aO as getNodeOptions, aP as DRIVE$1, aQ as FOLDER, aR as requestPublicDrive, aS as serviceWorkerManager, aT as packageJson, aU as t$1, aV as gql, aW as request } from "./app-loader-nik9-lTL.js";
25
25
  import * as React from "react";
26
26
  import React__default, { useLayoutEffect, useEffect, useState, forwardRef, useRef, useCallback, useContext, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useSyncExternalStore, useId as useId$1, isValidElement, cloneElement, Children, useReducer, useDebugValue, Suspense } from "react";
27
27
  import * as ReactDOM from "react-dom";
@@ -20568,7 +20568,7 @@ async function call(client2, args) {
20568
20568
  } catch (err) {
20569
20569
  const data2 = getRevertErrorData(err);
20570
20570
  const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
20571
- const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-DZZrGkgi.js");
20571
+ const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-CscXGeGj.js");
20572
20572
  return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
20573
20573
  }, true ? __vite__mapDeps([0,1,2,3]) : void 0);
20574
20574
  if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
@@ -73811,7 +73811,7 @@ const useFilteredDocumentModels = () => {
73811
73811
  return filteredDocumentModels;
73812
73812
  };
73813
73813
  async function loadBaseEditors() {
73814
- const documentModelEditor = await __vitePreload(() => import("./index-UNOfsmTA.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
73814
+ const documentModelEditor = await __vitePreload(() => import("./index-DaRMlvdk.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
73815
73815
  await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
73816
73816
  const module = documentModelEditor.documentModelEditorModule;
73817
73817
  return [module];
@@ -73962,11 +73962,11 @@ const connectCrypto = (async () => {
73962
73962
  return window.connectCrypto;
73963
73963
  }
73964
73964
  const { ConnectCrypto: ConnectCrypto2 } = await __vitePreload(async () => {
73965
- const { ConnectCrypto: ConnectCrypto3 } = await import("./index-ft3Wt36_.js");
73965
+ const { ConnectCrypto: ConnectCrypto3 } = await import("./index-CpmCEBJz.js");
73966
73966
  return { ConnectCrypto: ConnectCrypto3 };
73967
73967
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
73968
73968
  const { BrowserKeyStorage: BrowserKeyStorage2 } = await __vitePreload(async () => {
73969
- const { BrowserKeyStorage: BrowserKeyStorage3 } = await import("./index-ft3Wt36_.js");
73969
+ const { BrowserKeyStorage: BrowserKeyStorage3 } = await import("./index-CpmCEBJz.js");
73970
73970
  return { BrowserKeyStorage: BrowserKeyStorage3 };
73971
73971
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
73972
73972
  const connectCrypto2 = new ConnectCrypto2(new BrowserKeyStorage2());
@@ -74015,7 +74015,7 @@ function useRenown() {
74015
74015
  return;
74016
74016
  }
74017
74017
  const { initRenownBrowser } = await __vitePreload(async () => {
74018
- const { initRenownBrowser: initRenownBrowser2 } = await import("./index-ft3Wt36_.js");
74018
+ const { initRenownBrowser: initRenownBrowser2 } = await import("./index-CpmCEBJz.js");
74019
74019
  return { initRenownBrowser: initRenownBrowser2 };
74020
74020
  }, true ? __vite__mapDeps([6,1,2,3]) : void 0);
74021
74021
  const renownBrowser = initRenownBrowser(did2);
@@ -82899,7 +82899,7 @@ function Home() {
82899
82899
  /* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
82900
82900
  ] });
82901
82901
  }
82902
- const Content = React__default.lazy(() => __vitePreload(() => import("./content-DhXca2Mw.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
82902
+ const Content = React__default.lazy(() => __vitePreload(() => import("./content-CmVByr1W.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
82903
82903
  async function createRouter(routes) {
82904
82904
  var _a2;
82905
82905
  const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
@@ -396,6 +396,9 @@
396
396
  .text-gray-600 {
397
397
  color: var(--color-gray-600);
398
398
  }
399
+ .filter {
400
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
401
+ }
399
402
  }
400
403
  /*! tailwindcss v4.0.17 | MIT License | https://tailwindcss.com */
401
404
  :root {
@@ -5597,46 +5600,6 @@ input[type="number"] {
5597
5600
  inherits: false;
5598
5601
  initial-value: solid;
5599
5602
  }
5600
- @property --tw-blur {
5601
- syntax: "*";
5602
- inherits: false;
5603
- }
5604
- @property --tw-brightness {
5605
- syntax: "*";
5606
- inherits: false;
5607
- }
5608
- @property --tw-contrast {
5609
- syntax: "*";
5610
- inherits: false;
5611
- }
5612
- @property --tw-grayscale {
5613
- syntax: "*";
5614
- inherits: false;
5615
- }
5616
- @property --tw-hue-rotate {
5617
- syntax: "*";
5618
- inherits: false;
5619
- }
5620
- @property --tw-invert {
5621
- syntax: "*";
5622
- inherits: false;
5623
- }
5624
- @property --tw-opacity {
5625
- syntax: "*";
5626
- inherits: false;
5627
- }
5628
- @property --tw-saturate {
5629
- syntax: "*";
5630
- inherits: false;
5631
- }
5632
- @property --tw-sepia {
5633
- syntax: "*";
5634
- inherits: false;
5635
- }
5636
- @property --tw-drop-shadow {
5637
- syntax: "*";
5638
- inherits: false;
5639
- }
5640
5603
  @property --tw-duration {
5641
5604
  syntax: "*";
5642
5605
  inherits: false;
@@ -5753,6 +5716,59 @@ input[type="number"] {
5753
5716
  syntax: "*";
5754
5717
  inherits: false;
5755
5718
  }
5719
+ @property --tw-blur {
5720
+ syntax: "*";
5721
+ inherits: false;
5722
+ }
5723
+ @property --tw-brightness {
5724
+ syntax: "*";
5725
+ inherits: false;
5726
+ }
5727
+ @property --tw-contrast {
5728
+ syntax: "*";
5729
+ inherits: false;
5730
+ }
5731
+ @property --tw-grayscale {
5732
+ syntax: "*";
5733
+ inherits: false;
5734
+ }
5735
+ @property --tw-hue-rotate {
5736
+ syntax: "*";
5737
+ inherits: false;
5738
+ }
5739
+ @property --tw-invert {
5740
+ syntax: "*";
5741
+ inherits: false;
5742
+ }
5743
+ @property --tw-opacity {
5744
+ syntax: "*";
5745
+ inherits: false;
5746
+ }
5747
+ @property --tw-saturate {
5748
+ syntax: "*";
5749
+ inherits: false;
5750
+ }
5751
+ @property --tw-sepia {
5752
+ syntax: "*";
5753
+ inherits: false;
5754
+ }
5755
+ @property --tw-drop-shadow {
5756
+ syntax: "*";
5757
+ inherits: false;
5758
+ }
5759
+ @property --tw-drop-shadow-color {
5760
+ syntax: "*";
5761
+ inherits: false;
5762
+ }
5763
+ @property --tw-drop-shadow-alpha {
5764
+ syntax: "<percentage>";
5765
+ inherits: false;
5766
+ initial-value: 100%;
5767
+ }
5768
+ @property --tw-drop-shadow-size {
5769
+ syntax: "*";
5770
+ inherits: false;
5771
+ }
5756
5772
  @keyframes spin {
5757
5773
  to {
5758
5774
  transform: rotate(360deg);
@@ -5773,6 +5789,19 @@ input[type="number"] {
5773
5789
  --tw-skew-y: initial;
5774
5790
  --tw-border-style: solid;
5775
5791
  --tw-font-weight: initial;
5792
+ --tw-blur: initial;
5793
+ --tw-brightness: initial;
5794
+ --tw-contrast: initial;
5795
+ --tw-grayscale: initial;
5796
+ --tw-hue-rotate: initial;
5797
+ --tw-invert: initial;
5798
+ --tw-opacity: initial;
5799
+ --tw-saturate: initial;
5800
+ --tw-sepia: initial;
5801
+ --tw-drop-shadow: initial;
5802
+ --tw-drop-shadow-color: initial;
5803
+ --tw-drop-shadow-alpha: 100%;
5804
+ --tw-drop-shadow-size: initial;
5776
5805
  --tw-translate-x: 0;
5777
5806
  --tw-translate-y: 0;
5778
5807
  --tw-translate-z: 0;
@@ -5797,16 +5826,6 @@ input[type="number"] {
5797
5826
  --tw-ring-offset-color: #fff;
5798
5827
  --tw-ring-offset-shadow: 0 0 #0000;
5799
5828
  --tw-outline-style: solid;
5800
- --tw-blur: initial;
5801
- --tw-brightness: initial;
5802
- --tw-contrast: initial;
5803
- --tw-grayscale: initial;
5804
- --tw-hue-rotate: initial;
5805
- --tw-invert: initial;
5806
- --tw-opacity: initial;
5807
- --tw-saturate: initial;
5808
- --tw-sepia: initial;
5809
- --tw-drop-shadow: initial;
5810
5829
  --tw-duration: initial;
5811
5830
  --tw-ease: initial;
5812
5831
  --tw-content: "";
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-DwbSet2T.js","assets/main.OXkp562h.js","assets/app-CDOWlDp2.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-BjxLqcmz.js","assets/main.BuoJ8woF.js","assets/app-BoJet7fc.css"])))=>i.map(i=>d[i]);
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -11,7 +11,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
11
11
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
12
12
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
13
13
  var _tags, _levelString, _errorHandler, _ConsoleLogger_instances, levelValue_get, _getDocumentModelModule, _drives, _ReadModeService_instances, parseGraphQLErrors_fn, fetchDrive_fn, _a, _ServiceWorkerManager_instances, handleServiceWorkerMessage_fn, handleServiceWorker_fn;
14
- import { _ as __vitePreload } from "./main.OXkp562h.js";
14
+ import { _ as __vitePreload } from "./main.BuoJ8woF.js";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { useState, useEffect, Suspense, lazy } from "react";
17
17
  function _mergeNamespaces(n, m) {
@@ -25818,7 +25818,7 @@ const nodeOptionsMap = {
25818
25818
  };
25819
25819
  const name = "@powerhousedao/connect";
25820
25820
  const productName = "Powerhouse-Connect";
25821
- const version$1 = "1.0.16-dev.3";
25821
+ const version$1 = "1.0.16-staging.0";
25822
25822
  const description = "Powerhouse Connect";
25823
25823
  const main = "./dist/index.html";
25824
25824
  const type = "module";
@@ -31442,7 +31442,7 @@ if (window.__VITE_ENVS.MODE === "development") {
31442
31442
  } else {
31443
31443
  serviceWorkerManager.registerServiceWorker(false);
31444
31444
  }
31445
- const App = lazy(() => __vitePreload(() => import("./app-DwbSet2T.js").then((n) => n.aY), true ? __vite__mapDeps([0,1,2]) : void 0));
31445
+ const App = lazy(() => __vitePreload(() => import("./app-BjxLqcmz.js").then((n) => n.aY), true ? __vite__mapDeps([0,1,2]) : void 0));
31446
31446
  const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
31447
31447
  const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31448
31448
  __proto__: null,
@@ -1,7 +1,7 @@
1
- import { aO as BaseError, aP as getUrl, aQ as stringify, aR as decodeErrorResult, aS as isAddressEqual, aT as call, aU as concat, aV as encodeAbiParameters, aW as HttpRequestError, aX as isHex } from "./app-DwbSet2T.js";
2
- import "./main.OXkp562h.js";
1
+ import { aO as BaseError, aP as getUrl, aQ as stringify, aR as decodeErrorResult, aS as isAddressEqual, aT as call, aU as concat, aV as encodeAbiParameters, aW as HttpRequestError, aX as isHex } from "./app-BjxLqcmz.js";
2
+ import "./main.BuoJ8woF.js";
3
3
  import "react/jsx-runtime";
4
- import "./app-loader-BdSc2Vvq.js";
4
+ import "./app-loader-nik9-lTL.js";
5
5
  import "react";
6
6
  import "react-dom";
7
7
  class OffchainLookupError extends BaseError {
@@ -1,10 +1,10 @@
1
1
  import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
2
- import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, k as SYNCING, I as INITIAL_SYNC, l as ConnectDropdownMenu, u as useOnClickOutside, n as useEventListener, o as useCopyToClipboard, p as Select, q as ENSAvatar, P as Provider, v as Root3, T as Trigger, w as Portal, x as Content2, y as validateInitialState, z as validateStateSchemaName, A as validateModules, D as useDocumentDrives, F as useUiNodesContext, G as useDriveContext, H as FILE$1, J as useUnwrappedReactor, K as useConnectDid, L as useConnectCrypto, N as useTranslation, O as useModal, Q as useAtomValue, U as themeAtom, V as useUser, W as useUserPermissions$1, X as useUiNodes, Y as exportFile, Z as useGetDocumentModelModule, _ as addActionContext$1, $ as signOperation$1, a0 as useDocumentDriveServer, a1 as useHotkeys, a2 as useGetEditor, a3 as isSameDocument, a4 as useNavigate, a5 as ErrorBoundary, a6 as DriveLayout, a7 as DriveContextProvider, a8 as SearchBar, a9 as useAsyncReactor, aa as useFilteredDocumentModels, ab as useDriveEditor, ac as useDocumentDriveById, ad as useParams, ae as useDocumentDrives$1, af as toast } from "./app-DwbSet2T.js";
2
+ import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, k as SYNCING, I as INITIAL_SYNC, l as ConnectDropdownMenu, u as useOnClickOutside, n as useEventListener, o as useCopyToClipboard, p as Select, q as ENSAvatar, P as Provider, v as Root3, T as Trigger, w as Portal, x as Content2, y as validateInitialState, z as validateStateSchemaName, A as validateModules, D as useDocumentDrives, F as useUiNodesContext, G as useDriveContext, H as FILE$1, J as useUnwrappedReactor, K as useConnectDid, L as useConnectCrypto, N as useTranslation, O as useModal, Q as useAtomValue, U as themeAtom, V as useUser, W as useUserPermissions$1, X as useUiNodes, Y as exportFile, Z as useGetDocumentModelModule, _ as addActionContext$1, $ as signOperation$1, a0 as useDocumentDriveServer, a1 as useHotkeys, a2 as useGetEditor, a3 as isSameDocument, a4 as useNavigate, a5 as ErrorBoundary, a6 as DriveLayout, a7 as DriveContextProvider, a8 as SearchBar, a9 as useAsyncReactor, aa as useFilteredDocumentModels, ab as useDriveEditor, ac as useDocumentDriveById, ad as useParams, ae as useDocumentDrives$1, af as toast } from "./app-BjxLqcmz.js";
3
3
  import * as React from "react";
4
4
  import React__default, { useState, useCallback, useMemo, useEffect, Fragment, useRef, useLayoutEffect, memo as memo$1, createElement, useSyncExternalStore, Suspense } from "react";
5
- import { _ as Icon, aX as getDimensions, aY as READ, aZ as nodeOptionsMap, a_ as defaultFileOptions, a$ as DELETE, b0 as RENAME, b1 as WRITE, b2 as DUPLICATE, b3 as defaultFolderOptions, b4 as garbageCollect, b5 as sortOperations, b6 as UI_NODE, aP as DRIVE, az as FILE, ae as buildSignedOperation, b7 as generateId$1, aw as isFolderNode, aB as generateNodesCopy, aC as copyNode, aA as moveNode, ay as updateNode, ax as deleteNode, ar as generateAddNodeAction, as as isFileNode, av as addFolder, b8 as undo, b9 as redo, ac as logger, ba as useDocumentDispatch$1, aQ as FOLDER, al as driveDocumentModelModule } from "./app-loader-BdSc2Vvq.js";
5
+ import { _ as Icon, aX as getDimensions, aY as READ, aZ as nodeOptionsMap, a_ as defaultFileOptions, a$ as DELETE, b0 as RENAME, b1 as WRITE, b2 as DUPLICATE, b3 as defaultFolderOptions, b4 as garbageCollect, b5 as sortOperations, b6 as UI_NODE, aP as DRIVE, az as FILE, ae as buildSignedOperation, b7 as generateId$1, aw as isFolderNode, aB as generateNodesCopy, aC as copyNode, aA as moveNode, ay as updateNode, ax as deleteNode, ar as generateAddNodeAction, as as isFileNode, av as addFolder, b8 as undo, b9 as redo, ac as logger, ba as useDocumentDispatch$1, aQ as FOLDER, al as driveDocumentModelModule } from "./app-loader-nik9-lTL.js";
6
6
  import { flushSync } from "react-dom";
7
- import "./main.OXkp562h.js";
7
+ import "./main.BuoJ8woF.js";
8
8
  const PaginationButton = ({ active = false, ...props }) => {
9
9
  const className = twMerge("h-8 min-w-8 border border-solid border-gray-300 bg-white px-3 py-1 text-xs text-gray-900 hover:bg-gray-100", !active && "border-0");
10
10
  return jsx(Button, { color: "light", size: "small", ...mergeClassNameProps(props, className), children: props.children });
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-BdSc2Vvq.js","assets/main.OXkp562h.js","assets/app-loader-DiF8OhX3.css"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./main.OXkp562h.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-nik9-lTL.js","assets/main.BuoJ8woF.js","assets/app-loader-DiF8OhX3.css"])))=>i.map(i=>d[i]);
2
+ import { _ as __vitePreload } from "./main.BuoJ8woF.js";
3
3
  import { createRoot } from "react-dom/client";
4
4
  async function renderApp(element) {
5
- const AppLoader = await __vitePreload(() => import("./app-loader-BdSc2Vvq.js").then((n) => n.ca), true ? __vite__mapDeps([0,1,2]) : void 0);
5
+ const AppLoader = await __vitePreload(() => import("./app-loader-nik9-lTL.js").then((n) => n.ca), true ? __vite__mapDeps([0,1,2]) : void 0);
6
6
  createRoot(element).render(AppLoader.default);
7
7
  }
8
8
  const AppElement = document.getElementById("app");
@@ -10,10 +10,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
10
10
  var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
11
11
  var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
12
12
  var _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, _store, _namespace, _BaseStorage_instances, buildKey_fn, _baseUrl, _store2, _connectId, _eventEmitter, _Renown_instances, updateUser_fn, getCredential_fn;
13
- import { _ as __vitePreload } from "./main.OXkp562h.js";
14
- import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-DwbSet2T.js";
15
- import { i, h, d, j, b, f, s } from "./app-DwbSet2T.js";
16
- import { ah as connectConfig, ac as logger } from "./app-loader-BdSc2Vvq.js";
13
+ import { _ as __vitePreload } from "./main.BuoJ8woF.js";
14
+ import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-BjxLqcmz.js";
15
+ import { i, h, d, j, b, f, s } from "./app-BjxLqcmz.js";
16
+ import { ah as connectConfig, ac as logger } from "./app-loader-nik9-lTL.js";
17
17
  import "react/jsx-runtime";
18
18
  import "react";
19
19
  import "react-dom";
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
- import { t as twMerge, ag as clsx, ah as get, ai as set, aj as appendErrors, ak as useFormContext, al as Primitive, am as cva, an as FormProvider, ao as Controller, ap as Slot, aq as useForm, ar as Root2, as as List, at as Trigger, au as Content, av as setModelName, aw as setModelId, ax as setModelDescription, ay as setModelExtension, az as setAuthorName, aA as setAuthorWebsite, aB as setStateSchema, aC as setInitialState, aD as addModule, aE as setModuleName, aF as deleteModule, aG as addOperation, aH as setOperationName, aI as setOperationSchema, aJ as setOperationDescription, aK as deleteOperation, aL as addOperationError, aM as deleteOperationError, aN as setOperationErrorName } from "./app-DwbSet2T.js";
3
- import { bb as inspect$1, bc as GraphQLError$1, bd as getNamedType, be as invariant$2, bf as isInputObjectType, bg as isScalarType, bh as isObjectType, bi as isInterfaceType, bj as isUnionType, bk as isEnumType, bl as print, bm as isPrintableAsBlockString, bn as Kind, bo as astFromValue$1, bp as DEFAULT_DEPRECATION_REASON, bq as isSpecifiedDirective, br as isSpecifiedScalarType, bs as isIntrospectionType, bt as z, bu as GraphQLScalarType, Z as pascalCase, bv as parse, bw as visit, bx as buildASTSchema, by as extendSchema, bz as getNullableType, bA as isListType, $ as getDefaultExportFromCjs, bB as snakeCase, bC as constantCase, bD as isAbstractType, bE as BREAK, bF as GraphQLInputObjectType, bG as GraphQLList, bH as GraphQLEnumType, bI as GraphQLObjectType, bJ as GraphQLInterfaceType, bK as SchemaMetaFieldDef, bL as TypeMetaFieldDef, bM as TypeNameMetaFieldDef, bN as isCompositeType, bO as isOutputType, bP as isInputType, bQ as GraphQLBoolean, bR as assertAbstractType, bS as doTypesOverlap, bT as DirectiveLocation, bU as specifiedRules$1, bV as NoUnusedFragmentsRule$1, bW as ExecutableDefinitionsRule$1, bX as validate$2, bY as validateSchema, bZ as GraphQLID, b_ as GraphQLString, b$ as GraphQLFloat, c0 as GraphQLInt, c1 as GraphQLDirective, c2 as GraphQLUnionType, c3 as isNonNullType, c4 as GraphQLNonNull, c5 as isNamedType, c6 as isLeafType, c7 as GraphQLSchema, c8 as buildSchema, c9 as sentenceCase, an as hashKey } from "./app-loader-BdSc2Vvq.js";
2
+ import { t as twMerge, ag as clsx, ah as get, ai as set, aj as appendErrors, ak as useFormContext, al as Primitive, am as cva, an as FormProvider, ao as Controller, ap as Slot, aq as useForm, ar as Root2, as as List, at as Trigger, au as Content, av as setModelName, aw as setModelId, ax as setModelDescription, ay as setModelExtension, az as setAuthorName, aA as setAuthorWebsite, aB as setStateSchema, aC as setInitialState, aD as addModule, aE as setModuleName, aF as deleteModule, aG as addOperation, aH as setOperationName, aI as setOperationSchema, aJ as setOperationDescription, aK as deleteOperation, aL as addOperationError, aM as deleteOperationError, aN as setOperationErrorName } from "./app-BjxLqcmz.js";
3
+ import { bb as inspect$1, bc as GraphQLError$1, bd as getNamedType, be as invariant$2, bf as isInputObjectType, bg as isScalarType, bh as isObjectType, bi as isInterfaceType, bj as isUnionType, bk as isEnumType, bl as print, bm as isPrintableAsBlockString, bn as Kind, bo as astFromValue$1, bp as DEFAULT_DEPRECATION_REASON, bq as isSpecifiedDirective, br as isSpecifiedScalarType, bs as isIntrospectionType, bt as z, bu as GraphQLScalarType, Z as pascalCase, bv as parse, bw as visit, bx as buildASTSchema, by as extendSchema, bz as getNullableType, bA as isListType, $ as getDefaultExportFromCjs, bB as snakeCase, bC as constantCase, bD as isAbstractType, bE as BREAK, bF as GraphQLInputObjectType, bG as GraphQLList, bH as GraphQLEnumType, bI as GraphQLObjectType, bJ as GraphQLInterfaceType, bK as SchemaMetaFieldDef, bL as TypeMetaFieldDef, bM as TypeNameMetaFieldDef, bN as isCompositeType, bO as isOutputType, bP as isInputType, bQ as GraphQLBoolean, bR as assertAbstractType, bS as doTypesOverlap, bT as DirectiveLocation, bU as specifiedRules$1, bV as NoUnusedFragmentsRule$1, bW as ExecutableDefinitionsRule$1, bX as validate$2, bY as validateSchema, bZ as GraphQLID, b_ as GraphQLString, b$ as GraphQLFloat, c0 as GraphQLInt, c1 as GraphQLDirective, c2 as GraphQLUnionType, c3 as isNonNullType, c4 as GraphQLNonNull, c5 as isNamedType, c6 as isLeafType, c7 as GraphQLSchema, c8 as buildSchema, c9 as sentenceCase, an as hashKey } from "./app-loader-nik9-lTL.js";
4
4
  import * as React from "react";
5
5
  import React__default, { forwardRef, useRef, useCallback, useImperativeHandle, useEffect, useState, createContext, useContext, memo, useId, useMemo } from "react";
6
- import "./main.OXkp562h.js";
6
+ import "./main.BuoJ8woF.js";
7
7
  import "react-dom";
8
8
  const versionInfo = Object.freeze({
9
9
  major: 16,
@@ -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-eML1bcMq.js"), true ? [] : void 0);
102
+ __vitePreload(() => import("./index-11j-ZVsN.js"), true ? [] : void 0);
103
103
  export {
104
104
  __vitePreload as _
105
105
  };
package/dist/index.html CHANGED
@@ -64,4 +64,4 @@
64
64
  "react-dom": "https://esm.sh/react-dom",
65
65
  "react-dom/": "https://esm.sh/react-dom/"
66
66
  }
67
- }</script><script type="module" crossorigin="" src="/assets/main.OXkp562h.js"></script></head><body><div id="app"></div></body></html>
67
+ }</script><script type="module" crossorigin="" src="/assets/main.BuoJ8woF.js"></script></head><body><div id="app"></div></body></html>
package/dist/vite-envs.sh CHANGED
@@ -11,7 +11,7 @@ replaceAll() {
11
11
  }'
12
12
  }
13
13
 
14
- html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLk9Ya3A1NjJoLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | base64 -d)
14
+ html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLkJ1b0o4d29GLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | base64 -d)
15
15
 
16
16
  BASE_URL_base64="eEFwV2RSclg5OWtQclZnZ0UiLyIK"
17
17
  BASE_URL=$(echo "Lwo=" | base64 -d)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@powerhousedao/connect",
3
3
  "productName": "Powerhouse-Connect",
4
- "version": "1.0.16-dev.3",
4
+ "version": "1.0.16-staging.0",
5
5
  "description": "Powerhouse Connect",
6
6
  "main": "./dist/index.html",
7
7
  "type": "module",
@@ -82,14 +82,14 @@
82
82
  "vite-plugin-svgr": "^4.2.0",
83
83
  "vite-tsconfig-paths": "^4.3.2",
84
84
  "xvfb-maybe": "^0.2.1",
85
- "@powerhousedao/builder-tools": "0.9.27-dev.3",
86
- "@powerhousedao/common": "1.10.31-dev.0",
87
- "@powerhousedao/config": "1.27.0-dev.5",
88
- "@powerhousedao/reactor-browser": "1.22.25-dev.0",
89
- "@powerhousedao/scalars": "1.33.1-dev.4",
90
- "@powerhousedao/design-system": "1.39.17-dev.0",
91
- "document-drive": "1.29.9-dev.2",
92
- "document-model": "2.28.1-dev.4"
85
+ "@powerhousedao/builder-tools": "0.9.27-staging.0",
86
+ "@powerhousedao/config": "1.27.0-staging.2",
87
+ "@powerhousedao/design-system": "1.39.17-staging.0",
88
+ "@powerhousedao/common": "1.10.31-staging.0",
89
+ "@powerhousedao/reactor-browser": "1.22.25-staging.0",
90
+ "@powerhousedao/scalars": "1.33.1-staging.2",
91
+ "document-drive": "1.29.9-staging.0",
92
+ "document-model": "2.28.1-staging.2"
93
93
  },
94
94
  "optionalDependencies": {
95
95
  "@esbuild/linux-x64": "^0.21.4",