@powerhousedao/reactor-browser 6.2.2-dev.26 → 6.2.2-dev.28
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/attachment-service-BbtWv6CL.d.ts +965 -0
- package/dist/attachment-service-BbtWv6CL.d.ts.map +1 -0
- package/dist/{client-_Gh2Uf0E.js → client-B1Af81HB.js} +26 -4
- package/dist/{client-_Gh2Uf0E.js.map → client-B1Af81HB.js.map} +1 -1
- package/dist/{client-DAJGpNZH.d.ts → client-CPfxm_9L.d.ts} +2 -2
- package/dist/{client-DAJGpNZH.d.ts.map → client-CPfxm_9L.d.ts.map} +1 -1
- package/dist/{client-DKuvLO3_.js → client-Zz_l9QzI.js} +1 -1
- package/dist/{client-DKuvLO3_.js.map → client-Zz_l9QzI.js.map} +1 -1
- package/dist/{document-by-id-dLYFX-xz.js → document-by-id-RNQCGkYh.js} +34 -42
- package/dist/document-by-id-RNQCGkYh.js.map +1 -0
- package/dist/document-model-modules-B2_aAWc7.js +2593 -0
- package/dist/document-model-modules-B2_aAWc7.js.map +1 -0
- package/dist/global-C8gV1GYv.d.ts +391 -0
- package/dist/global-C8gV1GYv.d.ts.map +1 -0
- package/dist/index-BHQr61KK.d.ts +345 -0
- package/dist/index-BHQr61KK.d.ts.map +1 -0
- package/dist/{index-B3keszpu.d.ts → index-CxxxP14A.d.ts} +2 -2
- package/dist/{index-B3keszpu.d.ts.map → index-CxxxP14A.d.ts.map} +1 -1
- package/dist/index.d.ts +25 -319
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -1557
- package/dist/index.js.map +1 -1
- package/dist/{inspector-proxy-Doocf0nD.d.ts → inspector-proxy-CL1NSQyn.d.ts} +1 -1
- package/dist/{inspector-proxy-Doocf0nD.d.ts.map → inspector-proxy-CL1NSQyn.d.ts.map} +1 -1
- package/dist/{make-ph-event-functions-BHoLPif5.js → make-ph-event-functions-DBq3iWYn.js} +1 -1
- package/dist/{make-ph-event-functions-BHoLPif5.js.map → make-ph-event-functions-DBq3iWYn.js.map} +1 -1
- package/dist/{pglite-CntadC_p-BgIvrYtV.d.ts → pglite-CntadC_p-BtEalg1H.d.ts} +1 -1
- package/dist/{pglite-CntadC_p-BgIvrYtV.d.ts.map → pglite-CntadC_p-BtEalg1H.d.ts.map} +1 -1
- package/dist/{relational-Dj06-YkI.js → relational-DJlbclWB.js} +1 -1
- package/dist/{relational-Dj06-YkI.js.map → relational-DJlbclWB.js.map} +1 -1
- package/dist/renown-BZabzj4l.js +68 -0
- package/dist/renown-BZabzj4l.js.map +1 -0
- package/dist/{renown-Bihtk0Mj.js → renown-C7a1ygsj.js} +3 -65
- package/dist/renown-C7a1ygsj.js.map +1 -0
- package/dist/src/analytics/index.d.ts +1 -1
- package/dist/src/analytics/index.js +2 -1
- package/dist/src/analytics/index.js.map +1 -1
- package/dist/src/graphql/client.d.ts +3 -3
- package/dist/src/graphql/client.js +1 -1
- package/dist/src/graphql-client/entry.d.ts +4 -0
- package/dist/src/graphql-client/entry.js +3 -0
- package/dist/src/relational/index.d.ts +1 -1
- package/dist/src/relational/index.js +1 -1
- package/dist/src/renown/index.d.ts +1 -1
- package/dist/src/renown/index.js +2 -1
- package/dist/src/rpc/index.d.ts +2 -2
- package/dist/src/rpc/index.js +1 -1
- package/dist/store-DAJq6vSs.js +37 -0
- package/dist/store-DAJq6vSs.js.map +1 -0
- package/dist/{types-CVZRGBXo.d.ts → types-jEQ5crx9.d.ts} +20 -4
- package/dist/{types-CVZRGBXo.d.ts.map → types-jEQ5crx9.d.ts.map} +1 -1
- package/dist/{types-CPV0Cnsy.d.ts → types-wGaiXwjh.d.ts} +1 -1
- package/dist/{types-CPV0Cnsy.d.ts.map → types-wGaiXwjh.d.ts.map} +1 -1
- package/package.json +15 -9
- package/dist/document-by-id-dLYFX-xz.js.map +0 -1
- package/dist/index-BlPURnJv.d.ts +0 -714
- package/dist/index-BlPURnJv.d.ts.map +0 -1
- package/dist/renown-Bihtk0Mj.js.map +0 -1
package/dist/index-BlPURnJv.d.ts
DELETED
|
@@ -1,714 +0,0 @@
|
|
|
1
|
-
import { t as PGlite } from "./pglite-CntadC_p-BgIvrYtV.js";
|
|
2
|
-
import { c as ReactorGraphQLClient, r as GraphQLClientWindowEvents } from "./types-CVZRGBXo.js";
|
|
3
|
-
import { r as IWorkerAdminClient, t as IInspectorProxy } from "./inspector-proxy-Doocf0nD.js";
|
|
4
|
-
import { Action, DocumentAction, DocumentModelModule, PHDocument } from "@powerhousedao/shared/document-model";
|
|
5
|
-
import { DocumentDriveDocument } from "@powerhousedao/shared/document-drive";
|
|
6
|
-
import { IDocumentModelLoader, IReactorClient, InProcessReactorClientModule, InProcessReactorModule, ReactorClientModule, ReactorModule } from "@powerhousedao/reactor";
|
|
7
|
-
import { CSSProperties, DragEventHandler, ReactNode } from "react";
|
|
8
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
9
|
-
import * as _renown_sdk0 from "@renown/sdk";
|
|
10
|
-
import { CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, DOMAIN_TYPE, IRenown, ISSUER_TYPE, LoginStatus, User, VERIFIABLE_CREDENTIAL_EIP712_TYPE } from "@renown/sdk";
|
|
11
|
-
import { IAttachmentService } from "@powerhousedao/reactor-attachments/client";
|
|
12
|
-
import { LoginMethod, WalletAdapterDescriptor, WalletSession, WalletTheme } from "@renown/sdk/wallet";
|
|
13
|
-
import { DocumentModelLib, RegistryPackageSource } from "@powerhousedao/shared";
|
|
14
|
-
import { PHConnectRenownAdapters } from "@powerhousedao/shared/clis";
|
|
15
|
-
|
|
16
|
-
//#region src/types/documents.d.ts
|
|
17
|
-
type DocumentDispatch<TAction extends Action> = (actionOrActions: TAction | TAction[] | DocumentAction | DocumentAction[] | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument) => void) => void;
|
|
18
|
-
type PromiseWithState<T> = Promise<T> & PromiseState<T>;
|
|
19
|
-
type FulfilledPromise<T> = Promise<T> & {
|
|
20
|
-
status: "fulfilled";
|
|
21
|
-
value: T;
|
|
22
|
-
};
|
|
23
|
-
type RejectedPromise<T> = Promise<T> & {
|
|
24
|
-
status: "rejected";
|
|
25
|
-
reason: unknown;
|
|
26
|
-
};
|
|
27
|
-
type PromiseState<T> = {
|
|
28
|
-
status: "pending";
|
|
29
|
-
} | {
|
|
30
|
-
status: "fulfilled";
|
|
31
|
-
value: T;
|
|
32
|
-
} | {
|
|
33
|
-
status: "rejected";
|
|
34
|
-
reason: unknown;
|
|
35
|
-
};
|
|
36
|
-
interface IDocumentCache {
|
|
37
|
-
get(id: string, refetch?: boolean): Promise<PHDocument>;
|
|
38
|
-
getBatch(ids: string[], refetch?: boolean): Promise<PHDocument[]>;
|
|
39
|
-
subscribe(id: string | string[], callback: () => void): () => void;
|
|
40
|
-
}
|
|
41
|
-
//#endregion
|
|
42
|
-
//#region src/renown/use-renown-auth.d.ts
|
|
43
|
-
type RenownAuthStatus = LoginStatus | "loading";
|
|
44
|
-
interface RenownAuth {
|
|
45
|
-
status: RenownAuthStatus | undefined;
|
|
46
|
-
user: User | undefined;
|
|
47
|
-
address: string | undefined;
|
|
48
|
-
ensName: string | undefined;
|
|
49
|
-
avatarUrl: string | undefined;
|
|
50
|
-
profileId: string | undefined;
|
|
51
|
-
displayName: string | undefined;
|
|
52
|
-
displayAddress: string | undefined;
|
|
53
|
-
login: (session?: WalletSession, method?: LoginMethod) => void;
|
|
54
|
-
pending: boolean;
|
|
55
|
-
error: Error | undefined;
|
|
56
|
-
logout: () => Promise<void>;
|
|
57
|
-
openProfile: () => void;
|
|
58
|
-
}
|
|
59
|
-
declare function useRenownAuth(): RenownAuth;
|
|
60
|
-
type RenownAuthResolution = "authenticated" | "resolving" | "unauthenticated";
|
|
61
|
-
interface RenownAuthAsync extends RenownAuth {
|
|
62
|
-
/** Collapsed routing state; "resolving" until auth is known. */
|
|
63
|
-
state: RenownAuthResolution;
|
|
64
|
-
isResolving: boolean;
|
|
65
|
-
}
|
|
66
|
-
declare function useRenownAuthAsync(): RenownAuthAsync;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/renown/session.d.ts
|
|
69
|
-
declare function openRenown(documentId?: string): void;
|
|
70
|
-
declare function login(userDid: string | undefined, renown: IRenown | undefined): Promise<User | undefined>;
|
|
71
|
-
declare function logout(): Promise<void>;
|
|
72
|
-
//#endregion
|
|
73
|
-
//#region src/types/config.d.ts
|
|
74
|
-
type PHGlobalConfig = PHCommonGlobalConfig & PHAppConfig & PHDocumentEditorConfig & PHDrivesGlobalConfig & PHAnalyticsGlobalConfig & PHRelationalProcessorsGlobalConfig & PHProcessorsGlobalConfig & PHRenownGlobalConfig & PHSentryGlobalConfig;
|
|
75
|
-
type PHGlobalConfigKey = keyof PHGlobalConfig;
|
|
76
|
-
type PHGlobalConfigSetters = PHGlobalConfigSettersForKey<PHGlobalConfigKey>;
|
|
77
|
-
type PHGlobalConfigHooks = PHGlobalConfigHooksForKey<PHGlobalConfigKey>;
|
|
78
|
-
/**
|
|
79
|
-
* Editor configuration settings which are globally available to your custom apps.
|
|
80
|
-
*
|
|
81
|
-
* Setting these will override the defaults when your editor is mounted.
|
|
82
|
-
*/
|
|
83
|
-
type PHAppConfig = {
|
|
84
|
-
/** Allows you to specify the document types that are allowed to be added to the drive.
|
|
85
|
-
* An empty array means that any document type is allowed.
|
|
86
|
-
*/
|
|
87
|
-
allowedDocumentTypes?: string[]; /** Whether drag and drop is enabled for the app. */
|
|
88
|
-
isDragAndDropEnabled?: boolean;
|
|
89
|
-
};
|
|
90
|
-
type PHAppConfigKey = keyof PHAppConfig;
|
|
91
|
-
type PHAppConfigSetters = PHGlobalConfigSettersForKey<PHAppConfigKey>;
|
|
92
|
-
type PHAppConfigHooks = PHGlobalConfigHooksForKey<PHAppConfigKey>;
|
|
93
|
-
type PHDocumentEditorConfig = {
|
|
94
|
-
/** Whether external controls are enabled for the document editor. */isExternalControlsEnabled?: boolean;
|
|
95
|
-
};
|
|
96
|
-
type PHDocumentEditorConfigKey = keyof PHDocumentEditorConfig;
|
|
97
|
-
type PHDocumentEditorConfigSetters = PHGlobalConfigSettersForKey<PHDocumentEditorConfigKey>;
|
|
98
|
-
type PHDocumentEditorConfigHooks = PHGlobalConfigHooksForKey<PHDocumentEditorConfigKey>;
|
|
99
|
-
type PHCommonGlobalConfig = {
|
|
100
|
-
basePath?: string;
|
|
101
|
-
routerBasename?: string;
|
|
102
|
-
version?: string;
|
|
103
|
-
requiresHardRefresh?: boolean;
|
|
104
|
-
warnOutdatedApp?: boolean;
|
|
105
|
-
studioMode?: boolean;
|
|
106
|
-
versionCheckInterval?: number;
|
|
107
|
-
cliVersion?: string;
|
|
108
|
-
fileUploadOperationsChunkSize?: number;
|
|
109
|
-
gaTrackingId?: string;
|
|
110
|
-
isDocumentModelSelectionSettingsEnabled?: boolean;
|
|
111
|
-
isAddDriveEnabled?: boolean;
|
|
112
|
-
isPublicDrivesEnabled?: boolean;
|
|
113
|
-
isAddPublicDrivesEnabled?: boolean;
|
|
114
|
-
isDeletePublicDrivesEnabled?: boolean;
|
|
115
|
-
isCloudDrivesEnabled?: boolean;
|
|
116
|
-
isAddCloudDrivesEnabled?: boolean;
|
|
117
|
-
isDeleteCloudDrivesEnabled?: boolean;
|
|
118
|
-
isLocalDrivesEnabled?: boolean;
|
|
119
|
-
isAddLocalDrivesEnabled?: boolean;
|
|
120
|
-
isDeleteLocalDrivesEnabled?: boolean;
|
|
121
|
-
allowList?: string[];
|
|
122
|
-
analyticsDatabaseName?: string;
|
|
123
|
-
logLevel?: "debug" | "info" | "warn" | "error";
|
|
124
|
-
isEditorDebugModeEnabled?: boolean;
|
|
125
|
-
isEditorReadModeEnabled?: boolean;
|
|
126
|
-
disabledEditors?: string[];
|
|
127
|
-
enabledEditors?: string[];
|
|
128
|
-
};
|
|
129
|
-
type PHDrivesGlobalConfig = {
|
|
130
|
-
defaultDrivesUrl?: string;
|
|
131
|
-
drivesPreserveStrategy?: string;
|
|
132
|
-
};
|
|
133
|
-
type PHAnalyticsGlobalConfig = {
|
|
134
|
-
isAnalyticsEnabled?: boolean;
|
|
135
|
-
isAnalyticsDatabaseWorkerEnabled?: boolean;
|
|
136
|
-
isDiffAnalyticsEnabled?: boolean;
|
|
137
|
-
isDriveAnalyticsEnabled?: boolean;
|
|
138
|
-
isAnalyticsExternalProcessorsEnabled?: boolean;
|
|
139
|
-
};
|
|
140
|
-
type PHRelationalProcessorsGlobalConfig = {
|
|
141
|
-
isRelationalProcessorsEnabled?: boolean;
|
|
142
|
-
isExternalRelationalProcessorsEnabled?: boolean;
|
|
143
|
-
};
|
|
144
|
-
type PHProcessorsGlobalConfig = {
|
|
145
|
-
isExternalProcessorsEnabled?: boolean;
|
|
146
|
-
isExternalPackagesEnabled?: boolean;
|
|
147
|
-
};
|
|
148
|
-
type PHRenownGlobalConfig = {
|
|
149
|
-
renownUrl?: string;
|
|
150
|
-
renownNetworkId?: string;
|
|
151
|
-
renownChainId?: number;
|
|
152
|
-
switchboardUrl?: string;
|
|
153
|
-
renownAdapters?: PHConnectRenownAdapters;
|
|
154
|
-
};
|
|
155
|
-
type PHSentryGlobalConfig = {
|
|
156
|
-
sentryRelease?: string;
|
|
157
|
-
sentryDsn?: string;
|
|
158
|
-
sentryEnv?: string;
|
|
159
|
-
isSentryTracingEnabled?: boolean;
|
|
160
|
-
};
|
|
161
|
-
type PHGlobalConfigSettersForKey<T extends PHGlobalConfigKey> = { [K in T]: (value: PHGlobalConfig[K]) => void };
|
|
162
|
-
type PHGlobalConfigHooksForKey<TKey extends PHGlobalConfigKey> = { [K in TKey]: () => PHGlobalConfig[K] };
|
|
163
|
-
/** Helper type for ensuring keys are all present while still allowing them to be set */
|
|
164
|
-
type FullPHGlobalConfig = Record<PHGlobalConfigKey, PHGlobalConfig[PHGlobalConfigKey]>;
|
|
165
|
-
//#endregion
|
|
166
|
-
//#region src/types/modals.d.ts
|
|
167
|
-
type PHModal = {
|
|
168
|
-
type: "createDocument";
|
|
169
|
-
documentType: string;
|
|
170
|
-
} | {
|
|
171
|
-
type: "deleteItem";
|
|
172
|
-
id: string;
|
|
173
|
-
} | {
|
|
174
|
-
type: "addDrive";
|
|
175
|
-
} | {
|
|
176
|
-
type: "upgradeDrive";
|
|
177
|
-
driveId: string;
|
|
178
|
-
} | {
|
|
179
|
-
type: "deleteDrive";
|
|
180
|
-
driveId: string;
|
|
181
|
-
} | {
|
|
182
|
-
type: "driveSettings";
|
|
183
|
-
driveId: string;
|
|
184
|
-
} | {
|
|
185
|
-
type: "settings";
|
|
186
|
-
} | {
|
|
187
|
-
type: "clearStorage";
|
|
188
|
-
} | {
|
|
189
|
-
type: "debugSettings";
|
|
190
|
-
} | {
|
|
191
|
-
type: "disclaimer";
|
|
192
|
-
} | {
|
|
193
|
-
type: "cookiesPolicy";
|
|
194
|
-
} | {
|
|
195
|
-
type: "downloadDocumentWithErrors";
|
|
196
|
-
documentId: string;
|
|
197
|
-
} | {
|
|
198
|
-
type: "inspector";
|
|
199
|
-
} | {
|
|
200
|
-
type: "missingPackage";
|
|
201
|
-
documentType: string;
|
|
202
|
-
} | {
|
|
203
|
-
type: "driveAuthRequired";
|
|
204
|
-
} | {
|
|
205
|
-
type: "openFileDocuments";
|
|
206
|
-
} | {
|
|
207
|
-
type: "login";
|
|
208
|
-
};
|
|
209
|
-
//#endregion
|
|
210
|
-
//#region src/types/package-discovery.d.ts
|
|
211
|
-
type PendingInstallation = {
|
|
212
|
-
documentType: string;
|
|
213
|
-
packageNames: string[];
|
|
214
|
-
};
|
|
215
|
-
type FailedInstallationReason = "no-registry" | "not-in-registry" | "registry-error" | "install-failed" | "dismissed" | "offline";
|
|
216
|
-
type FailedInstallation = {
|
|
217
|
-
documentType: string;
|
|
218
|
-
reason: FailedInstallationReason;
|
|
219
|
-
packageNames: string[];
|
|
220
|
-
error: Error | null;
|
|
221
|
-
};
|
|
222
|
-
type DiscoveryEvent = {
|
|
223
|
-
type: "type-discovered";
|
|
224
|
-
documentType: string;
|
|
225
|
-
packageNames: string[];
|
|
226
|
-
} | {
|
|
227
|
-
type: "installation-prompted";
|
|
228
|
-
documentType: string;
|
|
229
|
-
packageNames: string[];
|
|
230
|
-
} | {
|
|
231
|
-
type: "installation-approved";
|
|
232
|
-
packageName: string;
|
|
233
|
-
documentTypes: string[];
|
|
234
|
-
} | {
|
|
235
|
-
type: "installation-dismissed";
|
|
236
|
-
packageName: string;
|
|
237
|
-
documentTypes: string[];
|
|
238
|
-
} | {
|
|
239
|
-
type: "installation-failed";
|
|
240
|
-
packageName: string;
|
|
241
|
-
error: Error;
|
|
242
|
-
} | {
|
|
243
|
-
type: "registry-query-failed";
|
|
244
|
-
documentType: string;
|
|
245
|
-
error: Error;
|
|
246
|
-
} | {
|
|
247
|
-
type: "load-failed";
|
|
248
|
-
documentType: string;
|
|
249
|
-
reason: FailedInstallationReason;
|
|
250
|
-
};
|
|
251
|
-
type DiscoveryEventListener = (event: DiscoveryEvent) => void;
|
|
252
|
-
interface IPackageDiscoveryService {
|
|
253
|
-
load(documentType: string): Promise<DocumentModelModule<any>>;
|
|
254
|
-
getPendingInstallations(): PendingInstallation[];
|
|
255
|
-
subscribePending(listener: () => void): () => void;
|
|
256
|
-
getFailedInstallations(): FailedInstallation[];
|
|
257
|
-
subscribeFailed(listener: () => void): () => void;
|
|
258
|
-
subscribeEvents(listener: DiscoveryEventListener): () => void;
|
|
259
|
-
approveInstallation(packageName: string): Promise<void>;
|
|
260
|
-
dismissInstallation(packageName: string): void;
|
|
261
|
-
promptInstallation(documentType: string): void;
|
|
262
|
-
retryInstallation(documentType: string): Promise<void>;
|
|
263
|
-
}
|
|
264
|
-
//#endregion
|
|
265
|
-
//#region src/types/timeline.d.ts
|
|
266
|
-
type TimelineBarItem = {
|
|
267
|
-
id: string;
|
|
268
|
-
type: "bar";
|
|
269
|
-
addSize?: 0 | 1 | 2 | 3 | 4;
|
|
270
|
-
delSize?: 0 | 1 | 2 | 3 | 4;
|
|
271
|
-
timestampUtcMs?: string;
|
|
272
|
-
additions?: number;
|
|
273
|
-
deletions?: number;
|
|
274
|
-
revision?: number;
|
|
275
|
-
startDate?: Date;
|
|
276
|
-
endDate?: Date;
|
|
277
|
-
};
|
|
278
|
-
type TimelineDividerItem = {
|
|
279
|
-
id: string;
|
|
280
|
-
type: "divider";
|
|
281
|
-
timestampUtcMs?: string;
|
|
282
|
-
title?: string;
|
|
283
|
-
subtitle?: string;
|
|
284
|
-
revision?: number;
|
|
285
|
-
startDate?: Date;
|
|
286
|
-
endDate?: Date;
|
|
287
|
-
};
|
|
288
|
-
type TimelineItem = TimelineBarItem | TimelineDividerItem;
|
|
289
|
-
//#endregion
|
|
290
|
-
//#region src/types/toast.d.ts
|
|
291
|
-
type PHToastType = "default" | "success" | "error" | "warning" | "info" | "connect-success" | "connect-warning" | "connect-loading" | "connect-deleted";
|
|
292
|
-
type PHToastOptions = {
|
|
293
|
-
type?: PHToastType;
|
|
294
|
-
autoClose?: number | false;
|
|
295
|
-
containerId?: string;
|
|
296
|
-
};
|
|
297
|
-
type PHToastFn = (content: ReactNode | string, options?: PHToastOptions) => void;
|
|
298
|
-
//#endregion
|
|
299
|
-
//#region src/types/vetra.d.ts
|
|
300
|
-
type IPackagesListener = (data: {
|
|
301
|
-
packages: DocumentModelLib[];
|
|
302
|
-
}) => void;
|
|
303
|
-
type IPackageListerUnsubscribe = () => void;
|
|
304
|
-
type PackageManagerInstallResult = {
|
|
305
|
-
type: "success";
|
|
306
|
-
package: DocumentModelLib;
|
|
307
|
-
} | {
|
|
308
|
-
type: "error";
|
|
309
|
-
error: Error;
|
|
310
|
-
};
|
|
311
|
-
interface IPackageManager extends IDocumentModelLoader {
|
|
312
|
-
registryUrl: string | null;
|
|
313
|
-
packages: DocumentModelLib[];
|
|
314
|
-
addPackage(packageName: string): Promise<PackageManagerInstallResult> | PackageManagerInstallResult;
|
|
315
|
-
addPackages(packageNames: string[]): Promise<PackageManagerInstallResult[]> | PackageManagerInstallResult[];
|
|
316
|
-
removePackage(name: string): void;
|
|
317
|
-
updateLocalPackage(pkg: DocumentModelLib, version?: string): void;
|
|
318
|
-
subscribe(handler: IPackagesListener): IPackageListerUnsubscribe;
|
|
319
|
-
getPackageSource: (packageName: string) => RegistryPackageSource | null;
|
|
320
|
-
getPackageVersion: (packageName: string) => string | undefined;
|
|
321
|
-
/**
|
|
322
|
-
* Registry-installed packages keyed by their storage name (the registry
|
|
323
|
-
* spec, e.g. "@powerhousedao/clint-common"). Used by callers that need to
|
|
324
|
-
* diff against an external source of truth such as the publish-reload
|
|
325
|
-
* channel's `/__packages` SSE feed.
|
|
326
|
-
*/
|
|
327
|
-
getRegistryPackages: () => {
|
|
328
|
-
name: string;
|
|
329
|
-
version: string | undefined;
|
|
330
|
-
}[];
|
|
331
|
-
addLocalPackage: (name: string, loadedPackage: DocumentModelLib, version?: string) => void;
|
|
332
|
-
}
|
|
333
|
-
//#endregion
|
|
334
|
-
//#region src/hooks/node-drag-and-drop.d.ts
|
|
335
|
-
type DraggingNode = {
|
|
336
|
-
srcId: string;
|
|
337
|
-
parentId: string | null | undefined;
|
|
338
|
-
};
|
|
339
|
-
declare const addDraggingNodeEventHandler: () => void;
|
|
340
|
-
declare function useDragNode(args: {
|
|
341
|
-
srcId: string | undefined;
|
|
342
|
-
parentId: string | null | undefined;
|
|
343
|
-
}): {
|
|
344
|
-
isDragging: boolean;
|
|
345
|
-
draggable: boolean;
|
|
346
|
-
onDragStart: DragEventHandler;
|
|
347
|
-
onDragEnd: DragEventHandler;
|
|
348
|
-
};
|
|
349
|
-
declare function useDropNode(targetId: string | undefined): {
|
|
350
|
-
isDropTarget: boolean;
|
|
351
|
-
onDragEnter: DragEventHandler;
|
|
352
|
-
onDragOver: DragEventHandler;
|
|
353
|
-
onDragLeave: DragEventHandler;
|
|
354
|
-
onDrop: DragEventHandler;
|
|
355
|
-
};
|
|
356
|
-
//#endregion
|
|
357
|
-
//#region src/types/global.d.ts
|
|
358
|
-
interface BrowserReactorModule extends InProcessReactorModule {
|
|
359
|
-
pg: PGlite;
|
|
360
|
-
}
|
|
361
|
-
interface BrowserReactorClientModule extends InProcessReactorClientModule {
|
|
362
|
-
kind: "browser";
|
|
363
|
-
reactorModule: BrowserReactorModule | undefined;
|
|
364
|
-
}
|
|
365
|
-
type WorkerReactorModule = ReactorModule;
|
|
366
|
-
interface WorkerReactorClientModule extends ReactorClientModule {
|
|
367
|
-
kind: "worker";
|
|
368
|
-
reactorModule: WorkerReactorModule;
|
|
369
|
-
adminClient: IWorkerAdminClient;
|
|
370
|
-
inspector: IInspectorProxy;
|
|
371
|
-
}
|
|
372
|
-
type LOADING = null;
|
|
373
|
-
type PHGlobal = PHGlobalConfig & {
|
|
374
|
-
loading?: boolean;
|
|
375
|
-
reactorClientModule?: BrowserReactorClientModule | WorkerReactorClientModule;
|
|
376
|
-
reactorClient?: IReactorClient;
|
|
377
|
-
attachmentService?: IAttachmentService;
|
|
378
|
-
reactorGraphQLClient?: ReactorGraphQLClient | undefined;
|
|
379
|
-
renown?: IRenown | LOADING;
|
|
380
|
-
vetraPackageManager?: IPackageManager;
|
|
381
|
-
drives?: DocumentDriveDocument[];
|
|
382
|
-
documentCache?: IDocumentCache;
|
|
383
|
-
selectedDriveId?: string;
|
|
384
|
-
selectedNodeId?: string;
|
|
385
|
-
draggingNode?: DraggingNode;
|
|
386
|
-
modal?: PHModal;
|
|
387
|
-
selectedTimelineRevision?: string | number | null;
|
|
388
|
-
revisionHistoryVisible?: boolean;
|
|
389
|
-
selectedTimelineItem?: TimelineItem | null;
|
|
390
|
-
packageDiscoveryService?: IPackageDiscoveryService;
|
|
391
|
-
features?: Map<string, boolean>;
|
|
392
|
-
toast?: PHToastFn;
|
|
393
|
-
};
|
|
394
|
-
type PHGlobalKey = keyof PHGlobal;
|
|
395
|
-
type PHGlobalValue = PHGlobal[PHGlobalKey];
|
|
396
|
-
type UsePHGlobalValue<TValue extends PHGlobalValue> = () => TValue | undefined;
|
|
397
|
-
type SetPHGlobalValue<TValue extends PHGlobalValue> = (value: TValue | undefined) => void;
|
|
398
|
-
type AddPHGlobalEventHandler = () => void;
|
|
399
|
-
type PHGlobalEventHandlerAdders = Record<PHGlobalKey, AddPHGlobalEventHandler>;
|
|
400
|
-
type SetEvent<TKey extends PHGlobalKey> = CustomEvent<{ [key in TKey]: PHGlobal[TKey] | undefined }>;
|
|
401
|
-
declare global {
|
|
402
|
-
interface Window {
|
|
403
|
-
ph?: PHGlobal;
|
|
404
|
-
}
|
|
405
|
-
interface WindowEventMap extends GraphQLClientWindowEvents {}
|
|
406
|
-
} //# sourceMappingURL=global.d.ts.map
|
|
407
|
-
//#endregion
|
|
408
|
-
//#region src/hooks/renown.d.ts
|
|
409
|
-
/** Adds an event handler for the renown instance */
|
|
410
|
-
declare const addRenownEventHandler: () => void;
|
|
411
|
-
/** Returns the renown instance */
|
|
412
|
-
declare const useRenown: () => IRenown | LOADING | undefined;
|
|
413
|
-
/** Sets the renown instance */
|
|
414
|
-
declare const setRenown: (value: IRenown | LOADING | undefined) => void;
|
|
415
|
-
/** Returns the DID from the renown instance */
|
|
416
|
-
declare function useDid(): string | undefined;
|
|
417
|
-
/** Returns the current user from the renown instance, subscribing to user events */
|
|
418
|
-
declare function useUser(): User | undefined;
|
|
419
|
-
/** Returns the login status, subscribing to renown status events */
|
|
420
|
-
declare function useLoginStatus(): LoginStatus | "loading" | undefined;
|
|
421
|
-
//#endregion
|
|
422
|
-
//#region src/renown/components/RenownAuthButton.d.ts
|
|
423
|
-
interface RenownAuthButtonProps {
|
|
424
|
-
className?: string;
|
|
425
|
-
darkMode?: boolean;
|
|
426
|
-
loginContent?: ReactNode;
|
|
427
|
-
userContent?: ReactNode;
|
|
428
|
-
loadingContent?: ReactNode;
|
|
429
|
-
children?: (auth: RenownAuth) => ReactNode;
|
|
430
|
-
}
|
|
431
|
-
declare function RenownAuthButton({
|
|
432
|
-
className,
|
|
433
|
-
darkMode,
|
|
434
|
-
loginContent,
|
|
435
|
-
userContent,
|
|
436
|
-
loadingContent,
|
|
437
|
-
children
|
|
438
|
-
}: RenownAuthButtonProps): react_jsx_runtime0.JSX.Element;
|
|
439
|
-
//#endregion
|
|
440
|
-
//#region src/renown/components/RenownLoginButton.d.ts
|
|
441
|
-
interface RenownLoginButtonProps {
|
|
442
|
-
onLogin?: () => void;
|
|
443
|
-
darkMode?: boolean;
|
|
444
|
-
style?: CSSProperties;
|
|
445
|
-
className?: string;
|
|
446
|
-
asChild?: boolean;
|
|
447
|
-
children?: ReactNode;
|
|
448
|
-
}
|
|
449
|
-
declare function RenownLoginButton({
|
|
450
|
-
onLogin: onLoginProp,
|
|
451
|
-
style,
|
|
452
|
-
className,
|
|
453
|
-
asChild,
|
|
454
|
-
children
|
|
455
|
-
}: RenownLoginButtonProps): react_jsx_runtime0.JSX.Element;
|
|
456
|
-
//#endregion
|
|
457
|
-
//#region src/renown/components/RenownUserButton.d.ts
|
|
458
|
-
interface RenownUserButtonMenuItem {
|
|
459
|
-
label: string;
|
|
460
|
-
icon?: ReactNode;
|
|
461
|
-
onClick: () => void;
|
|
462
|
-
style?: CSSProperties;
|
|
463
|
-
}
|
|
464
|
-
interface RenownUserButtonProps {
|
|
465
|
-
address?: string;
|
|
466
|
-
username?: string;
|
|
467
|
-
avatarUrl?: string;
|
|
468
|
-
userId?: string;
|
|
469
|
-
onDisconnect?: () => void;
|
|
470
|
-
style?: CSSProperties;
|
|
471
|
-
className?: string;
|
|
472
|
-
asChild?: boolean;
|
|
473
|
-
children?: ReactNode;
|
|
474
|
-
menuItems?: RenownUserButtonMenuItem[];
|
|
475
|
-
}
|
|
476
|
-
declare function RenownUserButton({
|
|
477
|
-
address: addressProp,
|
|
478
|
-
username: usernameProp,
|
|
479
|
-
avatarUrl: avatarUrlProp,
|
|
480
|
-
userId: userIdProp,
|
|
481
|
-
onDisconnect: onDisconnectProp,
|
|
482
|
-
style,
|
|
483
|
-
className,
|
|
484
|
-
asChild,
|
|
485
|
-
children,
|
|
486
|
-
menuItems
|
|
487
|
-
}: RenownUserButtonProps): react_jsx_runtime0.JSX.Element;
|
|
488
|
-
//#endregion
|
|
489
|
-
//#region src/renown/components/icons.d.ts
|
|
490
|
-
interface IconProps {
|
|
491
|
-
size?: number;
|
|
492
|
-
width?: number;
|
|
493
|
-
height?: number;
|
|
494
|
-
color?: string;
|
|
495
|
-
style?: CSSProperties;
|
|
496
|
-
className?: string;
|
|
497
|
-
}
|
|
498
|
-
interface RenownLogoProps extends IconProps {
|
|
499
|
-
hovered?: boolean;
|
|
500
|
-
}
|
|
501
|
-
declare function RenownLogo({
|
|
502
|
-
width,
|
|
503
|
-
height,
|
|
504
|
-
hovered,
|
|
505
|
-
color,
|
|
506
|
-
className
|
|
507
|
-
}: RenownLogoProps): react_jsx_runtime0.JSX.Element;
|
|
508
|
-
declare function CopyIcon({
|
|
509
|
-
size,
|
|
510
|
-
color
|
|
511
|
-
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
512
|
-
declare function DisconnectIcon({
|
|
513
|
-
size,
|
|
514
|
-
color
|
|
515
|
-
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
516
|
-
declare function SpinnerIcon({
|
|
517
|
-
size,
|
|
518
|
-
color
|
|
519
|
-
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
520
|
-
declare function ChevronDownIcon({
|
|
521
|
-
size,
|
|
522
|
-
color,
|
|
523
|
-
style
|
|
524
|
-
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
525
|
-
declare function UserIcon({
|
|
526
|
-
size,
|
|
527
|
-
color
|
|
528
|
-
}: IconProps): react_jsx_runtime0.JSX.Element;
|
|
529
|
-
//#endregion
|
|
530
|
-
//#region src/renown/crypto.d.ts
|
|
531
|
-
/**
|
|
532
|
-
* @deprecated Use {@link initRenownCrypto} instead
|
|
533
|
-
*
|
|
534
|
-
* Initialize ConnectCrypto
|
|
535
|
-
* @returns ConnectCrypto instance
|
|
536
|
-
*/
|
|
537
|
-
declare function initConnectCrypto(): Promise<_renown_sdk0.RenownCrypto>;
|
|
538
|
-
/**
|
|
539
|
-
* Initialize RenownCrypto
|
|
540
|
-
* @returns RenownCrypto instance
|
|
541
|
-
*/
|
|
542
|
-
declare function initRenownCrypto(): Promise<_renown_sdk0.RenownCrypto>;
|
|
543
|
-
//#endregion
|
|
544
|
-
//#region src/renown/constants.d.ts
|
|
545
|
-
declare const RENOWN_URL = "https://www.renown.id";
|
|
546
|
-
declare const RENOWN_NETWORK_ID = "eip155";
|
|
547
|
-
declare const RENOWN_CHAIN_ID = "1";
|
|
548
|
-
//#endregion
|
|
549
|
-
//#region src/renown/initial-user.d.ts
|
|
550
|
-
/** Whether the first render already knows who (if anyone) is signed in. */
|
|
551
|
-
type RenownInitialAuth = {
|
|
552
|
-
state: "authenticated";
|
|
553
|
-
user: User;
|
|
554
|
-
} | {
|
|
555
|
-
state: "anonymous";
|
|
556
|
-
} | {
|
|
557
|
-
state: "unknown";
|
|
558
|
-
};
|
|
559
|
-
declare const RENOWN_INITIAL_UNKNOWN: RenownInitialAuth;
|
|
560
|
-
declare const RENOWN_INITIAL_ANONYMOUS: RenownInitialAuth;
|
|
561
|
-
interface RenownInitialUserProviderProps {
|
|
562
|
-
/** Resolved first-render auth (see `RenownProvider`). Takes precedence over `initialUser`. */
|
|
563
|
-
initialAuth?: RenownInitialAuth;
|
|
564
|
-
/** User resolved from a verified session cookie (see `verifyRenownSession`). */
|
|
565
|
-
initialUser?: User;
|
|
566
|
-
children: ReactNode;
|
|
567
|
-
}
|
|
568
|
-
declare function RenownInitialUserProvider({
|
|
569
|
-
initialAuth,
|
|
570
|
-
initialUser,
|
|
571
|
-
children
|
|
572
|
-
}: RenownInitialUserProviderProps): react_jsx_runtime0.JSX.Element;
|
|
573
|
-
/** First-render auth as a three-state value; use this to skip a spinner when anonymous. */
|
|
574
|
-
declare function useRenownInitialAuth(): RenownInitialAuth;
|
|
575
|
-
declare function useRenownInitialUser(): User | undefined;
|
|
576
|
-
//#endregion
|
|
577
|
-
//#region src/renown/use-renown-session-cookie.d.ts
|
|
578
|
-
interface RenownSessionCookieOptions {
|
|
579
|
-
/** Route handler that sets (POST) / clears (DELETE) the session cookie. */
|
|
580
|
-
endpoint?: string;
|
|
581
|
-
/** Bearer-token lifetime in seconds (default 7 days). */
|
|
582
|
-
expiresIn?: number;
|
|
583
|
-
/** When false the hook is inert (client-only apps with no server cookie). */
|
|
584
|
-
enabled?: boolean;
|
|
585
|
-
}
|
|
586
|
-
interface RenownSessionCookieState {
|
|
587
|
-
/** True once the cookie reflects the current authenticated user. */
|
|
588
|
-
synced: boolean;
|
|
589
|
-
}
|
|
590
|
-
declare function useRenownSessionCookie(options?: RenownSessionCookieOptions): RenownSessionCookieState;
|
|
591
|
-
declare function useRenownSessionSynced(): boolean;
|
|
592
|
-
//#endregion
|
|
593
|
-
//#region src/renown/use-renown-init.d.ts
|
|
594
|
-
interface RenownInitOptions {
|
|
595
|
-
appName: string;
|
|
596
|
-
/** Prefix for localStorage keys, so multiple apps can share a domain. */
|
|
597
|
-
namespace?: string;
|
|
598
|
-
url?: string;
|
|
599
|
-
switchboardUrl?: string;
|
|
600
|
-
/** Re-check the restored credential against the source (default "always"). */
|
|
601
|
-
revalidate?: "always" | "never";
|
|
602
|
-
/** Chain id credentials are issued on (default 1). It is part of the user's DID, so sign-in from a wallet on another chain is rejected. */
|
|
603
|
-
chainId?: number;
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
* Hook that initializes the Renown SDK.
|
|
607
|
-
* Call once at the top of your app. Options are read only on first mount.
|
|
608
|
-
* Returns a promise that resolves with the Renown instance.
|
|
609
|
-
*
|
|
610
|
-
* @example
|
|
611
|
-
* ```tsx
|
|
612
|
-
* function App() {
|
|
613
|
-
* const renownPromise = useRenownInit({ appName: "my-app" });
|
|
614
|
-
* return <MyApp />;
|
|
615
|
-
* }
|
|
616
|
-
* ```
|
|
617
|
-
*/
|
|
618
|
-
declare function useRenownInit({
|
|
619
|
-
appName,
|
|
620
|
-
namespace,
|
|
621
|
-
url,
|
|
622
|
-
switchboardUrl,
|
|
623
|
-
revalidate,
|
|
624
|
-
chainId
|
|
625
|
-
}: RenownInitOptions): Promise<IRenown>;
|
|
626
|
-
//#endregion
|
|
627
|
-
//#region src/renown/renown-init.d.ts
|
|
628
|
-
interface RenownProps extends RenownInitOptions {
|
|
629
|
-
onError?: (error: unknown) => void;
|
|
630
|
-
}
|
|
631
|
-
/**
|
|
632
|
-
* Side-effect component that initializes the Renown SDK.
|
|
633
|
-
* Renders nothing — place it alongside your app tree.
|
|
634
|
-
*
|
|
635
|
-
* @example
|
|
636
|
-
* ```tsx
|
|
637
|
-
* function App() {
|
|
638
|
-
* return (
|
|
639
|
-
* <>
|
|
640
|
-
* <Renown appName="my-app" onError={console.error} />
|
|
641
|
-
* <MyApp />
|
|
642
|
-
* </>
|
|
643
|
-
* );
|
|
644
|
-
* }
|
|
645
|
-
* ```
|
|
646
|
-
*/
|
|
647
|
-
declare function Renown({
|
|
648
|
-
onError,
|
|
649
|
-
...initOptions
|
|
650
|
-
}: RenownProps): null;
|
|
651
|
-
//#endregion
|
|
652
|
-
//#region src/renown/provider.d.ts
|
|
653
|
-
interface RenownProviderProps {
|
|
654
|
-
appName: string;
|
|
655
|
-
/** Prefix for localStorage keys, so multiple apps can share a domain. */
|
|
656
|
-
namespace?: string;
|
|
657
|
-
url?: string;
|
|
658
|
-
switchboardUrl?: string;
|
|
659
|
-
/** Wallet adapter descriptors for in-page sign-in (see {@link RenownWalletProvider}); omit for redirect-only. */
|
|
660
|
-
adapters?: WalletAdapterDescriptor[];
|
|
661
|
-
theme?: WalletTheme;
|
|
662
|
-
/** Re-check the restored credential against the source (default "always"). */
|
|
663
|
-
revalidate?: "always" | "never";
|
|
664
|
-
/** Chain id credentials are issued on (default 1). Keep the adapters' chains in step: it is part of the user's DID, so a wallet on another chain is rejected. */
|
|
665
|
-
chainId?: number;
|
|
666
|
-
/** Server-resolved session (SSR); its presence seeds from the cookie + enables cookie sync. Omit for client-only (seed = localStorage). */
|
|
667
|
-
session?: {
|
|
668
|
-
user?: User;
|
|
669
|
-
} | null;
|
|
670
|
-
/** Endpoint for the session-cookie sync (SSR). Default /api/renown/session. */
|
|
671
|
-
sessionEndpoint?: string;
|
|
672
|
-
onError?: (error: unknown) => void;
|
|
673
|
-
children: ReactNode;
|
|
674
|
-
}
|
|
675
|
-
declare function RenownProvider({
|
|
676
|
-
appName,
|
|
677
|
-
namespace,
|
|
678
|
-
url,
|
|
679
|
-
switchboardUrl,
|
|
680
|
-
adapters,
|
|
681
|
-
theme,
|
|
682
|
-
revalidate,
|
|
683
|
-
chainId,
|
|
684
|
-
session,
|
|
685
|
-
sessionEndpoint,
|
|
686
|
-
onError,
|
|
687
|
-
children
|
|
688
|
-
}: RenownProviderProps): react_jsx_runtime0.JSX.Element;
|
|
689
|
-
//#endregion
|
|
690
|
-
//#region src/renown/wallet-provider.d.ts
|
|
691
|
-
interface RenownWalletProviderProps {
|
|
692
|
-
/** Wallet adapter descriptors, e.g. `[privyAdapter({ appId }), rainbowAdapter({})]` from `@renown/sdk/wallet/<id>`. Each descriptor's wallet library loads lazily on first login. Keep the array stable (module scope or `useMemo`) — it is snapshotted on mount. `undefined`/empty = redirect-only. */
|
|
693
|
-
adapters: WalletAdapterDescriptor[] | undefined;
|
|
694
|
-
/** Theme handed to each adapter UI: `"light"`, `"dark"`, or `{ mode, accentColor?, accentColorForeground? }`. */
|
|
695
|
-
theme?: WalletTheme;
|
|
696
|
-
children: ReactNode;
|
|
697
|
-
}
|
|
698
|
-
/** Drop-in provider for Renown in-page wallet sign-in: registers the login activator, lazy-mounts the configured adapters on first click, and merges their controllers for {@link useRenownAuth}. Full walkthrough + examples: the `@powerhousedao/reactor-browser` README ("Renown in-page sign-in") and the Academy Renown authentication guide. Pair with {@link useRenownLoginMethods} to build the login UI. */
|
|
699
|
-
declare function RenownWalletProvider({
|
|
700
|
-
adapters: adaptersConfig,
|
|
701
|
-
theme,
|
|
702
|
-
children
|
|
703
|
-
}: RenownWalletProviderProps): react_jsx_runtime0.JSX.Element;
|
|
704
|
-
//#endregion
|
|
705
|
-
//#region src/renown/login-methods.d.ts
|
|
706
|
-
interface RenownLoginMethod {
|
|
707
|
-
id: LoginMethod;
|
|
708
|
-
label: string;
|
|
709
|
-
}
|
|
710
|
-
/** The login methods the mounted {@link RenownWalletProvider}'s adapters offer, for building a login UI. Reads each descriptor's eager metadata only — no wallet libraries load. Buttons follow the provider's descriptor array order, deduped; empty when no provider is mounted (redirect-only). Wire each to `useRenownAuth().login(undefined, id)`. Labels are overridable. See the reactor-browser README + Academy Renown auth guide. */
|
|
711
|
-
declare function useRenownLoginMethods(labels?: Partial<Record<LoginMethod, string>>): RenownLoginMethod[];
|
|
712
|
-
//#endregion
|
|
713
|
-
export { BrowserReactorClientModule as $, PHSentryGlobalConfig as $t, VERIFIABLE_CREDENTIAL_EIP712_TYPE as A, PendingInstallation as At, RenownUserButtonMenuItem as B, PHDocumentEditorConfigHooks as Bt, CREDENTIAL_SUBJECT_TYPE as C, TimelineDividerItem as Ct, RENOWN_CHAIN_ID as D, FailedInstallation as Dt, ISSUER_TYPE as E, DiscoveryEventListener as Et, DisconnectIcon as F, PHAppConfigHooks as Ft, RenownAuthButtonProps as G, PHGlobalConfigHooks as Gt, RenownLoginButton as H, PHDocumentEditorConfigSetters as Ht, RenownLogo as I, PHAppConfigKey as It, useDid as J, PHGlobalConfigSetters as Jt, addRenownEventHandler as K, PHGlobalConfigHooksForKey as Kt, SpinnerIcon as L, PHAppConfigSetters as Lt, initRenownCrypto as M, FullPHGlobalConfig as Mt, ChevronDownIcon as N, PHAnalyticsGlobalConfig as Nt, RENOWN_NETWORK_ID as O, FailedInstallationReason as Ot, CopyIcon as P, PHAppConfig as Pt, AddPHGlobalEventHandler as Q, PHRenownGlobalConfig as Qt, UserIcon as R, PHCommonGlobalConfig as Rt, CREDENTIAL_SCHEMA_EIP712_TYPE as S, TimelineBarItem as St, DOMAIN_TYPE as T, DiscoveryEvent as Tt, RenownLoginButtonProps as U, PHDrivesGlobalConfig as Ut, RenownUserButtonProps as V, PHDocumentEditorConfigKey as Vt, RenownAuthButton as W, PHGlobalConfig as Wt, useRenown as X, PHProcessorsGlobalConfig as Xt, useLoginStatus as Y, PHGlobalConfigSettersForKey as Yt, useUser as Z, PHRelationalProcessorsGlobalConfig as Zt, RenownInitialAuth as _, IPackagesListener as _t, RenownProvider as a, RenownAuthResolution as an, PHGlobalValue as at, useRenownInitialAuth as b, PHToastOptions as bt, RenownProps as c, useRenownAuthAsync as cn, UsePHGlobalValue as ct, RenownSessionCookieOptions as d, IDocumentCache as dn, DraggingNode as dt, login as en, BrowserReactorModule as et, RenownSessionCookieState as f, PromiseState as fn, addDraggingNodeEventHandler as ft, RENOWN_INITIAL_UNKNOWN as g, IPackageManager as gt, RENOWN_INITIAL_ANONYMOUS as h, IPackageListerUnsubscribe as ht, RenownWalletProviderProps as i, RenownAuthAsync as in, PHGlobalKey as it, initConnectCrypto as j, PHModal as jt, RENOWN_URL as k, IPackageDiscoveryService as kt, RenownInitOptions as l, DocumentDispatch as ln, WorkerReactorClientModule as lt, useRenownSessionSynced as m, RejectedPromise as mn, useDropNode as mt, useRenownLoginMethods as n, openRenown as nn, PHGlobal as nt, RenownProviderProps as o, RenownAuthStatus as on, SetEvent as ot, useRenownSessionCookie as p, PromiseWithState as pn, useDragNode as pt, setRenown as q, PHGlobalConfigKey as qt, RenownWalletProvider as r, RenownAuth as rn, PHGlobalEventHandlerAdders as rt, Renown as s, useRenownAuth as sn, SetPHGlobalValue as st, RenownLoginMethod as t, logout as tn, LOADING as tt, useRenownInit as u, FulfilledPromise as un, WorkerReactorModule as ut, RenownInitialUserProvider as v, PackageManagerInstallResult as vt, CREDENTIAL_TYPES as w, TimelineItem as wt, useRenownInitialUser as x, PHToastType as xt, RenownInitialUserProviderProps as y, PHToastFn as yt, RenownUserButton as z, PHDocumentEditorConfig as zt };
|
|
714
|
-
//# sourceMappingURL=index-BlPURnJv.d.ts.map
|