@powerhousedao/connect 2.5.0-dev.1 → 2.5.0-dev.10
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/.env +3 -0
- package/dist/assets/{app-BK9yyR0p.js → app-DHGgyt5K.js} +43 -27
- package/dist/assets/app-DHGgyt5K.js.map +1 -0
- package/dist/assets/{app-loader-vNh4XNhS.js → app-loader-Ucmr53VY.js} +142 -136
- package/dist/assets/app-loader-Ucmr53VY.js.map +1 -0
- package/dist/assets/{browser-DLEVfenP.js → browser-CKAdkOdU.js} +7 -6
- package/dist/assets/browser-CKAdkOdU.js.map +1 -0
- package/dist/assets/{ccip-d4Fvfnck.js → ccip-DH23JEmG.js} +4 -4
- package/dist/assets/{ccip-d4Fvfnck.js.map → ccip-DH23JEmG.js.map} +1 -1
- package/dist/assets/{content-Dg_mJiwf.js → content-EGmRQK_E.js} +9 -10
- package/dist/assets/{content-Dg_mJiwf.js.map → content-EGmRQK_E.js.map} +1 -1
- package/dist/assets/{index-DCdqF6af.js → index-BLnk2_Y0.js} +4 -4
- package/dist/assets/{index-DCdqF6af.js.map → index-BLnk2_Y0.js.map} +1 -1
- package/dist/assets/{index-CFjpc0j4.js → index-D2HzaeAU.js} +6 -5
- package/dist/assets/{index-CFjpc0j4.js.map → index-D2HzaeAU.js.map} +1 -1
- package/dist/assets/{index-BZlYEVaI.js → index-D5AaEvVM.js} +4 -4
- package/dist/assets/index-D5AaEvVM.js.map +1 -0
- package/dist/assets/{index-CCz-r5yA.js → index-DU6fFIOc.js} +5 -5
- package/dist/assets/{index-CCz-r5yA.js.map → index-DU6fFIOc.js.map} +1 -1
- package/dist/assets/{main.2BUYHNUF.js → main.CIo1oAHU.js} +2 -2
- package/dist/assets/{main.2BUYHNUF.js.map → main.CIo1oAHU.js.map} +1 -1
- package/dist/assets/nodefs-CjLGMEKf.js +20 -0
- package/dist/assets/nodefs-CjLGMEKf.js.map +1 -0
- package/dist/assets/opfs-ahp-B5o8adrg.js +296 -0
- package/dist/assets/opfs-ahp-B5o8adrg.js.map +1 -0
- package/dist/assets/pglite-worker-CyG3W9Rr.js +7498 -0
- package/dist/assets/pglite-worker-CyG3W9Rr.js.map +1 -0
- package/dist/assets/postgres-CkP7QCDB.data +0 -0
- package/dist/assets/postgres-CyuUVpXN.wasm +0 -0
- package/dist/assets/reactor-analytics-BGUerk08.js +80 -0
- package/dist/assets/reactor-analytics-BGUerk08.js.map +1 -0
- package/dist/assets/{router-Cer_dPvF.js → router-Dcntoskm.js} +6 -6
- package/dist/assets/{router-Cer_dPvF.js.map → router-Dcntoskm.js.map} +1 -1
- package/dist/index.html +3 -1
- package/dist/swEnv.js +2 -0
- package/dist/vite-envs.sh +19 -1
- package/package.json +10 -9
- package/dist/assets/app-BK9yyR0p.js.map +0 -1
- package/dist/assets/app-loader-vNh4XNhS.js.map +0 -1
- package/dist/assets/browser-DLEVfenP.js.map +0 -1
- package/dist/assets/index-BZlYEVaI.js.map +0 -1
- package/dist/assets/reactor-analytics-CE2M9qWD.js +0 -42
- package/dist/assets/reactor-analytics-CE2M9qWD.js.map +0 -1
package/dist/.env
CHANGED
|
@@ -35,6 +35,9 @@ PH_CONNECT_RENOWN_NETWORK_ID="eip155"
|
|
|
35
35
|
PH_CONNECT_RENOWN_CHAIN_ID=1
|
|
36
36
|
PH_CONNECT_DISABLED_EDITORS="powerhouse/document-drive"
|
|
37
37
|
|
|
38
|
+
PH_CONNECT_ANALYTICS_DATABASE_NAME=""
|
|
39
|
+
PH_CONNECT_ANALYTICS_DATABASE_WORKER_DISABLED="false"
|
|
40
|
+
|
|
38
41
|
## error tracking
|
|
39
42
|
PH_CONNECT_SENTRY_DSN=""
|
|
40
43
|
PH_CONNECT_SENTRY_PROJECT=""
|
|
@@ -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-DH23JEmG.js","assets/main.CIo1oAHU.js","assets/app-loader-Ucmr53VY.js","assets/app-loader-CDW9U8zV.css","assets/index-DU6fFIOc.js","assets/index-D2HzaeAU.js","assets/style-C0GVbPTL.css","assets/browser-CKAdkOdU.js","assets/router-Dcntoskm.js","assets/reactor-analytics-BGUerk08.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __typeError = (msg) => {
|
|
4
4
|
throw TypeError(msg);
|
|
@@ -19,11 +19,11 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
var _InternalTransmitter_instances, buildInternalOperationUpdate_fn, _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, _bearerToken, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, stringToBytes_fn;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.CIo1oAHU.js";
|
|
23
23
|
import { jsx as jsx$1, Fragment, jsxs } from "react/jsx-runtime";
|
|
24
24
|
import * as React from "react";
|
|
25
25
|
import React__default, { useLayoutEffect, useEffect, useState, forwardRef, Suspense, useCallback, useContext, useRef, useMemo, createContext, Component, Fragment as Fragment$1, createElement, useReducer, useDebugValue, useId as useId$1, useSyncExternalStore, isValidElement, cloneElement, Children, lazy } from "react";
|
|
26
|
-
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 logger$3,
|
|
26
|
+
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 RunAsap, $ as logger$3, a0 as utils, a1 as getDefaultExportFromCjs, a2 as LOCAL, a3 as commonjsGlobal, a4 as PUBLIC, a5 as SWITCHBOARD, a6 as objectType, a7 as recordType, a8 as stringType, a9 as capitalCase, aa as CLOUD, ab as createZip, ac as buildSignedOperation, ad as getI18n, ae as getDefaults, af as getAugmentedNamespace, ag as connectConfig, ah as childLogger, ai as process, aj as setErrorHandler, ak as module, al as createBrowserDocumentDriveServer, am as createBrowserStorage, an as generateId, ao as ReadDriveNotFoundError, ap as hashDocumentStateForScope, aq as reducer$8, ar as isDocumentDrive, as as generateAddNodeAction, at as isFileNode, au as uploadDocumentOperations, av as updateFile, aw as addFolder, ax as isFolderNode, ay as deleteNode, az as updateNode, aA as moveNode, aB as generateNodesCopy, aC as copyNode, aD as setDriveName, aE as setAvailableOffline, aF as setSharingType, aG as SynchronizationUnitNotFoundError, aH as removeTrigger, aI as PullResponderTransmitter, aJ as addTrigger, aK as requestPublicDrive, aL as serviceWorkerManager, aM as packageJson, aN as t$1 } from "./app-loader-Ucmr53VY.js";
|
|
27
27
|
import * as ReactDOM from "react-dom";
|
|
28
28
|
import ReactDOM__default, { createPortal } from "react-dom";
|
|
29
29
|
const setModelName = (input) => createAction("SET_MODEL_NAME", { ...input });
|
|
@@ -1459,12 +1459,14 @@ const documentModelDocumentModelModule = {
|
|
|
1459
1459
|
utils: { ...documentModelUtils, ...customUtils }
|
|
1460
1460
|
};
|
|
1461
1461
|
class InternalTransmitter {
|
|
1462
|
-
constructor(drive, processor) {
|
|
1462
|
+
constructor(drive, processor, taskQueueMethod) {
|
|
1463
1463
|
__privateAdd(this, _InternalTransmitter_instances);
|
|
1464
1464
|
__publicField(this, "drive");
|
|
1465
1465
|
__publicField(this, "processor");
|
|
1466
|
+
__publicField(this, "taskQueueMethod");
|
|
1466
1467
|
this.drive = drive;
|
|
1467
1468
|
this.processor = processor;
|
|
1469
|
+
this.taskQueueMethod = taskQueueMethod === void 0 ? RunAsap.runAsap : taskQueueMethod;
|
|
1468
1470
|
}
|
|
1469
1471
|
async transmit(strands, _source) {
|
|
1470
1472
|
var _a2;
|
|
@@ -1528,10 +1530,14 @@ buildInternalOperationUpdate_fn = async function(strand) {
|
|
|
1528
1530
|
return stateByIndex.get(index2);
|
|
1529
1531
|
};
|
|
1530
1532
|
for (const operation of strand.operations) {
|
|
1533
|
+
const stateTask = () => getStateByIndex(operation.index);
|
|
1534
|
+
const state = await (this.taskQueueMethod ? RunAsap.runAsapAsync(stateTask, this.taskQueueMethod) : stateTask());
|
|
1535
|
+
const previousStateTask = () => getStateByIndex(operation.index - 1);
|
|
1536
|
+
const previousState = await (this.taskQueueMethod ? RunAsap.runAsapAsync(previousStateTask, this.taskQueueMethod) : previousStateTask());
|
|
1531
1537
|
operations.push({
|
|
1532
1538
|
...operation,
|
|
1533
|
-
state
|
|
1534
|
-
previousState
|
|
1539
|
+
state,
|
|
1540
|
+
previousState
|
|
1535
1541
|
});
|
|
1536
1542
|
}
|
|
1537
1543
|
return operations;
|
|
@@ -23845,7 +23851,7 @@ async function call(client2, args) {
|
|
|
23845
23851
|
} catch (err) {
|
|
23846
23852
|
const data2 = getRevertErrorData(err);
|
|
23847
23853
|
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
|
|
23848
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
23854
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-DH23JEmG.js");
|
|
23849
23855
|
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
|
|
23850
23856
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
23851
23857
|
if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to)
|
|
@@ -57359,11 +57365,11 @@ function observe$1(effect, store = getDefaultStore()) {
|
|
|
57359
57365
|
let _connectCrypto;
|
|
57360
57366
|
async function initConnectCrypto() {
|
|
57361
57367
|
const { ConnectCrypto: ConnectCrypto2 } = await __vitePreload(async () => {
|
|
57362
|
-
const { ConnectCrypto: ConnectCrypto3 } = await import("./index-
|
|
57368
|
+
const { ConnectCrypto: ConnectCrypto3 } = await import("./index-DU6fFIOc.js");
|
|
57363
57369
|
return { ConnectCrypto: ConnectCrypto3 };
|
|
57364
57370
|
}, true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
57365
57371
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
57366
|
-
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-
|
|
57372
|
+
const { BrowserKeyStorage: BrowserKeyStorage2 } = await import("./index-DU6fFIOc.js");
|
|
57367
57373
|
return { BrowserKeyStorage: BrowserKeyStorage2 };
|
|
57368
57374
|
}, true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
57369
57375
|
const connectCrypto = new ConnectCrypto2(new BrowserKeyStorage());
|
|
@@ -57435,7 +57441,7 @@ function useRenown() {
|
|
|
57435
57441
|
return;
|
|
57436
57442
|
}
|
|
57437
57443
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
57438
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-
|
|
57444
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./index-DU6fFIOc.js");
|
|
57439
57445
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
57440
57446
|
}, true ? __vite__mapDeps([4,2,1,3]) : void 0);
|
|
57441
57447
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -77180,7 +77186,7 @@ function useFileNodeDocument() {
|
|
|
77180
77186
|
);
|
|
77181
77187
|
}
|
|
77182
77188
|
async function loadBaseEditors() {
|
|
77183
|
-
const documentModelEditor = await __vitePreload(() => import("./index-
|
|
77189
|
+
const documentModelEditor = await __vitePreload(() => import("./index-D2HzaeAU.js"), true ? __vite__mapDeps([5,2,1,3]) : void 0);
|
|
77184
77190
|
await __vitePreload(() => Promise.resolve({}), true ? __vite__mapDeps([6]) : void 0);
|
|
77185
77191
|
const module2 = documentModelEditor.documentModelEditorModule;
|
|
77186
77192
|
return [module2];
|
|
@@ -90801,7 +90807,7 @@ class AnalyticsQueryEngine {
|
|
|
90801
90807
|
async executeMultiCurrency(query, mcc) {
|
|
90802
90808
|
const baseQuery = {
|
|
90803
90809
|
...query,
|
|
90804
|
-
currency: mcc.targetCurrency
|
|
90810
|
+
currency: mcc.targetCurrency ?? query.currency
|
|
90805
90811
|
};
|
|
90806
90812
|
let result = await this.execute(baseQuery);
|
|
90807
90813
|
for (const conversion of mcc.conversions) {
|
|
@@ -90857,7 +90863,7 @@ class AnalyticsQueryEngine {
|
|
|
90857
90863
|
const newRow = {
|
|
90858
90864
|
dimensions: row.dimensions,
|
|
90859
90865
|
metric: row.metric,
|
|
90860
|
-
unit: resultCurrency.toString(),
|
|
90866
|
+
unit: resultCurrency ? resultCurrency.toString() : row.unit,
|
|
90861
90867
|
value: this._calculateOutputValue(row.value, operator, operandMap[inputPeriod.period]),
|
|
90862
90868
|
sum: -1
|
|
90863
90869
|
};
|
|
@@ -90884,9 +90890,9 @@ class AnalyticsQueryEngine {
|
|
|
90884
90890
|
const seriesQuery = {
|
|
90885
90891
|
start: query.start,
|
|
90886
90892
|
end: query.end,
|
|
90887
|
-
currency: query.currency,
|
|
90888
90893
|
select: query.select,
|
|
90889
|
-
metrics: query.metrics
|
|
90894
|
+
metrics: query.metrics,
|
|
90895
|
+
currency: query.currency
|
|
90890
90896
|
};
|
|
90891
90897
|
return await this._analyticsStore.getMatchingSeries(seriesQuery);
|
|
90892
90898
|
}
|
|
@@ -90928,30 +90934,37 @@ const logger = childLogger(["reactor-browser", "analytics", "provider"]);
|
|
|
90928
90934
|
const defaultQueryClient = new QueryClient();
|
|
90929
90935
|
const analyticsOptionsKey = ["analytics", "options"];
|
|
90930
90936
|
const analyticsStoreKey = ["analytics", "store"];
|
|
90931
|
-
async function
|
|
90937
|
+
async function createOrGetAnalyticsStore(options2) {
|
|
90932
90938
|
const globalAnalytics = getGlobal("analytics");
|
|
90933
|
-
if (
|
|
90939
|
+
if (!options2 || !options2.databaseName) {
|
|
90940
|
+
if (globalAnalytics) {
|
|
90941
|
+
return globalAnalytics.store;
|
|
90942
|
+
} else {
|
|
90943
|
+
throw new Error("Analytics store options are required if no global analytics store is available");
|
|
90944
|
+
}
|
|
90945
|
+
}
|
|
90946
|
+
if (options2.databaseName === (globalAnalytics == null ? void 0 : globalAnalytics.options.databaseName)) {
|
|
90934
90947
|
logger.warn("Analytics store already initialized with the same database name. Returning existing store.");
|
|
90935
90948
|
return globalAnalytics.store;
|
|
90936
90949
|
}
|
|
90937
90950
|
const { BrowserAnalyticsStore } = await __vitePreload(async () => {
|
|
90938
|
-
const { BrowserAnalyticsStore: BrowserAnalyticsStore2 } = await import("./browser-
|
|
90951
|
+
const { BrowserAnalyticsStore: BrowserAnalyticsStore2 } = await import("./browser-CKAdkOdU.js");
|
|
90939
90952
|
return { BrowserAnalyticsStore: BrowserAnalyticsStore2 };
|
|
90940
90953
|
}, true ? __vite__mapDeps([7,2,1,3]) : void 0);
|
|
90941
|
-
const store = new BrowserAnalyticsStore(
|
|
90954
|
+
const store = new BrowserAnalyticsStore(options2);
|
|
90942
90955
|
await store.init();
|
|
90943
90956
|
const engine = new AnalyticsQueryEngine(store);
|
|
90944
|
-
setGlobal("analytics", { store, engine, options:
|
|
90957
|
+
setGlobal("analytics", { store, engine, options: options2 });
|
|
90945
90958
|
return store;
|
|
90946
90959
|
}
|
|
90947
|
-
function
|
|
90960
|
+
function useCreateOrGetAnalyticsStore(queryClient, options2) {
|
|
90948
90961
|
queryClient.setQueryDefaults(analyticsOptionsKey, {
|
|
90949
90962
|
queryFn: () => options2,
|
|
90950
90963
|
staleTime: Infinity,
|
|
90951
90964
|
gcTime: Infinity
|
|
90952
90965
|
});
|
|
90953
90966
|
queryClient.setQueryDefaults(analyticsStoreKey, {
|
|
90954
|
-
queryFn: () =>
|
|
90967
|
+
queryFn: () => createOrGetAnalyticsStore(options2),
|
|
90955
90968
|
staleTime: Infinity,
|
|
90956
90969
|
gcTime: Infinity
|
|
90957
90970
|
});
|
|
@@ -90970,8 +90983,11 @@ function useAnalyticsStore() {
|
|
|
90970
90983
|
});
|
|
90971
90984
|
return store.data;
|
|
90972
90985
|
}
|
|
90973
|
-
function AnalyticsProvider({ children,
|
|
90974
|
-
|
|
90986
|
+
function AnalyticsProvider({ children, queryClient = defaultQueryClient, ...props }) {
|
|
90987
|
+
const options2 = "options" in props ? props.options : "databaseName" in props && props.databaseName ? {
|
|
90988
|
+
databaseName: props.databaseName
|
|
90989
|
+
} : void 0;
|
|
90990
|
+
useCreateOrGetAnalyticsStore(queryClient, options2);
|
|
90975
90991
|
return jsx$1(QueryClientProvider, { client: queryClient, children });
|
|
90976
90992
|
}
|
|
90977
90993
|
function useAnalyticsEngine() {
|
|
@@ -91067,7 +91083,7 @@ atomStore.sub(reactorAtom, () => {
|
|
|
91067
91083
|
return atomStore.get(processorManagerAtom);
|
|
91068
91084
|
});
|
|
91069
91085
|
const Router = React__default.lazy(async () => {
|
|
91070
|
-
const createRouterComponent = await __vitePreload(() => import("./router-
|
|
91086
|
+
const createRouterComponent = await __vitePreload(() => import("./router-Dcntoskm.js").then((n2) => n2.r), true ? __vite__mapDeps([8,1,2,3]) : void 0);
|
|
91071
91087
|
const router = await createRouterComponent.default();
|
|
91072
91088
|
return { default: router };
|
|
91073
91089
|
});
|
|
@@ -91079,7 +91095,7 @@ const Preloader = () => {
|
|
|
91079
91095
|
return null;
|
|
91080
91096
|
};
|
|
91081
91097
|
const ReactorAnalyticsProvider = lazy(
|
|
91082
|
-
() => __vitePreload(() => import("./reactor-analytics-
|
|
91098
|
+
() => __vitePreload(() => import("./reactor-analytics-BGUerk08.js"), true ? __vite__mapDeps([9,1,2,3]) : void 0)
|
|
91083
91099
|
);
|
|
91084
91100
|
const App = () => /* @__PURE__ */ jsx$1(React__default.StrictMode, { children: /* @__PURE__ */ jsx$1(Suspense, { fallback: /* @__PURE__ */ jsx$1(Fragment, {}), children: /* @__PURE__ */ jsxs(Provider$1, { store: atomStore, children: [
|
|
91085
91101
|
/* @__PURE__ */ jsx$1(Preloader, {}),
|
|
@@ -91268,4 +91284,4 @@ export {
|
|
|
91268
91284
|
useDocumentDrives as y,
|
|
91269
91285
|
useReadModeContext as z
|
|
91270
91286
|
};
|
|
91271
|
-
//# sourceMappingURL=app-
|
|
91287
|
+
//# sourceMappingURL=app-DHGgyt5K.js.map
|