@powerhousedao/connect 1.0.16-dev.0 → 1.0.16-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.
- package/dist/assets/{app-loader-DC5IyHMQ.js → app-loader-ByxyqGmZ.js} +20 -8
- package/dist/assets/{app-CMOavKiq.js → app-mup06TxF.js} +60 -56
- package/dist/assets/{ccip-DSbQ3ps3.js → ccip-ASjKzegb.js} +3 -3
- package/dist/assets/{content-CHzDFdGF.js → content-DmxMPHbR.js} +18 -3
- package/dist/assets/{index-CL8GxjbV.js → index-10OwZr6e.js} +4 -4
- package/dist/assets/{index-DPALYL1s.js → index-B8rDFj5N.js} +3 -3
- package/dist/assets/{index-BAzB-bGZ.js → index-Bf_-VrwW.js} +3 -3
- package/dist/assets/{main.glrVfQff.js → main.BooYX2Lr.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-7MMXY5VI.js → chunk-7RTGQTV5.js} +16 -4
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-KEMIF43H.js → chunk-NPCM4GRM.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-Y2AV245J.js → chunk-REEGAZVT.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-SNZRCTNV.js → chunk-RUNTF5WD.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-EB4SAP74.js → chunk-ULJSSMFA.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/context/index.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/index.js +5 -5
- package/dist/modules/@powerhousedao/reactor-browser/reactor.js +2 -2
- package/dist/vite-envs.sh +1 -1
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-mup06TxF.js","assets/main.BooYX2Lr.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.
|
|
14
|
+
import { _ as __vitePreload } from "./main.BooYX2Lr.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) {
|
|
@@ -22508,6 +22508,7 @@ class DefaultDrivesManager {
|
|
|
22508
22508
|
}
|
|
22509
22509
|
const PULL_DRIVE_INTERVAL = 1500;
|
|
22510
22510
|
const MAX_REVISIONS_PER_ACK = 100;
|
|
22511
|
+
const MAX_PULLS = 50;
|
|
22511
22512
|
let _staticLogger;
|
|
22512
22513
|
const staticLogger = () => {
|
|
22513
22514
|
if (!_staticLogger) {
|
|
@@ -22685,6 +22686,8 @@ class PullResponderTransmitter {
|
|
|
22685
22686
|
* All other errors are caught, logged, and passed to `onError`.
|
|
22686
22687
|
*
|
|
22687
22688
|
* Because of this, `onError` _may be called multiple times_.
|
|
22689
|
+
*
|
|
22690
|
+
* @returns boolean indicating whether there might be more data to pull
|
|
22688
22691
|
*/
|
|
22689
22692
|
static async executePull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge) {
|
|
22690
22693
|
var _a2, _b;
|
|
@@ -22710,7 +22713,7 @@ class PullResponderTransmitter {
|
|
|
22710
22713
|
} catch (error2) {
|
|
22711
22714
|
staticLogger().error(`Could not resolve 'Listener not found' error by registering a new pull responder for drive: ${driveId}, listenerId: ${listenerId}: ${error2}`);
|
|
22712
22715
|
onError(error2);
|
|
22713
|
-
return;
|
|
22716
|
+
return false;
|
|
22714
22717
|
}
|
|
22715
22718
|
break;
|
|
22716
22719
|
}
|
|
@@ -22719,7 +22722,7 @@ class PullResponderTransmitter {
|
|
|
22719
22722
|
if (!strands) {
|
|
22720
22723
|
staticLogger().error(`Error pulling strands for drive, and could not auto-register: ${driveId}, listenerId: ${trigger.data.listenerId}: ${error}`);
|
|
22721
22724
|
onError(error);
|
|
22722
|
-
return;
|
|
22725
|
+
return false;
|
|
22723
22726
|
}
|
|
22724
22727
|
if (!strands.length) {
|
|
22725
22728
|
staticLogger().verbose(`[SYNC DEBUG] No strands returned in pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
@@ -22729,7 +22732,7 @@ class PullResponderTransmitter {
|
|
|
22729
22732
|
staticLogger().error(`Error calling onRevisions for drive: ${driveId}, listenerId: ${trigger.data.listenerId}: ${error2}`);
|
|
22730
22733
|
onError(error2);
|
|
22731
22734
|
}
|
|
22732
|
-
return;
|
|
22735
|
+
return false;
|
|
22733
22736
|
}
|
|
22734
22737
|
staticLogger().verbose(`[SYNC DEBUG] Processing ${strands.length} strands in pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
22735
22738
|
const listenerRevisions = [];
|
|
@@ -22794,6 +22797,7 @@ class PullResponderTransmitter {
|
|
|
22794
22797
|
staticLogger().error(`Error calling onAcknowledge for drive: ${driveId}, listenerId: ${trigger.data.listenerId}: ${error2}`);
|
|
22795
22798
|
onError(error2);
|
|
22796
22799
|
}
|
|
22800
|
+
return strands.length > 0;
|
|
22797
22801
|
}
|
|
22798
22802
|
static setupPull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge) {
|
|
22799
22803
|
staticLogger().verbose(`[SYNC DEBUG] PullResponderTransmitter.setupPull initiated for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
@@ -22814,7 +22818,15 @@ class PullResponderTransmitter {
|
|
|
22814
22818
|
const executeLoop = async () => {
|
|
22815
22819
|
while (!isCancelled) {
|
|
22816
22820
|
staticLogger().verbose(`[SYNC DEBUG] Starting pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
22817
|
-
|
|
22821
|
+
let counter = 0;
|
|
22822
|
+
let hasMore = true;
|
|
22823
|
+
while (hasMore && !isCancelled && counter < MAX_PULLS) {
|
|
22824
|
+
counter++;
|
|
22825
|
+
hasMore = await this.executePull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge);
|
|
22826
|
+
if (hasMore) {
|
|
22827
|
+
staticLogger().verbose(`[SYNC DEBUG] More strands available, continuing pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
22828
|
+
}
|
|
22829
|
+
}
|
|
22818
22830
|
staticLogger().verbose(`[SYNC DEBUG] Completed pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}, waiting ${loopInterval}ms for next cycle`);
|
|
22819
22831
|
await new Promise((resolve) => {
|
|
22820
22832
|
staticLogger().verbose(`Scheduling next pull in ${loopInterval} ms`);
|
|
@@ -25781,7 +25793,7 @@ const nodeOptionsMap = {
|
|
|
25781
25793
|
};
|
|
25782
25794
|
const name = "@powerhousedao/connect";
|
|
25783
25795
|
const productName = "Powerhouse-Connect";
|
|
25784
|
-
const version$1 = "1.0.16-dev.
|
|
25796
|
+
const version$1 = "1.0.16-dev.1";
|
|
25785
25797
|
const description = "Powerhouse Connect";
|
|
25786
25798
|
const main = "./dist/index.html";
|
|
25787
25799
|
const type = "module";
|
|
@@ -31386,7 +31398,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31386
31398
|
} else {
|
|
31387
31399
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31388
31400
|
}
|
|
31389
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31401
|
+
const App = lazy(() => __vitePreload(() => import("./app-mup06TxF.js").then((n) => n.aQ), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31390
31402
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31391
31403
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31392
31404
|
__proto__: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ccip-ASjKzegb.js","assets/main.BooYX2Lr.js","assets/app-loader-ByxyqGmZ.js","assets/app-loader-DiF8OhX3.css","assets/index-B8rDFj5N.js","assets/style-Ce3V83BE.css","assets/index-10OwZr6e.js","assets/content-DmxMPHbR.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;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.BooYX2Lr.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 setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-
|
|
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 setErrorHandler, ak as driveDocumentModelModule, al as createBrowserDocumentDriveServer, am as hashKey$1, an as childLogger, ao as reducer$8, ap as isDocumentDrive, aq as generateAddNodeAction, ar as isFileNode, as as uploadDocumentOperations, at as updateFile, au as addFolder, av as isFolderNode, aw as deleteNode, ax as updateNode, ay as FILE, az as moveNode, aA as generateNodesCopy, aB as copyNode, aC as createState$1, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as generateUUID, aJ as PullResponderTransmitter, aK as addTrigger, aL as ReadDriveNotFoundError, aM as openUrl, aN as getNodeOptions, aO as DRIVE, aP as FOLDER, aQ as requestPublicDrive, aR as serviceWorkerManager, aS as packageJson, aT as t$1, aU as gql, aV as request } from "./app-loader-ByxyqGmZ.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 "@powerhousedao/reactor-browser";
|
|
@@ -20574,7 +20574,7 @@ async function call(client2, args) {
|
|
|
20574
20574
|
} catch (err) {
|
|
20575
20575
|
const data2 = getRevertErrorData(err);
|
|
20576
20576
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
20577
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
20577
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-ASjKzegb.js");
|
|
20578
20578
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
20579
20579
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
20580
20580
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -71667,7 +71667,7 @@ const useFilteredDocumentModels = () => {
|
|
|
71667
71667
|
return filteredDocumentModels;
|
|
71668
71668
|
};
|
|
71669
71669
|
async function loadBaseEditors() {
|
|
71670
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
71670
|
+
const documentModelEditor = await __vitePreload(() => import("./index-B8rDFj5N.js"), true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
71671
71671
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([5]) : void 0);
|
|
71672
71672
|
const module = documentModelEditor.documentModelEditorModule;
|
|
71673
71673
|
return [module];
|
|
@@ -71708,7 +71708,7 @@ async function initReactor(reactor) {
|
|
|
71708
71708
|
}
|
|
71709
71709
|
const drives = await reactor.getDrives();
|
|
71710
71710
|
if (!drives.length && connectConfig.drives.sections.LOCAL.enabled) {
|
|
71711
|
-
reactor.addDrive({
|
|
71711
|
+
return reactor.addDrive({
|
|
71712
71712
|
global: {
|
|
71713
71713
|
id: hashKey$1(),
|
|
71714
71714
|
name: "My Local Drive",
|
|
@@ -71818,11 +71818,11 @@ const connectCrypto = (async () => {
|
|
|
71818
71818
|
return window.connectCrypto;
|
|
71819
71819
|
}
|
|
71820
71820
|
const { ConnectCrypto } = await __vitePreload(async () => {
|
|
71821
|
-
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-
|
|
71821
|
+
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-10OwZr6e.js");
|
|
71822
71822
|
return { ConnectCrypto: ConnectCrypto2 };
|
|
71823
71823
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71824
71824
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
71825
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
71825
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-10OwZr6e.js");
|
|
71826
71826
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
71827
71827
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71828
71828
|
const connectCrypto2 = new ConnectCrypto(new BrowserKeyStorage());
|
|
@@ -71871,7 +71871,7 @@ function useRenown() {
|
|
|
71871
71871
|
return;
|
|
71872
71872
|
}
|
|
71873
71873
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
71874
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
71874
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-10OwZr6e.js");
|
|
71875
71875
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
71876
71876
|
}, true ? __vite__mapDeps([6,1,2,3]) : void 0);
|
|
71877
71877
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -72095,7 +72095,7 @@ function useDocumentDrives() {
|
|
|
72095
72095
|
const [status, setStatus] = useAtom(
|
|
72096
72096
|
documentDrivesInitializedMapAtomFamily(reactor)
|
|
72097
72097
|
);
|
|
72098
|
-
if (status === "INITIAL") {
|
|
72098
|
+
if (status === "INITIAL" && reactor) {
|
|
72099
72099
|
setStatus("LOADING");
|
|
72100
72100
|
refreshDocumentDrives().then(() => setStatus("LOADED")).catch(() => setStatus("ERROR"));
|
|
72101
72101
|
}
|
|
@@ -79416,6 +79416,7 @@ const DangerZone = ({
|
|
|
79416
79416
|
),
|
|
79417
79417
|
onContinue: () => {
|
|
79418
79418
|
clearStorage().then(() => {
|
|
79419
|
+
navigate("/");
|
|
79419
79420
|
onRefresh();
|
|
79420
79421
|
}).catch(logger$1.error);
|
|
79421
79422
|
},
|
|
@@ -80231,7 +80232,7 @@ function Home() {
|
|
|
80231
80232
|
/* @__PURE__ */ jsx$1(HomeScreenAddDriveItem, { onClick: onAddDriveClick })
|
|
80232
80233
|
] });
|
|
80233
80234
|
}
|
|
80234
|
-
const Content = React__default.lazy(() => __vitePreload(() => import("./content-
|
|
80235
|
+
const Content = React__default.lazy(() => __vitePreload(() => import("./content-DmxMPHbR.js"), true ? __vite__mapDeps([7,2,1,3]) : void 0));
|
|
80235
80236
|
async function createRouter(routes) {
|
|
80236
80237
|
var _a2;
|
|
80237
80238
|
const isPackaged = await ((_a2 = window.electronAPI) == null ? void 0 : _a2.isPackaged());
|
|
@@ -80359,51 +80360,54 @@ export {
|
|
|
80359
80360
|
useFilteredDocumentModels as a2,
|
|
80360
80361
|
useDriveEditor as a3,
|
|
80361
80362
|
useDocumentDriveById as a4,
|
|
80362
|
-
|
|
80363
|
-
|
|
80364
|
-
|
|
80365
|
-
|
|
80366
|
-
|
|
80367
|
-
|
|
80368
|
-
|
|
80369
|
-
|
|
80370
|
-
|
|
80371
|
-
|
|
80372
|
-
|
|
80373
|
-
|
|
80374
|
-
|
|
80375
|
-
|
|
80376
|
-
|
|
80377
|
-
|
|
80378
|
-
|
|
80379
|
-
|
|
80380
|
-
|
|
80381
|
-
|
|
80382
|
-
|
|
80383
|
-
|
|
80384
|
-
|
|
80385
|
-
|
|
80386
|
-
|
|
80387
|
-
|
|
80388
|
-
|
|
80389
|
-
|
|
80390
|
-
|
|
80391
|
-
|
|
80392
|
-
|
|
80393
|
-
|
|
80394
|
-
|
|
80395
|
-
|
|
80396
|
-
|
|
80397
|
-
|
|
80398
|
-
|
|
80399
|
-
|
|
80400
|
-
|
|
80401
|
-
|
|
80402
|
-
|
|
80403
|
-
|
|
80404
|
-
|
|
80405
|
-
|
|
80406
|
-
|
|
80363
|
+
useParams as a5,
|
|
80364
|
+
useDocumentDrives as a6,
|
|
80365
|
+
toast as a7,
|
|
80366
|
+
clsx as a8,
|
|
80367
|
+
get as a9,
|
|
80368
|
+
setOperationSchema as aA,
|
|
80369
|
+
setOperationDescription as aB,
|
|
80370
|
+
deleteOperation as aC,
|
|
80371
|
+
addOperationError as aD,
|
|
80372
|
+
deleteOperationError as aE,
|
|
80373
|
+
setOperationErrorName as aF,
|
|
80374
|
+
BaseError$4 as aG,
|
|
80375
|
+
getUrl as aH,
|
|
80376
|
+
stringify$1 as aI,
|
|
80377
|
+
decodeErrorResult as aJ,
|
|
80378
|
+
isAddressEqual as aK,
|
|
80379
|
+
call as aL,
|
|
80380
|
+
concat$1 as aM,
|
|
80381
|
+
encodeAbiParameters as aN,
|
|
80382
|
+
HttpRequestError as aO,
|
|
80383
|
+
isHex as aP,
|
|
80384
|
+
app as aQ,
|
|
80385
|
+
set as aa,
|
|
80386
|
+
appendErrors as ab,
|
|
80387
|
+
useFormContext as ac,
|
|
80388
|
+
Primitive as ad,
|
|
80389
|
+
cva as ae,
|
|
80390
|
+
FormProvider as af,
|
|
80391
|
+
Controller as ag,
|
|
80392
|
+
Slot as ah,
|
|
80393
|
+
useForm as ai,
|
|
80394
|
+
Root2 as aj,
|
|
80395
|
+
List as ak,
|
|
80396
|
+
Trigger as al,
|
|
80397
|
+
Content$2 as am,
|
|
80398
|
+
setModelName as an,
|
|
80399
|
+
setModelId as ao,
|
|
80400
|
+
setModelDescription as ap,
|
|
80401
|
+
setModelExtension as aq,
|
|
80402
|
+
setAuthorName as ar,
|
|
80403
|
+
setAuthorWebsite as as,
|
|
80404
|
+
setStateSchema as at,
|
|
80405
|
+
setInitialState as au,
|
|
80406
|
+
addModule as av,
|
|
80407
|
+
setModuleName as aw,
|
|
80408
|
+
deleteModule as ax,
|
|
80409
|
+
addOperation as ay,
|
|
80410
|
+
setOperationName as az,
|
|
80407
80411
|
addExternalPackage as b,
|
|
80408
80412
|
RENOWN_NETWORK_ID as c,
|
|
80409
80413
|
RENOWN_CHAIN_ID as d,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./main.
|
|
1
|
+
import { aG as BaseError, aH as getUrl, aI as stringify, aJ as decodeErrorResult, aK as isAddressEqual, aL as call, aM as concat, aN as encodeAbiParameters, aO as HttpRequestError, aP as isHex } from "./app-mup06TxF.js";
|
|
2
|
+
import "./main.BooYX2Lr.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "./app-loader-
|
|
4
|
+
import "./app-loader-ByxyqGmZ.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "@powerhousedao/reactor-browser";
|
|
7
7
|
import "react-dom";
|
|
@@ -1,8 +1,8 @@
|
|
|
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, h as SYNCING, I as INITIAL_SYNC, i as ConnectDropdownMenu, u as useOnClickOutside, j as useEventListener, k as useCopyToClipboard, l as Select, n as ENSAvatar, P as Provider, o as Root3, T as Trigger, p as Portal, q as Content2, v as validateInitialState, w as validateStateSchemaName, x as validateModules, y as useUnwrappedReactor, z as useConnectDid, A as useConnectCrypto, D as useTranslation, F as useModal, G as useAtomValue, H as themeAtom, J as useUser, K as useUserPermissions, L as useUiNodes, N as exportFile, O as useGetDocumentModelModule, Q as addActionContext, U as signOperation, V as useDocumentDriveServer, W as useHotkeys, X as useGetEditor, Y as isSameDocument, Z as useNavigate, _ as ErrorBoundary, $ as DriveLayout, a0 as SearchBar, a1 as useAsyncReactor, a2 as useFilteredDocumentModels, a3 as useDriveEditor, a4 as useDocumentDriveById } from "./app-
|
|
2
|
+
import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, h as SYNCING, I as INITIAL_SYNC, i as ConnectDropdownMenu, u as useOnClickOutside, j as useEventListener, k as useCopyToClipboard, l as Select, n as ENSAvatar, P as Provider, o as Root3, T as Trigger, p as Portal, q as Content2, v as validateInitialState, w as validateStateSchemaName, x as validateModules, y as useUnwrappedReactor, z as useConnectDid, A as useConnectCrypto, D as useTranslation, F as useModal, G as useAtomValue, H as themeAtom, J as useUser, K as useUserPermissions, L as useUiNodes, N as exportFile, O as useGetDocumentModelModule, Q as addActionContext, U as signOperation, V as useDocumentDriveServer, W as useHotkeys, X as useGetEditor, Y as isSameDocument, Z as useNavigate, _ as ErrorBoundary, $ as DriveLayout, a0 as SearchBar, a1 as useAsyncReactor, a2 as useFilteredDocumentModels, a3 as useDriveEditor, a4 as useDocumentDriveById, a5 as useParams, a6 as useDocumentDrives, a7 as toast } from "./app-mup06TxF.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, aO as DRIVE, ay as FILE, b7 as undo, b8 as redo, ac as logger, b9 as useDocumentDispatch, aP as FOLDER, ak as driveDocumentModelModule } from "./app-loader-
|
|
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, aO as DRIVE, ay as FILE, b7 as undo, b8 as redo, ac as logger, b9 as useDocumentDispatch, aP as FOLDER, ak as driveDocumentModelModule } from "./app-loader-ByxyqGmZ.js";
|
|
6
6
|
import { useDocument, useDocumentEditorProps } from "@powerhousedao/reactor-browser";
|
|
7
7
|
import { useUiNodesContext, FILE as FILE$1 } from "@powerhousedao/reactor-browser/hooks/useUiNodesContext";
|
|
8
8
|
import { useDriveActionsWithUiNodes } from "@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes";
|
|
@@ -10,7 +10,7 @@ import { DriveContextProvider, useDriveContext } from "@powerhousedao/reactor-br
|
|
|
10
10
|
import "@powerhousedao/reactor-browser/uiNodes/constants";
|
|
11
11
|
import { makeDriveDocumentStateHook } from "@powerhousedao/reactor-browser/hooks/document-state";
|
|
12
12
|
import { flushSync } from "react-dom";
|
|
13
|
-
import "./main.
|
|
13
|
+
import "./main.BooYX2Lr.js";
|
|
14
14
|
const PaginationButton = ({ active = false, ...props }) => {
|
|
15
15
|
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");
|
|
16
16
|
return jsx(Button, { color: "light", size: "small", ...mergeClassNameProps(props, className), children: props.children });
|
|
@@ -3948,6 +3948,9 @@ function DriveEditorContainer() {
|
|
|
3948
3948
|
);
|
|
3949
3949
|
}
|
|
3950
3950
|
function Content() {
|
|
3951
|
+
const navigate = useNavigate();
|
|
3952
|
+
const { driveId } = useParams();
|
|
3953
|
+
const [documentDrives, , , status] = useDocumentDrives();
|
|
3951
3954
|
const uiNodes = useUiNodes();
|
|
3952
3955
|
const { fileNodeDocument, selectedDriveNode, selectedNode, addFile } = uiNodes;
|
|
3953
3956
|
useEffect(() => {
|
|
@@ -3964,6 +3967,18 @@ function Content() {
|
|
|
3964
3967
|
);
|
|
3965
3968
|
});
|
|
3966
3969
|
}, [selectedDriveNode, selectedNode, addFile]);
|
|
3970
|
+
useEffect(() => {
|
|
3971
|
+
if ((status === "LOADED" || status === "ERROR") && !documentDrives.find(
|
|
3972
|
+
(d) => d.state.global.id === driveId || d.state.global.slug === driveId || d.state.global.name === driveId
|
|
3973
|
+
)) {
|
|
3974
|
+
toast(/* @__PURE__ */ jsxs("p", { children: [
|
|
3975
|
+
"Drive ",
|
|
3976
|
+
driveId,
|
|
3977
|
+
" not found"
|
|
3978
|
+
] }), { type: "warning" });
|
|
3979
|
+
navigate("/");
|
|
3980
|
+
}
|
|
3981
|
+
}, [status, driveId, documentDrives]);
|
|
3967
3982
|
return /* @__PURE__ */ jsx("div", { className: "flex h-full flex-col overflow-auto", id: "content-view", children: fileNodeDocument ? /* @__PURE__ */ jsx(DocumentEditorContainer, {}, fileNodeDocument.documentId) : selectedDriveNode ? /* @__PURE__ */ jsx(DriveEditorContainer, {}, selectedDriveNode.id) : null });
|
|
3968
3983
|
}
|
|
3969
3984
|
export {
|
|
@@ -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.
|
|
14
|
-
import { aW as getAugmentedNamespace, $ as getDefaultExportFromCjs, ah as connectConfig, ac as logger } from "./app-loader-
|
|
15
|
-
import { e as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-
|
|
16
|
-
import { d, c, b, f, a, r, s } from "./app-
|
|
13
|
+
import { _ as __vitePreload } from "./main.BooYX2Lr.js";
|
|
14
|
+
import { aW as getAugmentedNamespace, $ as getDefaultExportFromCjs, ah as connectConfig, ac as logger } from "./app-loader-ByxyqGmZ.js";
|
|
15
|
+
import { e as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-mup06TxF.js";
|
|
16
|
+
import { d, c, b, f, a, r, s } from "./app-mup06TxF.js";
|
|
17
17
|
import "react/jsx-runtime";
|
|
18
18
|
import "react";
|
|
19
19
|
import "@powerhousedao/reactor-browser";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { t as twMerge,
|
|
3
|
-
import { ba as inspect$1, bb as GraphQLError$1, bc as getNamedType, bd as invariant$2, be as isInputObjectType, bf as isScalarType, bg as isObjectType, bh as isInterfaceType, bi as isUnionType, bj as isEnumType, bk as print, bl as isPrintableAsBlockString, bm as Kind, bn as astFromValue$1, bo as DEFAULT_DEPRECATION_REASON, bp as isSpecifiedDirective, bq as isSpecifiedScalarType, br as isIntrospectionType, bs as z, bt as GraphQLScalarType, Z as pascalCase, bu as parse, bv as visit, bw as buildASTSchema, bx as extendSchema, by as getNullableType, bz as isListType, $ as getDefaultExportFromCjs, bA as snakeCase, bB as constantCase, bC as isAbstractType, bD as BREAK, bE as GraphQLInputObjectType, bF as GraphQLList, bG as GraphQLEnumType, bH as GraphQLObjectType, bI as GraphQLInterfaceType, bJ as SchemaMetaFieldDef, bK as TypeMetaFieldDef, bL as TypeNameMetaFieldDef, bM as isCompositeType, bN as isOutputType, bO as isInputType, bP as GraphQLBoolean, bQ as assertAbstractType, bR as doTypesOverlap, bS as DirectiveLocation, bT as specifiedRules$1, bU as NoUnusedFragmentsRule$1, bV as ExecutableDefinitionsRule$1, bW as validate$2, bX as validateSchema, bY as GraphQLID, bZ as GraphQLString, b_ as GraphQLFloat, b$ as GraphQLInt, c0 as GraphQLDirective, c1 as GraphQLUnionType, c2 as isNonNullType, c3 as GraphQLNonNull, c4 as isNamedType, c5 as isLeafType, c6 as GraphQLSchema, c7 as buildSchema, c8 as sentenceCase, am as hashKey } from "./app-loader-
|
|
2
|
+
import { t as twMerge, a8 as clsx, a9 as get, aa as set, ab as appendErrors, ac as useFormContext, ad as Primitive, ae as cva, af as FormProvider, ag as Controller, ah as Slot, ai as useForm, aj as Root2, ak as List, al as Trigger, am as Content, an as setModelName, ao as setModelId, ap as setModelDescription, aq as setModelExtension, ar as setAuthorName, as as setAuthorWebsite, at as setStateSchema, au as setInitialState, av as addModule, aw as setModuleName, ax as deleteModule, ay as addOperation, az as setOperationName, aA as setOperationSchema, aB as setOperationDescription, aC as deleteOperation, aD as addOperationError, aE as deleteOperationError, aF as setOperationErrorName } from "./app-mup06TxF.js";
|
|
3
|
+
import { ba as inspect$1, bb as GraphQLError$1, bc as getNamedType, bd as invariant$2, be as isInputObjectType, bf as isScalarType, bg as isObjectType, bh as isInterfaceType, bi as isUnionType, bj as isEnumType, bk as print, bl as isPrintableAsBlockString, bm as Kind, bn as astFromValue$1, bo as DEFAULT_DEPRECATION_REASON, bp as isSpecifiedDirective, bq as isSpecifiedScalarType, br as isIntrospectionType, bs as z, bt as GraphQLScalarType, Z as pascalCase, bu as parse, bv as visit, bw as buildASTSchema, bx as extendSchema, by as getNullableType, bz as isListType, $ as getDefaultExportFromCjs, bA as snakeCase, bB as constantCase, bC as isAbstractType, bD as BREAK, bE as GraphQLInputObjectType, bF as GraphQLList, bG as GraphQLEnumType, bH as GraphQLObjectType, bI as GraphQLInterfaceType, bJ as SchemaMetaFieldDef, bK as TypeMetaFieldDef, bL as TypeNameMetaFieldDef, bM as isCompositeType, bN as isOutputType, bO as isInputType, bP as GraphQLBoolean, bQ as assertAbstractType, bR as doTypesOverlap, bS as DirectiveLocation, bT as specifiedRules$1, bU as NoUnusedFragmentsRule$1, bV as ExecutableDefinitionsRule$1, bW as validate$2, bX as validateSchema, bY as GraphQLID, bZ as GraphQLString, b_ as GraphQLFloat, b$ as GraphQLInt, c0 as GraphQLDirective, c1 as GraphQLUnionType, c2 as isNonNullType, c3 as GraphQLNonNull, c4 as isNamedType, c5 as isLeafType, c6 as GraphQLSchema, c7 as buildSchema, c8 as sentenceCase, am as hashKey } from "./app-loader-ByxyqGmZ.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.
|
|
6
|
+
import "./main.BooYX2Lr.js";
|
|
7
7
|
import "@powerhousedao/reactor-browser";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "@powerhousedao/reactor-browser/hooks/useUiNodesContext";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-
|
|
2
|
-
import { _ as __vitePreload } from "./main.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/app-loader-ByxyqGmZ.js","assets/main.BooYX2Lr.js","assets/app-loader-DiF8OhX3.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { _ as __vitePreload } from "./main.BooYX2Lr.js";
|
|
3
3
|
import { createRoot } from "react-dom/client";
|
|
4
4
|
async function renderApp(element) {
|
|
5
|
-
const AppLoader = await __vitePreload(() => import("./app-loader-
|
|
5
|
+
const AppLoader = await __vitePreload(() => import("./app-loader-ByxyqGmZ.js").then((n) => n.c9), 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-
|
|
102
|
+
__vitePreload(() => import("./index-Bf_-VrwW.js"), true ? [] : void 0);
|
|
103
103
|
export {
|
|
104
104
|
__vitePreload as _
|
|
105
105
|
};
|
package/dist/index.html
CHANGED
|
@@ -96,4 +96,4 @@
|
|
|
96
96
|
"@powerhousedao/reactor-browser/utils/index": "/modules/@powerhousedao/reactor-browser/utils/index.js",
|
|
97
97
|
"@powerhousedao/reactor-browser/utils/signature": "/modules/@powerhousedao/reactor-browser/utils/signature.js"
|
|
98
98
|
}
|
|
99
|
-
}</script><script type="module" crossorigin="" src="/assets/main.
|
|
99
|
+
}</script><script type="module" crossorigin="" src="/assets/main.BooYX2Lr.js"></script></head><body><div id="app"></div></body></html>
|
|
@@ -11860,6 +11860,7 @@ var PULL_DRIVE_INTERVAL = 1500;
|
|
|
11860
11860
|
|
|
11861
11861
|
// ../../packages/document-drive/dist/src/server/listener/transmitter/pull-responder.js
|
|
11862
11862
|
var MAX_REVISIONS_PER_ACK = 100;
|
|
11863
|
+
var MAX_PULLS = 50;
|
|
11863
11864
|
var _staticLogger;
|
|
11864
11865
|
var staticLogger = () => {
|
|
11865
11866
|
if (!_staticLogger) {
|
|
@@ -12034,6 +12035,8 @@ var PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
12034
12035
|
* All other errors are caught, logged, and passed to `onError`.
|
|
12035
12036
|
*
|
|
12036
12037
|
* Because of this, `onError` _may be called multiple times_.
|
|
12038
|
+
*
|
|
12039
|
+
* @returns boolean indicating whether there might be more data to pull
|
|
12037
12040
|
*/
|
|
12038
12041
|
static async executePull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge) {
|
|
12039
12042
|
staticLogger().verbose(`executePull(driveId: ${driveId}), trigger:`, trigger);
|
|
@@ -12058,7 +12061,7 @@ var PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
12058
12061
|
} catch (error2) {
|
|
12059
12062
|
staticLogger().error(`Could not resolve 'Listener not found' error by registering a new pull responder for drive: ${driveId}, listenerId: ${listenerId}: ${error2}`);
|
|
12060
12063
|
onError(error2);
|
|
12061
|
-
return;
|
|
12064
|
+
return false;
|
|
12062
12065
|
}
|
|
12063
12066
|
break;
|
|
12064
12067
|
}
|
|
@@ -12067,7 +12070,7 @@ var PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
12067
12070
|
if (!strands) {
|
|
12068
12071
|
staticLogger().error(`Error pulling strands for drive, and could not auto-register: ${driveId}, listenerId: ${trigger.data.listenerId}: ${error}`);
|
|
12069
12072
|
onError(error);
|
|
12070
|
-
return;
|
|
12073
|
+
return false;
|
|
12071
12074
|
}
|
|
12072
12075
|
if (!strands.length) {
|
|
12073
12076
|
staticLogger().verbose(`[SYNC DEBUG] No strands returned in pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
@@ -12077,7 +12080,7 @@ var PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
12077
12080
|
staticLogger().error(`Error calling onRevisions for drive: ${driveId}, listenerId: ${trigger.data.listenerId}: ${error2}`);
|
|
12078
12081
|
onError(error2);
|
|
12079
12082
|
}
|
|
12080
|
-
return;
|
|
12083
|
+
return false;
|
|
12081
12084
|
}
|
|
12082
12085
|
staticLogger().verbose(`[SYNC DEBUG] Processing ${strands.length} strands in pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
12083
12086
|
const listenerRevisions = [];
|
|
@@ -12142,6 +12145,7 @@ var PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
12142
12145
|
staticLogger().error(`Error calling onAcknowledge for drive: ${driveId}, listenerId: ${trigger.data.listenerId}: ${error2}`);
|
|
12143
12146
|
onError(error2);
|
|
12144
12147
|
}
|
|
12148
|
+
return strands.length > 0;
|
|
12145
12149
|
}
|
|
12146
12150
|
static setupPull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge) {
|
|
12147
12151
|
staticLogger().verbose(`[SYNC DEBUG] PullResponderTransmitter.setupPull initiated for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
@@ -12162,7 +12166,15 @@ var PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
12162
12166
|
const executeLoop = async () => {
|
|
12163
12167
|
while (!isCancelled) {
|
|
12164
12168
|
staticLogger().verbose(`[SYNC DEBUG] Starting pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
12165
|
-
|
|
12169
|
+
let counter = 0;
|
|
12170
|
+
let hasMore = true;
|
|
12171
|
+
while (hasMore && !isCancelled && counter < MAX_PULLS) {
|
|
12172
|
+
counter++;
|
|
12173
|
+
hasMore = await this.executePull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge);
|
|
12174
|
+
if (hasMore) {
|
|
12175
|
+
staticLogger().verbose(`[SYNC DEBUG] More strands available, continuing pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}`);
|
|
12176
|
+
}
|
|
12177
|
+
}
|
|
12166
12178
|
staticLogger().verbose(`[SYNC DEBUG] Completed pull cycle for drive: ${driveId}, listenerId: ${trigger.data.listenerId}, waiting ${loopInterval}ms for next cycle`);
|
|
12167
12179
|
await new Promise((resolve) => {
|
|
12168
12180
|
staticLogger().verbose(`Scheduling next pull in ${loopInterval} ms`);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
ReadModeContext,
|
|
4
4
|
ReadModeContextProvider,
|
|
5
5
|
useReadModeContext
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-ULJSSMFA.js";
|
|
7
7
|
import "../chunk-OVGOA2P5.js";
|
|
8
8
|
import "../chunk-P6NJ6IAQ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7RTGQTV5.js";
|
|
10
10
|
import "../chunk-FQF4YAVC.js";
|
|
11
11
|
import "../chunk-2ESYSVXG.js";
|
|
12
12
|
export {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ReadModeContext,
|
|
3
3
|
ReadModeContextProvider,
|
|
4
4
|
useReadModeContext
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ULJSSMFA.js";
|
|
6
6
|
import "../chunk-OVGOA2P5.js";
|
|
7
7
|
import "../chunk-P6NJ6IAQ.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-7RTGQTV5.js";
|
|
9
9
|
import "../chunk-FQF4YAVC.js";
|
|
10
10
|
import "../chunk-2ESYSVXG.js";
|
|
11
11
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-DKDARAJS.js";
|
|
2
2
|
import {
|
|
3
3
|
useDriveActionsWithUiNodes
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-NPCM4GRM.js";
|
|
5
5
|
import {
|
|
6
6
|
useDriveActions
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-REEGAZVT.js";
|
|
8
8
|
import {
|
|
9
9
|
DriveContextProvider,
|
|
10
10
|
useDriveContext
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
useUserPermissions
|
|
58
58
|
} from "../chunk-OVGOA2P5.js";
|
|
59
59
|
import "../chunk-P6NJ6IAQ.js";
|
|
60
|
-
import "../chunk-
|
|
60
|
+
import "../chunk-7RTGQTV5.js";
|
|
61
61
|
import "../chunk-FQF4YAVC.js";
|
|
62
62
|
import "../chunk-YWKVPJNL.js";
|
|
63
63
|
import "../chunk-2X2M6BYG.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDriveActionsWithUiNodes
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NPCM4GRM.js";
|
|
4
|
+
import "../chunk-REEGAZVT.js";
|
|
5
5
|
import "../chunk-XBTEGV5M.js";
|
|
6
6
|
import "../chunk-RGIB4DD4.js";
|
|
7
7
|
import "../chunk-7OQWVUC5.js";
|
|
8
8
|
import "../chunk-ZL5IPB6D.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-7RTGQTV5.js";
|
|
10
10
|
import "../chunk-FQF4YAVC.js";
|
|
11
11
|
import "../chunk-2ESYSVXG.js";
|
|
12
12
|
export {
|
|
@@ -8,10 +8,10 @@ import "./chunk-LH2T6NLN.js";
|
|
|
8
8
|
import "./chunk-DKDARAJS.js";
|
|
9
9
|
import {
|
|
10
10
|
useDriveActionsWithUiNodes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NPCM4GRM.js";
|
|
12
12
|
import {
|
|
13
13
|
useDriveActions
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-REEGAZVT.js";
|
|
15
15
|
import {
|
|
16
16
|
DriveContextProvider,
|
|
17
17
|
useDriveContext
|
|
@@ -67,18 +67,18 @@ import {
|
|
|
67
67
|
import {
|
|
68
68
|
createBrowserDocumentDriveServer,
|
|
69
69
|
getReactorDefaultDrivesConfig
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-RUNTF5WD.js";
|
|
71
71
|
import "./chunk-U36SV333.js";
|
|
72
72
|
import {
|
|
73
73
|
ReadModeContext,
|
|
74
74
|
ReadModeContextProvider,
|
|
75
75
|
useReadModeContext
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ULJSSMFA.js";
|
|
77
77
|
import {
|
|
78
78
|
useUserPermissions
|
|
79
79
|
} from "./chunk-OVGOA2P5.js";
|
|
80
80
|
import "./chunk-P6NJ6IAQ.js";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-7RTGQTV5.js";
|
|
82
82
|
import "./chunk-FQF4YAVC.js";
|
|
83
83
|
import "./chunk-YWKVPJNL.js";
|
|
84
84
|
import "./chunk-2X2M6BYG.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createBrowserDocumentDriveServer,
|
|
3
3
|
getReactorDefaultDrivesConfig
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-RUNTF5WD.js";
|
|
5
|
+
import "./chunk-7RTGQTV5.js";
|
|
6
6
|
import "./chunk-FQF4YAVC.js";
|
|
7
7
|
import "./chunk-2ESYSVXG.js";
|
|
8
8
|
export {
|
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+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyI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L21vZHVsZXMvQHBvd2VyaG91c2VkYW8vcmVhY3Rvci1icm93c2VyL3V0aWxzL2V4cG9ydC1kb2N1bWVudC5qcyIsCiAgICAiQHBvd2VyaG91c2VkYW8vcmVhY3Rvci1icm93c2VyL3V0aWxzL2luZGV4IjogIi9tb2R1bGVzL0Bwb3dlcmhvdXNlZGFvL3JlYWN0b3ItYnJvd3Nlci91dGlscy9pbmRleC5qcyIsCiAgICAiQHBvd2VyaG91c2VkYW8vcmVhY3Rvci1icm93c2VyL3V0aWxzL3NpZ25hdHVyZSI6ICIvbW9kdWxlcy9AcG93ZXJob3VzZWRhby9yZWFjdG9yLWJyb3dzZXIvdXRpbHMvc2lnbmF0dXJlLmpzIgogIH0KfTwvc2NyaXB0PjxzY3JpcHQgdHlwZT0ibW9kdWxlIiBjcm9zc29yaWdpbj0iIiBzcmM9Ii9hc3NldHMvbWFpbi5Cb29ZWDJMci5qcyI+PC9zY3JpcHQ+PC9oZWFkPjxib2R5PjxkaXYgaWQ9ImFwcCI+PC9kaXY+PC9ib2R5PjwvaHRtbD4=" | 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.
|
|
4
|
+
"version": "1.0.16-dev.1",
|
|
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.
|
|
86
|
-
"@powerhousedao/
|
|
87
|
-
"@powerhousedao/design-system": "1.39.16-dev.
|
|
88
|
-
"@powerhousedao/reactor-browser": "1.22.24-dev.
|
|
89
|
-
"@powerhousedao/
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"document-model": "2.28.1-dev.
|
|
85
|
+
"@powerhousedao/builder-tools": "0.9.27-dev.1",
|
|
86
|
+
"@powerhousedao/common": "1.10.29-dev.1",
|
|
87
|
+
"@powerhousedao/design-system": "1.39.16-dev.2",
|
|
88
|
+
"@powerhousedao/reactor-browser": "1.22.24-dev.1",
|
|
89
|
+
"@powerhousedao/config": "1.27.0-dev.5",
|
|
90
|
+
"@powerhousedao/scalars": "1.33.1-dev.4",
|
|
91
|
+
"document-drive": "1.29.9-dev.1",
|
|
92
|
+
"document-model": "2.28.1-dev.4"
|
|
93
93
|
},
|
|
94
94
|
"optionalDependencies": {
|
|
95
95
|
"@esbuild/linux-x64": "^0.21.4",
|