keymaster-connect 0.1.5 → 0.1.7
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/README.md +11 -21
- package/dist/{chunk-ZDIFZJYD.js → chunk-D2RL3QGR.js} +5 -17
- package/dist/chunk-D2RL3QGR.js.map +1 -0
- package/dist/{chunk-VVOTW5ZT.js → chunk-M2YEI4PG.js} +92 -3
- package/dist/chunk-M2YEI4PG.js.map +1 -0
- package/dist/index.d.ts +14 -173
- package/dist/index.js +127 -548
- package/dist/index.js.map +1 -1
- package/dist/{protocol-C8z30CKK.d.ts → protocol-B7bpi5ro.d.ts} +43 -191
- package/dist/protocol.d.ts +1 -1
- package/dist/protocol.js +1 -1
- package/dist/script.d.ts +1 -1
- package/dist/server.d.ts +24 -17
- package/dist/server.js +112 -340
- package/dist/server.js.map +1 -1
- package/package.json +45 -11
- package/dist/chunk-VVOTW5ZT.js.map +0 -1
- package/dist/chunk-ZDIFZJYD.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BinaryField,
|
|
2
|
-
export {
|
|
1
|
+
import { B as BinaryField, A as AiTool, a as AiToolsRegistered, N as NetworkIdentity, P as ProtocolEventMessage, b as ProtocolMethod, M as MethodParams, c as MethodResult, C as ConnectLoginParams, d as ConnectLoginResult, e as ConnectLogoutResult, f as ConnectLaunchParams, g as ConnectLaunchResult, I as IdentityGetParams, h as IdentityGetResult, i as IntentSignParams, j as IntentSignResult, k as CipherEncryptParams, l as CipherEncryptResult, m as CipherDecryptParams, n as CipherDecryptResult, o as PaymentPayParams, p as PaymentPayResult, q as PaymentStatusParams, r as PaymentStatusResult, s as ChannelPublishParams, t as ChannelPublishResult, u as ChannelSubscriptionSetParams, v as ChannelSubscriptionSetResult, w as MsFileStatParams, x as MsFileStatResult, y as MsFileSeedReadParams, z as MsFileReadResult, D as MsFileBlockReadParams, E as ProtocolErrorCode } from './protocol-B7bpi5ro.js';
|
|
2
|
+
export { F as AI_TOOLS_MAX_JSON_CHARS, G as AiToolDefinition, H as AiToolMessage, J as AiToolSchema, K as BsvNetwork, L as ChannelMessageReceivedEventData, O as ChannelSubscriptionErrorCode, Q as ChannelSubscriptionPhase, R as ChannelSubscriptionStatus, S as ConnectLogoutParams, T as ConnectPaymentStatus, U as JSONValue, V as MSFILE_BLOCK_SIZE_BYTES, W as MSFILE_DIGEST_SIZE_BYTES, X as MSFILE_LOCAL_SOURCE_ID, Y as MSFILE_MAX_BLOCK_BYTES, Z as MSFILE_MAX_CONTENT_BYTES, _ as MSFILE_MAX_ERROR_MESSAGE_BYTES, $ as MSFILE_MAX_HEADER_BYTES, a0 as MSFILE_MAX_SEED_BYTES, a1 as MSFILE_PROTOCOL_ID, a2 as MethodParamsMap, a3 as MethodResultMap, a4 as MsFileLocalSourceStat, a5 as MsFileRemoteSourceStat, a6 as MsFileSatoshiAmount, a7 as MsFileSourceKind, a8 as MsFileSourceStat, a9 as MsFileStatAbsentEntry, aa as MsFileStatAvailableEntry, ab as MsFileStatDiscoveringEntry, ac as MsFileStatNetworkErrorEntry, ad as MsFileStatQuotedEntry, ae as MsFileSupplierStat, af as P2pkhTransferAssetId, ag as PROTOCOL_METHODS, ah as PROTOCOL_VERSION, ai as PaymentOutput, aj as PaymentReleaseSummary, ak as ProtocolCancelMessage, al as ProtocolClosingMessage, am as ProtocolError, an as ProtocolEventName, ao as ProtocolEventPayload, ap as ProtocolReadyMessage, aq as ProtocolRequestMessage, ar as ProtocolResultMessage, as as PublicationProof, at as ResolvedClaimValue, au as assertToolJson, av as assertToolPayload, aw as isAiToolMessage, ax as isValidMsFileSourceId, ay as parseToolDefinitions, az as sameNetworkIdentity, aA as validateBsvNetwork, aB as validateNetworkIdentity, aC as validateToolArguments } from './protocol-B7bpi5ro.js';
|
|
3
3
|
|
|
4
4
|
/** Wraps bytes in the explicit binary field required by Connect V1. */
|
|
5
5
|
declare function binary(bytes: ArrayBuffer | ArrayBufferView, mime?: string): BinaryField;
|
|
@@ -10,71 +10,12 @@ declare function binaryText(value: string, mime?: string): BinaryField;
|
|
|
10
10
|
/** Decodes a Connect binary field as UTF-8 text. */
|
|
11
11
|
declare function binaryToText(field: BinaryField): string;
|
|
12
12
|
|
|
13
|
-
/** 浏览器刷新恢复记录:只保存最近一次成功连接的可恢复引用,不保存业务材料。 */
|
|
14
|
-
|
|
15
|
-
/** sessionStorage 下唯一的恢复记录键。 */
|
|
16
|
-
declare const RECOVERY_STORAGE_KEY = "keymaster-connect:recovery:v1";
|
|
17
|
-
/** 本地持久的完整恢复记录(含不透明授权引用,不向 UI 公开)。 */
|
|
18
|
-
interface ConnectionRecoveryRecord {
|
|
19
|
-
version: 1;
|
|
20
|
-
targetOrigin: string;
|
|
21
|
-
mode: KeymasterConnectMode;
|
|
22
|
-
authorizationId: string;
|
|
23
|
-
networkIdentity: NetworkIdentity;
|
|
24
|
-
}
|
|
25
|
-
/** 公开给应用的恢复摘要,不含凭据。 */
|
|
26
|
-
interface ConnectionRecoverySummary {
|
|
27
|
-
version: 1;
|
|
28
|
-
targetOrigin: string;
|
|
29
|
-
mode: KeymasterConnectMode;
|
|
30
|
-
networkIdentity: NetworkIdentity;
|
|
31
|
-
}
|
|
32
|
-
/** 可替换的存储适配器;默认实现访问 sessionStorage,不自动降级到 localStorage。 */
|
|
33
|
-
interface ConnectionRecoveryStorage {
|
|
34
|
-
getItem(key: string): string | null;
|
|
35
|
-
setItem(key: string, value: string): void;
|
|
36
|
-
removeItem(key: string): void;
|
|
37
|
-
}
|
|
38
|
-
/** 解析默认 sessionStorage;不可用时返回 null,不抛错、不降级。 */
|
|
39
|
-
declare function resolveRecoveryStorage(explicit?: ConnectionRecoveryStorage): ConnectionRecoveryStorage | null;
|
|
40
|
-
/** 存储是否可用(可用不代表已有记录)。 */
|
|
41
|
-
declare function isRecoveryStorageAvailable(storage?: ConnectionRecoveryStorage): boolean;
|
|
42
|
-
interface ReadRecoveryInit {
|
|
43
|
-
recoveryStorage?: ConnectionRecoveryStorage;
|
|
44
|
-
targetOrigin?: string;
|
|
45
|
-
mode?: KeymasterConnectMode;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* 读取恢复摘要供应用在创建 client 前展示,不向 UI 暴露凭据。
|
|
49
|
-
* 提供 targetOrigin/mode 时只在完全相符时返回,否则返回 null。
|
|
50
|
-
*/
|
|
51
|
-
declare function readConnectionRecovery(init?: ReadRecoveryInit): ConnectionRecoverySummary | null;
|
|
52
|
-
/** 供 client.resume() 内部装载完整凭据;不直接设置为已登录。 */
|
|
53
|
-
declare function loadConnectionRecoveryRecord(init: {
|
|
54
|
-
recoveryStorage?: ConnectionRecoveryStorage;
|
|
55
|
-
targetOrigin: string;
|
|
56
|
-
mode: KeymasterConnectMode;
|
|
57
|
-
}): ConnectionRecoveryRecord | null;
|
|
58
|
-
/** 保存最近一次成功连接的恢复记录;写入失败时抛错,由调用方决定提示。 */
|
|
59
|
-
declare function saveConnectionRecoveryRecord(storage: ConnectionRecoveryStorage | null, record: ConnectionRecoveryRecord): void;
|
|
60
|
-
interface ClearRecoveryInit {
|
|
61
|
-
recoveryStorage?: ConnectionRecoveryStorage;
|
|
62
|
-
targetOrigin?: string;
|
|
63
|
-
authorizationId?: string;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* 主动清除本地恢复记录,只删除本地材料,不代表钱包授权已撤销。
|
|
67
|
-
* 提供 targetOrigin/authorizationId 时仅在完全相符时删除,避免旧实例误删新记录。
|
|
68
|
-
* 返回 true 表示已删除。
|
|
69
|
-
*/
|
|
70
|
-
declare function clearConnectionRecovery(init?: ClearRecoveryInit): boolean;
|
|
71
|
-
|
|
72
13
|
/** iframe:钱包内嵌;appView:钱包弹出 App;popup:App 主动打开钱包。 */
|
|
73
14
|
type KeymasterConnectMode = "iframe" | "appView" | "popup";
|
|
74
15
|
/** Observable lifecycle of the browser transport. */
|
|
75
|
-
type KeymasterConnectState = "idle" | "opening" | "connected" | "
|
|
16
|
+
type KeymasterConnectState = "idle" | "opening" | "connected" | "disconnected";
|
|
76
17
|
/** Failures produced by the browser transport before a protocol result exists. */
|
|
77
|
-
type KeymasterTransportErrorCode = "wallet_closed" | "popup_blocked" | "ready_timeout" | "request_timeout" | "send_failed" | "not_embedded" | "no_opener" | "appview_session_lost" | "client_closed" | "unsupported_protocol"
|
|
18
|
+
type KeymasterTransportErrorCode = "wallet_closed" | "popup_blocked" | "ready_timeout" | "request_timeout" | "send_failed" | "not_embedded" | "no_opener" | "appview_session_lost" | "client_closed" | "unsupported_protocol";
|
|
78
19
|
/** A browser transport failure. Protocol rejections use {@link KeymasterProtocolError}. */
|
|
79
20
|
declare class KeymasterTransportError extends Error {
|
|
80
21
|
readonly code: KeymasterTransportErrorCode;
|
|
@@ -106,6 +47,9 @@ interface KeymasterBrowserEnvironment {
|
|
|
106
47
|
setInterval(handler: () => void, intervalMs: number): number;
|
|
107
48
|
clearInterval(timer: number): void;
|
|
108
49
|
randomUUID(): string;
|
|
50
|
+
/** 页面离开时清理本地资源,不等待远端。 */
|
|
51
|
+
addPageHideListener?(listener: () => void): void;
|
|
52
|
+
removePageHideListener?(listener: () => void): void;
|
|
109
53
|
}
|
|
110
54
|
/** Configuration for {@link KeymasterConnectClient}. */
|
|
111
55
|
interface KeymasterConnectOptions {
|
|
@@ -127,8 +71,6 @@ interface KeymasterConnectOptions {
|
|
|
127
71
|
onStateChange?: (state: KeymasterConnectState) => void;
|
|
128
72
|
/** Optional browser adapter, normally only supplied by tests. */
|
|
129
73
|
environment?: KeymasterBrowserEnvironment;
|
|
130
|
-
/** 可替换的刷新恢复存储;默认访问 Demo origin 下的 sessionStorage,不降级到 localStorage。 */
|
|
131
|
-
recoveryStorage?: ConnectionRecoveryStorage;
|
|
132
74
|
}
|
|
133
75
|
/**
|
|
134
76
|
* Official browser client for Keymaster Connect V1.
|
|
@@ -158,11 +100,11 @@ interface KeymasterConnectOptions {
|
|
|
158
100
|
* });
|
|
159
101
|
*
|
|
160
102
|
* await keymaster.connect();
|
|
161
|
-
* const session = await keymaster.launch({ launchToken
|
|
103
|
+
* const session = await keymaster.launch({ launchToken });
|
|
162
104
|
* ```
|
|
163
105
|
*
|
|
164
106
|
* @groupDescription Connect
|
|
165
|
-
*
|
|
107
|
+
* 建立、撤销或启动 Connect 连接。
|
|
166
108
|
*
|
|
167
109
|
* @groupDescription Identity
|
|
168
110
|
* Read signed identity claims or sign an application intent.
|
|
@@ -177,8 +119,6 @@ interface KeymasterConnectOptions {
|
|
|
177
119
|
* Publish JSON content and manage exact-channel subscriptions. Incoming
|
|
178
120
|
* messages arrive as `channel.message_received` events.
|
|
179
121
|
*
|
|
180
|
-
* @groupDescription Storage
|
|
181
|
-
* Manage app-scoped directories and objects.
|
|
182
122
|
*
|
|
183
123
|
* @groupDescription Transport
|
|
184
124
|
* Manage the Session Window and send lower-level protocol requests.
|
|
@@ -191,10 +131,6 @@ declare class KeymasterConnectClient {
|
|
|
191
131
|
registerTools(tools: AiTool[], options?: Pick<KeymasterRequestOptions, "signal" | "timeoutMs">): Promise<AiToolsRegistered>;
|
|
192
132
|
/** Identity returned by the authenticated wallet, or null before establishment. */
|
|
193
133
|
get networkIdentity(): Readonly<NetworkIdentity> | null;
|
|
194
|
-
/** 最近一次持久化失败的原因;成功后清零。登录成功不受写入失败影响。 */
|
|
195
|
-
get recoverySaveError(): string | null;
|
|
196
|
-
/** 刷新恢复存储是否可用;不可用时仍可登录,但刷新后需重新登录。 */
|
|
197
|
-
get recoveryStorageAvailable(): boolean;
|
|
198
134
|
private readonly targetOrigin;
|
|
199
135
|
private readonly mode;
|
|
200
136
|
private readonly environment;
|
|
@@ -209,20 +145,8 @@ declare class KeymasterConnectClient {
|
|
|
209
145
|
private readyTimer;
|
|
210
146
|
private closePoller;
|
|
211
147
|
private authorizationId;
|
|
212
|
-
|
|
213
|
-
private
|
|
214
|
-
private readonly recoveryStorage;
|
|
215
|
-
private recoverySaveErrorValue;
|
|
216
|
-
/** 显式恢复期间暂停后台心跳,保证本次尝试使用同一份 proof;结束(成功/失败/取消/超时)后恢复。 */
|
|
217
|
-
private explicitRecoveryActive;
|
|
218
|
-
private explicitRecoveryProof;
|
|
219
|
-
/** 内存授权是否已验证:login/launch/恢复成功置 true;仅从存储装载的待验证凭据为 false。 */
|
|
220
|
-
private authorizationVerified;
|
|
221
|
-
/** 当前传输窗口是否已可信就绪(收到过匹配来源与窗口的 ready);新开窗口后重置,存在≠就绪。 */
|
|
222
|
-
private sessionWindowReady;
|
|
223
|
-
/** 新 popup 首发前等待可信窗口 ready 的一次性继续函数;超时/结束时清空。 */
|
|
224
|
-
private recoveryReadyContinue;
|
|
225
|
-
private recoveryWaiters;
|
|
148
|
+
/** 等待 ready 与授权响应共用一个建连位置,取消不能影响其他调用。 */
|
|
149
|
+
private establishmentActive;
|
|
226
150
|
constructor(options: KeymasterConnectOptions);
|
|
227
151
|
/**
|
|
228
152
|
* Current browser transport state.
|
|
@@ -233,11 +157,6 @@ declare class KeymasterConnectClient {
|
|
|
233
157
|
/**
|
|
234
158
|
* Establishes the browser transport.
|
|
235
159
|
*
|
|
236
|
-
* 只建立传输,不恢复授权:iframe / appView 绑定真实 parent / opener;
|
|
237
|
-
* popup 打开完整钱包等待 ready。刷新后的授权恢复请使用 `resume()`,
|
|
238
|
-
* 它会先装载本地恢复记录再复用 `continueConnection()`;`connect()` 本身
|
|
239
|
-
* 不读取恢复记录、不自动恢复。
|
|
240
|
-
*
|
|
241
160
|
* @group Transport
|
|
242
161
|
*/
|
|
243
162
|
connect(): Promise<void>;
|
|
@@ -254,18 +173,6 @@ declare class KeymasterConnectClient {
|
|
|
254
173
|
* @group Connect
|
|
255
174
|
*/
|
|
256
175
|
login(params: ConnectLoginParams, options?: KeymasterRequestOptions): Promise<ConnectLoginResult>;
|
|
257
|
-
/**
|
|
258
|
-
* Calls `connect.resume` to restore the unlock runtime for a persistent
|
|
259
|
-
* session.
|
|
260
|
-
*
|
|
261
|
-
* 刷新恢复时只把保存的凭据和预期身份载入待恢复上下文,不直接置为已登录;
|
|
262
|
-
* 钱包验证成功、结果身份一致并取得新 binding 后才开放业务调用。
|
|
263
|
-
* 无可用凭据时直接拒绝并提示重新登录,不回退到无凭据的重建默认授权。
|
|
264
|
-
* 恢复请求携带调用方当前入口的 `appIdentity`(如有),不静默丢弃。
|
|
265
|
-
*
|
|
266
|
-
* @group Connect
|
|
267
|
-
*/
|
|
268
|
-
resume(params?: ConnectResumeParams, options?: KeymasterRequestOptions): Promise<ConnectResumeResult>;
|
|
269
176
|
/**
|
|
270
177
|
* Calls `connect.logout` to revoke a persistent Connect session.
|
|
271
178
|
*
|
|
@@ -327,54 +234,6 @@ declare class KeymasterConnectClient {
|
|
|
327
234
|
* @group Channel
|
|
328
235
|
*/
|
|
329
236
|
channelSubscriptionSet(params: ChannelSubscriptionSetParams, options?: KeymasterRequestOptions): Promise<ChannelSubscriptionSetResult>;
|
|
330
|
-
/**
|
|
331
|
-
* Calls `storage.list` to list paths in the verified application's namespace.
|
|
332
|
-
*
|
|
333
|
-
* @group Storage
|
|
334
|
-
*/
|
|
335
|
-
storageList(params: StorageListParams, options?: KeymasterRequestOptions): Promise<StorageListResult>;
|
|
336
|
-
/**
|
|
337
|
-
* Calls `storage.directory.create` to create an app-scoped directory.
|
|
338
|
-
*
|
|
339
|
-
* @group Storage
|
|
340
|
-
*/
|
|
341
|
-
storageDirectoryCreate(params: StorageDirectoryParams, options?: KeymasterRequestOptions): Promise<StorageDirectoryResult>;
|
|
342
|
-
/**
|
|
343
|
-
* Calls `storage.directory.delete` to delete an app-scoped directory.
|
|
344
|
-
*
|
|
345
|
-
* @group Storage
|
|
346
|
-
*/
|
|
347
|
-
storageDirectoryDelete(params: StorageDirectoryParams, options?: KeymasterRequestOptions): Promise<StorageDirectoryResult>;
|
|
348
|
-
/**
|
|
349
|
-
* Calls `storage.put` to write an app-scoped object.
|
|
350
|
-
*
|
|
351
|
-
* @group Storage
|
|
352
|
-
*/
|
|
353
|
-
storagePut(params: StoragePutParams, options?: KeymasterRequestOptions): Promise<StoragePutResult>;
|
|
354
|
-
/**
|
|
355
|
-
* Calls `storage.get` to read an app-scoped object.
|
|
356
|
-
*
|
|
357
|
-
* @group Storage
|
|
358
|
-
*/
|
|
359
|
-
storageGet(params: StorageGetParams, options?: KeymasterRequestOptions): Promise<StorageGetResult>;
|
|
360
|
-
/**
|
|
361
|
-
* 可选加密写入:向钱包提交明文,钱包以当前钱包密钥和 App 公钥隔离后加密保存。
|
|
362
|
-
* 路径、条件创建语义与 storagePut 相同,size 返回明文字节数;不会返回加密密钥。
|
|
363
|
-
* @group Storage
|
|
364
|
-
*/
|
|
365
|
-
storagePutEncrypted(params: StoragePutParams, options?: KeymasterRequestOptions): Promise<StoragePutResult>;
|
|
366
|
-
/**
|
|
367
|
-
* 可选加密读取:仅同一钱包能解密;offset/length 作用于明文,ifMatch 仍比较远端版本。
|
|
368
|
-
* 明文对象、错误格式、篡改或密钥不匹配均失败,不自动回退为普通读取。
|
|
369
|
-
* @group Storage
|
|
370
|
-
*/
|
|
371
|
-
storageGetEncrypted(params: StorageGetParams, options?: KeymasterRequestOptions): Promise<StorageGetResult>;
|
|
372
|
-
/**
|
|
373
|
-
* Calls `storage.delete` to delete an app-scoped object.
|
|
374
|
-
*
|
|
375
|
-
* @group Storage
|
|
376
|
-
*/
|
|
377
|
-
storageDelete(params: StorageDeleteParams, options?: KeymasterRequestOptions): Promise<StorageDeleteResult>;
|
|
378
237
|
/**
|
|
379
238
|
* Calls `msfile.stat` to query every enabled MSFile supplier for a seed
|
|
380
239
|
* hash. The caller selects supplier/hash only; price policy stays inside
|
|
@@ -405,18 +264,6 @@ declare class KeymasterConnectClient {
|
|
|
405
264
|
* @group Transport
|
|
406
265
|
*/
|
|
407
266
|
cancel(requestId: string, reason?: unknown): boolean;
|
|
408
|
-
/**
|
|
409
|
-
* Tears down the local transport. This does not revoke persistent Connect
|
|
410
|
-
* sessions; call {@link logout} before closing when revocation is required.
|
|
411
|
-
*
|
|
412
|
-
* 只结束运行连接,保留刷新恢复材料:`close()`、页面卸载和运行失效都不删除
|
|
413
|
-
* 本地恢复记录;`logout` 成功、明确授权失效或用户主动清除才删除。
|
|
414
|
-
*
|
|
415
|
-
* @group Transport
|
|
416
|
-
*/
|
|
417
|
-
close(): void;
|
|
418
|
-
/** 主动恢复可由 popup 重新打开钱包;后台恢复从不打开窗口或重放业务。 */
|
|
419
|
-
private continueConnection;
|
|
420
267
|
private connectPopup;
|
|
421
268
|
private connectAppView;
|
|
422
269
|
private readonly handleMessage;
|
|
@@ -424,15 +271,9 @@ declare class KeymasterConnectClient {
|
|
|
424
271
|
private installListener;
|
|
425
272
|
private finishReady;
|
|
426
273
|
private failReady;
|
|
274
|
+
/** 仅清理本地运行态,页签关闭不发送握手或等待回复。 */
|
|
275
|
+
private readonly handlePageHide;
|
|
427
276
|
private disconnect;
|
|
428
|
-
/** 暂停仅撤销瞬时绑定和旧请求,持久授权引用及原身份留作恢复校验。 */
|
|
429
|
-
private pause;
|
|
430
|
-
/** 保存最近成功连接的恢复记录;写入失败只记录原因,不影响已成功的登录。 */
|
|
431
|
-
private persistRecoveryRecord;
|
|
432
|
-
/** 按目标与授权核对后清除本地恢复记录;旧实例迟到结果不得删除新记录。 */
|
|
433
|
-
private dropRecoveryRecord;
|
|
434
|
-
private sendRecovery;
|
|
435
|
-
private finishRecovery;
|
|
436
277
|
private startClosePolling;
|
|
437
278
|
private stopClosePolling;
|
|
438
279
|
private rejectAll;
|
|
@@ -445,4 +286,4 @@ declare function createKeymasterConnect(options: KeymasterConnectOptions): Keyma
|
|
|
445
286
|
/** Creates the production environment adapter from the current browser window. */
|
|
446
287
|
declare function createBrowserEnvironment(): KeymasterBrowserEnvironment;
|
|
447
288
|
|
|
448
|
-
export { AiTool, AiToolsRegistered, BinaryField, ChannelPublishParams, ChannelPublishResult, ChannelSubscriptionSetParams, ChannelSubscriptionSetResult, CipherDecryptParams, CipherDecryptResult, CipherEncryptParams, CipherEncryptResult,
|
|
289
|
+
export { AiTool, AiToolsRegistered, BinaryField, ChannelPublishParams, ChannelPublishResult, ChannelSubscriptionSetParams, ChannelSubscriptionSetResult, CipherDecryptParams, CipherDecryptResult, CipherEncryptParams, CipherEncryptResult, ConnectLaunchParams, ConnectLaunchResult, ConnectLoginParams, ConnectLoginResult, ConnectLogoutResult, IdentityGetParams, IdentityGetResult, IntentSignParams, IntentSignResult, type KeymasterBrowserEnvironment, KeymasterConnectClient, type KeymasterConnectMode, type KeymasterConnectOptions, type KeymasterConnectState, KeymasterProtocolError, type KeymasterRequestOptions, KeymasterTransportError, type KeymasterTransportErrorCode, MethodParams, MethodResult, MsFileBlockReadParams, MsFileReadResult, MsFileSeedReadParams, MsFileStatParams, MsFileStatResult, NetworkIdentity, PaymentPayParams, PaymentPayResult, PaymentStatusParams, PaymentStatusResult, ProtocolErrorCode, ProtocolEventMessage, ProtocolMethod, binary, binaryBytes, binaryText, binaryToText, createBrowserEnvironment, createKeymasterConnect };
|