@powerhousedao/connect 1.1.0 → 1.1.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-SJyv410V.js → app-CZSKsD-w.js} +2434 -2314
- package/dist/assets/{app-Dtx0nq4m.css → app-W_mH4m8_.css} +2 -2
- package/dist/assets/{app-loader-3ipafc56.css → app-loader-4GyeoNTc.css} +3 -3
- package/dist/assets/{app-loader-BsJCIY3v.js → app-loader-CyUyHxMC.js} +23 -14
- package/dist/assets/{ccip-CWiYf37C.js → ccip-BPO0EeBI.js} +3 -3
- package/dist/assets/{content-DrqtiFBt.js → content-fzZoyU8t.js} +14 -13
- package/dist/assets/{index-CS0mQFrd.js → index-C3PlmBGF.js} +3 -3
- package/dist/assets/{index-n2OSuQ3g.js → index-DFiZ2Eug.js} +4 -4
- package/dist/assets/{index-DFoYtrS6.js → index-D_CfC9G5.js} +21 -13
- package/dist/assets/{main.BcxEuVs0.js → main.8RNzWcZO.js} +1 -1
- package/dist/assets/{style-0ej1afQi.css → style-U7Kx3_hE.css} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/package.json +9 -9
|
@@ -397,7 +397,7 @@
|
|
|
397
397
|
color: var(--color-gray-600);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
/*! tailwindcss v4.1.
|
|
400
|
+
/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */
|
|
401
401
|
@layer properties;
|
|
402
402
|
:root {
|
|
403
403
|
--toastify-color-light: #fff;
|
|
@@ -3137,7 +3137,7 @@
|
|
|
3137
3137
|
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
|
3138
3138
|
}
|
|
3139
3139
|
.transition {
|
|
3140
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter;
|
|
3140
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
|
|
3141
3141
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
3142
3142
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
3143
3143
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";
|
|
2
2
|
|
|
3
|
-
/*! tailwindcss v4.1.
|
|
4
|
-
/*! tailwindcss v4.1.
|
|
3
|
+
/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */
|
|
4
|
+
/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */
|
|
5
5
|
@layer properties {
|
|
6
6
|
@supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
|
|
7
7
|
*, :before, :after, ::backdrop {
|
|
@@ -3062,7 +3062,7 @@
|
|
|
3062
3062
|
}
|
|
3063
3063
|
|
|
3064
3064
|
.transition {
|
|
3065
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter;
|
|
3065
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
|
|
3066
3066
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
3067
3067
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
3068
3068
|
}
|
|
@@ -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-CZSKsD-w.js","assets/main.8RNzWcZO.js","assets/app-W_mH4m8_.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.8RNzWcZO.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) {
|
|
@@ -1893,13 +1893,14 @@ const base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z
|
|
|
1893
1893
|
const dateRegexSource = `((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`;
|
|
1894
1894
|
const dateRegex = new RegExp(`^${dateRegexSource}$`);
|
|
1895
1895
|
function timeRegexSource(args) {
|
|
1896
|
-
let
|
|
1896
|
+
let secondsRegexSource = `[0-5]\\d`;
|
|
1897
1897
|
if (args.precision) {
|
|
1898
|
-
|
|
1898
|
+
secondsRegexSource = `${secondsRegexSource}\\.\\d{${args.precision}}`;
|
|
1899
1899
|
} else if (args.precision == null) {
|
|
1900
|
-
|
|
1900
|
+
secondsRegexSource = `${secondsRegexSource}(\\.\\d+)?`;
|
|
1901
1901
|
}
|
|
1902
|
-
|
|
1902
|
+
const secondsQuantifier = args.precision ? "+" : "?";
|
|
1903
|
+
return `([01]\\d|2[0-3]):[0-5]\\d(:${secondsRegexSource})${secondsQuantifier}`;
|
|
1903
1904
|
}
|
|
1904
1905
|
function timeRegex(args) {
|
|
1905
1906
|
return new RegExp(`^${timeRegexSource(args)}$`);
|
|
@@ -14928,10 +14929,7 @@ function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
|
|
|
14928
14929
|
}
|
|
14929
14930
|
}
|
|
14930
14931
|
} else {
|
|
14931
|
-
node =
|
|
14932
|
-
{},
|
|
14933
|
-
Object.getOwnPropertyDescriptors(node)
|
|
14934
|
-
);
|
|
14932
|
+
node = { ...node };
|
|
14935
14933
|
for (const [editKey, editValue] of edits) {
|
|
14936
14934
|
node[editKey] = editValue;
|
|
14937
14935
|
}
|
|
@@ -20271,7 +20269,7 @@ function VariablesInAllowedPositionRule(context) {
|
|
|
20271
20269
|
},
|
|
20272
20270
|
leave(operation) {
|
|
20273
20271
|
const usages = context.getRecursiveVariableUsages(operation);
|
|
20274
|
-
for (const { node, type: type2, defaultValue } of usages) {
|
|
20272
|
+
for (const { node, type: type2, defaultValue, parentType } of usages) {
|
|
20275
20273
|
const varName = node.name.value;
|
|
20276
20274
|
const varDef = varDefMap[varName];
|
|
20277
20275
|
if (varDef && type2) {
|
|
@@ -20295,6 +20293,16 @@ function VariablesInAllowedPositionRule(context) {
|
|
|
20295
20293
|
)
|
|
20296
20294
|
);
|
|
20297
20295
|
}
|
|
20296
|
+
if (isInputObjectType(parentType) && parentType.isOneOf && isNullableType(varType)) {
|
|
20297
|
+
context.reportError(
|
|
20298
|
+
new GraphQLError(
|
|
20299
|
+
`Variable "$${varName}" is of type "${varType}" but must be non-nullable to be used for OneOf Input Object "${parentType}".`,
|
|
20300
|
+
{
|
|
20301
|
+
nodes: [varDef, node]
|
|
20302
|
+
}
|
|
20303
|
+
)
|
|
20304
|
+
);
|
|
20305
|
+
}
|
|
20298
20306
|
}
|
|
20299
20307
|
}
|
|
20300
20308
|
}
|
|
@@ -20478,7 +20486,8 @@ class ValidationContext extends ASTValidationContext {
|
|
|
20478
20486
|
newUsages.push({
|
|
20479
20487
|
node: variable,
|
|
20480
20488
|
type: typeInfo.getInputType(),
|
|
20481
|
-
defaultValue: typeInfo.getDefaultValue()
|
|
20489
|
+
defaultValue: typeInfo.getDefaultValue(),
|
|
20490
|
+
parentType: typeInfo.getParentInputType()
|
|
20482
20491
|
});
|
|
20483
20492
|
}
|
|
20484
20493
|
})
|
|
@@ -25829,7 +25838,7 @@ const nodeOptionsMap = {
|
|
|
25829
25838
|
};
|
|
25830
25839
|
const name = "@powerhousedao/connect";
|
|
25831
25840
|
const productName = "Powerhouse-Connect";
|
|
25832
|
-
const version$1 = "1.1.
|
|
25841
|
+
const version$1 = "1.1.1";
|
|
25833
25842
|
const description = "Powerhouse Connect";
|
|
25834
25843
|
const main = "./dist/index.html";
|
|
25835
25844
|
const type = "module";
|
|
@@ -31451,7 +31460,7 @@ if (window.__VITE_ENVS.MODE === "development") {
|
|
|
31451
31460
|
} else {
|
|
31452
31461
|
serviceWorkerManager.registerServiceWorker(false);
|
|
31453
31462
|
}
|
|
31454
|
-
const App = lazy(() => __vitePreload(() => import("./app-
|
|
31463
|
+
const App = lazy(() => __vitePreload(() => import("./app-CZSKsD-w.js").then((n) => n.a_), true ? __vite__mapDeps([0,1,2]) : void 0));
|
|
31455
31464
|
const AppLoader = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(App, {}) });
|
|
31456
31465
|
const appLoader = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
31457
31466
|
__proto__: null,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aO as BaseError, aP as getUrl, aQ as stringify, aR as decodeErrorResult, aS as isAddressEqual, aT as localBatchGatewayUrl, aU as localBatchGatewayRequest, aV as call, aW as concat, aX as encodeAbiParameters, aY as HttpRequestError, aZ as isHex } from "./app-
|
|
2
|
-
import "./main.
|
|
1
|
+
import { aO as BaseError, aP as getUrl, aQ as stringify, aR as decodeErrorResult, aS as isAddressEqual, aT as localBatchGatewayUrl, aU as localBatchGatewayRequest, aV as call, aW as concat, aX as encodeAbiParameters, aY as HttpRequestError, aZ as isHex } from "./app-CZSKsD-w.js";
|
|
2
|
+
import "./main.8RNzWcZO.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
|
-
import "./app-loader-
|
|
4
|
+
import "./app-loader-CyUyHxMC.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
class OffchainLookupError extends BaseError {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment as Fragment$1 } from "react/jsx-runtime";
|
|
2
|
-
import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, k as SYNCING, I as INITIAL_SYNC, l as ConnectDropdownMenu, u as useOnClickOutside, n as useEventListener, o as useCopyToClipboard, p as Select, q as ENSAvatar, P as Provider, v as Root3, T as Trigger, w as Portal, x as Content2, y as validateInitialState, z as validateStateSchemaName, A as validateModules, D as useDocumentDrives, F as useUiNodesContext, G as useDriveContext, H as FILE$1, J as useUnwrappedReactor, K as useConnectDid, L as useConnectCrypto, N as useTranslation, O as useModal, Q as useAtomValue, U as themeAtom, V as useUser, W as useUserPermissions$1, X as useUiNodes, Y as exportFile, Z as useGetDocumentModelModule, _ as addActionContext$1, $ as signOperation$1, a0 as useDocumentDriveServer, a1 as useHotkeys, a2 as useGetEditor, a3 as isSameDocument, a4 as useNavigate, a5 as ErrorBoundary, a6 as DriveLayout, a7 as DriveContextProvider, a8 as SearchBar, a9 as useAsyncReactor, aa as useFilteredDocumentModels, ab as useDriveEditor, ac as useDocumentDriveById, ad as useParams, ae as useDocumentDrives$1, af as toast } from "./app-
|
|
2
|
+
import { t as twMerge, B as Button, m as mergeClassNameProps, E as ERROR, M as MISSING, C as CONFLICT, S as SUCCESS, k as SYNCING, I as INITIAL_SYNC, l as ConnectDropdownMenu, u as useOnClickOutside, n as useEventListener, o as useCopyToClipboard, p as Select, q as ENSAvatar, P as Provider, v as Root3, T as Trigger, w as Portal, x as Content2, y as validateInitialState, z as validateStateSchemaName, A as validateModules, D as useDocumentDrives, F as useUiNodesContext, G as useDriveContext, H as FILE$1, J as useUnwrappedReactor, K as useConnectDid, L as useConnectCrypto, N as useTranslation, O as useModal, Q as useAtomValue, U as themeAtom, V as useUser, W as useUserPermissions$1, X as useUiNodes, Y as exportFile, Z as useGetDocumentModelModule, _ as addActionContext$1, $ as signOperation$1, a0 as useDocumentDriveServer, a1 as useHotkeys, a2 as useGetEditor, a3 as isSameDocument, a4 as useNavigate, a5 as ErrorBoundary, a6 as DriveLayout, a7 as DriveContextProvider, a8 as SearchBar, a9 as useAsyncReactor, aa as useFilteredDocumentModels, ab as useDriveEditor, ac as useDocumentDriveById, ad as useParams, ae as useDocumentDrives$1, af as toast } from "./app-CZSKsD-w.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import React__default, { useState, useCallback, useMemo, useEffect, Fragment, useRef, useLayoutEffect, memo as memo$1, createElement, useSyncExternalStore, Suspense } from "react";
|
|
5
|
-
import { _ as Icon, aX as getDimensions, aY as READ, aZ as nodeOptionsMap, a_ as defaultFileOptions, a$ as DELETE, b0 as RENAME, b1 as WRITE, b2 as DUPLICATE, b3 as defaultFolderOptions, b4 as garbageCollect, b5 as sortOperations, b6 as UI_NODE, aP as DRIVE, az as FILE, ae as buildSignedOperation, b7 as generateId$1, aw as isFolderNode, aB as generateNodesCopy, aC as copyNode, aA as moveNode, ay as updateNode, ax as deleteNode, ar as generateAddNodeAction, as as isFileNode, av as addFolder, b8 as undo, b9 as redo, ac as logger, ba as useDocumentDispatch$1, aQ as FOLDER, al as driveDocumentModelModule } from "./app-loader-
|
|
5
|
+
import { _ as Icon, aX as getDimensions, aY as READ, aZ as nodeOptionsMap, a_ as defaultFileOptions, a$ as DELETE, b0 as RENAME, b1 as WRITE, b2 as DUPLICATE, b3 as defaultFolderOptions, b4 as garbageCollect, b5 as sortOperations, b6 as UI_NODE, aP as DRIVE, az as FILE, ae as buildSignedOperation, b7 as generateId$1, aw as isFolderNode, aB as generateNodesCopy, aC as copyNode, aA as moveNode, ay as updateNode, ax as deleteNode, ar as generateAddNodeAction, as as isFileNode, av as addFolder, b8 as undo, b9 as redo, ac as logger, ba as useDocumentDispatch$1, aQ as FOLDER, al as driveDocumentModelModule } from "./app-loader-CyUyHxMC.js";
|
|
6
6
|
import { flushSync } from "react-dom";
|
|
7
|
-
import "./main.
|
|
7
|
+
import "./main.8RNzWcZO.js";
|
|
8
8
|
const PaginationButton = ({ active = false, ...props }) => {
|
|
9
9
|
const className = twMerge("h-8 min-w-8 border border-solid border-gray-300 bg-white px-3 py-1 text-xs text-gray-900 hover:bg-gray-100", !active && "border-0");
|
|
10
10
|
return jsx(Button, { color: "light", size: "small", ...mergeClassNameProps(props, className), children: props.children });
|
|
@@ -1874,7 +1874,7 @@ function notUndefined(value, msg) {
|
|
|
1874
1874
|
return value;
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
1877
|
-
const approxEqual = (a, b) => Math.abs(a - b)
|
|
1877
|
+
const approxEqual = (a, b) => Math.abs(a - b) <= 1;
|
|
1878
1878
|
const debounce = (targetWindow, fn, ms) => {
|
|
1879
1879
|
let timeoutId;
|
|
1880
1880
|
return function(...args) {
|
|
@@ -1882,6 +1882,10 @@ const debounce = (targetWindow, fn, ms) => {
|
|
|
1882
1882
|
timeoutId = targetWindow.setTimeout(() => fn.apply(this, args), ms);
|
|
1883
1883
|
};
|
|
1884
1884
|
};
|
|
1885
|
+
const getRect = (element) => {
|
|
1886
|
+
const { offsetWidth, offsetHeight } = element;
|
|
1887
|
+
return { width: offsetWidth, height: offsetHeight };
|
|
1888
|
+
};
|
|
1885
1889
|
const defaultKeyExtractor = (index) => index;
|
|
1886
1890
|
const defaultRangeExtractor = (range) => {
|
|
1887
1891
|
const start = Math.max(range.startIndex - range.overscan, 0);
|
|
@@ -1905,7 +1909,7 @@ const observeElementRect = (instance, cb) => {
|
|
|
1905
1909
|
const { width, height } = rect;
|
|
1906
1910
|
cb({ width: Math.round(width), height: Math.round(height) });
|
|
1907
1911
|
};
|
|
1908
|
-
handler(element
|
|
1912
|
+
handler(getRect(element));
|
|
1909
1913
|
if (!targetWindow.ResizeObserver) {
|
|
1910
1914
|
return () => {
|
|
1911
1915
|
};
|
|
@@ -1920,7 +1924,7 @@ const observeElementRect = (instance, cb) => {
|
|
|
1920
1924
|
return;
|
|
1921
1925
|
}
|
|
1922
1926
|
}
|
|
1923
|
-
handler(element
|
|
1927
|
+
handler(getRect(element));
|
|
1924
1928
|
};
|
|
1925
1929
|
instance.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(run) : run();
|
|
1926
1930
|
});
|
|
@@ -1981,9 +1985,7 @@ const measureElement = (element, entry, instance) => {
|
|
|
1981
1985
|
return size;
|
|
1982
1986
|
}
|
|
1983
1987
|
}
|
|
1984
|
-
return
|
|
1985
|
-
element.getBoundingClientRect()[instance.options.horizontal ? "width" : "height"]
|
|
1986
|
-
);
|
|
1988
|
+
return element[instance.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
1987
1989
|
};
|
|
1988
1990
|
const elementScroll = (offset, {
|
|
1989
1991
|
adjustments = 0,
|
|
@@ -2415,9 +2417,7 @@ class Virtualizer {
|
|
|
2415
2417
|
} else if (align === "end") {
|
|
2416
2418
|
toOffset -= size;
|
|
2417
2419
|
}
|
|
2418
|
-
const
|
|
2419
|
-
const scrollSize = this.scrollElement ? "document" in this.scrollElement ? this.scrollElement.document.documentElement[scrollSizeProp] : this.scrollElement[scrollSizeProp] : 0;
|
|
2420
|
-
const maxOffset = scrollSize - size;
|
|
2420
|
+
const maxOffset = this.getTotalSize() - size;
|
|
2421
2421
|
return Math.max(Math.min(maxOffset, toOffset), 0);
|
|
2422
2422
|
};
|
|
2423
2423
|
this.getOffsetForIndex = (index, align = "auto") => {
|
|
@@ -2484,7 +2484,8 @@ class Virtualizer {
|
|
|
2484
2484
|
const [latestOffset] = notUndefined(
|
|
2485
2485
|
this.getOffsetForIndex(index, align)
|
|
2486
2486
|
);
|
|
2487
|
-
|
|
2487
|
+
const currentScrollOffset = this.getScrollOffset();
|
|
2488
|
+
if (!approxEqual(latestOffset, currentScrollOffset)) {
|
|
2488
2489
|
this.scrollToIndex(index, { align, behavior });
|
|
2489
2490
|
}
|
|
2490
2491
|
} else {
|
|
@@ -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-CyUyHxMC.js","assets/main.8RNzWcZO.js","assets/app-loader-4GyeoNTc.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { _ as __vitePreload } from "./main.8RNzWcZO.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-CyUyHxMC.js").then((n) => n.ca), true ? __vite__mapDeps([0,1,2]) : void 0);
|
|
6
6
|
createRoot(element).render(AppLoader.default);
|
|
7
7
|
}
|
|
8
8
|
const AppElement = document.getElementById("app");
|
|
@@ -10,10 +10,10 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
10
10
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
11
11
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
12
12
|
var _DB_NAME, _STORE_NAME, _KEY, _db, _BrowserKeyStorage_instances, useStore_fn, _subtleCrypto, _keyPair, _keyPairStorage, _did, _ConnectCrypto_instances, initCrypto_fn, initialize_fn, parseDid_fn, generateECDSAKeyPair_fn, exportKeyPair_fn, importKeyPair_fn, _sign, _verify, _store, _namespace, _BaseStorage_instances, buildKey_fn, _baseUrl, _store2, _connectId, _eventEmitter, _Renown_instances, updateUser_fn, getCredential_fn;
|
|
13
|
-
import { _ as __vitePreload } from "./main.
|
|
14
|
-
import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-
|
|
15
|
-
import { i, h, d, j, b, f, s } from "./app-
|
|
16
|
-
import { ah as connectConfig, ac as logger } from "./app-loader-
|
|
13
|
+
import { _ as __vitePreload } from "./main.8RNzWcZO.js";
|
|
14
|
+
import { r as rawKeyInHexfromUncompressed, c as compressedKeyInHexfromRaw, e as encodeDIDfromHexString, a as eventsExports, R as RENOWN_URL, g as getEnsInfo } from "./app-CZSKsD-w.js";
|
|
15
|
+
import { i, h, d, j, b, f, s } from "./app-CZSKsD-w.js";
|
|
16
|
+
import { ah as connectConfig, ac as logger } from "./app-loader-CyUyHxMC.js";
|
|
17
17
|
import "react/jsx-runtime";
|
|
18
18
|
import "react";
|
|
19
19
|
import "react-dom";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var _a2, _b;
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { t as twMerge, ag as clsx, ah as get, ai as set, aj as appendErrors, ak as useFormContext, al as Primitive, am as cva, an as FormProvider, ao as Controller, ap as Slot, aq as useForm, ar as Root2, as as List, at as Trigger, au as Content, av as setModelName, aw as setModelId, ax as setModelDescription, ay as setModelExtension, az as setAuthorName, aA as setAuthorWebsite, aB as setStateSchema, aC as setInitialState, aD as addModule, aE as setModuleName, aF as deleteModule, aG as addOperation, aH as setOperationName, aI as setOperationSchema, aJ as setOperationDescription, aK as deleteOperation, aL as addOperationError, aM as deleteOperationError, aN as setOperationErrorName } from "./app-
|
|
4
|
-
import { bb as inspect$1, bc as GraphQLError$1, bd as getNamedType, be as invariant$2, bf as isInputObjectType, bg as isScalarType, bh as isObjectType, bi as isInterfaceType, bj as isUnionType, bk as isEnumType, bl as print, bm as isPrintableAsBlockString, bn as Kind, bo as astFromValue$1, bp as DEFAULT_DEPRECATION_REASON, bq as isSpecifiedDirective, br as isSpecifiedScalarType, bs as isIntrospectionType, bt as z, bu as GraphQLScalarType, bv as specifiedRules$1, bw as GraphQLID, bx as GraphQLBoolean, by as GraphQLString, bz as GraphQLFloat, bA as GraphQLInt, bB as GraphQLDirective, bC as GraphQLObjectType, bD as GraphQLInterfaceType, bE as GraphQLUnionType, bF as GraphQLInputObjectType, bG as GraphQLEnumType, bH as isListType, bI as GraphQLList, bJ as isNonNullType, bK as GraphQLNonNull, bL as isNamedType, bM as getNullableType, bN as isLeafType, bO as GraphQLSchema, bP as buildSchema, bQ as buildASTSchema, bR as parse, bS as validate$2, Z as pascalCase, bT as visit, bU as extendSchema, $ as getDefaultExportFromCjs, bV as snakeCase, bW as constantCase, bX as isAbstractType, bY as BREAK, bZ as SchemaMetaFieldDef, b_ as TypeMetaFieldDef, b$ as TypeNameMetaFieldDef, c0 as isCompositeType, c1 as isOutputType, c2 as isInputType, c3 as assertAbstractType, c4 as doTypesOverlap, c5 as DirectiveLocation, c6 as NoUnusedFragmentsRule$1, c7 as ExecutableDefinitionsRule$1, c8 as validateSchema, c9 as sentenceCase, an as hashKey } from "./app-loader-
|
|
3
|
+
import { t as twMerge, ag as clsx, ah as get, ai as set, aj as appendErrors, ak as useFormContext, al as Primitive, am as cva, an as FormProvider, ao as Controller, ap as Slot, aq as useForm, ar as Root2, as as List, at as Trigger, au as Content, av as setModelName, aw as setModelId, ax as setModelDescription, ay as setModelExtension, az as setAuthorName, aA as setAuthorWebsite, aB as setStateSchema, aC as setInitialState, aD as addModule, aE as setModuleName, aF as deleteModule, aG as addOperation, aH as setOperationName, aI as setOperationSchema, aJ as setOperationDescription, aK as deleteOperation, aL as addOperationError, aM as deleteOperationError, aN as setOperationErrorName } from "./app-CZSKsD-w.js";
|
|
4
|
+
import { bb as inspect$1, bc as GraphQLError$1, bd as getNamedType, be as invariant$2, bf as isInputObjectType, bg as isScalarType, bh as isObjectType, bi as isInterfaceType, bj as isUnionType, bk as isEnumType, bl as print, bm as isPrintableAsBlockString, bn as Kind, bo as astFromValue$1, bp as DEFAULT_DEPRECATION_REASON, bq as isSpecifiedDirective, br as isSpecifiedScalarType, bs as isIntrospectionType, bt as z, bu as GraphQLScalarType, bv as specifiedRules$1, bw as GraphQLID, bx as GraphQLBoolean, by as GraphQLString, bz as GraphQLFloat, bA as GraphQLInt, bB as GraphQLDirective, bC as GraphQLObjectType, bD as GraphQLInterfaceType, bE as GraphQLUnionType, bF as GraphQLInputObjectType, bG as GraphQLEnumType, bH as isListType, bI as GraphQLList, bJ as isNonNullType, bK as GraphQLNonNull, bL as isNamedType, bM as getNullableType, bN as isLeafType, bO as GraphQLSchema, bP as buildSchema, bQ as buildASTSchema, bR as parse, bS as validate$2, Z as pascalCase, bT as visit, bU as extendSchema, $ as getDefaultExportFromCjs, bV as snakeCase, bW as constantCase, bX as isAbstractType, bY as BREAK, bZ as SchemaMetaFieldDef, b_ as TypeMetaFieldDef, b$ as TypeNameMetaFieldDef, c0 as isCompositeType, c1 as isOutputType, c2 as isInputType, c3 as assertAbstractType, c4 as doTypesOverlap, c5 as DirectiveLocation, c6 as NoUnusedFragmentsRule$1, c7 as ExecutableDefinitionsRule$1, c8 as validateSchema, c9 as sentenceCase, an as hashKey } from "./app-loader-CyUyHxMC.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import React__default, { useState, useEffect, createContext, useContext, forwardRef, useRef, useCallback, useImperativeHandle, useId, memo, useMemo } from "react";
|
|
7
|
-
import "./main.
|
|
7
|
+
import "./main.8RNzWcZO.js";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
const versionInfo = Object.freeze({
|
|
10
10
|
major: 16,
|
|
11
|
-
minor:
|
|
11
|
+
minor: 11,
|
|
12
12
|
patch: 0,
|
|
13
13
|
preReleaseTag: null
|
|
14
14
|
});
|
|
@@ -19770,7 +19770,7 @@ class EditorView {
|
|
|
19770
19770
|
one change has been made in the current composition.
|
|
19771
19771
|
*/
|
|
19772
19772
|
get composing() {
|
|
19773
|
-
return this.inputState.composing > 0;
|
|
19773
|
+
return !!this.inputState && this.inputState.composing > 0;
|
|
19774
19774
|
}
|
|
19775
19775
|
/**
|
|
19776
19776
|
Indicates whether the user is currently in composing state. Note
|
|
@@ -19779,7 +19779,7 @@ class EditorView {
|
|
|
19779
19779
|
composition there.
|
|
19780
19780
|
*/
|
|
19781
19781
|
get compositionStarted() {
|
|
19782
|
-
return this.inputState.composing >= 0;
|
|
19782
|
+
return !!this.inputState && this.inputState.composing >= 0;
|
|
19783
19783
|
}
|
|
19784
19784
|
/**
|
|
19785
19785
|
The document or shadow root that the view lives in.
|
|
@@ -37763,10 +37763,7 @@ function requireVisitor() {
|
|
|
37763
37763
|
}
|
|
37764
37764
|
}
|
|
37765
37765
|
} else {
|
|
37766
|
-
node =
|
|
37767
|
-
{},
|
|
37768
|
-
Object.getOwnPropertyDescriptors(node)
|
|
37769
|
-
);
|
|
37766
|
+
node = { ...node };
|
|
37770
37767
|
for (const [editKey, editValue] of edits) {
|
|
37771
37768
|
node[editKey] = editValue;
|
|
37772
37769
|
}
|
|
@@ -43886,7 +43883,7 @@ function requireCoerceInputValue() {
|
|
|
43886
43883
|
return [coerceInputValueImpl(inputValue, itemType, onError, path)];
|
|
43887
43884
|
}
|
|
43888
43885
|
if ((0, _definition.isInputObjectType)(type2)) {
|
|
43889
|
-
if (!(0, _isObjectLike.isObjectLike)(inputValue)) {
|
|
43886
|
+
if (!(0, _isObjectLike.isObjectLike)(inputValue) || Array.isArray(inputValue)) {
|
|
43890
43887
|
onError(
|
|
43891
43888
|
(0, _Path.pathToArray)(path),
|
|
43892
43889
|
inputValue,
|
|
@@ -45436,7 +45433,7 @@ function requireVariablesInAllowedPositionRule() {
|
|
|
45436
45433
|
},
|
|
45437
45434
|
leave(operation) {
|
|
45438
45435
|
const usages = context.getRecursiveVariableUsages(operation);
|
|
45439
|
-
for (const { node, type: type2, defaultValue } of usages) {
|
|
45436
|
+
for (const { node, type: type2, defaultValue, parentType } of usages) {
|
|
45440
45437
|
const varName = node.name.value;
|
|
45441
45438
|
const varDef = varDefMap[varName];
|
|
45442
45439
|
if (varDef && type2) {
|
|
@@ -45460,6 +45457,16 @@ function requireVariablesInAllowedPositionRule() {
|
|
|
45460
45457
|
)
|
|
45461
45458
|
);
|
|
45462
45459
|
}
|
|
45460
|
+
if ((0, _definition.isInputObjectType)(parentType) && parentType.isOneOf && (0, _definition.isNullableType)(varType)) {
|
|
45461
|
+
context.reportError(
|
|
45462
|
+
new _GraphQLError.GraphQLError(
|
|
45463
|
+
`Variable "$${varName}" is of type "${varType}" but must be non-nullable to be used for OneOf Input Object "${parentType}".`,
|
|
45464
|
+
{
|
|
45465
|
+
nodes: [varDef, node]
|
|
45466
|
+
}
|
|
45467
|
+
)
|
|
45468
|
+
);
|
|
45469
|
+
}
|
|
45463
45470
|
}
|
|
45464
45471
|
}
|
|
45465
45472
|
}
|
|
@@ -45713,7 +45720,8 @@ function requireValidationContext() {
|
|
|
45713
45720
|
newUsages.push({
|
|
45714
45721
|
node: variable,
|
|
45715
45722
|
type: typeInfo.getInputType(),
|
|
45716
|
-
defaultValue: typeInfo.getDefaultValue()
|
|
45723
|
+
defaultValue: typeInfo.getDefaultValue(),
|
|
45724
|
+
parentType: typeInfo.getParentInputType()
|
|
45717
45725
|
});
|
|
45718
45726
|
}
|
|
45719
45727
|
})
|
|
@@ -109,7 +109,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
109
109
|
return baseModule().catch(handlePreloadError);
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
|
-
__vitePreload(() => import("./index-
|
|
112
|
+
__vitePreload(() => import("./index-C3PlmBGF.js"), true ? [] : void 0);
|
|
113
113
|
export {
|
|
114
114
|
__vitePreload as _
|
|
115
115
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
|
|
2
2
|
|
|
3
|
-
/*! tailwindcss v4.1.
|
|
3
|
+
/*! tailwindcss v4.1.5 | MIT License | https://tailwindcss.com */
|
|
4
4
|
@layer properties;
|
|
5
5
|
:root {
|
|
6
6
|
--toastify-color-light: #fff;
|
package/dist/index.html
CHANGED
|
@@ -64,4 +64,4 @@
|
|
|
64
64
|
"react-dom": "https://esm.sh/react-dom",
|
|
65
65
|
"react-dom/": "https://esm.sh/react-dom/"
|
|
66
66
|
}
|
|
67
|
-
}</script><script type="module" crossorigin="" src="/assets/main.
|
|
67
|
+
}</script><script type="module" crossorigin="" src="/assets/main.8RNzWcZO.js"></script></head><body><div id="app"></div></body></html>
|
package/dist/vite-envs.sh
CHANGED
|
@@ -11,7 +11,7 @@ replaceAll() {
|
|
|
11
11
|
}'
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+
|
|
14
|
+
html=$(echo "PCFET0NUWVBFIGh0bWw+PGh0bWw+PGhlYWQ+PG1ldGEgY2hhcnNldD0iVVRGLTgiPjxtZXRhIG5hbWU9InZpZXdwb3J0IiBjb250ZW50PSJ3aWR0aD1kZXZpY2Utd2lkdGgsaW5pdGlhbC1zY2FsZT0xIj48dGl0bGU+UG93ZXJob3VzZSBDb25uZWN0PC90aXRsZT48YmFzZSBocmVmPSIvIj48bGluayByZWw9Imljb24iIGhyZWY9Ii9pY29uLmljbyI+PCEtLSB2aXRlLWVudnMgc2NyaXB0IHBsYWNlaG9sZGVyIHhLc1BtTHMzMHN3S3NkSXNWeCAtLT48c2NyaXB0IHR5cGU9ImltcG9ydG1hcCI+ewogICJpbXBvcnRzIjogewogICAgInJlYWN0IjogImh0dHBzOi8vZXNtLnNoL3JlYWN0IiwKICAgICJyZWFjdC8iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QvIiwKICAgICJyZWFjdC1kb20iOiAiaHR0cHM6Ly9lc20uc2gvcmVhY3QtZG9tIiwKICAgICJyZWFjdC1kb20vIjogImh0dHBzOi8vZXNtLnNoL3JlYWN0LWRvbS8iCiAgfQp9PC9zY3JpcHQ+PHNjcmlwdCB0eXBlPSJtb2R1bGUiIGNyb3Nzb3JpZ2luPSIiIHNyYz0iL2Fzc2V0cy9tYWluLjhSTnpXY1pPLmpzIj48L3NjcmlwdD48L2hlYWQ+PGJvZHk+PGRpdiBpZD0iYXBwIj48L2Rpdj48L2JvZHk+PC9odG1sPg==" | base64 -d)
|
|
15
15
|
|
|
16
16
|
BASE_URL_base64="eEFwV2RSclg5OWtQclZnZ0UiLyIK"
|
|
17
17
|
BASE_URL=$(echo "Lwo=" | base64 -d)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/connect",
|
|
3
3
|
"productName": "Powerhouse-Connect",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.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.3.0",
|
|
83
83
|
"vite-tsconfig-paths": "^5.1.4",
|
|
84
84
|
"xvfb-maybe": "^0.2.1",
|
|
85
|
-
"@powerhousedao/builder-tools": "0.10.
|
|
86
|
-
"@powerhousedao/common": "1.11.
|
|
87
|
-
"@powerhousedao/config": "1.28.
|
|
88
|
-
"@powerhousedao/design-system": "1.40.
|
|
89
|
-
"@powerhousedao/reactor-browser": "1.23.
|
|
90
|
-
"
|
|
91
|
-
"document-model": "3.0.
|
|
92
|
-
"
|
|
85
|
+
"@powerhousedao/builder-tools": "0.10.1",
|
|
86
|
+
"@powerhousedao/common": "1.11.1",
|
|
87
|
+
"@powerhousedao/config": "1.28.1",
|
|
88
|
+
"@powerhousedao/design-system": "1.40.1",
|
|
89
|
+
"@powerhousedao/reactor-browser": "1.23.1",
|
|
90
|
+
"@powerhousedao/scalars": "2.0.1",
|
|
91
|
+
"document-model": "3.0.1",
|
|
92
|
+
"document-drive": "1.30.1"
|
|
93
93
|
},
|
|
94
94
|
"optionalDependencies": {
|
|
95
95
|
"@esbuild/linux-x64": "^0.21.4",
|