Readonly [initProtected _startProtected _versionReadonly aclReadonly auditReadonly certReadonly clientReadonly dbReadonly discoveryReadonly fsReadonly gestaltReadonly identitiesReadonly keyReadonly loggerReadonly nodeReadonly nodeReadonly nodeReadonly nodeReadonly notificationsReadonly schemaReadonly sessionReadonly sigchainReadonly statusReadonly taskReadonly vaultProtected workerProtected handleOptional fresh?: booleanOptional options?: { Optional agentOptional agentOptional clientOptional clientOptional ipv6Optional keys?: ({}) | ({ recoveryCode?: string | undefined; }) | ({ privateKey?: { [x: number]: number | undefined; write?: {} | undefined; toString?: {} | undefined; toJSON?: {} | undefined; equals?: {} | undefined; compare?: {} | undefined; copy?: {} | undefined; ... 97 more ...; readonly [Symbol.toStringTag]?: "Uint8Array" | undefined; } | undefined; }) | ({ privateKeyPath?: string | undefined; })Optional mdns?: { groups?: (string | undefined)[] | undefined; port?: number | undefined; }Optional network?: stringOptional seedOptional workers?: numberOptional workers?: numberStatic createCreate the Polykey Agent.
All optional configuration is deep-merged with defaults.
If any of the optional dependencies is injected, their lifecycle will not
be managed by PolykeyAgent. Furthermore, if you inject an optional
dependency, make sure you are injecting all upstream transitive
dependencies at the same time. For example if you inject acl, you must
also inject db.
Optional fresh?: booleanOptional fs?: FileSystemOptional logger?: LoggerOptional options?: { Optional agentOptional agentOptional client?: { keepAliveTimeoutTime?: number | undefined; keepAliveIntervalTime?: number | undefined; rpcCallTimeoutTime?: number | undefined; rpcParserBufferSize?: number | undefined; rpcMiddlewareFactory?: {} | undefined; }Optional clientOptional clientOptional ipv6Optional keys?: ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 4 more ...; recoveryCode?: string | undefined; }) | ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 4 more ...; recoveryCode?: string | undefined; }) | ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 5 more ...; privateKey?: { ...; } | undefined; }) | ({ passwordOpsLimit?: { toString?: {} | undefined; toFixed?: {} | undefined; toExponential?: {} | undefined; toPrecision?: {} | undefined; valueOf?: {} | undefined; toLocaleString?: {} | undefined; readonly [brand]?: "PasswordOpsLimit" | undefined; } | undefined; ... 5 more ...; privateKeyPath?: string | undefined; })Optional mdns?: { groups?: (string | undefined)[] | undefined; port?: number | undefined; }Optional network?: stringOptional nodeOptional nodes?: { connectionIdleTimeoutTimeMin?: number | undefined; connectionIdleTimeoutTimeScale?: number | undefined; connectionFindConcurrencyLimit?: number | undefined; connectionConnectTimeoutTime?: number | undefined; ... 7 more ...; dnsServers?: (string | undefined)[] | undefined; }Optional seedOptional versionOptional workers?: numberGenerated using TypeDoc
Returns the time the
PolykeyAgentwas started at in milliseconds since Unix epoch