@powerhousedao/reactor-browser 6.2.3-dev.85 → 6.2.3-dev.87

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.
Files changed (49) hide show
  1. package/dist/{attachment-service-BuPjCTlF.d.ts → attachment-service-BZVL5UJ1.d.ts} +36 -38
  2. package/dist/attachment-service-BZVL5UJ1.d.ts.map +1 -0
  3. package/dist/auth-DzIYxeEJ.d.ts +32 -0
  4. package/dist/auth-DzIYxeEJ.d.ts.map +1 -0
  5. package/dist/{client-BUpynoY6.js → client-BNMyQ_Z2.js} +28 -1
  6. package/dist/client-BNMyQ_Z2.js.map +1 -0
  7. package/dist/{client-XPGQrO4a.d.ts → client-C-NgSjoc.d.ts} +3 -2
  8. package/dist/client-C-NgSjoc.d.ts.map +1 -0
  9. package/dist/{document-model-modules-D-VXC3ET.js → document-model-modules-ChmfyIxT.js} +2 -2
  10. package/dist/{document-model-modules-D-VXC3ET.js.map → document-model-modules-ChmfyIxT.js.map} +1 -1
  11. package/dist/{document-operations-CsiIPsx9.js → document-operations-DCwmgcLe.js} +103 -13
  12. package/dist/document-operations-DCwmgcLe.js.map +1 -0
  13. package/dist/{global-DY6FeQYj.d.ts → global-bbfp3_1x.d.ts} +6 -4
  14. package/dist/{global-DY6FeQYj.d.ts.map → global-bbfp3_1x.d.ts.map} +1 -1
  15. package/dist/{index-C5yCJAVE.d.ts → index-31WV0-fD.d.ts} +2 -2
  16. package/dist/{index-C5yCJAVE.d.ts.map → index-31WV0-fD.d.ts.map} +1 -1
  17. package/dist/index.d.ts +27 -7
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +85 -15
  20. package/dist/index.js.map +1 -1
  21. package/dist/{navigation-BqphkrOB.js → renown-CBoTdGrg.js} +96 -4
  22. package/dist/renown-CBoTdGrg.js.map +1 -0
  23. package/dist/{renown-BtjgHBjH.js → renown-a_8pPr10.js} +2 -3
  24. package/dist/{renown-BtjgHBjH.js.map → renown-a_8pPr10.js.map} +1 -1
  25. package/dist/{types-BNVqRNli.d.ts → schema-Bn6L3QR1.d.ts} +15 -57
  26. package/dist/schema-Bn6L3QR1.d.ts.map +1 -0
  27. package/dist/src/ai/index.d.ts +198 -7
  28. package/dist/src/ai/index.d.ts.map +1 -1
  29. package/dist/src/ai/index.js +657 -138
  30. package/dist/src/ai/index.js.map +1 -1
  31. package/dist/src/graphql/client.d.ts +2 -2
  32. package/dist/src/graphql/client.js +1 -1
  33. package/dist/src/graphql-client/entry.d.ts +5 -4
  34. package/dist/src/graphql-client/entry.js +2 -2
  35. package/dist/src/renown/index.d.ts +1 -1
  36. package/dist/src/renown/index.js +2 -2
  37. package/dist/{switchboard-DnvOmOx5.js → switchboard-B640iT1L.js} +2 -2
  38. package/dist/{switchboard-DnvOmOx5.js.map → switchboard-B640iT1L.js.map} +1 -1
  39. package/dist/types-CT44EMmw.d.ts +59 -0
  40. package/dist/types-CT44EMmw.d.ts.map +1 -0
  41. package/package.json +10 -10
  42. package/dist/attachment-service-BuPjCTlF.d.ts.map +0 -1
  43. package/dist/client-BUpynoY6.js.map +0 -1
  44. package/dist/client-XPGQrO4a.d.ts.map +0 -1
  45. package/dist/document-operations-CsiIPsx9.js.map +0 -1
  46. package/dist/navigation-BqphkrOB.js.map +0 -1
  47. package/dist/renown-BxkZYzbQ.js +0 -97
  48. package/dist/renown-BxkZYzbQ.js.map +0 -1
  49. package/dist/types-BNVqRNli.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
- import { c as ReactorGraphQLClient, r as GraphQLClientWindowEvents } from "./types-BNVqRNli.js";
2
1
  import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
2
+ import { c as ReactorGraphQLClient, r as GraphQLClientWindowEvents } from "./types-CT44EMmw.js";
3
3
  import { r as IWorkerAdminClient, t as IInspectorProxy } from "./inspector-proxy-DODqs15F.js";
4
4
  import { DragEventHandler, ReactNode } from "react";
5
- import { DocumentDispatch as DocumentDispatch$2, DocumentModelModule, Operation, PHDocument } from "@powerhousedao/shared/document-model";
5
+ import { DocumentDispatch as DocumentDispatch$2, DocumentModelModule, Operation, PHDocument, PhAiToolDescriptor } from "@powerhousedao/shared/document-model";
6
6
  import { IDocumentModelLoader, IReactorClient, IReactorReadClient, IReactorWriteClient, InProcessReactorClientModule, InProcessReactorModule, ReactorClientModule, ReactorModule } from "@powerhousedao/reactor";
7
7
  import { DocumentDriveDocument, Node } from "@powerhousedao/shared/document-drive";
8
8
  import { IRenown } from "@renown/sdk";
@@ -124,7 +124,7 @@ interface IReactorBrowserWriteClient extends Pick<IReactorWriteClient, "execute"
124
124
  * `executeAsync`/`executeBatch`, `createEmpty`, `rename` and the document
125
125
  * model module getters.
126
126
  */
