@powerhousedao/connect 1.0.17-staging.0 → 1.0.18-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/app-L8JlWUBJ.js","assets/main.v9eAGxZO.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-pJllXwRA.js","assets/main.BBDo_vds.js","assets/app-CDOWlDp2.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.v9eAGxZO.js";
14
+ import { _ as __vitePreload } from "./main.BBDo_vds.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) {
@@ -25789,10 +25789,6 @@ const normalNodeOptionsMap = {
25789
25789
  label: "Duplicate",
25790
25790
  icon: jsx(Icon, { name: "FilesEarmark" })
25791
25791
  },
25792
- [NEW_FOLDER]: {
25793
- label: "New Folder",
25794
- icon: jsx(Icon, { name: "FolderPlus" })
25795
- },
25796
25792
  [RENAME]: {
25797
25793
  label: "Rename",
25798
25794
  icon: jsx(Icon, { name: "Pencil" })
@@ -25813,7 +25809,7 @@ const nodeOptionsMap = {
25813
25809
  };
25814
25810
  const name = "@powerhousedao/connect";
25815
25811
  const productName = "Powerhouse-Connect";
25816
- const version$1 = "1.0.17-staging.0";
25812
+ const version$1 = "1.0.18-staging.0";
25817
25813
  const description = "Powerhouse Connect";
25818
25814
  const main = "./dist/index.html";
25819
25815
  const type = "module";
@@ -31437,7 +31433,7 @@ if (window.__VITE_ENVS.MODE === "development") {
31437
31433
  } else {
31438
31434
  serviceWorkerManager.registerServiceWorker(false);
31439
31435
  }
31440
- const App = lazy(() => __vitePreload(() => import("./app-L8JlWUBJ.js").then((n) => n.aY), true ? __vite__mapDeps([0,1,2]) : void 0));
31436
+ const App = lazy(() => __vitePreload(() => import("./app-pJllXwRA.js").then((n) => n.aY), true ? __vite__mapDeps([0,1,2]) : void 0));
31441
31437
  const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
31442
31438
  const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31443
31439
  __proto__: null,
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-BtE64Tl7.js","assets/main.v9eAGxZO.js","assets/app-loader-NBW5MOd-.js","assets/app-loader-DiF8OhX3.css","assets/index-djZjmHb-.js","assets/style-Ce3V83BE.css","assets/index-KKn8sTpN.js","assets/content-IqSBpnzp.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-Ms00gIeT.js","assets/main.BBDo_vds.js","assets/app-loader-BMhhtmd_.js","assets/app-loader-DiF8OhX3.css","assets/index-DQ5i5beB.js","assets/style-Ce3V83BE.css","assets/index-BOjX2F9Y.js","assets/content-DzACFqe5.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.v9eAGxZO.js";
22
+ import { _ as __vitePreload } from "./main.BBDo_vds.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-NBW5MOd-.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-BMhhtmd_.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";
@@ -15076,7 +15076,7 @@ function Divider(props) {
15076
15076
  }
15077
15077
  function ConnectDropdownMenu(props) {
15078
15078
  const { children, items, open, onItemClick, onOpenChange } = props;
15079
- return jsxs(DropdownMenu, { onOpenChange, open, children: [jsx$1(DropdownMenuTrigger, { asChild: true, className: "outline-none", children }), jsx$1(DropdownMenuContent, { className: "modal-shadow cursor-pointer rounded-2xl bg-white text-sm font-medium text-slate-200", children: items.map(({ id, label, icon, className }) => jsxs(DropdownMenuItem, { className: twMerge("flex items-center px-5 py-2 outline-none first-of-type:rounded-t-2xl first-of-type:pt-3 last-of-type:rounded-b-2xl last-of-type:pb-3 hover:bg-slate-50", className), onClick: (e2) => e2.stopPropagation(), onSelect: () => onItemClick(id), children: [icon ? jsx$1("span", { className: "mr-2 inline-block", children: icon }) : null, label] }, id)) })] });
15079
+ return jsxs(DropdownMenu, { onOpenChange, open, children: [jsx$1(DropdownMenuTrigger, { asChild: true, className: "outline-none", children }), jsx$1(DropdownMenuContent, { className: "modal-shadow cursor-pointer rounded-2xl bg-white text-sm font-medium text-slate-500", children: items.map(({ id, label, icon, className }) => jsxs(DropdownMenuItem, { className: twMerge("flex items-center px-5 py-2 outline-none first-of-type:rounded-t-2xl first-of-type:pt-3 last-of-type:rounded-b-2xl last-of-type:pb-3 hover:bg-slate-50", className), onClick: (e2) => e2.stopPropagation(), onSelect: () => onItemClick(id), children: [icon ? jsx$1("span", { className: "mr-2 inline-block", children: icon }) : null, label] }, id)) })] });
15080
15080
  }
15081
15081
  const ImgPowerhouse = "/assets/powerhouse-rounded-CeKGGUG4.png";
15082
15082
  const version$5 = "2.24.1";
@@ -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-BtE64Tl7.js");
20571
+ const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-Ms00gIeT.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-djZjmHb-.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
73814
+ const documentModelEditor = await __vitePreload(() => import("./index-DQ5i5beB.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-KKn8sTpN.js");
73965
+ const { ConnectCrypto: ConnectCrypto3 } = await import("./index-BOjX2F9Y.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-KKn8sTpN.js");
73969
+ const { BrowserKeyStorage: BrowserKeyStorage3 } = await import("./index-BOjX2F9Y.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-KKn8sTpN.js");
74018
+ const { initRenownBrowser: initRenownBrowser2 } = await import("./index-BOjX2F9Y.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-IqSBpnzp.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
82902
+ const Content = React__default.lazy(() => __vitePreload(() => import("./content-DzACFqe5.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());
@@ -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-L8JlWUBJ.js";
2
- import "./main.v9eAGxZO.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-pJllXwRA.js";
2
+ import "./main.BBDo_vds.js";
3
3
  import "react/jsx-runtime";
4
- import "./app-loader-NBW5MOd-.js";
4
+ import "./app-loader-BMhhtmd_.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-L8JlWUBJ.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-pJllXwRA.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-NBW5MOd-.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-BMhhtmd_.js";
6
6
  import { flushSync } from "react-dom";
7
- import "./main.v9eAGxZO.js";
7
+ import "./main.BBDo_vds.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 });
@@ -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.v9eAGxZO.js";
14
- import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-L8JlWUBJ.js";
15
- import { i, h, d, j, b, f, s } from "./app-L8JlWUBJ.js";
16
- import { ah as connectConfig, ac as logger } from "./app-loader-NBW5MOd-.js";
13
+ import { _ as __vitePreload } from "./main.BBDo_vds.js";
14
+ import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-pJllXwRA.js";
15
+ import { i, h, d, j, b, f, s } from "./app-pJllXwRA.js";
16
+ import { ah as connectConfig, ac as logger } from "./app-loader-BMhhtmd_.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-L8JlWUBJ.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-NBW5MOd-.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-pJllXwRA.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-BMhhtmd_.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.v9eAGxZO.js";
6
+ import "./main.BBDo_vds.js";
7
7
  import "react-dom";
8
8
  const versionInfo = Object.freeze({
9
9
  major: 16,
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-NBW5MOd-.js","assets/main.v9eAGxZO.js","assets/app-loader-DiF8OhX3.css"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./main.v9eAGxZO.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-BMhhtmd_.js","assets/main.BBDo_vds.js","assets/app-loader-DiF8OhX3.css"])))=>i.map(i=>d[i]);
2
+ import { _ as __vitePreload } from "./main.BBDo_vds.js";
3
3
  import { createRoot } from "react-dom/client";
4
4
  async function renderApp(element) {
5
- const AppLoader = await __vitePreload(() => import("./app-loader-NBW5MOd-.js").then((n) => n.ca), true ? __vite__mapDeps([0,1,2]) : void 0);
5
+ const AppLoader = await __vitePreload(() => import("./app-loader-BMhhtmd_.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");
@@ -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-qcjgdIGq.js"), true ? [] : void 0);
102
+ __vitePreload(() => import("./index-oTDQumAW.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.v9eAGxZO.js"></script></head><body><div id="app"></div></body></html>
67
+ }</script><script type="module" crossorigin="" src="/assets/main.BBDo_vds.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+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLnY5ZUFHeFpPLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | base64 -d)
14
+ html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLkJCRG9fdmRzLmpzIj48L3NjcmlwdD48L2hlYWQ+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.17-staging.0",
4
+ "version": "1.0.18-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.28-staging.0",
86
- "@powerhousedao/common": "1.10.32-staging.0",
85
+ "@powerhousedao/builder-tools": "0.9.29-staging.0",
87
86
  "@powerhousedao/config": "1.27.0-staging.2",
88
- "@powerhousedao/design-system": "1.39.17-staging.1",
89
- "@powerhousedao/reactor-browser": "1.22.25-staging.1",
87
+ "@powerhousedao/design-system": "1.39.17-staging.2",
88
+ "@powerhousedao/common": "1.10.33-staging.0",
89
+ "@powerhousedao/reactor-browser": "1.22.25-staging.2",
90
90
  "@powerhousedao/scalars": "1.33.1-staging.2",
91
- "document-model": "2.28.1-staging.2",
92
- "document-drive": "1.29.9-staging.0"
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",