@powerhousedao/connect 1.0.0-dev.220 → 1.0.0-dev.221
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-oYMmxEg4.js → app-B8nf-deX.js} +148 -106
- package/dist/assets/{app-loader-BeDENjt_.js → app-loader-BDXofohd.js} +5 -5
- package/dist/assets/{browser-CXOATk-i.js → browser-E-4rGFna.js} +5 -5
- package/dist/assets/{ccip-BvX6f5m7.js → ccip-BLPIQK-p.js} +5 -5
- package/dist/assets/{content-Dx5DTk0e.js → content-Bov1x3ah.js} +57 -9
- package/dist/assets/{getEnsName-DNB1jgXF.js → getEnsName-DVtbpogo.js} +4 -4
- package/dist/assets/{index-t8f2apK5.js → index-BGTpM-hv.js} +6 -6
- package/dist/assets/{index-CxJ1Vq_H.js → index-C6rLvt8a.js} +3 -3
- package/dist/assets/{index-WXoiV0zm.js → index-DWpJ5RMK.js} +3 -3
- package/dist/assets/{isAddressEqual-DocwgR-l.js → isAddressEqual-HNfnZOzP.js} +1 -1
- package/dist/assets/{main.CDMuibNl.js → main.Bikg5D0d.js} +1 -1
- package/dist/assets/{react-error-boundary.esm-CWMHErCn.js → react-error-boundary.esm-BjyDQG6F.js} +2 -2
- package/dist/assets/{root-CxkOZa6M.js → root-BsPsBTqn.js} +6 -6
- package/dist/assets/{router-kNHA756e.js → router-CyGnAURP.js} +7 -8
- package/dist/index.html +6 -6
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-MT6QXFYC.js → chunk-22MXJF6S.js} +56 -24
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-5BAZISS7.js → chunk-2JKTZCPP.js} +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-LHXH5HR7.js → chunk-7K3IYNHM.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-VIGH2HV7.js → chunk-IQTSFTNF.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-JMVGM43L.js → chunk-LRNZZ3SR.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-PVRRQHLK.js → chunk-LX4MYGDV.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-6FYOYIRO.js → chunk-QDQLULSM.js} +2 -3
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-OZHQMTGT.js → chunk-R3DNAUCO.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/{chunk-N6IPBMAU.js → chunk-Y7NTRTMT.js} +1 -1
- package/dist/modules/@powerhousedao/reactor-browser/context/index.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/context/read-mode.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/document-model.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/hooks/index.js +6 -6
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDocumentEditor.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActions.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/hooks/useDriveActionsWithUiNodes.js +4 -4
- package/dist/modules/@powerhousedao/reactor-browser/index.js +10 -10
- package/dist/modules/@powerhousedao/reactor-browser/reactor.js +3 -3
- package/dist/modules/@powerhousedao/reactor-browser/utils/export-document.js +2 -2
- package/dist/modules/@powerhousedao/reactor-browser/utils/signature.js +2 -2
- package/dist/vite-envs.sh +1 -1
- package/package.json +8 -13
- /package/dist/modules/@powerhousedao/reactor-browser/{chunk-VPFTIVBD.js → chunk-FQF4YAVC.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-C6rLvt8a.js","assets/main.Bikg5D0d.js","assets/app-loader-BDXofohd.js","assets/app-loader-DaEnUcee.css","assets/browser-E-4rGFna.js","assets/getEnsName-DVtbpogo.js","assets/isAddressEqual-HNfnZOzP.js","assets/router-CyGnAURP.js","assets/PeopleFill-BxcdOZRn.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, _e, _observers, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _scopes, _mutationId, _g, _queryCache, _mutationCache2, _defaultOptions2, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _getDocumentModelModule, _drives, _ReadModeService_instances, parseGraphQLErrors_fn, fetchDrive_fn, _InternalTransmitter_instances, buildInternalOperationUpdate_fn, _i;
|
|
22
|
-
import { _ as __vitePreload } from "./main.
|
|
22
|
+
import { _ as __vitePreload } from "./main.Bikg5D0d.js";
|
|
23
23
|
import { jsx as jsx$1, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
24
|
-
import { g as getI18n, a as getDefaults, o as o$3, s as s$4, n as n$4, L as L$1, c as connectConfig, l as logger$2, b as childLogger, d as serviceWorkerManager, p as packageJson, t as t$4 } from "./app-loader-
|
|
24
|
+
import { g as getI18n, a as getDefaults, o as o$3, s as s$4, n as n$4, L as L$1, c as connectConfig, l as logger$2, b as childLogger, d as serviceWorkerManager, p as packageJson, t as t$4 } from "./app-loader-BDXofohd.js";
|
|
25
25
|
import * as React from "react";
|
|
26
26
|
import React__default, { createElement, isValidElement, cloneElement, Children, createContext, useContext, useState, useRef, useEffect, useMemo, useLayoutEffect, useCallback, Suspense, lazy, forwardRef, Component, Fragment, useId as useId$1, useSyncExternalStore, useReducer, useDebugValue } from "react";
|
|
27
27
|
import * as ReactDOM from "react-dom";
|
|
@@ -27081,77 +27081,6 @@ const h$2 = React__default.forwardRef(({ className: e2, ...a2 }, o2) => /* @__PU
|
|
|
27081
27081
|
}
|
|
27082
27082
|
));
|
|
27083
27083
|
h$2.displayName = Ve.Item.displayName;
|
|
27084
|
-
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
27085
|
-
const cx = clsx;
|
|
27086
|
-
const cva = (base, config) => (props) => {
|
|
27087
|
-
var _config_compoundVariants;
|
|
27088
|
-
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27089
|
-
const { variants, defaultVariants } = config;
|
|
27090
|
-
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
27091
|
-
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
27092
|
-
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
27093
|
-
if (variantProp === null) return null;
|
|
27094
|
-
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
27095
|
-
return variants[variant][variantKey];
|
|
27096
|
-
});
|
|
27097
|
-
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
27098
|
-
let [key, value] = param;
|
|
27099
|
-
if (value === void 0) {
|
|
27100
|
-
return acc;
|
|
27101
|
-
}
|
|
27102
|
-
acc[key] = value;
|
|
27103
|
-
return acc;
|
|
27104
|
-
}, {});
|
|
27105
|
-
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
27106
|
-
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
27107
|
-
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
27108
|
-
let [key, value] = param2;
|
|
27109
|
-
return Array.isArray(value) ? value.includes({
|
|
27110
|
-
...defaultVariants,
|
|
27111
|
-
...propsWithoutUndefined
|
|
27112
|
-
}[key]) : {
|
|
27113
|
-
...defaultVariants,
|
|
27114
|
-
...propsWithoutUndefined
|
|
27115
|
-
}[key] === value;
|
|
27116
|
-
}) ? [
|
|
27117
|
-
...acc,
|
|
27118
|
-
cvClass,
|
|
27119
|
-
cvClassName
|
|
27120
|
-
] : acc;
|
|
27121
|
-
}, []);
|
|
27122
|
-
return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27123
|
-
};
|
|
27124
|
-
const u$3 = cva(
|
|
27125
|
-
n(
|
|
27126
|
-
"inline-flex items-center justify-center gap-2",
|
|
27127
|
-
"whitespace-nowrap rounded-md text-sm font-medium",
|
|
27128
|
-
"transition-colors",
|
|
27129
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
27130
|
-
"disabled:pointer-events-none",
|
|
27131
|
-
"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
|
|
27132
|
-
),
|
|
27133
|
-
{
|
|
27134
|
-
variants: {
|
|
27135
|
-
variant: {
|
|
27136
|
-
default: "",
|
|
27137
|
-
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
27138
|
-
ghost: "hover:bg-accent hover:text-accent-foreground"
|
|
27139
|
-
}
|
|
27140
|
-
},
|
|
27141
|
-
defaultVariants: {
|
|
27142
|
-
variant: "default"
|
|
27143
|
-
}
|
|
27144
|
-
}
|
|
27145
|
-
), b$3 = React__default.forwardRef(
|
|
27146
|
-
({ variant: e2, className: o2, asChild: n$12 = false, ...r2 }, i2) => /* @__PURE__ */ jsx$1(
|
|
27147
|
-
n$12 ? Slot : "button",
|
|
27148
|
-
{
|
|
27149
|
-
className: n(u$3({ variant: e2, className: o2 })),
|
|
27150
|
-
ref: i2,
|
|
27151
|
-
...r2
|
|
27152
|
-
}
|
|
27153
|
-
)
|
|
27154
|
-
);
|
|
27155
27084
|
var POPOVER_NAME = "Popover";
|
|
27156
27085
|
var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
|
|
27157
27086
|
createPopperScope
|
|
@@ -27770,6 +27699,77 @@ const j = (t2) => typeof t2 == "string" ? /* @__PURE__ */ jsx$1(
|
|
|
27770
27699
|
] })
|
|
27771
27700
|
] });
|
|
27772
27701
|
};
|
|
27702
|
+
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
27703
|
+
const cx = clsx;
|
|
27704
|
+
const cva = (base, config) => (props) => {
|
|
27705
|
+
var _config_compoundVariants;
|
|
27706
|
+
if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27707
|
+
const { variants, defaultVariants } = config;
|
|
27708
|
+
const getVariantClassNames = Object.keys(variants).map((variant) => {
|
|
27709
|
+
const variantProp = props === null || props === void 0 ? void 0 : props[variant];
|
|
27710
|
+
const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
|
|
27711
|
+
if (variantProp === null) return null;
|
|
27712
|
+
const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
|
|
27713
|
+
return variants[variant][variantKey];
|
|
27714
|
+
});
|
|
27715
|
+
const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
|
|
27716
|
+
let [key, value] = param;
|
|
27717
|
+
if (value === void 0) {
|
|
27718
|
+
return acc;
|
|
27719
|
+
}
|
|
27720
|
+
acc[key] = value;
|
|
27721
|
+
return acc;
|
|
27722
|
+
}, {});
|
|
27723
|
+
const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
|
|
27724
|
+
let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;
|
|
27725
|
+
return Object.entries(compoundVariantOptions).every((param2) => {
|
|
27726
|
+
let [key, value] = param2;
|
|
27727
|
+
return Array.isArray(value) ? value.includes({
|
|
27728
|
+
...defaultVariants,
|
|
27729
|
+
...propsWithoutUndefined
|
|
27730
|
+
}[key]) : {
|
|
27731
|
+
...defaultVariants,
|
|
27732
|
+
...propsWithoutUndefined
|
|
27733
|
+
}[key] === value;
|
|
27734
|
+
}) ? [
|
|
27735
|
+
...acc,
|
|
27736
|
+
cvClass,
|
|
27737
|
+
cvClassName
|
|
27738
|
+
] : acc;
|
|
27739
|
+
}, []);
|
|
27740
|
+
return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
|
|
27741
|
+
};
|
|
27742
|
+
const u$3 = cva(
|
|
27743
|
+
n(
|
|
27744
|
+
"inline-flex items-center justify-center gap-2",
|
|
27745
|
+
"whitespace-nowrap rounded-md text-sm font-medium",
|
|
27746
|
+
"transition-colors",
|
|
27747
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
27748
|
+
"disabled:pointer-events-none",
|
|
27749
|
+
"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
|
|
27750
|
+
),
|
|
27751
|
+
{
|
|
27752
|
+
variants: {
|
|
27753
|
+
variant: {
|
|
27754
|
+
default: "",
|
|
27755
|
+
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
|
|
27756
|
+
ghost: "hover:bg-accent hover:text-accent-foreground"
|
|
27757
|
+
}
|
|
27758
|
+
},
|
|
27759
|
+
defaultVariants: {
|
|
27760
|
+
variant: "default"
|
|
27761
|
+
}
|
|
27762
|
+
}
|
|
27763
|
+
), b$3 = React__default.forwardRef(
|
|
27764
|
+
({ variant: e2, className: o2, asChild: n$12 = false, ...r2 }, i2) => /* @__PURE__ */ jsx$1(
|
|
27765
|
+
n$12 ? Slot : "button",
|
|
27766
|
+
{
|
|
27767
|
+
className: n(u$3({ variant: e2, className: o2 })),
|
|
27768
|
+
ref: i2,
|
|
27769
|
+
...r2
|
|
27770
|
+
}
|
|
27771
|
+
)
|
|
27772
|
+
);
|
|
27773
27773
|
const l$1 = ({ children: o2 }) => /* @__PURE__ */ jsx$1("div", { className: "flex flex-col gap-2", children: o2 });
|
|
27774
27774
|
var [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [
|
|
27775
27775
|
createPopperScope
|
|
@@ -50198,7 +50198,8 @@ buildInternalOperationUpdate_fn = async function(strand) {
|
|
|
50198
50198
|
}
|
|
50199
50199
|
return operations;
|
|
50200
50200
|
};
|
|
50201
|
-
const PULL_DRIVE_INTERVAL =
|
|
50201
|
+
const PULL_DRIVE_INTERVAL = 1500;
|
|
50202
|
+
const MAX_REVISIONS_PER_ACK = 100;
|
|
50202
50203
|
const _PullResponderTransmitter = class _PullResponderTransmitter {
|
|
50203
50204
|
constructor(listener, manager) {
|
|
50204
50205
|
__publicField(this, "logger", childLogger([
|
|
@@ -50307,25 +50308,37 @@ const _PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
50307
50308
|
}))
|
|
50308
50309
|
}));
|
|
50309
50310
|
}
|
|
50310
|
-
static async acknowledgeStrands(
|
|
50311
|
-
var _a2;
|
|
50311
|
+
static async acknowledgeStrands(url, listenerId, revisions) {
|
|
50312
50312
|
this.staticLogger.verbose(`acknowledgeStrands(url: ${url}, listener: ${listenerId})`, revisions);
|
|
50313
|
-
const
|
|
50314
|
-
|
|
50315
|
-
|
|
50316
|
-
|
|
50317
|
-
|
|
50318
|
-
|
|
50319
|
-
}
|
|
50320
|
-
`, { listenerId, revisions });
|
|
50321
|
-
const error = (_a2 = result.errors) == null ? void 0 : _a2.at(0);
|
|
50322
|
-
if (error) {
|
|
50323
|
-
throw error;
|
|
50313
|
+
const chunks = [];
|
|
50314
|
+
for (let i2 = 0; i2 < revisions.length; i2 += MAX_REVISIONS_PER_ACK) {
|
|
50315
|
+
chunks.push(revisions.slice(i2, i2 + MAX_REVISIONS_PER_ACK));
|
|
50316
|
+
}
|
|
50317
|
+
if (chunks.length > 1) {
|
|
50318
|
+
this.staticLogger.verbose(`Breaking strand acknowledgement into ${chunks.length} chunks...`);
|
|
50324
50319
|
}
|
|
50325
|
-
|
|
50320
|
+
const results = await Promise.allSettled(chunks.map(async (chunk) => {
|
|
50321
|
+
var _a2;
|
|
50322
|
+
const result = await requestGraphql(url, gql`
|
|
50323
|
+
mutation acknowledge(
|
|
50324
|
+
$listenerId: String!
|
|
50325
|
+
$revisions: [ListenerRevisionInput]
|
|
50326
|
+
) {
|
|
50327
|
+
acknowledge(listenerId: $listenerId, revisions: $revisions)
|
|
50328
|
+
}
|
|
50329
|
+
`, { listenerId, revisions: chunk });
|
|
50330
|
+
const error = (_a2 = result.errors) == null ? void 0 : _a2.at(0);
|
|
50331
|
+
if (error) {
|
|
50332
|
+
throw error;
|
|
50333
|
+
}
|
|
50334
|
+
if (result.acknowledge === null || !result.acknowledge) {
|
|
50335
|
+
throw new Error("Error acknowledging strands");
|
|
50336
|
+
}
|
|
50337
|
+
}));
|
|
50338
|
+
const errors = results.filter((result) => result.status === "rejected");
|
|
50339
|
+
if (errors.length > 0) {
|
|
50326
50340
|
throw new Error("Error acknowledging strands");
|
|
50327
50341
|
}
|
|
50328
|
-
return result.acknowledge;
|
|
50329
50342
|
}
|
|
50330
50343
|
static async executePull(driveId, trigger, onStrandUpdate, onError, onRevisions, onAcknowledge) {
|
|
50331
50344
|
var _a2;
|
|
@@ -50333,8 +50346,10 @@ const _PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
50333
50346
|
try {
|
|
50334
50347
|
const { url, listenerId } = trigger.data;
|
|
50335
50348
|
const strands = await _PullResponderTransmitter.pullStrands(driveId, url, listenerId);
|
|
50349
|
+
this.staticLogger.verbose("Pulled strands...");
|
|
50336
50350
|
if (!strands.length) {
|
|
50337
50351
|
onRevisions == null ? void 0 : onRevisions([]);
|
|
50352
|
+
this.staticLogger.verbose("No new strands, skipping...");
|
|
50338
50353
|
return;
|
|
50339
50354
|
}
|
|
50340
50355
|
const listenerRevisions = [];
|
|
@@ -50344,6 +50359,7 @@ const _PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
50344
50359
|
scope: strand.scope,
|
|
50345
50360
|
branch: strand.branch
|
|
50346
50361
|
}));
|
|
50362
|
+
this.staticLogger.verbose("Processing strand...");
|
|
50347
50363
|
let error = void 0;
|
|
50348
50364
|
try {
|
|
50349
50365
|
const result = await onStrandUpdate(strand, {
|
|
@@ -50367,12 +50383,27 @@ const _PullResponderTransmitter = class _PullResponderTransmitter {
|
|
|
50367
50383
|
error
|
|
50368
50384
|
});
|
|
50369
50385
|
}
|
|
50386
|
+
this.staticLogger.verbose("Processed strands...");
|
|
50370
50387
|
onRevisions == null ? void 0 : onRevisions(listenerRevisions);
|
|
50371
|
-
|
|
50372
|
-
|
|
50373
|
-
|
|
50374
|
-
|
|
50388
|
+
this.staticLogger.verbose("Acknowledging strands...");
|
|
50389
|
+
let success = false;
|
|
50390
|
+
try {
|
|
50391
|
+
await _PullResponderTransmitter.acknowledgeStrands(url, listenerId, listenerRevisions.map((revision) => {
|
|
50392
|
+
const { error, ...rest } = revision;
|
|
50393
|
+
return rest;
|
|
50394
|
+
}));
|
|
50395
|
+
success = true;
|
|
50396
|
+
} catch (error) {
|
|
50397
|
+
this.staticLogger.error("ACK error", error);
|
|
50398
|
+
}
|
|
50399
|
+
if (success) {
|
|
50400
|
+
this.staticLogger.verbose("Acknowledged strands successfully.");
|
|
50401
|
+
} else {
|
|
50402
|
+
this.staticLogger.error("Failed to acknowledge strands");
|
|
50403
|
+
}
|
|
50404
|
+
onAcknowledge == null ? void 0 : onAcknowledge(success);
|
|
50375
50405
|
} catch (error) {
|
|
50406
|
+
this.staticLogger.error("Pull error", error);
|
|
50376
50407
|
onError(error);
|
|
50377
50408
|
}
|
|
50378
50409
|
}
|
|
@@ -51899,7 +51930,7 @@ const _ListenerManager = class _ListenerManager {
|
|
|
51899
51930
|
this.logger.verbose(`Abandoning push for sync unit ${syncUnit.syncId}: already up-to-date (${unitState.listenerRev} >= ${syncUnit.revision})`);
|
|
51900
51931
|
return;
|
|
51901
51932
|
} else {
|
|
51902
|
-
this.logger.verbose(`Listener out-of-date for sync unit ${syncUnit.
|
|
51933
|
+
this.logger.verbose(`Listener out-of-date for sync unit (${syncUnit.driveId}, ${syncUnit.scope}, ${syncUnit.documentId}): ${unitState == null ? void 0 : unitState.listenerRev} < ${syncUnit.revision}`);
|
|
51903
51934
|
}
|
|
51904
51935
|
const opData = [];
|
|
51905
51936
|
try {
|
|
@@ -52328,6 +52359,7 @@ class SynchronizationManager {
|
|
|
52328
52359
|
__publicField(this, "documentModelModules");
|
|
52329
52360
|
__publicField(this, "eventEmitter");
|
|
52330
52361
|
__publicField(this, "syncStatus", /* @__PURE__ */ new Map());
|
|
52362
|
+
__publicField(this, "logger", childLogger(["SynchronizationManager"]));
|
|
52331
52363
|
this.storage = storage;
|
|
52332
52364
|
this.cache = cache;
|
|
52333
52365
|
this.documentModelModules = documentModelModules;
|
|
@@ -52453,7 +52485,7 @@ class SynchronizationManager {
|
|
|
52453
52485
|
return cachedDocument;
|
|
52454
52486
|
}
|
|
52455
52487
|
} catch (e2) {
|
|
52456
|
-
logger
|
|
52488
|
+
this.logger.error("Error getting drive from cache", e2);
|
|
52457
52489
|
}
|
|
52458
52490
|
const driveStorage = await this.storage.getDrive(driveId);
|
|
52459
52491
|
const result = this._buildDocument(driveStorage);
|
|
@@ -52469,7 +52501,7 @@ class SynchronizationManager {
|
|
|
52469
52501
|
return cachedDocument;
|
|
52470
52502
|
}
|
|
52471
52503
|
} catch (e2) {
|
|
52472
|
-
logger
|
|
52504
|
+
this.logger.error("Error getting document from cache", e2);
|
|
52473
52505
|
}
|
|
52474
52506
|
const documentStorage = await this.storage.getDocument(driveId, documentId);
|
|
52475
52507
|
return this._buildDocument(documentStorage);
|
|
@@ -55360,8 +55392,7 @@ const getReactorDefaultDrivesConfig = () => {
|
|
|
55360
55392
|
system: true
|
|
55361
55393
|
}
|
|
55362
55394
|
],
|
|
55363
|
-
triggers: []
|
|
55364
|
-
pullInterval: 3e3
|
|
55395
|
+
triggers: []
|
|
55365
55396
|
}
|
|
55366
55397
|
})
|
|
55367
55398
|
);
|
|
@@ -55447,7 +55478,7 @@ const connectCrypto = (async () => {
|
|
|
55447
55478
|
return window.connectCrypto;
|
|
55448
55479
|
}
|
|
55449
55480
|
const { ConnectCrypto } = await __vitePreload(async () => {
|
|
55450
|
-
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-
|
|
55481
|
+
const { ConnectCrypto: ConnectCrypto2 } = await import("./index-C6rLvt8a.js");
|
|
55451
55482
|
return { ConnectCrypto: ConnectCrypto2 };
|
|
55452
55483
|
}, true ? __vite__mapDeps([0,1,2,3]) : void 0);
|
|
55453
55484
|
const { BrowserKeyStorage } = await __vitePreload(async () => {
|
|
@@ -55500,7 +55531,7 @@ function useRenown() {
|
|
|
55500
55531
|
return;
|
|
55501
55532
|
}
|
|
55502
55533
|
const { initRenownBrowser } = await __vitePreload(async () => {
|
|
55503
|
-
const { initRenownBrowser: initRenownBrowser2 } = await import("./browser-
|
|
55534
|
+
const { initRenownBrowser: initRenownBrowser2 } = await import("./browser-E-4rGFna.js");
|
|
55504
55535
|
return { initRenownBrowser: initRenownBrowser2 };
|
|
55505
55536
|
}, true ? __vite__mapDeps([4,5,1,6,2,3]) : void 0);
|
|
55506
55537
|
const renownBrowser = initRenownBrowser(did2);
|
|
@@ -73206,6 +73237,16 @@ function useDocumentDriveServer() {
|
|
|
73206
73237
|
},
|
|
73207
73238
|
[reactor]
|
|
73208
73239
|
);
|
|
73240
|
+
const getDocumentsIds = useCallback(
|
|
73241
|
+
async (driveId) => {
|
|
73242
|
+
if (!reactor) {
|
|
73243
|
+
throw new Error("Reactor is not loaded");
|
|
73244
|
+
}
|
|
73245
|
+
const ids = await reactor.getDocuments(driveId);
|
|
73246
|
+
return ids;
|
|
73247
|
+
},
|
|
73248
|
+
[reactor]
|
|
73249
|
+
);
|
|
73209
73250
|
const _addDriveOperation = useCallback(
|
|
73210
73251
|
async (driveId, action) => {
|
|
73211
73252
|
if (!reactor) {
|
|
@@ -73770,7 +73811,8 @@ function useDocumentDriveServer() {
|
|
|
73770
73811
|
clearStorage,
|
|
73771
73812
|
removeTrigger: handleRemoveTrigger,
|
|
73772
73813
|
addTrigger: handleAddTrigger,
|
|
73773
|
-
registerNewPullResponderTrigger
|
|
73814
|
+
registerNewPullResponderTrigger,
|
|
73815
|
+
getDocumentsIds
|
|
73774
73816
|
}),
|
|
73775
73817
|
[
|
|
73776
73818
|
addDocument,
|
|
@@ -73799,7 +73841,8 @@ function useDocumentDriveServer() {
|
|
|
73799
73841
|
renameNode,
|
|
73800
73842
|
setDriveAvailableOffline,
|
|
73801
73843
|
setDriveSharingType,
|
|
73802
|
-
handleUpdateFile
|
|
73844
|
+
handleUpdateFile,
|
|
73845
|
+
getDocumentsIds
|
|
73803
73846
|
]
|
|
73804
73847
|
);
|
|
73805
73848
|
}
|
|
@@ -75629,8 +75672,7 @@ function useUiNodes() {
|
|
|
75629
75672
|
system: true
|
|
75630
75673
|
}
|
|
75631
75674
|
],
|
|
75632
|
-
triggers: []
|
|
75633
|
-
pullInterval: 3e3
|
|
75675
|
+
triggers: []
|
|
75634
75676
|
});
|
|
75635
75677
|
p(t2("notifications.addDriveSuccess"), {
|
|
75636
75678
|
type: "connect-success"
|
|
@@ -80307,7 +80349,7 @@ const Analytics = () => {
|
|
|
80307
80349
|
return null;
|
|
80308
80350
|
};
|
|
80309
80351
|
const Router = React__default.lazy(async () => {
|
|
80310
|
-
const createRouterComponent = await __vitePreload(() => import("./router-
|
|
80352
|
+
const createRouterComponent = await __vitePreload(() => import("./router-CyGnAURP.js").then((n2) => n2.r), true ? __vite__mapDeps([7,1,8,2,3]) : void 0);
|
|
80311
80353
|
const router = await createRouterComponent.default();
|
|
80312
80354
|
return { default: router };
|
|
80313
80355
|
});
|
|
@@ -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-B8nf-deX.js","assets/main.Bikg5D0d.js"])))=>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, _ServiceWorkerManager_instances, handleServiceWorkerMessage_fn, handleServiceWorker_fn;
|
|
14
|
-
import { _ as __vitePreload } from "./main.
|
|
14
|
+
import { _ as __vitePreload } from "./main.Bikg5D0d.js";
|
|
15
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
16
|
import { Suspense, lazy } from "react";
|
|
17
17
|
const isString = (obj) => typeof obj === "string";
|
|
@@ -2639,7 +2639,7 @@ const childLogger = (tags) => {
|
|
|
2639
2639
|
};
|
|
2640
2640
|
const name = "@powerhousedao/connect";
|
|
2641
2641
|
const productName = "Powerhouse-Connect";
|
|
2642
|
-
const version = "1.0.0-dev.
|
|
2642
|
+
const version = "1.0.0-dev.221";
|
|
2643
2643
|
const description = "Powerhouse Connect";
|
|
2644
2644
|
const main = "./dist/index.html";
|
|
2645
2645
|
const imports = { "#*": "./src/*.js" };
|
|
@@ -2653,7 +2653,7 @@ const bugs = { "url": "https://github.com/powerhouse-inc/document-model-electron
|
|
|
2653
2653
|
const homepage = "https://github.com/powerhouse-inc/document-model-electron#readme";
|
|
2654
2654
|
const scripts = { "build:tsc": "tsc --build", "start": "electron-forge start", "package": "electron-forge package", "make": "PH_CONNECT_BASE_HREF=./ electron-forge make", "make:mac": "PH_CONNECT_BASE_HREF=./ electron-forge make -p darwin", "make:linux": "PH_CONNECT_BASE_HREF=./ electron-forge make -p linux", "make:windows": "PH_CONNECT_BASE_HREF=./ electron-forge make -p win32", "publish:electron": "electron-forge publish", "prepublishOnly": "npm run build", "lint": "eslint .", "lint:fix": "eslint --fix .", "format": 'prettier --write "**/*.+(js|ts|jsx|tsx|json)"', "dev:web": "vite -c vite.renderer.config.mts", "dev:nocache": "rm -rf node_modules/.vite && rm -rf node_modules/.cache && npm run dev:web", "build": "NODE_OPTIONS=--max-old-space-size=6144 vite build -c vite.renderer.config.mts", "preview:web": "vite preview -c vite.renderer.config.mts", "e2e": "playwright test", "cy:open": "cypress open", "build:service-worker": "tsc --build ./tsconfig.sw.json" };
|
|
2655
2655
|
const dependencies = {};
|
|
2656
|
-
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.22.2", "@tanstack/react-virtual": "^3.8.1", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-react": "^4.2.1", "asar": "^3.2.0", "autoprefixer": "^10.4.14", "cypress": "^13.11.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "postcss": "^8.4.33", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "
|
|
2656
|
+
const devDependencies = { "@electron-forge/cli": "^6.1.1", "@electron-forge/maker-deb": "^6.1.1", "@electron-forge/maker-rpm": "^6.1.1", "@electron-forge/maker-squirrel": "^6.1.1", "@electron-forge/maker-zip": "^6.1.1", "@electron-forge/plugin-vite": "^6.1.1", "@electron-forge/publisher-electron-release-server": "^6.2.1", "@electron-forge/publisher-github": "^7.2.0", "@electron-forge/shared-types": "^7.7.0", "@playwright/test": "^1.41.2", "@powerhousedao/builder-tools": "workspace:*", "@powerhousedao/common": "workspace:*", "@powerhousedao/config": "workspace:*", "@powerhousedao/design-system": "workspace:*", "@powerhousedao/reactor-browser": "workspace:*", "@powerhousedao/scalars": "workspace:*", "@sentry/browser": "^9.1.0", "@sentry/react": "^7.109.0", "@sentry/vite-plugin": "^2.22.2", "@tanstack/react-virtual": "^3.8.1", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.18", "@types/uuid": "^9.0.7", "@types/wicg-file-system-access": "^2020.9.6", "@vitejs/plugin-react": "^4.2.1", "asar": "^3.2.0", "autoprefixer": "^10.4.14", "cypress": "^13.11.0", "did-key-creator": "^1.2.0", "document-drive": "workspace:*", "document-model": "workspace:*", "electron": "30.0.0", "electron-is-dev": "^3.0.1", "electron-playwright-helpers": "^1.7.1", "electron-squirrel-startup": "^1.0.0", "electron-store": "^8.1.0", "esbuild": "^0.24.0", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "i18next": "^23.7.6", "jotai": "^2.1.0", "jotai-effect": "^1.1.6", "localforage": "^1.10.0", "lz-string": "^1.5.0", "playwright": "^1.41.2", "playwright-core": "^1.41.2", "postcss": "^8.4.33", "react": "^18.2.0", "react-dom": "^18.2.0", "react-error-boundary": "^4.0.11", "react-hotkeys-hook": "^4.5.0", "react-i18next": "^13.5.0", "react-router-dom": "^6.11.2", "tailwind-merge": "^1.14.0", "tailwind-scrollbar": "^3.1.0", "tailwindcss": "^3.4.1", "tailwindcss-animate": "^1.0.7", "tw-colors": "^1.2.6", "uuid": "^9.0.1", "viem": "^2.8.13", "vite": "^6.1.1", "vite-envs": "^4.4.11", "vite-plugin-html": "^3.2.2", "vite-plugin-node-polyfills": "^0.23.0", "vite-plugin-svgr": "^4.2.0", "xvfb-maybe": "^0.2.1" };
|
|
2657
2657
|
const optionalDependencies = { "@esbuild/linux-x64": "^0.21.4", "@rollup/rollup-linux-x64-musl": "4.14.3" };
|
|
2658
2658
|
const packageJson = {
|
|
2659
2659
|
name,
|
|
@@ -2827,7 +2827,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
2827
2827
|
} else {
|
|
2828
2828
|
serviceWorkerManager.registerServiceWorker(false);
|
|
2829
2829
|
}
|
|
2830
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
2830
|
+
const App = lazy(() => __vitePreload(() => import("./app-B8nf-deX.js").then((n2) => n2.dm), true ? __vite__mapDeps([0,1]) : void 0));
|
|
2831
2831
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
2832
2832
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2833
2833
|
__proto__: null,
|
|
@@ -7,11 +7,11 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
7
7
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
8
8
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
9
9
|
var _baseUrl, _store, _connectId, _eventEmitter, _Renown_instances, updateUser_fn, getCredential_fn, _store2, _namespace, _BaseStorage_instances, buildKey_fn;
|
|
10
|
-
import { B as BaseError$1, q as keccak256$1, s as checksumAddress, v as isHex, w as toHex, x as hexToBigInt, y as hexToNumber$1, z as bytesToHex$1, A as hexToBytes$1, C as numberToHex, F as parseAccount, H as Hash, G as createView, I as aexists, J as toBytes, K as aoutput, L as wrapConstructor, M as rotr, N as toBytes$1, O as size$2, P as trim, Q as keccak_256, T as stringify$1, U as isAddress, V as InvalidAddressError$1, W as stringToHex, X as wait, Y as InvalidInputRpcError, Z as withResolvers, _ as withRetry, $ as ahash, a0 as abytes$1, a1 as randomBytes, a2 as concatBytes$1, a3 as hexToBool, a4 as getAddress, a5 as createClient, a6 as defineChain, a7 as pad$2, a8 as mainnet, a9 as http, aa as RENOWN_URL } from "./app-
|
|
11
|
-
import { c as createCursor, a as concatHex, f as formatGwei, d as defineFormatter, g as getAction, p as prettyPrint, b as formatEther, e as getNodeError, U as UnknownNodeError, s as serializeStateOverride, h as assertRequest, i as formatTransactionRequest, j as extract, I as InvalidSerializableTransactionError, k as parseSignature, l as parseStructs, m as isStructSignature, n as InvalidAbiItemError, o as getChainContractAddress, q as encodeFunctionData, r as namehash, t as addressResolverAbi, u as packetToBytes, v as universalResolverResolveAbi, w as readContract, x as decodeFunctionResult, y as isNullUniversalResolverError, z as getCallError, A as getAbiItem, B as AbiEventNotFoundError, C as formatAbiItem, D as toEventSelector, E as encodeAbiParameters, F as getContractError, G as AbiEventSignatureEmptyTopicsError, H as AbiEventSignatureNotFoundError, J as DecodeLogTopicsMismatch, K as decodeAbiParameters, L as AbiDecodingDataSizeTooSmallError, P as PositionOutOfBoundsError, M as DecodeLogDataMismatch, T as TransactionNotFoundError, N as TransactionReceiptNotFoundError, O as multicall3Abi, Q as AbiDecodingZeroDataError, R as RawContractError, S as formatAbiItem$1, V as concat$1, W as integerRegex$1, X as bytesRegex$1, Y as BytesSizeMismatchError$1, Z as sliceHex, _ as InvalidChainIdError, $ as maxUint256, a0 as FeeCapTooHighError, a1 as TipAboveFeeCapError, a2 as slice$1, a3 as InvalidStorageKeySizeError, a4 as InvalidLegacyVError, a5 as deploylessCallViaBytecodeBytecode, a6 as WaitForTransactionReceiptTimeoutError, a7 as call, a8 as universalSignatureValidatorAbi, a9 as encodeDeployData, aa as universalSignatureValidatorByteCode, ab as CallExecutionError, ac as getEnsText, ad as getEnsName, ae as getEnsAvatar, af as maxUint16, ag as defineTransactionRequest } from "./getEnsName-
|
|
12
|
-
import { _ as __vitePreload } from "./main.
|
|
13
|
-
import { i as isAddressEqual } from "./isAddressEqual-
|
|
14
|
-
import { l as logger, c as connectConfig } from "./app-loader-
|
|
10
|
+
import { B as BaseError$1, q as keccak256$1, s as checksumAddress, v as isHex, w as toHex, x as hexToBigInt, y as hexToNumber$1, z as bytesToHex$1, A as hexToBytes$1, C as numberToHex, F as parseAccount, H as Hash, G as createView, I as aexists, J as toBytes, K as aoutput, L as wrapConstructor, M as rotr, N as toBytes$1, O as size$2, P as trim, Q as keccak_256, T as stringify$1, U as isAddress, V as InvalidAddressError$1, W as stringToHex, X as wait, Y as InvalidInputRpcError, Z as withResolvers, _ as withRetry, $ as ahash, a0 as abytes$1, a1 as randomBytes, a2 as concatBytes$1, a3 as hexToBool, a4 as getAddress, a5 as createClient, a6 as defineChain, a7 as pad$2, a8 as mainnet, a9 as http, aa as RENOWN_URL } from "./app-B8nf-deX.js";
|
|
11
|
+
import { c as createCursor, a as concatHex, f as formatGwei, d as defineFormatter, g as getAction, p as prettyPrint, b as formatEther, e as getNodeError, U as UnknownNodeError, s as serializeStateOverride, h as assertRequest, i as formatTransactionRequest, j as extract, I as InvalidSerializableTransactionError, k as parseSignature, l as parseStructs, m as isStructSignature, n as InvalidAbiItemError, o as getChainContractAddress, q as encodeFunctionData, r as namehash, t as addressResolverAbi, u as packetToBytes, v as universalResolverResolveAbi, w as readContract, x as decodeFunctionResult, y as isNullUniversalResolverError, z as getCallError, A as getAbiItem, B as AbiEventNotFoundError, C as formatAbiItem, D as toEventSelector, E as encodeAbiParameters, F as getContractError, G as AbiEventSignatureEmptyTopicsError, H as AbiEventSignatureNotFoundError, J as DecodeLogTopicsMismatch, K as decodeAbiParameters, L as AbiDecodingDataSizeTooSmallError, P as PositionOutOfBoundsError, M as DecodeLogDataMismatch, T as TransactionNotFoundError, N as TransactionReceiptNotFoundError, O as multicall3Abi, Q as AbiDecodingZeroDataError, R as RawContractError, S as formatAbiItem$1, V as concat$1, W as integerRegex$1, X as bytesRegex$1, Y as BytesSizeMismatchError$1, Z as sliceHex, _ as InvalidChainIdError, $ as maxUint256, a0 as FeeCapTooHighError, a1 as TipAboveFeeCapError, a2 as slice$1, a3 as InvalidStorageKeySizeError, a4 as InvalidLegacyVError, a5 as deploylessCallViaBytecodeBytecode, a6 as WaitForTransactionReceiptTimeoutError, a7 as call, a8 as universalSignatureValidatorAbi, a9 as encodeDeployData, aa as universalSignatureValidatorByteCode, ab as CallExecutionError, ac as getEnsText, ad as getEnsName, ae as getEnsAvatar, af as maxUint16, ag as defineTransactionRequest } from "./getEnsName-DVtbpogo.js";
|
|
12
|
+
import { _ as __vitePreload } from "./main.Bikg5D0d.js";
|
|
13
|
+
import { i as isAddressEqual } from "./isAddressEqual-HNfnZOzP.js";
|
|
14
|
+
import { l as logger, c as connectConfig } from "./app-loader-BDXofohd.js";
|
|
15
15
|
import "react/jsx-runtime";
|
|
16
16
|
import "react";
|
|
17
17
|
import "react-dom";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ah as decodeErrorResult, a7 as call, V as concat, E as encodeAbiParameters } from "./getEnsName-
|
|
2
|
-
import { B as BaseError, bN as getUrl, T as stringify, bO as HttpRequestError, v as isHex } from "./app-
|
|
3
|
-
import { i as isAddressEqual } from "./isAddressEqual-
|
|
4
|
-
import "./main.
|
|
1
|
+
import { ah as decodeErrorResult, a7 as call, V as concat, E as encodeAbiParameters } from "./getEnsName-DVtbpogo.js";
|
|
2
|
+
import { B as BaseError, bN as getUrl, T as stringify, bO as HttpRequestError, v as isHex } from "./app-B8nf-deX.js";
|
|
3
|
+
import { i as isAddressEqual } from "./isAddressEqual-HNfnZOzP.js";
|
|
4
|
+
import "./main.Bikg5D0d.js";
|
|
5
5
|
import "react/jsx-runtime";
|
|
6
|
-
import "./app-loader-
|
|
6
|
+
import "./app-loader-BDXofohd.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
import "@powerhousedao/reactor-browser/hooks/useUiNodesContext";
|