127
- interface IReactorBrowserClient$1 extends Pick<IReactorClient, "get" | "find" | "subscribe" | "execute" | "getOperations" | "newDocument" | "create" | "deleteDocument"> {
127
+ interface IReactorBrowserClient$1 extends Pick<IReactorClient, "get" | "find" | "subscribe" | "execute" | "getOperations" | "newDocument" | "create" | "deleteDocument" | "undo" | "redo" | "undoRedoTargets" | "undoRedoAvailability"> {
128
128
  readonly read: IReactorBrowserReadClient;
129
129
  readonly write: IReactorBrowserWriteClient;
130
130
  }
@@ -609,6 +609,8 @@ type PHGlobal$1 = PHGlobalConfig$1 & {
609
609
  reactorGraphQLClient?: ReactorGraphQLClient | undefined;
610
610
  renown?: IRenown | LOADING;
611
611
  vetraPackageManager?: IPackageManager;
612
+ /** The tools the host app gives the AI agent; see `getHostAiTools`. */
613
+ aiTools?: () => Promise<PhAiToolDescriptor[]>;
612
614
  drives?: DocumentDriveDocument[];
613
615
  /**
614
616
  * Set when the app's backend refused the caller (401/403): the UI shows a
@@ -644,4 +646,4 @@ declare global {
644
646
  //#endregion
645
647
  export { IPackageManager as $, loadDriveNodes as A, PHGlobalConfigKey$1 as At, createPHStore as B, ReactorBrowserHalves$1 as Bt, DriveNodesCache as C, PHDocumentEditorConfigHooks$1 as Ct, dropDriveNode as D, PHGlobalConfig$1 as Dt, addDriveNodesEventHandler as E, PHDrivesGlobalConfig as Et, useDriveNodes as F, PHRenownGlobalConfig as Ft, notifyPHStore as G, IDocumentCache as Gt, getActivePHStore as H, DocumentRefetchState as Ht, useDriveNodesCache as I, PHSentryGlobalConfig as It, DraggingNode as J, OperationsCacheEntry as Jt, subscribePHStore as K, IDocumentTypeCache as Kt, PHStore as L, IReactorBrowserClient$1 as Lt, peekDriveNode as M, PHGlobalConfigSettersForKey as Mt, takeLocalDriveWrite as N, PHProcessorsGlobalConfig as Nt, getDriveNode as O, PHGlobalConfigHooks$1 as Ot, useDriveNode as P, PHRelationalProcessorsGlobalConfig as Pt, IPackageListerUnsubscribe as Q, PHStoreProvider as R, IReactorBrowserReadClient as Rt, WorkerReactorModule as S, PHDocumentEditorConfig$1 as St, DriveNodesOptions as T, PHDocumentEditorConfigSetters$1 as Tt, getPHStore as U, DocumentsOfTypeEntry as Ut, ensurePHStore as V, DocumentDispatch$2 as Vt, getPHStoreSubscribe as W, FulfilledPromise as Wt, useDragNode as X, PromiseWithState as Xt, addDraggingNodeEventHandler as Y, PromiseState as Yt, useDropNode as Z, RejectedPromise as Zt, SetEvent as _, PHAppConfig$1 as _t, LOADING as a, TimelineBarItem as at, UsePHGlobalValue$1 as b, PHAppConfigSetters$1 as bt, PHGlobalEventHandlerAdders as c, DiscoveryEvent as ct, PHNavigateOptions$1 as d, FailedInstallationReason as dt, IPackagesListener as et, PHNavigation$1 as f, IPackageDiscoveryService as ft, SearchParamsUpdate$1 as g, PHAnalyticsGlobalConfig as gt, PHSettingsTarget$1 as h, FullPHGlobalConfig as ht, BrowserReactorModule as i, PHToastType as it, markLocalDriveWrite as j, PHGlobalConfigSetters$1 as jt, invalidateDriveNodes as k, PHGlobalConfigHooksForKey as kt, PHGlobalKey$1 as l, DiscoveryEventListener as lt, PHSearchUpdate$1 as m, PHModal$1 as mt, BackendAuthState as n, PHToastFn as nt, PHDriveTarget as o, TimelineDividerItem as ot, PHNavigationTarget$1 as p, PendingInstallation as pt, usePHStore as q, IOperationCache as qt, BrowserReactorClientModule$1 as r, PHToastOptions as rt, PHGlobal$1 as s, TimelineItem as st, AddPHGlobalEventHandler$1 as t, PackageManagerInstallResult as tt, PHGlobalValue as u, FailedInstallation as ut, SetPHGlobalValue$1 as v, PHAppConfigHooks$1 as vt, DriveNodesEntry as w, PHDocumentEditorConfigKey$1 as wt, WorkerReactorClientModule$1 as x, PHCommonGlobalConfig as xt, SetSearchParams$1 as y, PHAppConfigKey$1 as yt, bindPHStoreToWindow as z, IReactorBrowserWriteClient as zt };
646
648
  export {};
647
- //# sourceMappingURL=global-DY6FeQYj.d.ts.map
649
+ //# sourceMappingURL=global-bbfp3_1x.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"global-DY6FeQYj.d.ts","names":[],"sources":["../src/types/documents.ts","../src/types/reactor-browser-client.ts","../src/types/config.ts","../src/types/modals.ts","../src/types/package-discovery.ts","../src/types/timeline.ts","../src/types/toast.ts","../src/types/vetra.ts","../src/hooks/node-drag-and-drop.ts","../src/hooks/ph-store.tsx","../src/hooks/drive-nodes.ts","../src/types/global.ts"],"mappings":";;;;;;;;;;;;;;KAOY,iBAAiB,KAAK,QAAQ,KAAK,aAAa;KAEhD,iBAAiB,KAAK,QAAQ;EACxC;EACA,OAAO;;KAGG,gBAAgB,KAAK,QAAQ;EACvC;EACA;;KAGU,aAAa;EAEnB;;EAEA;EAAqB,OAAO;;EAC5B;EAAoB;;;KAGd;EACV;EACA;;UAGe;EACf,IAAI,YAAY,oBAAoB,QAAQ;EAC5C,SAAS,eAAe,oBAAoB,QAAQ;EACpD,UAAU,uBAAuB;;EAEjC,iBAAiB,aAAa;;;KAIpB;;EAEV;;EAEA,qBAAqB;;EAErB;;EAEA;;;KAIU;;EAEV;;EAEA;;EAEA;;EAEA;;;;UAKe;;EAEf,wBAAwB,cAAc,gBAAgB;;EAEtD,oBAAoB,cAAc,gBAAgB;;EAElD,wBAAwB,cAAc;;EAEtC,yBACE,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;EAEA;;KAGU,aAAW;EACrB,aAAa;EACb;EACA,sBAAsB,+BAA6B;EACnD,gBAAgB;;EAEhB,UAAU;;EAEV,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,SAAS,UAAU;EACnB,sBAAsB;EACtB,SAAS;;;;;EAKT,cAAc;;EAEd,aAAa;EACb,gBAAgB;EAChB;EACA;EACA,eAAe;EACf,QAAQ;EACR;EACA,uBAAuB;EACvB,0BAA0B;EAC1B,WAAW;EACX,QAAQ;;KAGE,sBAAoB;KACpB,gBAAgB,WAAS;KAEzB,mBAAiB,eAAe,uBACxC;KAGQ,mBAAiB,eAAe,kBAC1C,OAAO;KAGG;KAEA,6BAA6B,OACvC,eACA;KAGU,SAAS,aAAa,iBAAe,eAC9C,OAAO,OAAO,WAAS;QAGlB;YACI;IACR,KAAK;;YAEG,uBAAuB"}
1
+ {"version":3,"file":"global-bbfp3_1x.d.ts","names":[],"sources":["../src/types/documents.ts","../src/types/reactor-browser-client.ts","../src/types/config.ts","../src/types/modals.ts","../src/types/package-discovery.ts","../src/types/timeline.ts","../src/types/toast.ts","../src/types/vetra.ts","../src/hooks/node-drag-and-drop.ts","../src/hooks/ph-store.tsx","../src/hooks/drive-nodes.ts","../src/types/global.ts"],"mappings":";;;;;;;;;;;;;;KAOY,iBAAiB,KAAK,QAAQ,KAAK,aAAa;KAEhD,iBAAiB,KAAK,QAAQ;EACxC;EACA,OAAO;;KAGG,gBAAgB,KAAK,QAAQ;EACvC;EACA;;KAGU,aAAa;EAEnB;;EAEA;EAAqB,OAAO;;EAC5B;EAAoB;;;KAGd;EACV;EACA;;UAGe;EACf,IAAI,YAAY,oBAAoB,QAAQ;EAC5C,SAAS,eAAe,oBAAoB,QAAQ;EACpD,UAAU,uBAAuB;;EAEjC,iBAAiB,aAAa;;;KAIpB;;EAEV;;EAEA,qBAAqB;;EAErB;;EAEA;;;KAIU;;EAEV;;EAEA;;EAEA;;EAEA;;;;UAKe;;EAEf,wBAAwB,cAAc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;IAAY;;;EAGd,mBAAmB;;EAEnB,sBAAsB;;;EAGtB;;;KAIU;EACV;;EAEA;;EAEA;;EAEA;;KAGU,aAAW;EACrB,aAAa;EACb;EACA,sBAAsB,+BAA6B;EACnD,gBAAgB;;EAEhB,UAAU;;EAEV,oBAAoB;EACpB,oBAAoB;EACpB,uBAAuB;EACvB,SAAS,UAAU;EACnB,sBAAsB;;EAEtB,gBAAgB,QAAQ;EACxB,SAAS;;;;;EAKT,cAAc;;EAEd,aAAa;EACb,gBAAgB;EAChB;EACA;EACA,eAAe;EACf,QAAQ;EACR;EACA,uBAAuB;EACvB,0BAA0B;EAC1B,WAAW;EACX,QAAQ;;KAGE,sBAAoB;KACpB,gBAAgB,WAAS;KAEzB,mBAAiB,eAAe,uBACxC;KAGQ,mBAAiB,eAAe,kBAC1C,OAAO;KAGG;KAEA,6BAA6B,OACvC,eACA;KAGU,SAAS,aAAa,iBAAe,eAC9C,OAAO,OAAO,WAAS;QAGlB;YACI;IACR,KAAK;;YAEG,uBAAuB"}
@@ -1,4 +1,4 @@
1
- import { a as LOADING } from "./global-DY6FeQYj.js";
1
+ import { a as LOADING } from "./global-bbfp3_1x.js";
2
2
  import { CSSProperties, ReactNode } from "react";
3
3
  import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE } from "@renown/sdk";
4
4
  import { LoginMethod, WalletAdapterDescriptor, WalletController, WalletSession, WalletTheme } from "@renown/sdk/wallet";
@@ -268,4 +268,4 @@ declare function useRenownWalletAdapter<T extends WalletController = WalletContr
268
268
  //#endregion
269
269
  export { useUser as $, RENOWN_RETURN_URL_STRIPPED_PARAMS as A, UserIcon as B, CREDENTIAL_SCHEMA_EIP712_TYPE as C, ISSUER_TYPE as D, DOMAIN_TYPE as E, ChevronDownIcon as F, RenownLoginButtonProps as G, RenownUserButtonMenuItem as H, CopyIcon as I, addRenownEventHandler as J, RenownAuthButton as K, DisconnectIcon as L, VERIFIABLE_CREDENTIAL_EIP712_TYPE as M, initConnectCrypto as N, RENOWN_CHAIN_ID as O, initRenownCrypto as P, useRenown as Q, RenownLogo as R, useRenownInitialUser as S, CREDENTIAL_TYPES as T, RenownUserButtonProps as U, RenownUserButton as V, RenownLoginButton as W, useDid as X, setRenown as Y, useLoginStatus as Z, RENOWN_INITIAL_UNKNOWN as _, RenownWalletProviderProps as a, RenownAuthResolution as at, RenownInitialUserProviderProps as b, Renown as c, useRenownAuthAsync as ct, useRenownInit as d, login as et, RenownSessionCookieOptions as f, RENOWN_INITIAL_ANONYMOUS as g, useRenownSessionSynced as h, RenownWalletProvider as i, RenownAuthAsync as it, RENOWN_URL as j, RENOWN_NETWORK_ID as k, RenownProps as l, useRenownSessionCookie as m, RenownLoginMethod as n, openRenown as nt, RenownProvider as o, RenownAuthStatus as ot, RenownSessionCookieState as p, RenownAuthButtonProps as q, useRenownLoginMethods as r, RenownAuth as rt, RenownProviderProps as s, useRenownAuth as st, useRenownWalletAdapter as t, logout as tt, RenownInitOptions as u, RenownInitialAuth as v, CREDENTIAL_SUBJECT_TYPE as w, useRenownInitialAuth as x, RenownInitialUserProvider as y, SpinnerIcon as z };
270
270
  export {};
271
- //# sourceMappingURL=index-C5yCJAVE.d.ts.map
271
+ //# sourceMappingURL=index-31WV0-fD.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-C5yCJAVE.d.ts","names":[],"sources":["../src/renown/use-renown-auth.ts","../src/renown/session.ts","../src/hooks/renown.ts","../src/renown/components/RenownAuthButton.tsx","../src/renown/components/RenownLoginButton.tsx","../src/renown/components/RenownUserButton.tsx","../src/renown/components/icons.tsx","../src/renown/crypto.ts","../src/renown/constants.ts","../src/renown/initial-user.tsx","../src/renown/use-renown-session.ts","../src/renown/use-renown-init.ts","../src/renown/renown-init.tsx","../src/renown/provider.tsx","../src/renown/wallet-provider.tsx","../src/renown/login-methods.ts","../src/renown/use-renown-wallet-adapter.ts"],"mappings":";;;;;KAoBY,mBAAmB;UAEd;EACf,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,UAAU,eAAe,SAAS;EAC1C;EACA,OAAO;EACP,cAAc;EACd;;iBA+Bc,iBAAiB;KAuFrB;UAKK,wBAAwB;;EAEvC,OAAO;EACP;;iBAOc,sBAAsB;;;iBCxJtB,WAAW;iBAuHL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cChKf;;cAIA,iBAAiB,UAAU;;cAI3B,YAAY,OAAO,UAAU;;iBAI1B;;iBA2CA,WAAW;;iBA2CX,kBAAkB;;;UCvGjB;EACf;EACA;EACA,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,YAAY,MAAM,eAAe;;iBAGnB,mBACd,WACA,UACA,cACA,aACA,gBACA,YACC,oDAAqB,IAAA;;;UCfP;EACf;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;;iBAsCG,oBACd,SAAS,aACT,OACA,WACA,SACA,YACC,qDAAsB,IAAA;;;UCzCR;EACf;EACA,OAAO;EACP;EACA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;EACX,YAAY;;iBAiKE,mBACd,SAAS,aACT,UAAU,cACV,WAAW,eACX,QAAQ,YACR,cAAc,kBACd,OACA,WACA,SACA,UACA,aACC,oDAAqB,IAAA;;;UC1Md;EACR;EACA;EACA;EACA;EACA,QAAQ;EACR;;UAGQ,wBAAwB;EAChC;;iBAGc,aACd,OACA,QACA,SACA,OACA,aACC,8CAAe,IAAA;iBAwBF,WACd,MACA,SACC,wCAAS,IAAA;iBA2BI,iBACd,MACA,SACC,wCAAS,IAAA;iBAkCI,cAAc,MAAW,SAA0B,wCAAS,IAAA;iBAiE5D,kBACd,MACA,OACA,SACC,wCAAS,IAAA;iBAqBI,WAAW,MAAW,SAAqB,wCAAS,IAAA;;;;;;;;;iBClM9C,qBAAiB,8BAAA;;;;;iBAQjB,oBAAgB,8BAAA;;;cChBzB;cACA;cACA;cAUA;;;;KCJD;EACN;EAAwB,MAAM;;EAC9B;;EACA;;cAEO,wBAAwB;cACxB,0BAA0B;UAUtB;;EAEf,cAAc;;EAEd,cAAc;EACd,UAAU;;iBAGI,4BACd,aACA,aACA,YACC,6DAA8B,IAAA;;iBAejB,wBAAwB;iBAIxB,wBAAwB;;;UC7CvB;;EAEf;;EAEA;;EAEA;;UAGe;;EAEf;;iBAKc,uBACd,UAAS,6BACR;iBA4Ea;;;UCjGC;EACf;;EAEA;EACA;EACA;;EAEA;;EAEA;;;;;;;;;;;;;;;iBA4Cc,gBACd,SACA,WACA,KACA,gBACA,YACA,WACC,oBAAoB,QAAQ;;;UCjEd,oBAAoB;EACnC,WAAW;;;;;;;;;;;;;;;;;;iBAmBG,SAAS,YAAY,eAAe;;;UCJnC;EACf;;EAEA;EACA;EACA;;EAEA,WAAW;EACX,QAAQ;;EAER;;EAEA;;EAEA;IAAY,OAAO;;;EAEnB;EACA,WAAW;EACX,UAAU;;iBA0BI,iBACd,SACA,WACA,KACA,gBACA,UACA,OACA,YACA,SACA,SACA,iBACA,SACA,YACC,kDAAmB,IAAA;;;UCsBL;;EAEf,UAAU;;EAEV,QAAQ;EACR,UAAU;;;iBAII,uBACd,UAAU,gBACV,OACA,YACC,wDAAyB,IAAA;;;UCtGX;EACf,IAAI;EACJ;;;iBAWc,sBACd,SAAS,QAAQ,OAAO,wBACvB;;;;iBCXa,uBACd,UAAU,mBAAmB,kBAC7B,aAAa"}
1
+ {"version":3,"file":"index-31WV0-fD.d.ts","names":[],"sources":["../src/renown/use-renown-auth.ts","../src/renown/session.ts","../src/hooks/renown.ts","../src/renown/components/RenownAuthButton.tsx","../src/renown/components/RenownLoginButton.tsx","../src/renown/components/RenownUserButton.tsx","../src/renown/components/icons.tsx","../src/renown/crypto.ts","../src/renown/constants.ts","../src/renown/initial-user.tsx","../src/renown/use-renown-session.ts","../src/renown/use-renown-init.ts","../src/renown/renown-init.tsx","../src/renown/provider.tsx","../src/renown/wallet-provider.tsx","../src/renown/login-methods.ts","../src/renown/use-renown-wallet-adapter.ts"],"mappings":";;;;;KAoBY,mBAAmB;UAEd;EACf,QAAQ;EACR,MAAM;EACN;EACA;EACA;EACA;EACA;EACA;EACA,QAAQ,UAAU,eAAe,SAAS;EAC1C;EACA,OAAO;EACP,cAAc;EACd;;iBA+Bc,iBAAiB;KAuFrB;UAKK,wBAAwB;;EAEvC,OAAO;EACP;;iBAOc,sBAAsB;;;iBCxJtB,WAAW;iBAuHL,MACpB,6BACA,QAAQ,sBACP,QAAQ;iBAgCW,UAAM;;;;cChKf;;cAIA,iBAAiB,UAAU;;cAI3B,YAAY,OAAO,UAAU;;iBAI1B;;iBA2CA,WAAW;;iBA2CX,kBAAkB;;;UCvGjB;EACf;EACA;EACA,eAAe;EACf,cAAc;EACd,iBAAiB;EACjB,YAAY,MAAM,eAAe;;iBAGnB,mBACd,WACA,UACA,cACA,aACA,gBACA,YACC,oDAAqB,IAAA;;;UCfP;EACf;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;;iBAsCG,oBACd,SAAS,aACT,OACA,WACA,SACA,YACC,qDAAsB,IAAA;;;UCzCR;EACf;EACA,OAAO;EACP;EACA,QAAQ;;UAGO;EACf;EACA;EACA;EACA;EACA;EACA,QAAQ;EACR;EACA;EACA,WAAW;EACX,YAAY;;iBAiKE,mBACd,SAAS,aACT,UAAU,cACV,WAAW,eACX,QAAQ,YACR,cAAc,kBACd,OACA,WACA,SACA,UACA,aACC,oDAAqB,IAAA;;;UC1Md;EACR;EACA;EACA;EACA;EACA,QAAQ;EACR;;UAGQ,wBAAwB;EAChC;;iBAGc,aACd,OACA,QACA,SACA,OACA,aACC,8CAAe,IAAA;iBAwBF,WACd,MACA,SACC,wCAAS,IAAA;iBA2BI,iBACd,MACA,SACC,wCAAS,IAAA;iBAkCI,cAAc,MAAW,SAA0B,wCAAS,IAAA;iBAiE5D,kBACd,MACA,OACA,SACC,wCAAS,IAAA;iBAqBI,WAAW,MAAW,SAAqB,wCAAS,IAAA;;;;;;;;;iBClM9C,qBAAiB,8BAAA;;;;;iBAQjB,oBAAgB,8BAAA;;;cChBzB;cACA;cACA;cAUA;;;;KCJD;EACN;EAAwB,MAAM;;EAC9B;;EACA;;cAEO,wBAAwB;cACxB,0BAA0B;UAUtB;;EAEf,cAAc;;EAEd,cAAc;EACd,UAAU;;iBAGI,4BACd,aACA,aACA,YACC,6DAA8B,IAAA;;iBAejB,wBAAwB;iBAIxB,wBAAwB;;;UC7CvB;;EAEf;;EAEA;;EAEA;;UAGe;;EAEf;;iBAKc,uBACd,UAAS,6BACR;iBA4Ea;;;UCjGC;EACf;;EAEA;EACA;EACA;;EAEA;;EAEA;;;;;;;;;;;;;;;iBA4Cc,gBACd,SACA,WACA,KACA,gBACA,YACA,WACC,oBAAoB,QAAQ;;;UCjEd,oBAAoB;EACnC,WAAW;;;;;;;;;;;;;;;;;;iBAmBG,SAAS,YAAY,eAAe;;;UCJnC;EACf;;EAEA;EACA;EACA;;EAEA,WAAW;EACX,QAAQ;;EAER;;EAEA;;EAEA;IAAY,OAAO;;;EAEnB;EACA,WAAW;EACX,UAAU;;iBA0BI,iBACd,SACA,WACA,KACA,gBACA,UACA,OACA,YACA,SACA,SACA,iBACA,SACA,YACC,kDAAmB,IAAA;;;UCsBL;;EAEf,UAAU;;EAEV,QAAQ;EACR,UAAU;;;iBAII,uBACd,UAAU,gBACV,OACA,YACC,wDAAyB,IAAA;;;UCtGX;EACf,IAAI;EACJ;;;iBAWc,sBACd,SAAS,QAAQ,OAAO,wBACvB;;;;iBCXa,uBACd,UAAU,mBAAmB,kBAC7B,aAAa"}
package/dist/index.d.ts CHANGED
@@ -1,12 +1,14 @@
1
- import { $ as makeAuthConnectionParams, $t as RevisionsListSelection, A as addDocumentCacheEventHandler, An as readPromiseState, At as SubgraphSdkRegistry, B as DEFAULT_REQUEST_TIMEOUT_MS, Bt as withStreamedBodies, C as useModelRegistry, Cn as GET_MANY_CHUNK_SIZE, Ct as ambientRenownSigner, D as useReactorHalves, Dn as addPromiseState, Dt as viewFilterInputFromViewFilter, E as useReactorClientModule, En as IDocumentCacheReader, Et as isGraphQLReactorClient, F as useDocuments, Fn as dispatchActions, Ft as globalFetch, G as ConnectionParams, Gt as queriesUnknownArgument, H as SwitchboardBackendDescriptor, Ht as GraphQLOperationNotSupportedError, I as useGetDocument, It as isDeadlineError, J as IJobChangesSocket, Jt as GraphQLDriveNodeSource, K as DocumentChangesEventPayload, Kt as queriesUnknownField, L as useGetDocumentAsync, Lt as isNodeFetch, M as useDocument, Mn as BearerTokenProvider, Mt as describeGraphQLDocument, N as useDocumentCache, Nn as ambientRenownTokenProvider, Nt as subgraphUrlFromGraphqlUrl, O as useSync, On as isDocumentTypeCache, Ot as GraphQLRequestOptions, P as useDocumentSafe, Pn as makeAuthMiddleware, Pt as GraphQLFetch, Q as isAuthRefusalClose, Qt as GetDocumentQueryResult, R as useGetDocuments, Rt as switchboardFetch, S as useDatabase, Sn as DocumentCache, St as GraphQLReactorReadClient, T as useReactorClient, Tn as IDLE_OPERATIONS_ENTRY, Tt as findIsServableOverGraphQL, U as SwitchboardUnreachableError, Ut as GraphQLWrongBackendError, V as SwitchboardBackend, Vt as BatchJobFailedError, W as createSwitchboardBackend, Wt as JobFailedError, X as JobChangesSocketOptions, Xt as toLegacyNode, Y as JobChangesEventPayload, Yt as GraphQLDriveReadClient, Z as createJobChangesSocket, Zt as GetDocumentQueryFields, _ as addReactorHalvesEventHandler, _n as RemoteDocumentData, _t as ensurePHEventHandlers, a as DocumentOperationsState, an as ConflictStrategy, at as prepareSignedActions, b as setReactorClient, bn as SyncStatus, bt as GraphQLReactorClient, c as useDocumentModelModuleById, cn as GetDocumentWithOperationsResult, ct as GetDocumentAtConsistencyDocument, d as UseDispatchResult, dn as IRemoteController, dt as MutateDocumentWithOperationsDocument, en as isoStringFromDateTime, et as startDocumentChangesSubscription, f as createDispatch, fn as MergeHandler, ft as MutateDocumentWithOperationsResult, g as addReactorClientModuleEventHandler, gn as RemoteDocumentChangeEvent, gt as GraphQLReactorProviderProps, h as addReactorClientEventHandler, hn as RemoteControllerOptions, ht as GraphQLReactorProvider, i as DocumentOperationsResult, in as ConflictInfo, it as resolveDocumentModelModule, j as setDocumentCache, jn as IDLE_REFETCH_STATE, jt as TypedGraphQLDocument, k as useSyncList, kn as isOperationCache, kt as SubgraphSdkFactory, l as useDocumentModelModules, ln as GetOperationsResult, lt as GetDocumentAtConsistencyResult, m as addFullReactorClientEventHandler, mn as RemoteControllerGraphQLClient, mt as ReactorOperationFieldsFragmentDoc, n as setAttachmentService, nn as phDocumentFromMutation, nt as StaticPackageManager, o as UseDocumentOperationsOptions, on as DocumentChangeListener, ot as signStampedAction, p as useDispatch, pn as PushResult, pt as MutateDocumentWithOperationsVariables, q as DocumentChangesSubscriptionOptions, qt as DriveNodeQueries, r as useAttachmentService, rn as revisionMapFromRevisionsList, rt as packageFromDocumentModels, s as useDocumentOperations, sn as GetDocumentResult, st as stampAction, t as addAttachmentServiceEventHandler, tn as phDocumentFromGetDocument, tt as subscriptionsUrlFromGraphqlUrl, u as DispatchFn, un as IRemoteClient, ut as GetDocumentAtConsistencyVariables, v as getFullReactorClient, vn as RemoteOperation, vt as useSwitchboardClient, w as usePGlite, wn as IDLE_DOCUMENTS_OF_TYPE_ENTRY, wt as createGraphQLDriveNodeSource, x as setReactorClientModule, xn as TrackedAction, xt as GraphQLReactorClientOptions, y as setFullReactorClient, yn as RemoteOperationResultPage, yt as DriveIdCall, z as DEFAULT_BREAKER, zt as withRequestDeadline } from "./attachment-service-BuPjCTlF.js";
2
- import { E as MutateDocumentMutation, O as PropagationMode, _ as CreateDocumentMutation, a as GraphQLDocumentEvents, c as ReactorGraphQLClient, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, g as ActionInput, h as graphqlEventsToSyncDrive, i as GraphQLDocumentEventOperationName, j as SdkFunctionWrapper, l as RunDocumentOptions, m as graphqlDocumentsEvents, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as TStateSchemaZodObject, v as DeleteDocumentMutation, w as GetDocumentWithOperationsQuery, x as FindDocumentsQuery, y as DeleteDocumentsMutation } from "./types-BNVqRNli.js";
1
+ import { $ as isAuthRefusalClose, $t as GetDocumentQueryResult, A as addDocumentCacheEventHandler, An as isOperationCache, At as SubgraphSdkFactory, B as DEFAULT_REQUEST_TIMEOUT_MS, Bt as withRequestDeadline, C as useModelRegistry, Cn as DocumentCache, Ct as GraphQLReactorReadClient, D as useReactorHalves, Dn as IDocumentCacheReader, Dt as isGraphQLReactorClient, E as useReactorClientModule, En as IDLE_OPERATIONS_ENTRY, Et as findIsServableOverGraphQL, F as useDocuments, Ft as GraphQLFetch, G as createSwitchboardBackend, Gt as JobFailedError, H as SwitchboardBackendDescriptor, Ht as BatchJobFailedError, I as useGetDocument, It as globalFetch, J as DocumentChangesSubscriptionOptions, Jt as DriveNodeQueries, K as ConnectionParams, Kt as queriesUnknownArgument, L as useGetDocumentAsync, Lt as isDeadlineError, M as useDocument, Mn as IDLE_REFETCH_STATE, Mt as TypedGraphQLDocument, N as useDocumentCache, Nn as dispatchActions, Nt as describeGraphQLDocument, O as useSync, On as addPromiseState, Ot as viewFilterInputFromViewFilter, P as useDocumentSafe, Pt as subgraphUrlFromGraphqlUrl, Q as createJobChangesSocket, Qt as GetDocumentQueryFields, R as useGetDocuments, Rt as isNodeFetch, S as useDatabase, Sn as TrackedAction, St as GraphQLReactorClientOptions, T as useReactorClient, Tn as IDLE_DOCUMENTS_OF_TYPE_ENTRY, Tt as createGraphQLDriveNodeSource, U as SwitchboardBreaker, Ut as GraphQLOperationNotSupportedError, V as SwitchboardBackend, Vt as withStreamedBodies, W as SwitchboardUnreachableError, Wt as GraphQLWrongBackendError, X as JobChangesEventPayload, Xt as GraphQLDriveReadClient, Y as IJobChangesSocket, Yt as GraphQLDriveNodeSource, Z as JobChangesSocketOptions, Zt as toLegacyNode, _ as addReactorHalvesEventHandler, _n as RemoteDocumentChangeEvent, _t as GraphQLReactorProviderProps, a as DocumentOperationsState, an as ConflictInfo, at as resolveDocumentModelModule, b as setReactorClient, bn as RemoteOperationResultPage, bt as DriveIdCall, c as useDocumentModelModuleById, cn as GetDocumentResult, ct as stampAction, d as UseDispatchResult, dn as IRemoteClient, dt as GetDocumentAtConsistencyVariables, en as RevisionsListSelection, et as makeAuthConnectionParams, f as createDispatch, fn as IRemoteController, ft as MutateDocumentWithOperationsDocument, g as addReactorClientModuleEventHandler, gn as RemoteControllerOptions, gt as GraphQLReactorProvider, h as addReactorClientEventHandler, hn as RemoteControllerGraphQLClient, ht as ReactorOperationFieldsFragmentDoc, i as DocumentOperationsResult, in as revisionMapFromRevisionsList, it as packageFromDocumentModels, j as setDocumentCache, jn as readPromiseState, jt as SubgraphSdkRegistry, k as useSyncList, kn as isDocumentTypeCache, kt as GraphQLRequestOptions, l as useDocumentModelModules, ln as GetDocumentWithOperationsResult, lt as GetDocumentAtConsistencyDocument, m as addFullReactorClientEventHandler, mn as PushResult, mt as MutateDocumentWithOperationsVariables, n as setAttachmentService, nn as phDocumentFromGetDocument, nt as subscriptionsUrlFromGraphqlUrl, o as UseDocumentOperationsOptions, on as ConflictStrategy, ot as prepareSignedActions, p as useDispatch, pn as MergeHandler, pt as MutateDocumentWithOperationsResult, q as DocumentChangesEventPayload, qt as queriesUnknownField, r as useAttachmentService, rn as phDocumentFromMutation, rt as StaticPackageManager, s as useDocumentOperations, sn as DocumentChangeListener, st as signStampedAction, t as addAttachmentServiceEventHandler, tn as isoStringFromDateTime, tt as startDocumentChangesSubscription, u as DispatchFn, un as GetOperationsResult, ut as GetDocumentAtConsistencyResult, v as getFullReactorClient, vn as RemoteDocumentData, vt as ensurePHEventHandlers, w as usePGlite, wn as GET_MANY_CHUNK_SIZE, wt as ambientRenownSigner, x as setReactorClientModule, xn as SyncStatus, xt as GraphQLReactorClient, y as setFullReactorClient, yn as RemoteOperation, yt as useSwitchboardClient, z as DEFAULT_BREAKER, zt as switchboardFetch } from "./attachment-service-BZVL5UJ1.js";
2
+ import { d as MutateDocumentMutation, h as PropagationMode, i as DeleteDocumentsMutation, l as GetDocumentWithOperationsQuery, n as CreateDocumentMutation, o as FindDocumentsQuery, r as DeleteDocumentMutation, t as ActionInput, v as SdkFunctionWrapper } from "./schema-Bn6L3QR1.js";
3
+ import { n as ambientRenownTokenProvider, r as makeAuthMiddleware, t as BearerTokenProvider } from "./auth-DzIYxeEJ.js";
3
4
  import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-520nWrB3.js";
4
- import { $ as IPackageManager, A as loadDriveNodes, At as PHGlobalConfigKey, B as createPHStore, Bt as ReactorBrowserHalves, C as DriveNodesCache, Ct as PHDocumentEditorConfigHooks, D as dropDriveNode, Dt as PHGlobalConfig, E as addDriveNodesEventHandler, Et as PHDrivesGlobalConfig, F as useDriveNodes, Ft as PHRenownGlobalConfig, G as notifyPHStore, Gt as IDocumentCache, H as getActivePHStore, Ht as DocumentRefetchState, I as useDriveNodesCache, It as PHSentryGlobalConfig, J as DraggingNode, Jt as OperationsCacheEntry, K as subscribePHStore, Kt as IDocumentTypeCache, L as PHStore, Lt as IReactorBrowserClient, M as peekDriveNode, Mt as PHGlobalConfigSettersForKey, N as takeLocalDriveWrite, Nt as PHProcessorsGlobalConfig, O as getDriveNode, Ot as PHGlobalConfigHooks, P as useDriveNode, Pt as PHRelationalProcessorsGlobalConfig, Q as IPackageListerUnsubscribe, R as PHStoreProvider, Rt as IReactorBrowserReadClient, S as WorkerReactorModule, St as PHDocumentEditorConfig, T as DriveNodesOptions, Tt as PHDocumentEditorConfigSetters, U as getPHStore, Ut as DocumentsOfTypeEntry, V as ensurePHStore, Vt as DocumentDispatch, W as getPHStoreSubscribe, Wt as FulfilledPromise, X as useDragNode, Xt as PromiseWithState, Y as addDraggingNodeEventHandler, Yt as PromiseState, Z as useDropNode, Zt as RejectedPromise, _ as SetEvent, _t as PHAppConfig, a as LOADING, at as TimelineBarItem, b as UsePHGlobalValue, bt as PHAppConfigSetters, c as PHGlobalEventHandlerAdders, ct as DiscoveryEvent, d as PHNavigateOptions, dt as FailedInstallationReason, et as IPackagesListener, f as PHNavigation, ft as IPackageDiscoveryService, g as SearchParamsUpdate, gt as PHAnalyticsGlobalConfig, h as PHSettingsTarget, ht as FullPHGlobalConfig, i as BrowserReactorModule, it as PHToastType, j as markLocalDriveWrite, jt as PHGlobalConfigSetters, k as invalidateDriveNodes, kt as PHGlobalConfigHooksForKey, l as PHGlobalKey, lt as DiscoveryEventListener, m as PHSearchUpdate, mt as PHModal, n as BackendAuthState, nt as PHToastFn, o as PHDriveTarget, ot as TimelineDividerItem, p as PHNavigationTarget, pt as PendingInstallation, q as usePHStore, qt as IOperationCache, r as BrowserReactorClientModule, rt as PHToastOptions, s as PHGlobal, st as TimelineItem, t as AddPHGlobalEventHandler, tt as PackageManagerInstallResult, u as PHGlobalValue, ut as FailedInstallation, v as SetPHGlobalValue, vt as PHAppConfigHooks, w as DriveNodesEntry, wt as PHDocumentEditorConfigKey, x as WorkerReactorClientModule, xt as PHCommonGlobalConfig, y as SetSearchParams, yt as PHAppConfigKey, z as bindPHStoreToWindow, zt as IReactorBrowserWriteClient } from "./global-DY6FeQYj.js";
5
+ import { $ as IPackageManager, A as loadDriveNodes, At as PHGlobalConfigKey, B as createPHStore, Bt as ReactorBrowserHalves, C as DriveNodesCache, Ct as PHDocumentEditorConfigHooks, D as dropDriveNode, Dt as PHGlobalConfig, E as addDriveNodesEventHandler, Et as PHDrivesGlobalConfig, F as useDriveNodes, Ft as PHRenownGlobalConfig, G as notifyPHStore, Gt as IDocumentCache, H as getActivePHStore, Ht as DocumentRefetchState, I as useDriveNodesCache, It as PHSentryGlobalConfig, J as DraggingNode, Jt as OperationsCacheEntry, K as subscribePHStore, Kt as IDocumentTypeCache, L as PHStore, Lt as IReactorBrowserClient, M as peekDriveNode, Mt as PHGlobalConfigSettersForKey, N as takeLocalDriveWrite, Nt as PHProcessorsGlobalConfig, O as getDriveNode, Ot as PHGlobalConfigHooks, P as useDriveNode, Pt as PHRelationalProcessorsGlobalConfig, Q as IPackageListerUnsubscribe, R as PHStoreProvider, Rt as IReactorBrowserReadClient, S as WorkerReactorModule, St as PHDocumentEditorConfig, T as DriveNodesOptions, Tt as PHDocumentEditorConfigSetters, U as getPHStore, Ut as DocumentsOfTypeEntry, V as ensurePHStore, Vt as DocumentDispatch, W as getPHStoreSubscribe, Wt as FulfilledPromise, X as useDragNode, Xt as PromiseWithState, Y as addDraggingNodeEventHandler, Yt as PromiseState, Z as useDropNode, Zt as RejectedPromise, _ as SetEvent, _t as PHAppConfig, a as LOADING, at as TimelineBarItem, b as UsePHGlobalValue, bt as PHAppConfigSetters, c as PHGlobalEventHandlerAdders, ct as DiscoveryEvent, d as PHNavigateOptions, dt as FailedInstallationReason, et as IPackagesListener, f as PHNavigation, ft as IPackageDiscoveryService, g as SearchParamsUpdate, gt as PHAnalyticsGlobalConfig, h as PHSettingsTarget, ht as FullPHGlobalConfig, i as BrowserReactorModule, it as PHToastType, j as markLocalDriveWrite, jt as PHGlobalConfigSetters, k as invalidateDriveNodes, kt as PHGlobalConfigHooksForKey, l as PHGlobalKey, lt as DiscoveryEventListener, m as PHSearchUpdate, mt as PHModal, n as BackendAuthState, nt as PHToastFn, o as PHDriveTarget, ot as TimelineDividerItem, p as PHNavigationTarget, pt as PendingInstallation, q as usePHStore, qt as IOperationCache, r as BrowserReactorClientModule, rt as PHToastOptions, s as PHGlobal, st as TimelineItem, t as AddPHGlobalEventHandler, tt as PackageManagerInstallResult, u as PHGlobalValue, ut as FailedInstallation, v as SetPHGlobalValue, vt as PHAppConfigHooks, w as DriveNodesEntry, wt as PHDocumentEditorConfigKey, x as WorkerReactorClientModule, xt as PHCommonGlobalConfig, y as SetSearchParams, yt as PHAppConfigKey, z as bindPHStoreToWindow, zt as IReactorBrowserWriteClient } from "./global-bbfp3_1x.js";
5
6
  import { baseDocumentModels, baseDocumentModelsMap } from "./src/document-model.js";
6
7
  import { t as PGlite } from "./pglite-CntadC_p-DTkdF8sr.js";
7
8
  import { r as PGliteWithLive } from "./index-rtDmzViP.js";
8
- import { t as createClient } from "./client-XPGQrO4a.js";
9
- import { $ as useUser, A as RENOWN_RETURN_URL_STRIPPED_PARAMS, B as UserIcon, C as CREDENTIAL_SCHEMA_EIP712_TYPE, D as ISSUER_TYPE, E as DOMAIN_TYPE, F as ChevronDownIcon, G as RenownLoginButtonProps, H as RenownUserButtonMenuItem, I as CopyIcon, J as addRenownEventHandler, K as RenownAuthButton, L as DisconnectIcon, M as VERIFIABLE_CREDENTIAL_EIP712_TYPE, N as initConnectCrypto, O as RENOWN_CHAIN_ID, P as initRenownCrypto, Q as useRenown, R as RenownLogo, S as useRenownInitialUser, T as CREDENTIAL_TYPES, U as RenownUserButtonProps, V as RenownUserButton, W as RenownLoginButton, X as useDid, Y as setRenown, Z as useLoginStatus, _ as RENOWN_INITIAL_UNKNOWN, a as RenownWalletProviderProps, at as RenownAuthResolution, b as RenownInitialUserProviderProps, c as Renown, ct as useRenownAuthAsync, d as useRenownInit, et as login, f as RenownSessionCookieOptions, g as RENOWN_INITIAL_ANONYMOUS, h as useRenownSessionSynced, i as RenownWalletProvider, it as RenownAuthAsync, j as RENOWN_URL, k as RENOWN_NETWORK_ID, l as RenownProps, m as useRenownSessionCookie, n as RenownLoginMethod, nt as openRenown, o as RenownProvider, ot as RenownAuthStatus, p as RenownSessionCookieState, q as RenownAuthButtonProps, r as useRenownLoginMethods, rt as RenownAuth, s as RenownProviderProps, st as useRenownAuth, t as useRenownWalletAdapter, tt as logout, u as RenownInitOptions, v as RenownInitialAuth, w as CREDENTIAL_SUBJECT_TYPE, x as useRenownInitialAuth, y as RenownInitialUserProvider, z as SpinnerIcon } from "./index-C5yCJAVE.js";
9
+ import { a as GraphQLDocumentEvents, c as ReactorGraphQLClient, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, h as graphqlEventsToSyncDrive, i as GraphQLDocumentEventOperationName, l as RunDocumentOptions, m as graphqlDocumentsEvents, n as GraphQLClientDocumentsEvent, o as GraphQLDocumentEventsOperationName, p as graphqlDocumentEvents, r as GraphQLClientWindowEvents, s as GraphQLDocumentsEvents, t as GraphQLClientDocumentEvent, u as TStateSchemaZodObject } from "./types-CT44EMmw.js";
10
+ import { t as createClient } from "./client-C-NgSjoc.js";
11
+ import { $ as useUser, A as RENOWN_RETURN_URL_STRIPPED_PARAMS, B as UserIcon, C as CREDENTIAL_SCHEMA_EIP712_TYPE, D as ISSUER_TYPE, E as DOMAIN_TYPE, F as ChevronDownIcon, G as RenownLoginButtonProps, H as RenownUserButtonMenuItem, I as CopyIcon, J as addRenownEventHandler, K as RenownAuthButton, L as DisconnectIcon, M as VERIFIABLE_CREDENTIAL_EIP712_TYPE, N as initConnectCrypto, O as RENOWN_CHAIN_ID, P as initRenownCrypto, Q as useRenown, R as RenownLogo, S as useRenownInitialUser, T as CREDENTIAL_TYPES, U as RenownUserButtonProps, V as RenownUserButton, W as RenownLoginButton, X as useDid, Y as setRenown, Z as useLoginStatus, _ as RENOWN_INITIAL_UNKNOWN, a as RenownWalletProviderProps, at as RenownAuthResolution, b as RenownInitialUserProviderProps, c as Renown, ct as useRenownAuthAsync, d as useRenownInit, et as login, f as RenownSessionCookieOptions, g as RENOWN_INITIAL_ANONYMOUS, h as useRenownSessionSynced, i as RenownWalletProvider, it as RenownAuthAsync, j as RENOWN_URL, k as RENOWN_NETWORK_ID, l as RenownProps, m as useRenownSessionCookie, n as RenownLoginMethod, nt as openRenown, o as RenownProvider, ot as RenownAuthStatus, p as RenownSessionCookieState, q as RenownAuthButtonProps, r as useRenownLoginMethods, rt as RenownAuth, s as RenownProviderProps, st as useRenownAuth, t as useRenownWalletAdapter, tt as logout, u as RenownInitOptions, v as RenownInitialAuth, w as CREDENTIAL_SUBJECT_TYPE, x as useRenownInitialAuth, y as RenownInitialUserProvider, z as SpinnerIcon } from "./index-31WV0-fD.js";
10
12
  import { QueryCallbackReturnType, RelationalDbOptions, RelationalDbWithLive, createProcessorQuery, useRelationalDb, useRelationalQuery, useRelationalQueryOptions } from "./src/relational/index.js";
11
13
  import { DragEventHandler, MouseEvent, ReactNode } from "react";
12
14
  import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
@@ -1198,6 +1200,8 @@ type AttachmentProgressState = {
1198
1200
  //#region src/hooks/use-attachments.d.ts
1199
1201
  /** Returns an IAttachmentClient wrapping the current IAttachmentService, or undefined if none is set. */
1200
1202
  export declare function useAttachments(): IAttachmentClient | undefined;
1203
+ /** The client {@link useAttachments} returns, for code outside React. */
1204
+ export declare function getAttachmentClient(): IAttachmentClient | undefined;
1201
1205
  /**
1202
1206
  * Upload lifecycle stage, derived from the client's own `AttachmentStage` plus
1203
1207
  * an `idle` state the client has no reason to model.
@@ -1529,7 +1533,7 @@ type InferState<C> = C extends PHDocumentController<infer S> ? S : never;
1529
1533
  * Extract action methods from a controller type.
1530
1534
  * These are the dynamically-added methods (not on the base PHDocumentController prototype).
1531
1535
  */
1532
- type ActionMethodsOf<C, TRemote> = { [K in Exclude<keyof C, keyof PHDocumentController<any>>]: C[K] extends ((input: infer I) => unknown) ? (input: I) => TRemote & ActionMethodsOf<C, TRemote> : C[K]; };
1536
+ type ActionMethodsOf<C, TRemote> = { [K in Exclude<keyof C, keyof PHDocumentController<any> | "undo" | "redo">]: C[K] extends ((input: infer I) => unknown) ? (input: I) => TRemote & ActionMethodsOf<C, TRemote> : C[K]; };
1533
1537
  /** The full return type: RemoteDocumentController + action methods. */
1534
1538
  type RemoteDocumentControllerWith<C extends PHDocumentController<any>> = RemoteDocumentController<C> & ActionMethodsOf<C, RemoteDocumentController<C>>;
1535
1539
  /**
@@ -1568,6 +1572,17 @@ export declare class RemoteDocumentController<TController extends PHDocumentCont
1568
1572
  delete(propagate?: PropagationMode): Promise<boolean>;
1569
1573
  /** Pull latest state from remote, replacing local document. Returns the remote document data. */
1570
1574
  pull(): Promise<RemoteDocumentData>;
1575
+ /**
1576
+ * Undoes the last `count` operations of `scope`. Below base-reducer 3 (or
1577
+ * with no known version) it applies the model's UNDO, as the action method
1578
+ * did; on 3 it applies a RETRACT per step, each resolved from this
1579
+ * controller's own log, pending actions included.
1580
+ */
1581
+ undo(count?: number, scope?: string): this;
1582
+ /** Redoes the last `count` undos of `scope`; see {@link undo}. */
1583
+ redo(count?: number, scope?: string): this;
1584
+ private undoOrRedo;
1585
+ private stateReducer;
1571
1586
  /**
1572
1587
  * Pull an existing document from remote and create a controller for it.
1573
1588
  */
@@ -1588,6 +1603,10 @@ export declare class RemoteDocumentController<TController extends PHDocumentCont
1588
1603
  private takeHostSignaturePolicy;
1589
1604
  /** Set up interceptors for all action methods on the inner controller. */
1590
1605
  private setupActionInterceptors;
1606
+ /** Applies the model's `actionType` action method locally and tracks it. */
1607
+ private dispatchModelAction;
1608
+ /** Applies `action` locally through the model's reducer and tracks it. */
1609
+ private applyAction;
1591
1610
  /** Runs `apply`, then tracks the operation it added for push. */
1592
1611
  private applyAndTrack;
1593
1612
  /** Recreates the inner controller over `document` and re-intercepts it. */
@@ -1612,6 +1631,7 @@ export declare class RemoteDocumentController<TController extends PHDocumentCont
1612
1631
  * Returns newly tracked actions with correct prevOpHash values.
1613
1632
  */
1614
1633
  private pullAndReplay;
1634
+ private replayAction;
1615
1635
  /** Prepare actions for push, optionally signing them. */
1616
1636
  private prepareActionsForPush;
1617
1637
  /**
@@ -1871,6 +1891,6 @@ export declare function getUserPermissions(): {
1871
1891
  //#region src/utils/validate-document.d.ts
1872
1892
  export declare const validateDocument: (document: PHDocument$1) => ValidationError[];
1873
1893
  //#endregion
1874
- export { type AddPHGlobalEventHandler, type BackendAuthState, BatchJobFailedError, BearerTokenProvider, type BrowserReactorClientModule, type BrowserReactorModule, type BulkImportJob, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, type ConflictInfo, type ConflictResolution, type ConflictStrategy, ConnectionParams, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, DocumentOperationsState, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, DriveNodeQueries, DriveNodesCache, DriveNodesEntry, DriveNodesOptions, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GET_MANY_CHUNK_SIZE, GetDocumentAtConsistencyDocument, GetDocumentAtConsistencyResult, GetDocumentAtConsistencyVariables, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLFetch, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLReactorReadClient, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, IDocumentCacheReader, type IDocumentModelLoader, type IDocumentTypeCache, IJobChangesSocket, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorBrowserReadClient, type IReactorBrowserWriteClient, type IReactorClient, type IReactorProcessorHostModule, type IReactorReadClient, type IReactorWriteClient, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, JobChangesEventPayload, JobChangesSocketOptions, JobFailedError, type JwtHandler, type KeyframeValidationIssue, type LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAnalyticsGlobalConfig, type PHAppConfig, type PHAppConfigHooks, type PHAppConfigKey, type PHAppConfigSetters, type PHCommonGlobalConfig, type PHDocumentEditorConfig, type PHDocumentEditorConfigHooks, type PHDocumentEditorConfigKey, type PHDocumentEditorConfigSetters, type PHDriveTarget, type PHDrivesGlobalConfig, type PHGlobal, type PHGlobalConfig, type PHGlobalConfigHooks, type PHGlobalConfigHooksForKey, type PHGlobalConfigKey, type PHGlobalConfigSetters, type PHGlobalConfigSettersForKey, type PHGlobalEventHandlerAdders, type PHGlobalKey, type PHGlobalValue, type PHModal, type PHNavigateOptions, type PHNavigation, type PHNavigationTarget, type PHProcessorsGlobalConfig, type PHRelationalProcessorsGlobalConfig, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSentryGlobalConfig, type PHSettingsTarget, PHStore, PHStoreProvider, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type ParsedDriveUrl, type PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type PromiseState, type PromiseWithState, PropagationMode, type PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, type ReactorBrowserHalves, ReactorBuilder, ReactorClientBuilder, type ReactorFeatureFlags, type ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, type RebuildResult, type RejectedPromise, RelationalDbOptions, RelationalDbProcessor, RelationalDbWithLive, type Remote, type RemoteControllerGraphQLClient, type RemoteControllerOptions, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, type RemotePeer, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, type RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, type RenownInitOptions, type RenownInitialAuth, RenownInitialUserProvider, type RenownInitialUserProviderProps, RenownLoginButton, type RenownLoginButtonProps, type RenownLoginMethod, RenownLogo, type RenownProps, RenownProvider, type RenownProviderProps, type RenownSessionCookieOptions, type RenownSessionCookieState, RenownUserButton, type RenownUserButtonMenuItem, type RenownUserButtonProps, RenownWalletProvider, type RenownWalletProviderProps, RevisionsListSelection, type RunDocumentOptions, type SdkFunctionWrapper, type SearchParamsUpdate, type SetEvent, type SetPHGlobalValue, type SetSearchParams, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, SwitchboardBackend, SwitchboardBackendDescriptor, SwitchboardUnreachableError, type SyncHold, type SyncOperation, SyncOperationStatus, type SyncStatus, type TStateSchemaZodObject, type TimelineBarItem, type TimelineDividerItem, type TimelineItem, type TrackedAction, TypedGraphQLDocument, UseDispatchResult, UseDocumentOperationsOptions, type UseOnDropFile, type UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, type WorkerReactorClientModule, type WorkerReactorModule, type WriteHandle, type WriteReceipt, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDriveNodesEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRenownEventHandler, ambientRenownSigner, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, createAnalyticsStore, createClient, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, describeGraphQLDocument, dispatchActions, driveIdFromUrl, dropDriveNode, ensurePHEventHandlers, ensurePHStore, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initConnectCrypto, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, parseDriveUrl, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, switchboardFetch, takeLocalDriveWrite, toLegacyNode, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDriveNode, useDriveNodes, useDriveNodesCache, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, usePHStore, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter, withRequestDeadline, withStreamedBodies };
1894
+ export { type AddPHGlobalEventHandler, type BackendAuthState, BatchJobFailedError, BearerTokenProvider, type BrowserReactorClientModule, type BrowserReactorModule, type BulkImportJob, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, type ConflictInfo, type ConflictResolution, type ConflictStrategy, ConnectionParams, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_BREAKER, DEFAULT_DRIVE_ID, DEFAULT_REQUEST_TIMEOUT_MS, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, type DiscoveryEvent, type DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentChangesEventPayload, DocumentChangesSubscriptionOptions, type DocumentDispatch, DocumentIntegrityService, DocumentOperationsResult, DocumentOperationsState, type DocumentRefetchState, type DocumentTypeIcon, type DocumentsOfTypeEntry, DraggingNode, DriveCollectionId, DriveIdCall, type DriveInfo, DriveNodeQueries, DriveNodesCache, DriveNodesEntry, DriveNodesOptions, type FailedInstallation, type FailedInstallationReason, type FileUploadProgress, type FileUploadProgressCallback, type FolderZipResult, type FulfilledPromise, type FullPHGlobalConfig, GET_MANY_CHUNK_SIZE, GetDocumentAtConsistencyDocument, GetDocumentAtConsistencyResult, GetDocumentAtConsistencyVariables, GetDocumentQueryFields, GetDocumentQueryResult, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, type GraphQLClientDocumentEvent, type GraphQLClientDocumentsEvent, type GraphQLClientWindowEvents, type GraphQLDocumentEventOperationName, type GraphQLDocumentEvents, type GraphQLDocumentEventsOperationName, type GraphQLDocumentsEvents, GraphQLDriveNodeSource, GraphQLDriveReadClient, GraphQLFetch, GraphQLOperationNotSupportedError, GraphQLReactorClient, GraphQLReactorClientOptions, GraphQLReactorProvider, GraphQLReactorProviderProps, GraphQLReactorReadClient, GraphQLRequestOptions, GraphQLWrongBackendError, type IChannel, IDLE_DOCUMENTS_OF_TYPE_ENTRY, IDLE_OPERATIONS_ENTRY, IDLE_REFETCH_STATE, type IDocumentCache, IDocumentCacheReader, type IDocumentModelLoader, type IDocumentTypeCache, IJobChangesSocket, type IOperationCache, type IPackageDiscoveryService, type IPackageListerUnsubscribe, type IPackageManager, type IPackagesListener, type IPeerAgreement, type IProcessor, type IProcessorHostModule, type IProcessorHostModuleBase, type IQueue, type IReactorBrowserClient, type IReactorBrowserReadClient, type IReactorBrowserWriteClient, type IReactorClient, type IReactorProcessorHostModule, type IReactorReadClient, type IReactorWriteClient, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, InMemoryQueue, IntervalPollTimer, type Job, JobChangesEventPayload, JobChangesSocketOptions, JobFailedError, type JwtHandler, type KeyframeValidationIssue, type LOADING, type MergeHandler, MutateDocumentWithOperationsDocument, MutateDocumentWithOperationsResult, MutateDocumentWithOperationsVariables, type NodeKind, type OperationWithContext, type OperationsCacheEntry, type PHAnalyticsGlobalConfig, type PHAppConfig, type PHAppConfigHooks, type PHAppConfigKey, type PHAppConfigSetters, type PHCommonGlobalConfig, type PHDocumentEditorConfig, type PHDocumentEditorConfigHooks, type PHDocumentEditorConfigKey, type PHDocumentEditorConfigSetters, type PHDriveTarget, type PHDrivesGlobalConfig, type PHGlobal, type PHGlobalConfig, type PHGlobalConfigHooks, type PHGlobalConfigHooksForKey, type PHGlobalConfigKey, type PHGlobalConfigSetters, type PHGlobalConfigSettersForKey, type PHGlobalEventHandlerAdders, type PHGlobalKey, type PHGlobalValue, type PHModal, type PHNavigateOptions, type PHNavigation, type PHNavigationTarget, type PHProcessorsGlobalConfig, type PHRelationalProcessorsGlobalConfig, type PHRenownGlobalConfig, type PHSearchUpdate, type PHSentryGlobalConfig, type PHSettingsTarget, PHStore, PHStoreProvider, type PHToastFn, type PHToastOptions, type PHToastType, type PackageManagerInstallResult, type ParsedDriveUrl, type PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type PromiseState, type PromiseWithState, PropagationMode, type PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_INITIAL_ANONYMOUS, RENOWN_INITIAL_UNKNOWN, RENOWN_NETWORK_ID, RENOWN_RETURN_URL_STRIPPED_PARAMS, RENOWN_URL, type ReactorBrowserHalves, ReactorBuilder, ReactorClientBuilder, type ReactorFeatureFlags, type ReactorGraphQLClient, ReactorOperationFieldsFragmentDoc, type RebuildResult, type RejectedPromise, RelationalDbOptions, RelationalDbProcessor, RelationalDbWithLive, type Remote, type RemoteControllerGraphQLClient, type RemoteControllerOptions, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteFilter, type RemoteMeta, type RemoteOperation, type RemoteOperationResultPage, type RemotePeer, Renown, RenownAuth, RenownAuthAsync, RenownAuthButton, type RenownAuthButtonProps, RenownAuthResolution, RenownAuthStatus, type RenownInitOptions, type RenownInitialAuth, RenownInitialUserProvider, type RenownInitialUserProviderProps, RenownLoginButton, type RenownLoginButtonProps, type RenownLoginMethod, RenownLogo, type RenownProps, RenownProvider, type RenownProviderProps, type RenownSessionCookieOptions, type RenownSessionCookieState, RenownUserButton, type RenownUserButtonMenuItem, type RenownUserButtonProps, RenownWalletProvider, type RenownWalletProviderProps, RevisionsListSelection, type RunDocumentOptions, type SdkFunctionWrapper, type SearchParamsUpdate, type SetEvent, type SetPHGlobalValue, type SetSearchParams, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, StaticPackageManager, SubgraphSdkFactory, SubgraphSdkRegistry, SwitchboardBackend, SwitchboardBackendDescriptor, SwitchboardBreaker, SwitchboardUnreachableError, type SyncHold, type SyncOperation, SyncOperationStatus, type SyncStatus, type TStateSchemaZodObject, type TimelineBarItem, type TimelineDividerItem, type TimelineItem, type TrackedAction, TypedGraphQLDocument, UseDispatchResult, UseDocumentOperationsOptions, type UseOnDropFile, type UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, type WorkerReactorClientModule, type WorkerReactorModule, type WriteHandle, type WriteReceipt, addAttachmentServiceEventHandler, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDriveNodesEventHandler, addFullReactorClientEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addReactorHalvesEventHandler, addRenownEventHandler, ambientRenownSigner, ambientRenownTokenProvider, baseDocumentModels, baseDocumentModelsMap, bindPHStoreToWindow, createAnalyticsStore, createClient, createDispatch, createGraphQLDriveNodeSource, createJobChangesSocket, createPHStore, createProcessorQuery, createSwitchboardBackend, describeGraphQLDocument, dispatchActions, driveIdFromUrl, dropDriveNode, ensurePHEventHandlers, ensurePHStore, findIsServableOverGraphQL, getActivePHStore, getAnalyticsStore, getDriveNode, getFullReactorClient, getPHStore, getPHStoreSubscribe, globalFetch, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, initConnectCrypto, initRenownCrypto, invalidateDriveNodes, isAuthRefusalClose, isDeadlineError, isDocumentTypeCache, isDriveAuthError, isGraphQLReactorClient, isNodeFetch, isOperationCache, isoStringFromDateTime, loadDriveNodes, login, logout, makeAuthConnectionParams, makeAuthMiddleware, markLocalDriveWrite, notifyPHStore, openRenown, packageFromDocumentModels, parseDriveUrl, peekDriveNode, phDocumentFromGetDocument, phDocumentFromMutation, prepareSignedActions, queriesUnknownArgument, queriesUnknownField, readPromiseState, resolveDocumentModelModule, revisionMapFromRevisionsList, setAttachmentService, setDocumentCache, setFullReactorClient, setReactorClient, setReactorClientModule, setRenown, signStampedAction, stampAction, startDocumentChangesSubscription, subgraphUrlFromGraphqlUrl, subscribePHStore, subscriptionsUrlFromGraphqlUrl, switchboardFetch, takeLocalDriveWrite, toLegacyNode, useAttachmentService, useDatabase, useDid, useDispatch, useDocument, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOperations, useDocumentSafe, useDocuments, useDragNode, useDriveNode, useDriveNodes, useDriveNodesCache, useDropNode, useGetDocument, useGetDocumentAsync, useGetDocuments, useLoginStatus, useModelRegistry, usePGlite, usePHStore, useReactorClient, useReactorClientModule, useReactorHalves, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownAuthAsync, useRenownInit, useRenownInitialAuth, useRenownInitialUser, useRenownLoginMethods, useRenownSessionCookie, useRenownSessionSynced, useRenownWalletAdapter, useSwitchboardClient, useSync, useSyncList, useUser, viewFilterInputFromViewFilter, withRequestDeadline, withStreamedBodies };
1875
1895
  export {};
1876
1896
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/actions/drive-info.ts","../src/actions/document.ts","../src/actions/bulk-archive.ts","../src/actions/folder-zip.ts","../src/actions/drive.ts","../src/constants.ts","../src/errors.ts","../src/global/types.ts","../src/global/core.ts","../src/graphql/adapters.ts","../src/graphql/fetchers.ts","../src/graphql/graphql-client-document-cache.ts","../src/graphql/mutators.ts","../src/hooks/add-ph-event-handlers.ts","../src/hooks/allowed-document-model-modules.ts","../src/hooks/child-nodes.ts","../src/hooks/config/connect.ts","../src/hooks/config/editor.ts","../src/hooks/config/set-config-by-key.ts","../src/hooks/config/set-config-by-object.ts","../src/hooks/config/use-value-by-key.ts","../src/hooks/config/utils.ts","../src/hooks/drives.ts","../src/hooks/loading.ts","../src/hooks/connection-state.ts","../src/hooks/document-by-id.ts","../src/hooks/link-props.ts","../src/hooks/document-link.ts","../src/hooks/documents-of-type.ts","../src/hooks/document-of-type.ts","../src/hooks/document-types.ts","../src/hooks/document-version-status.ts","../src/hooks/download-document.ts","../src/hooks/download-folder.ts","../src/hooks/drive-by-id.ts","../src/hooks/drive-context.tsx","../src/hooks/editor-context.tsx","../src/hooks/editor-modules.ts","../src/hooks/use-editor-preloader.ts","../src/hooks/features.ts","../src/hooks/file-drag-and-drop.ts","../src/hooks/folder-by-id.ts","../src/hooks/graphql-reactor-client.ts","../src/hooks/init-graphql-reactor-client.ts","../src/hooks/items-in-selected-drive.ts","../src/hooks/items-in-selected-folder.ts","../src/hooks/make-ph-event-functions.ts","../src/hooks/modals.ts","../src/hooks/node-actions.ts","../src/hooks/node-by-id.ts","../src/hooks/node-path.ts","../src/hooks/package-discovery.ts","../src/hooks/parent-folder.ts","../src/hooks/revision-history.ts","../src/hooks/selected-document.ts","../src/hooks/navigation.ts","../src/hooks/url-state.ts","../src/hooks/selected-drive.ts","../src/hooks/selected-folder.ts","../src/hooks/set-selected-node.ts","../src/hooks/sync-selection.ts","../src/hooks/selected-node.ts","../src/hooks/selected-timeline-item.ts","../src/hooks/subgraph-modules.ts","../src/hooks/supported-document-types.ts","../src/hooks/theme.ts","../src/hooks/timeline-revision.ts","../src/hooks/toast.ts","../src/hooks/use-can-execute.ts","../src/hooks/use-drive-system-info.ts","../src/hooks/use-editor-file-drop.ts","../src/hooks/use-get-switchboard-link.ts","../src/types/upload.ts","../src/hooks/use-on-drop-file.ts","../src/hooks/user-permissions.ts","../src/hooks/vetra-packages.ts","../src/hooks/close-node.ts","../src/hooks/attachment-progress.ts","../src/hooks/use-attachments.ts","../src/hooks/backend-auth.ts","../src/pglite/drop.ts","../src/pglite/usePGlite.ts","../src/reactor.ts","../src/routing/drive-arrivals.ts","../src/routing/resolve-drive-route.ts","../src/registry/types.ts","../src/registry/client.ts","../src/registry/fetchers.ts","../src/remote-controller/action-tracker.ts","../src/remote-controller/remote-client.ts","../src/remote-controller/remote-controller.ts","../src/remote-controller/utils.ts","../src/storage/base-storage.ts","../src/storage/local-storage.ts","../src/storage/types.ts","../src/types/reactor.ts","../src/types/processor-host-module.ts","../src/utils/documents.ts","../src/utils/drives.ts","../src/utils/download-document.ts","../src/utils/get-revision-from-date.ts","../src/utils/nodes.ts","../src/utils/preload-editor.ts","../src/utils/switchboard.ts","../src/utils/upgrade-preview.ts","../src/utils/url.ts","../src/utils/user.ts","../src/utils/validate-document.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;KAaY;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;wBAsBoB,eACpB,aACA,gBAAe,sBACd,QAAQ;;;wBC+IW,qBACpB,UAAU,eACT;wBAyLmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;wBA4CvD,SAAS,eAAe,OAAI,QAAA,aAAA;wBA2C5B,YACpB,iBACA,cACA,sBACA,uBACA,WAAW,cACX,aACA,0BACA,gCAA6B;;;;;EA0DrB;;;KAKE;EACV;EACA;EACA;EACA;EACA;;wBA4GoB,oBACpB,eAAe,MACf,iBACA,eACA,uBACA,aAAa,8BACb,0BACA,kBAAkB,uBAAkB,QAAA;wBAsQhB,UACpB,iBACA,cACA,wBAAqB,QAAA;wBAgCD,WAAW,iBAAiB,iBAAc;wBAwD1C,gBACpB,iBACA,gBACA,eACC,QAAQ;wBA4BW,yBACpB,gBACA,iCAA8B,QAAA;;;;;wBAwPV,gBAAgB,oBAAoB,qBAAkB,QAAA;;;KC7vChE;EAAkB,MAAM;EAAM,QAAQ;;;;;;;;;;wBAU5B,kBACpB,MAAM,MACN,iBACA,cAAc,mBACb,QAAQ;;;KCHC;EACV,KAAK;EACL;EACA;EACA;;;;;;;;;;;;wBAmCoB,eACpB,OAAO,uBACP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wBAOxB,SAAS;;wBAST,cAAc;wBAQd,sBAAsB;;wBAKtB,sBAAsB;;;;;wBAUtB,yBAAyB;wBAMzB,uBAAuB;;wBAKvB,uBAAuB;;;wBAQvB,6BAA6B;;;wBCnK7B;EAAA;EAAA;;;;qBCUH,mBAAgB,UAAc,iBAAU"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/actions/drive-info.ts","../src/actions/document.ts","../src/actions/bulk-archive.ts","../src/actions/folder-zip.ts","../src/actions/drive.ts","../src/constants.ts","../src/errors.ts","../src/global/types.ts","../src/global/core.ts","../src/graphql/adapters.ts","../src/graphql/fetchers.ts","../src/graphql/graphql-client-document-cache.ts","../src/graphql/mutators.ts","../src/hooks/add-ph-event-handlers.ts","../src/hooks/allowed-document-model-modules.ts","../src/hooks/child-nodes.ts","../src/hooks/config/connect.ts","../src/hooks/config/editor.ts","../src/hooks/config/set-config-by-key.ts","../src/hooks/config/set-config-by-object.ts","../src/hooks/config/use-value-by-key.ts","../src/hooks/config/utils.ts","../src/hooks/drives.ts","../src/hooks/loading.ts","../src/hooks/connection-state.ts","../src/hooks/document-by-id.ts","../src/hooks/link-props.ts","../src/hooks/document-link.ts","../src/hooks/documents-of-type.ts","../src/hooks/document-of-type.ts","../src/hooks/document-types.ts","../src/hooks/document-version-status.ts","../src/hooks/download-document.ts","../src/hooks/download-folder.ts","../src/hooks/drive-by-id.ts","../src/hooks/drive-context.tsx","../src/hooks/editor-context.tsx","../src/hooks/editor-modules.ts","../src/hooks/use-editor-preloader.ts","../src/hooks/features.ts","../src/hooks/file-drag-and-drop.ts","../src/hooks/folder-by-id.ts","../src/hooks/graphql-reactor-client.ts","../src/hooks/init-graphql-reactor-client.ts","../src/hooks/items-in-selected-drive.ts","../src/hooks/items-in-selected-folder.ts","../src/hooks/make-ph-event-functions.ts","../src/hooks/modals.ts","../src/hooks/node-actions.ts","../src/hooks/node-by-id.ts","../src/hooks/node-path.ts","../src/hooks/package-discovery.ts","../src/hooks/parent-folder.ts","../src/hooks/revision-history.ts","../src/hooks/selected-document.ts","../src/hooks/navigation.ts","../src/hooks/url-state.ts","../src/hooks/selected-drive.ts","../src/hooks/selected-folder.ts","../src/hooks/set-selected-node.ts","../src/hooks/sync-selection.ts","../src/hooks/selected-node.ts","../src/hooks/selected-timeline-item.ts","../src/hooks/subgraph-modules.ts","../src/hooks/supported-document-types.ts","../src/hooks/theme.ts","../src/hooks/timeline-revision.ts","../src/hooks/toast.ts","../src/hooks/use-can-execute.ts","../src/hooks/use-drive-system-info.ts","../src/hooks/use-editor-file-drop.ts","../src/hooks/use-get-switchboard-link.ts","../src/types/upload.ts","../src/hooks/use-on-drop-file.ts","../src/hooks/user-permissions.ts","../src/hooks/vetra-packages.ts","../src/hooks/close-node.ts","../src/hooks/attachment-progress.ts","../src/hooks/use-attachments.ts","../src/hooks/backend-auth.ts","../src/pglite/drop.ts","../src/pglite/usePGlite.ts","../src/reactor.ts","../src/routing/drive-arrivals.ts","../src/routing/resolve-drive-route.ts","../src/registry/types.ts","../src/registry/client.ts","../src/registry/fetchers.ts","../src/remote-controller/action-tracker.ts","../src/remote-controller/remote-client.ts","../src/remote-controller/remote-controller.ts","../src/remote-controller/utils.ts","../src/storage/base-storage.ts","../src/storage/local-storage.ts","../src/storage/types.ts","../src/types/reactor.ts","../src/types/processor-host-module.ts","../src/utils/documents.ts","../src/utils/drives.ts","../src/utils/download-document.ts","../src/utils/get-revision-from-date.ts","../src/utils/nodes.ts","../src/utils/preload-editor.ts","../src/utils/switchboard.ts","../src/utils/upgrade-preview.ts","../src/utils/url.ts","../src/utils/user.ts","../src/utils/validate-document.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAaY;EACV;EACA;EACA;EACA;EACA,MAAM;EACN;;;;;;;;;;;;;;;;;;;;;wBAsBoB,eACpB,aACA,gBAAe,sBACd,QAAQ;;;wBC+IW,qBACpB,UAAU,eACT;wBAyLmB,WAAW,UAAU,cAAY,yBAAsB,eAAA;;;;;;w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