@novasamatech/host-api 0.5.4 → 0.5.5

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.
@@ -9,58 +9,91 @@ type HostApiPayloadFields = UnionToIntersection<{
9
9
  [Method in keyof HostApiProtocol]: InferHostApiMethod<Method, HostApiProtocol[Method]>;
10
10
  }[keyof HostApiProtocol]>;
11
11
  export type MessagePayloadSchema = CodecType<EnumCodec<HostApiPayloadFields>>;
12
- export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumCodec<{
12
+ export declare const MessagePayload: EnumCodec<Record<"host_handshake_request", EnumCodec<{
13
13
  readonly v1: Codec<number>;
14
- }>> & Record<"handshake_response", EnumCodec<{
14
+ }>> & Record<"host_handshake_response", EnumCodec<{
15
15
  readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
16
16
  reason: string;
17
17
  }, "HandshakeErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "HandshakeErr::Timeout"> | import("@novasamatech/scale").CodecError<undefined, "HandshakeErr::UnsupportedProtocolVersion">>>;
18
- }>> & Record<"feature_request", EnumCodec<{
18
+ }>> & Record<"host_feature_supported_request", EnumCodec<{
19
19
  readonly v1: Codec<{
20
20
  tag: "Chain";
21
21
  value: `0x${string}`;
22
22
  }>;
23
- }>> & Record<"feature_response", EnumCodec<{
23
+ }>> & Record<"host_feature_supported_response", EnumCodec<{
24
24
  readonly v1: Codec<import("scale-ts").ResultPayload<boolean, import("@novasamatech/scale").CodecError<{
25
25
  reason: string;
26
26
  }, "GenericError">>>;
27
- }>> & Record<"local_storage_read_request", EnumCodec<{
27
+ }>> & Record<"host_push_notification_request", EnumCodec<{
28
+ readonly v1: Codec<{
29
+ text: string;
30
+ deeplink: string | undefined;
31
+ }>;
32
+ }>> & Record<"host_push_notification_response", EnumCodec<{
33
+ readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
34
+ reason: string;
35
+ }, "GenericError">>>;
36
+ }>> & Record<"host_navigate_to_request", EnumCodec<{
37
+ readonly v1: Codec<string>;
38
+ }>> & Record<"host_navigate_to_response", EnumCodec<{
39
+ readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
40
+ reason: string;
41
+ }, "NavigateToErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "NavigateToErr::PermissionDenied">>>;
42
+ }>> & Record<"host_device_permission_request", EnumCodec<{
43
+ readonly v1: Codec<"Camera" | "Microphone" | "Bluetooth" | "Location">;
44
+ }>> & Record<"host_device_permission_response", EnumCodec<{
45
+ readonly v1: Codec<import("scale-ts").ResultPayload<boolean, import("@novasamatech/scale").CodecError<{
46
+ reason: string;
47
+ }, "GenericError">>>;
48
+ }>> & Record<"remote_permission_request", EnumCodec<{
49
+ readonly v1: Codec<{
50
+ tag: "ExternalRequest";
51
+ value: string;
52
+ } | {
53
+ tag: "TransactionSubmit";
54
+ value: undefined;
55
+ }>;
56
+ }>> & Record<"remote_permission_response", EnumCodec<{
57
+ readonly v1: Codec<import("scale-ts").ResultPayload<boolean, import("@novasamatech/scale").CodecError<{
58
+ reason: string;
59
+ }, "GenericError">>>;
60
+ }>> & Record<"host_local_storage_read_request", EnumCodec<{
28
61
  readonly v1: Codec<string>;
29
- }>> & Record<"local_storage_read_response", EnumCodec<{
62
+ }>> & Record<"host_local_storage_read_response", EnumCodec<{
30
63
  readonly v1: Codec<import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike> | undefined, import("@novasamatech/scale").CodecError<{
31
64
  reason: string;
32
65
  }, "StorageErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StorageErr::Full">>>;
33
- }>> & Record<"local_storage_write_request", EnumCodec<{
66
+ }>> & Record<"host_local_storage_write_request", EnumCodec<{
34
67
  readonly v1: Codec<[string, Uint8Array<ArrayBufferLike>]>;
35
- }>> & Record<"local_storage_write_response", EnumCodec<{
68
+ }>> & Record<"host_local_storage_write_response", EnumCodec<{
36
69
  readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
37
70
  reason: string;
38
71
  }, "StorageErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StorageErr::Full">>>;
39
- }>> & Record<"local_storage_clear_request", EnumCodec<{
72
+ }>> & Record<"host_local_storage_clear_request", EnumCodec<{
40
73
  readonly v1: Codec<string>;
41
- }>> & Record<"local_storage_clear_response", EnumCodec<{
74
+ }>> & Record<"host_local_storage_clear_response", EnumCodec<{
42
75
  readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
43
76
  reason: string;
44
77
  }, "StorageErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StorageErr::Full">>>;
45
- }>> & Record<"account_get_request", EnumCodec<{
78
+ }>> & Record<"host_account_get_request", EnumCodec<{
46
79
  readonly v1: Codec<[string, number]>;
47
- }>> & Record<"account_get_response", EnumCodec<{
80
+ }>> & Record<"host_account_get_response", EnumCodec<{
48
81
  readonly v1: Codec<import("scale-ts").ResultPayload<{
49
82
  publicKey: Uint8Array<ArrayBufferLike>;
50
83
  name: string | undefined;
51
84
  }, import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::NotConnected"> | import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::Rejected"> | import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::DomainNotValid"> | import("@novasamatech/scale").CodecError<{
52
85
  reason: string;
53
86
  }, "RequestCredentialsErr::Unknown">>>;
54
- }>> & Record<"account_get_alias_request", EnumCodec<{
87
+ }>> & Record<"host_account_get_alias_request", EnumCodec<{
55
88
  readonly v1: Codec<[string, number]>;
56
- }>> & Record<"account_get_alias_response", EnumCodec<{
89
+ }>> & Record<"host_account_get_alias_response", EnumCodec<{
57
90
  readonly v1: Codec<import("scale-ts").ResultPayload<{
58
91
  context: Uint8Array<ArrayBufferLike>;
59
92
  alias: Uint8Array<ArrayBufferLike>;
60
93
  }, import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::NotConnected"> | import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::Rejected"> | import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::DomainNotValid"> | import("@novasamatech/scale").CodecError<{
61
94
  reason: string;
62
95
  }, "RequestCredentialsErr::Unknown">>>;
63
- }>> & Record<"account_create_proof_request", EnumCodec<{
96
+ }>> & Record<"host_account_create_proof_request", EnumCodec<{
64
97
  readonly v1: Codec<[[string, number], {
65
98
  genesisHash: `0x${string}`;
66
99
  ringRootHash: `0x${string}`;
@@ -68,32 +101,32 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
68
101
  palletInstance: number | undefined;
69
102
  } | undefined;
70
103
  }, Uint8Array<ArrayBufferLike>]>;
71
- }>> & Record<"account_create_proof_response", EnumCodec<{
104
+ }>> & Record<"host_account_create_proof_response", EnumCodec<{
72
105
  readonly v1: Codec<import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike>, import("@novasamatech/scale").CodecError<undefined, "CreateProofErr::Rejected"> | import("@novasamatech/scale").CodecError<{
73
106
  reason: string;
74
107
  }, "CreateProofErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "CreateProofErr::RingNotFound">>>;
75
- }>> & Record<"get_non_product_accounts_request", EnumCodec<{
108
+ }>> & Record<"host_get_non_product_accounts_request", EnumCodec<{
76
109
  readonly v1: Codec<undefined>;
77
- }>> & Record<"get_non_product_accounts_response", EnumCodec<{
110
+ }>> & Record<"host_get_non_product_accounts_response", EnumCodec<{
78
111
  readonly v1: Codec<import("scale-ts").ResultPayload<{
79
112
  publicKey: Uint8Array<ArrayBufferLike>;
80
113
  name: string | undefined;
81
114
  }[], import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::NotConnected"> | import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::Rejected"> | import("@novasamatech/scale").CodecError<undefined, "RequestCredentialsErr::DomainNotValid"> | import("@novasamatech/scale").CodecError<{
82
115
  reason: string;
83
116
  }, "RequestCredentialsErr::Unknown">>>;
84
- }>> & Record<"create_transaction_request", EnumCodec<{
117
+ }>> & Record<"host_create_transaction_request", EnumCodec<{
85
118
  readonly v1: Codec<[[string, number], import("./v1/createTransaction.js").TxPayloadV1Public]>;
86
- }>> & Record<"create_transaction_response", EnumCodec<{
119
+ }>> & Record<"host_create_transaction_response", EnumCodec<{
87
120
  readonly v1: Codec<import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike>, import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::Rejected"> | import("@novasamatech/scale").CodecError<{
88
121
  reason: string;
89
122
  }, "CreateTransactionErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::FailedToDecode"> | import("@novasamatech/scale").CodecError<string, "CreateTransactionErr::NotSupported">>>;
90
- }>> & Record<"create_transaction_with_non_product_account_request", EnumCodec<{
123
+ }>> & Record<"host_create_transaction_with_non_product_account_request", EnumCodec<{
91
124
  readonly v1: Codec<import("./v1/createTransaction.js").TxPayloadV1Public>;
92
- }>> & Record<"create_transaction_with_non_product_account_response", EnumCodec<{
125
+ }>> & Record<"host_create_transaction_with_non_product_account_response", EnumCodec<{
93
126
  readonly v1: Codec<import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike>, import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::Rejected"> | import("@novasamatech/scale").CodecError<{
94
127
  reason: string;
95
128
  }, "CreateTransactionErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::FailedToDecode"> | import("@novasamatech/scale").CodecError<string, "CreateTransactionErr::NotSupported">>>;
96
- }>> & Record<"sign_raw_request", EnumCodec<{
129
+ }>> & Record<"host_sign_raw_request", EnumCodec<{
97
130
  readonly v1: Codec<{
98
131
  address: string;
99
132
  data: {
@@ -104,14 +137,14 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
104
137
  value: string;
105
138
  };
106
139
  }>;
107
- }>> & Record<"sign_raw_response", EnumCodec<{
140
+ }>> & Record<"host_sign_raw_response", EnumCodec<{
108
141
  readonly v1: Codec<import("scale-ts").ResultPayload<{
109
142
  signature: `0x${string}`;
110
143
  signedTransaction: `0x${string}` | undefined;
111
144
  }, import("@novasamatech/scale").CodecError<undefined, "SigningErr::Rejected"> | import("@novasamatech/scale").CodecError<{
112
145
  reason: string;
113
146
  }, "SigningErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::FailedToDecode">>>;
114
- }>> & Record<"sign_payload_request", EnumCodec<{
147
+ }>> & Record<"host_sign_payload_request", EnumCodec<{
115
148
  readonly v1: Codec<{
116
149
  address: string;
117
150
  blockHash: `0x${string}`;
@@ -130,45 +163,45 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
130
163
  mode: number | undefined;
131
164
  withSignedTransaction: boolean | undefined;
132
165
  }>;
133
- }>> & Record<"sign_payload_response", EnumCodec<{
166
+ }>> & Record<"host_sign_payload_response", EnumCodec<{
134
167
  readonly v1: Codec<import("scale-ts").ResultPayload<{
135
168
  signature: `0x${string}`;
136
169
  signedTransaction: `0x${string}` | undefined;
137
170
  }, import("@novasamatech/scale").CodecError<undefined, "SigningErr::Rejected"> | import("@novasamatech/scale").CodecError<{
138
171
  reason: string;
139
172
  }, "SigningErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::FailedToDecode">>>;
140
- }>> & Record<"chat_create_room_request", EnumCodec<{
173
+ }>> & Record<"host_chat_create_room_request", EnumCodec<{
141
174
  readonly v1: Codec<{
142
175
  roomId: string;
143
176
  name: string;
144
177
  icon: string;
145
178
  }>;
146
- }>> & Record<"chat_create_room_response", EnumCodec<{
179
+ }>> & Record<"host_chat_create_room_response", EnumCodec<{
147
180
  readonly v1: Codec<import("scale-ts").ResultPayload<{
148
181
  status: "New" | "Exists";
149
182
  }, import("@novasamatech/scale").CodecError<{
150
183
  reason: string;
151
184
  }, "ChatRoomRegistrationErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "ChatRoomRegistrationErr::PermissionDenied">>>;
152
- }>> & Record<"chat_register_bot_request", EnumCodec<{
185
+ }>> & Record<"host_chat_register_bot_request", EnumCodec<{
153
186
  readonly v1: Codec<{
154
187
  botId: string;
155
188
  name: string;
156
189
  icon: string;
157
190
  }>;
158
- }>> & Record<"chat_register_bot_response", EnumCodec<{
191
+ }>> & Record<"host_chat_register_bot_response", EnumCodec<{
159
192
  readonly v1: Codec<import("scale-ts").ResultPayload<{
160
193
  status: "New" | "Exists";
161
194
  }, import("@novasamatech/scale").CodecError<{
162
195
  reason: string;
163
196
  }, "ChatBotRegistrationErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "ChatBotRegistrationErr::PermissionDenied">>>;
164
- }>> & Record<"chat_list_subscribe_start", EnumCodec<{
197
+ }>> & Record<"host_chat_list_subscribe_start", EnumCodec<{
165
198
  readonly v1: Codec<undefined>;
166
- }>> & Record<"chat_list_subscribe_receive", EnumCodec<{
199
+ }>> & Record<"host_chat_list_subscribe_receive", EnumCodec<{
167
200
  readonly v1: Codec<{
168
201
  roomId: string;
169
202
  participatingAs: "RoomHost" | "Bot";
170
203
  }[]>;
171
- }>> & Record<"chat_list_subscribe_interrupt", Codec<undefined>> & Record<"chat_list_subscribe_stop", Codec<undefined>> & Record<"chat_post_message_request", EnumCodec<{
204
+ }>> & Record<"host_chat_list_subscribe_interrupt", Codec<undefined>> & Record<"host_chat_list_subscribe_stop", Codec<undefined>> & Record<"host_chat_post_message_request", EnumCodec<{
172
205
  readonly v1: Codec<{
173
206
  roomId: string;
174
207
  payload: {
@@ -215,15 +248,15 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
215
248
  };
216
249
  };
217
250
  }>;
218
- }>> & Record<"chat_post_message_response", EnumCodec<{
251
+ }>> & Record<"host_chat_post_message_response", EnumCodec<{
219
252
  readonly v1: Codec<import("scale-ts").ResultPayload<{
220
253
  messageId: string;
221
254
  }, import("@novasamatech/scale").CodecError<{
222
255
  reason: string;
223
256
  }, "ChatMessagePostingErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "ChatMessagePostingErr::MessageTooLarge">>>;
224
- }>> & Record<"chat_action_subscribe_start", EnumCodec<{
257
+ }>> & Record<"host_chat_action_subscribe_start", EnumCodec<{
225
258
  readonly v1: Codec<undefined>;
226
- }>> & Record<"chat_action_subscribe_receive", EnumCodec<{
259
+ }>> & Record<"host_chat_action_subscribe_receive", EnumCodec<{
227
260
  readonly v1: Codec<{
228
261
  roomId: string;
229
262
  peer: string;
@@ -287,47 +320,9 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
287
320
  };
288
321
  };
289
322
  }>;
290
- }>> & Record<"chat_action_subscribe_interrupt", Codec<undefined>> & Record<"chat_action_subscribe_stop", Codec<undefined>> & Record<"statement_store_query_request", EnumCodec<{
291
- readonly v1: Codec<Uint8Array<ArrayBufferLike>[]>;
292
- }>> & Record<"statement_store_query_response", EnumCodec<{
293
- readonly v1: Codec<import("scale-ts").ResultPayload<{
294
- proof: {
295
- tag: "Sr25519";
296
- value: {
297
- signature: Uint8Array<ArrayBufferLike>;
298
- signer: Uint8Array<ArrayBufferLike>;
299
- };
300
- } | {
301
- tag: "Ed25519";
302
- value: {
303
- signature: Uint8Array<ArrayBufferLike>;
304
- signer: Uint8Array<ArrayBufferLike>;
305
- };
306
- } | {
307
- tag: "Ecdsa";
308
- value: {
309
- signature: Uint8Array<ArrayBufferLike>;
310
- signer: Uint8Array<ArrayBufferLike>;
311
- };
312
- } | {
313
- tag: "OnChain";
314
- value: {
315
- who: Uint8Array<ArrayBufferLike>;
316
- blockHash: Uint8Array<ArrayBufferLike>;
317
- event: bigint;
318
- };
319
- };
320
- decryptionKey: Uint8Array<ArrayBufferLike> | undefined;
321
- priority: number | undefined;
322
- channel: Uint8Array<ArrayBufferLike> | undefined;
323
- topics: Uint8Array<ArrayBufferLike>[];
324
- data: Uint8Array<ArrayBufferLike> | undefined;
325
- }[], import("@novasamatech/scale").CodecError<{
326
- reason: string;
327
- }, "GenericError">>>;
328
- }>> & Record<"statement_store_subscribe_start", EnumCodec<{
323
+ }>> & Record<"host_chat_action_subscribe_interrupt", Codec<undefined>> & Record<"host_chat_action_subscribe_stop", Codec<undefined>> & Record<"remote_statement_store_subscribe_start", EnumCodec<{
329
324
  readonly v1: Codec<Uint8Array<ArrayBufferLike>[]>;
330
- }>> & Record<"statement_store_subscribe_receive", EnumCodec<{
325
+ }>> & Record<"remote_statement_store_subscribe_receive", EnumCodec<{
331
326
  readonly v1: Codec<{
332
327
  proof: {
333
328
  tag: "Sr25519";
@@ -361,7 +356,7 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
361
356
  topics: Uint8Array<ArrayBufferLike>[];
362
357
  data: Uint8Array<ArrayBufferLike> | undefined;
363
358
  }[]>;
364
- }>> & Record<"statement_store_subscribe_interrupt", Codec<undefined>> & Record<"statement_store_subscribe_stop", Codec<undefined>> & Record<"statement_store_create_proof_request", EnumCodec<{
359
+ }>> & Record<"remote_statement_store_subscribe_interrupt", Codec<undefined>> & Record<"remote_statement_store_subscribe_stop", Codec<undefined>> & Record<"remote_statement_store_create_proof_request", EnumCodec<{
365
360
  readonly v1: Codec<[[string, number], {
366
361
  proof: {
367
362
  tag: "Sr25519";
@@ -395,7 +390,7 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
395
390
  topics: Uint8Array<ArrayBufferLike>[];
396
391
  data: Uint8Array<ArrayBufferLike> | undefined;
397
392
  }]>;
398
- }>> & Record<"statement_store_create_proof_response", EnumCodec<{
393
+ }>> & Record<"remote_statement_store_create_proof_response", EnumCodec<{
399
394
  readonly v1: Codec<import("scale-ts").ResultPayload<{
400
395
  tag: "Sr25519";
401
396
  value: {
@@ -424,7 +419,7 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
424
419
  }, import("@novasamatech/scale").CodecError<{
425
420
  reason: string;
426
421
  }, "StatementProofErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StatementProofErr::UnableToSign"> | import("@novasamatech/scale").CodecError<undefined, "StatementProofErr::UnknownAccount">>>;
427
- }>> & Record<"statement_store_submit_request", EnumCodec<{
422
+ }>> & Record<"remote_statement_store_submit_request", EnumCodec<{
428
423
  readonly v1: Codec<{
429
424
  proof: {
430
425
  tag: "Sr25519";
@@ -458,31 +453,41 @@ export declare const MessagePayload: EnumCodec<Record<"handshake_request", EnumC
458
453
  topics: Uint8Array<ArrayBufferLike>[];
459
454
  data: Uint8Array<ArrayBufferLike> | undefined;
460
455
  }>;
461
- }>> & Record<"statement_store_submit_response", EnumCodec<{
456
+ }>> & Record<"remote_statement_store_submit_response", EnumCodec<{
462
457
  readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
463
458
  reason: string;
464
459
  }, "GenericError">>>;
465
- }>> & Record<"jsonrpc_message_send_request", EnumCodec<{
460
+ }>> & Record<"remote_preimage_lookup_subscribe_start", EnumCodec<{
461
+ readonly v1: Codec<`0x${string}`>;
462
+ }>> & Record<"remote_preimage_lookup_subscribe_receive", EnumCodec<{
463
+ readonly v1: Codec<Uint8Array<ArrayBufferLike> | null>;
464
+ }>> & Record<"remote_preimage_lookup_subscribe_interrupt", Codec<undefined>> & Record<"remote_preimage_lookup_subscribe_stop", Codec<undefined>> & Record<"remote_preimage_submit_request", EnumCodec<{
465
+ readonly v1: Codec<Uint8Array<ArrayBufferLike>>;
466
+ }>> & Record<"remote_preimage_submit_response", EnumCodec<{
467
+ readonly v1: Codec<import("scale-ts").ResultPayload<`0x${string}`, import("@novasamatech/scale").CodecError<{
468
+ reason: string;
469
+ }, "PreimageSubmitErr::Unknown">>>;
470
+ }>> & Record<"host_jsonrpc_message_send_request", EnumCodec<{
466
471
  readonly v1: Codec<[`0x${string}`, string]>;
467
- }>> & Record<"jsonrpc_message_send_response", EnumCodec<{
472
+ }>> & Record<"host_jsonrpc_message_send_response", EnumCodec<{
468
473
  readonly v1: Codec<import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
469
474
  reason: string;
470
475
  }, "GenericError">>>;
471
- }>> & Record<"jsonrpc_message_subscribe_start", EnumCodec<{
476
+ }>> & Record<"host_jsonrpc_message_subscribe_start", EnumCodec<{
472
477
  readonly v1: Codec<`0x${string}`>;
473
- }>> & Record<"jsonrpc_message_subscribe_receive", EnumCodec<{
478
+ }>> & Record<"host_jsonrpc_message_subscribe_receive", EnumCodec<{
474
479
  readonly v1: Codec<string>;
475
- }>> & Record<"jsonrpc_message_subscribe_interrupt", Codec<undefined>> & Record<"jsonrpc_message_subscribe_stop", Codec<undefined>>>;
480
+ }>> & Record<"host_jsonrpc_message_subscribe_interrupt", Codec<undefined>> & Record<"host_jsonrpc_message_subscribe_stop", Codec<undefined>>>;
476
481
  export declare const Message: Codec<{
477
482
  requestId: string;
478
483
  payload: {
479
- tag: "handshake_request";
484
+ tag: "host_handshake_request";
480
485
  value: {
481
486
  tag: "v1";
482
487
  value: number;
483
488
  };
484
489
  } | {
485
- tag: "handshake_response";
490
+ tag: "host_handshake_response";
486
491
  value: {
487
492
  tag: "v1";
488
493
  value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
@@ -490,7 +495,7 @@ export declare const Message: Codec<{
490
495
  }, "HandshakeErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "HandshakeErr::Timeout"> | import("@novasamatech/scale").CodecError<undefined, "HandshakeErr::UnsupportedProtocolVersion">>;
491
496
  };
492
497
  } | {
493
- tag: "feature_request";
498
+ tag: "host_feature_supported_request";
494
499
  value: {
495
500
  tag: "v1";
496
501
  value: {
@@ -499,7 +504,7 @@ export declare const Message: Codec<{
499
504
  };
500
505
  };
501
506
  } | {
502
- tag: "feature_response";
507
+ tag: "host_feature_supported_response";
503
508
  value: {
504
509
  tag: "v1";
505
510
  value: import("scale-ts").ResultPayload<boolean, import("@novasamatech/scale").CodecError<{
@@ -507,13 +512,78 @@ export declare const Message: Codec<{
507
512
  }, "GenericError">>;
508
513
  };
509
514
  } | {
510
- tag: "local_storage_read_request";
515
+ tag: "host_push_notification_request";
516
+ value: {
517
+ tag: "v1";
518
+ value: {
519
+ text: string;
520
+ deeplink: string | undefined;
521
+ };
522
+ };
523
+ } | {
524
+ tag: "host_push_notification_response";
525
+ value: {
526
+ tag: "v1";
527
+ value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
528
+ reason: string;
529
+ }, "GenericError">>;
530
+ };
531
+ } | {
532
+ tag: "host_navigate_to_request";
511
533
  value: {
512
534
  tag: "v1";
513
535
  value: string;
514
536
  };
515
537
  } | {
516
- tag: "local_storage_read_response";
538
+ tag: "host_navigate_to_response";
539
+ value: {
540
+ tag: "v1";
541
+ value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
542
+ reason: string;
543
+ }, "NavigateToErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "NavigateToErr::PermissionDenied">>;
544
+ };
545
+ } | {
546
+ tag: "host_device_permission_request";
547
+ value: {
548
+ tag: "v1";
549
+ value: "Camera" | "Microphone" | "Bluetooth" | "Location";
550
+ };
551
+ } | {
552
+ tag: "host_device_permission_response";
553
+ value: {
554
+ tag: "v1";
555
+ value: import("scale-ts").ResultPayload<boolean, import("@novasamatech/scale").CodecError<{
556
+ reason: string;
557
+ }, "GenericError">>;
558
+ };
559
+ } | {
560
+ tag: "remote_permission_request";
561
+ value: {
562
+ tag: "v1";
563
+ value: {
564
+ tag: "ExternalRequest";
565
+ value: string;
566
+ } | {
567
+ tag: "TransactionSubmit";
568
+ value: undefined;
569
+ };
570
+ };
571
+ } | {
572
+ tag: "remote_permission_response";
573
+ value: {
574
+ tag: "v1";
575
+ value: import("scale-ts").ResultPayload<boolean, import("@novasamatech/scale").CodecError<{
576
+ reason: string;
577
+ }, "GenericError">>;
578
+ };
579
+ } | {
580
+ tag: "host_local_storage_read_request";
581
+ value: {
582
+ tag: "v1";
583
+ value: string;
584
+ };
585
+ } | {
586
+ tag: "host_local_storage_read_response";
517
587
  value: {
518
588
  tag: "v1";
519
589
  value: import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike> | undefined, import("@novasamatech/scale").CodecError<{
@@ -521,13 +591,13 @@ export declare const Message: Codec<{
521
591
  }, "StorageErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StorageErr::Full">>;
522
592
  };
523
593
  } | {
524
- tag: "local_storage_write_request";
594
+ tag: "host_local_storage_write_request";
525
595
  value: {
526
596
  tag: "v1";
527
597
  value: [string, Uint8Array<ArrayBufferLike>];
528
598
  };
529
599
  } | {
530
- tag: "local_storage_write_response";
600
+ tag: "host_local_storage_write_response";
531
601
  value: {
532
602
  tag: "v1";
533
603
  value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
@@ -535,13 +605,13 @@ export declare const Message: Codec<{
535
605
  }, "StorageErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StorageErr::Full">>;
536
606
  };
537
607
  } | {
538
- tag: "local_storage_clear_request";
608
+ tag: "host_local_storage_clear_request";
539
609
  value: {
540
610
  tag: "v1";
541
611
  value: string;
542
612
  };
543
613
  } | {
544
- tag: "local_storage_clear_response";
614
+ tag: "host_local_storage_clear_response";
545
615
  value: {
546
616
  tag: "v1";
547
617
  value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
@@ -549,13 +619,13 @@ export declare const Message: Codec<{
549
619
  }, "StorageErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StorageErr::Full">>;
550
620
  };
551
621
  } | {
552
- tag: "account_get_request";
622
+ tag: "host_account_get_request";
553
623
  value: {
554
624
  tag: "v1";
555
625
  value: [string, number];
556
626
  };
557
627
  } | {
558
- tag: "account_get_response";
628
+ tag: "host_account_get_response";
559
629
  value: {
560
630
  tag: "v1";
561
631
  value: import("scale-ts").ResultPayload<{
@@ -566,13 +636,13 @@ export declare const Message: Codec<{
566
636
  }, "RequestCredentialsErr::Unknown">>;
567
637
  };
568
638
  } | {
569
- tag: "account_get_alias_request";
639
+ tag: "host_account_get_alias_request";
570
640
  value: {
571
641
  tag: "v1";
572
642
  value: [string, number];
573
643
  };
574
644
  } | {
575
- tag: "account_get_alias_response";
645
+ tag: "host_account_get_alias_response";
576
646
  value: {
577
647
  tag: "v1";
578
648
  value: import("scale-ts").ResultPayload<{
@@ -583,7 +653,7 @@ export declare const Message: Codec<{
583
653
  }, "RequestCredentialsErr::Unknown">>;
584
654
  };
585
655
  } | {
586
- tag: "account_create_proof_request";
656
+ tag: "host_account_create_proof_request";
587
657
  value: {
588
658
  tag: "v1";
589
659
  value: [[string, number], {
@@ -595,7 +665,7 @@ export declare const Message: Codec<{
595
665
  }, Uint8Array<ArrayBufferLike>];
596
666
  };
597
667
  } | {
598
- tag: "account_create_proof_response";
668
+ tag: "host_account_create_proof_response";
599
669
  value: {
600
670
  tag: "v1";
601
671
  value: import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike>, import("@novasamatech/scale").CodecError<undefined, "CreateProofErr::Rejected"> | import("@novasamatech/scale").CodecError<{
@@ -603,13 +673,13 @@ export declare const Message: Codec<{
603
673
  }, "CreateProofErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "CreateProofErr::RingNotFound">>;
604
674
  };
605
675
  } | {
606
- tag: "get_non_product_accounts_request";
676
+ tag: "host_get_non_product_accounts_request";
607
677
  value: {
608
678
  tag: "v1";
609
679
  value: undefined;
610
680
  };
611
681
  } | {
612
- tag: "get_non_product_accounts_response";
682
+ tag: "host_get_non_product_accounts_response";
613
683
  value: {
614
684
  tag: "v1";
615
685
  value: import("scale-ts").ResultPayload<{
@@ -620,13 +690,13 @@ export declare const Message: Codec<{
620
690
  }, "RequestCredentialsErr::Unknown">>;
621
691
  };
622
692
  } | {
623
- tag: "create_transaction_request";
693
+ tag: "host_create_transaction_request";
624
694
  value: {
625
695
  tag: "v1";
626
696
  value: [[string, number], import("./v1/createTransaction.js").TxPayloadV1Public];
627
697
  };
628
698
  } | {
629
- tag: "create_transaction_response";
699
+ tag: "host_create_transaction_response";
630
700
  value: {
631
701
  tag: "v1";
632
702
  value: import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike>, import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::Rejected"> | import("@novasamatech/scale").CodecError<{
@@ -634,13 +704,13 @@ export declare const Message: Codec<{
634
704
  }, "CreateTransactionErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::FailedToDecode"> | import("@novasamatech/scale").CodecError<string, "CreateTransactionErr::NotSupported">>;
635
705
  };
636
706
  } | {
637
- tag: "create_transaction_with_non_product_account_request";
707
+ tag: "host_create_transaction_with_non_product_account_request";
638
708
  value: {
639
709
  tag: "v1";
640
710
  value: import("./v1/createTransaction.js").TxPayloadV1Public;
641
711
  };
642
712
  } | {
643
- tag: "create_transaction_with_non_product_account_response";
713
+ tag: "host_create_transaction_with_non_product_account_response";
644
714
  value: {
645
715
  tag: "v1";
646
716
  value: import("scale-ts").ResultPayload<Uint8Array<ArrayBufferLike>, import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::Rejected"> | import("@novasamatech/scale").CodecError<{
@@ -648,7 +718,7 @@ export declare const Message: Codec<{
648
718
  }, "CreateTransactionErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "CreateTransactionErr::FailedToDecode"> | import("@novasamatech/scale").CodecError<string, "CreateTransactionErr::NotSupported">>;
649
719
  };
650
720
  } | {
651
- tag: "sign_raw_request";
721
+ tag: "host_sign_raw_request";
652
722
  value: {
653
723
  tag: "v1";
654
724
  value: {
@@ -663,7 +733,7 @@ export declare const Message: Codec<{
663
733
  };
664
734
  };
665
735
  } | {
666
- tag: "sign_raw_response";
736
+ tag: "host_sign_raw_response";
667
737
  value: {
668
738
  tag: "v1";
669
739
  value: import("scale-ts").ResultPayload<{
@@ -674,7 +744,7 @@ export declare const Message: Codec<{
674
744
  }, "SigningErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::FailedToDecode">>;
675
745
  };
676
746
  } | {
677
- tag: "sign_payload_request";
747
+ tag: "host_sign_payload_request";
678
748
  value: {
679
749
  tag: "v1";
680
750
  value: {
@@ -697,7 +767,7 @@ export declare const Message: Codec<{
697
767
  };
698
768
  };
699
769
  } | {
700
- tag: "sign_payload_response";
770
+ tag: "host_sign_payload_response";
701
771
  value: {
702
772
  tag: "v1";
703
773
  value: import("scale-ts").ResultPayload<{
@@ -708,7 +778,7 @@ export declare const Message: Codec<{
708
778
  }, "SigningErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::PermissionDenied"> | import("@novasamatech/scale").CodecError<undefined, "SigningErr::FailedToDecode">>;
709
779
  };
710
780
  } | {
711
- tag: "chat_create_room_request";
781
+ tag: "host_chat_create_room_request";
712
782
  value: {
713
783
  tag: "v1";
714
784
  value: {
@@ -718,7 +788,7 @@ export declare const Message: Codec<{
718
788
  };
719
789
  };
720
790
  } | {
721
- tag: "chat_create_room_response";
791
+ tag: "host_chat_create_room_response";
722
792
  value: {
723
793
  tag: "v1";
724
794
  value: import("scale-ts").ResultPayload<{
@@ -728,7 +798,7 @@ export declare const Message: Codec<{
728
798
  }, "ChatRoomRegistrationErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "ChatRoomRegistrationErr::PermissionDenied">>;
729
799
  };
730
800
  } | {
731
- tag: "chat_register_bot_request";
801
+ tag: "host_chat_register_bot_request";
732
802
  value: {
733
803
  tag: "v1";
734
804
  value: {
@@ -738,7 +808,7 @@ export declare const Message: Codec<{
738
808
  };
739
809
  };
740
810
  } | {
741
- tag: "chat_register_bot_response";
811
+ tag: "host_chat_register_bot_response";
742
812
  value: {
743
813
  tag: "v1";
744
814
  value: import("scale-ts").ResultPayload<{
@@ -748,13 +818,13 @@ export declare const Message: Codec<{
748
818
  }, "ChatBotRegistrationErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "ChatBotRegistrationErr::PermissionDenied">>;
749
819
  };
750
820
  } | {
751
- tag: "chat_list_subscribe_start";
821
+ tag: "host_chat_list_subscribe_start";
752
822
  value: {
753
823
  tag: "v1";
754
824
  value: undefined;
755
825
  };
756
826
  } | {
757
- tag: "chat_list_subscribe_receive";
827
+ tag: "host_chat_list_subscribe_receive";
758
828
  value: {
759
829
  tag: "v1";
760
830
  value: {
@@ -763,13 +833,13 @@ export declare const Message: Codec<{
763
833
  }[];
764
834
  };
765
835
  } | {
766
- tag: "chat_list_subscribe_interrupt";
836
+ tag: "host_chat_list_subscribe_interrupt";
767
837
  value: undefined;
768
838
  } | {
769
- tag: "chat_list_subscribe_stop";
839
+ tag: "host_chat_list_subscribe_stop";
770
840
  value: undefined;
771
841
  } | {
772
- tag: "chat_post_message_request";
842
+ tag: "host_chat_post_message_request";
773
843
  value: {
774
844
  tag: "v1";
775
845
  value: {
@@ -820,7 +890,7 @@ export declare const Message: Codec<{
820
890
  };
821
891
  };
822
892
  } | {
823
- tag: "chat_post_message_response";
893
+ tag: "host_chat_post_message_response";
824
894
  value: {
825
895
  tag: "v1";
826
896
  value: import("scale-ts").ResultPayload<{
@@ -830,13 +900,13 @@ export declare const Message: Codec<{
830
900
  }, "ChatMessagePostingErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "ChatMessagePostingErr::MessageTooLarge">>;
831
901
  };
832
902
  } | {
833
- tag: "chat_action_subscribe_start";
903
+ tag: "host_chat_action_subscribe_start";
834
904
  value: {
835
905
  tag: "v1";
836
906
  value: undefined;
837
907
  };
838
908
  } | {
839
- tag: "chat_action_subscribe_receive";
909
+ tag: "host_chat_action_subscribe_receive";
840
910
  value: {
841
911
  tag: "v1";
842
912
  value: {
@@ -904,65 +974,19 @@ export declare const Message: Codec<{
904
974
  };
905
975
  };
906
976
  } | {
907
- tag: "chat_action_subscribe_interrupt";
977
+ tag: "host_chat_action_subscribe_interrupt";
908
978
  value: undefined;
909
979
  } | {
910
- tag: "chat_action_subscribe_stop";
980
+ tag: "host_chat_action_subscribe_stop";
911
981
  value: undefined;
912
982
  } | {
913
- tag: "statement_store_query_request";
983
+ tag: "remote_statement_store_subscribe_start";
914
984
  value: {
915
985
  tag: "v1";
916
986
  value: Uint8Array<ArrayBufferLike>[];
917
987
  };
918
988
  } | {
919
- tag: "statement_store_query_response";
920
- value: {
921
- tag: "v1";
922
- value: import("scale-ts").ResultPayload<{
923
- proof: {
924
- tag: "Sr25519";
925
- value: {
926
- signature: Uint8Array<ArrayBufferLike>;
927
- signer: Uint8Array<ArrayBufferLike>;
928
- };
929
- } | {
930
- tag: "Ed25519";
931
- value: {
932
- signature: Uint8Array<ArrayBufferLike>;
933
- signer: Uint8Array<ArrayBufferLike>;
934
- };
935
- } | {
936
- tag: "Ecdsa";
937
- value: {
938
- signature: Uint8Array<ArrayBufferLike>;
939
- signer: Uint8Array<ArrayBufferLike>;
940
- };
941
- } | {
942
- tag: "OnChain";
943
- value: {
944
- who: Uint8Array<ArrayBufferLike>;
945
- blockHash: Uint8Array<ArrayBufferLike>;
946
- event: bigint;
947
- };
948
- };
949
- decryptionKey: Uint8Array<ArrayBufferLike> | undefined;
950
- priority: number | undefined;
951
- channel: Uint8Array<ArrayBufferLike> | undefined;
952
- topics: Uint8Array<ArrayBufferLike>[];
953
- data: Uint8Array<ArrayBufferLike> | undefined;
954
- }[], import("@novasamatech/scale").CodecError<{
955
- reason: string;
956
- }, "GenericError">>;
957
- };
958
- } | {
959
- tag: "statement_store_subscribe_start";
960
- value: {
961
- tag: "v1";
962
- value: Uint8Array<ArrayBufferLike>[];
963
- };
964
- } | {
965
- tag: "statement_store_subscribe_receive";
989
+ tag: "remote_statement_store_subscribe_receive";
966
990
  value: {
967
991
  tag: "v1";
968
992
  value: {
@@ -1000,13 +1024,13 @@ export declare const Message: Codec<{
1000
1024
  }[];
1001
1025
  };
1002
1026
  } | {
1003
- tag: "statement_store_subscribe_interrupt";
1027
+ tag: "remote_statement_store_subscribe_interrupt";
1004
1028
  value: undefined;
1005
1029
  } | {
1006
- tag: "statement_store_subscribe_stop";
1030
+ tag: "remote_statement_store_subscribe_stop";
1007
1031
  value: undefined;
1008
1032
  } | {
1009
- tag: "statement_store_create_proof_request";
1033
+ tag: "remote_statement_store_create_proof_request";
1010
1034
  value: {
1011
1035
  tag: "v1";
1012
1036
  value: [[string, number], {
@@ -1044,7 +1068,7 @@ export declare const Message: Codec<{
1044
1068
  }];
1045
1069
  };
1046
1070
  } | {
1047
- tag: "statement_store_create_proof_response";
1071
+ tag: "remote_statement_store_create_proof_response";
1048
1072
  value: {
1049
1073
  tag: "v1";
1050
1074
  value: import("scale-ts").ResultPayload<{
@@ -1077,7 +1101,7 @@ export declare const Message: Codec<{
1077
1101
  }, "StatementProofErr::Unknown"> | import("@novasamatech/scale").CodecError<undefined, "StatementProofErr::UnableToSign"> | import("@novasamatech/scale").CodecError<undefined, "StatementProofErr::UnknownAccount">>;
1078
1102
  };
1079
1103
  } | {
1080
- tag: "statement_store_submit_request";
1104
+ tag: "remote_statement_store_submit_request";
1081
1105
  value: {
1082
1106
  tag: "v1";
1083
1107
  value: {
@@ -1115,7 +1139,7 @@ export declare const Message: Codec<{
1115
1139
  };
1116
1140
  };
1117
1141
  } | {
1118
- tag: "statement_store_submit_response";
1142
+ tag: "remote_statement_store_submit_response";
1119
1143
  value: {
1120
1144
  tag: "v1";
1121
1145
  value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
@@ -1123,13 +1147,45 @@ export declare const Message: Codec<{
1123
1147
  }, "GenericError">>;
1124
1148
  };
1125
1149
  } | {
1126
- tag: "jsonrpc_message_send_request";
1150
+ tag: "remote_preimage_lookup_subscribe_start";
1151
+ value: {
1152
+ tag: "v1";
1153
+ value: `0x${string}`;
1154
+ };
1155
+ } | {
1156
+ tag: "remote_preimage_lookup_subscribe_receive";
1157
+ value: {
1158
+ tag: "v1";
1159
+ value: Uint8Array<ArrayBufferLike> | null;
1160
+ };
1161
+ } | {
1162
+ tag: "remote_preimage_lookup_subscribe_interrupt";
1163
+ value: undefined;
1164
+ } | {
1165
+ tag: "remote_preimage_lookup_subscribe_stop";
1166
+ value: undefined;
1167
+ } | {
1168
+ tag: "remote_preimage_submit_request";
1169
+ value: {
1170
+ tag: "v1";
1171
+ value: Uint8Array<ArrayBufferLike>;
1172
+ };
1173
+ } | {
1174
+ tag: "remote_preimage_submit_response";
1175
+ value: {
1176
+ tag: "v1";
1177
+ value: import("scale-ts").ResultPayload<`0x${string}`, import("@novasamatech/scale").CodecError<{
1178
+ reason: string;
1179
+ }, "PreimageSubmitErr::Unknown">>;
1180
+ };
1181
+ } | {
1182
+ tag: "host_jsonrpc_message_send_request";
1127
1183
  value: {
1128
1184
  tag: "v1";
1129
1185
  value: [`0x${string}`, string];
1130
1186
  };
1131
1187
  } | {
1132
- tag: "jsonrpc_message_send_response";
1188
+ tag: "host_jsonrpc_message_send_response";
1133
1189
  value: {
1134
1190
  tag: "v1";
1135
1191
  value: import("scale-ts").ResultPayload<undefined, import("@novasamatech/scale").CodecError<{
@@ -1137,22 +1193,22 @@ export declare const Message: Codec<{
1137
1193
  }, "GenericError">>;
1138
1194
  };
1139
1195
  } | {
1140
- tag: "jsonrpc_message_subscribe_start";
1196
+ tag: "host_jsonrpc_message_subscribe_start";
1141
1197
  value: {
1142
1198
  tag: "v1";
1143
1199
  value: `0x${string}`;
1144
1200
  };
1145
1201
  } | {
1146
- tag: "jsonrpc_message_subscribe_receive";
1202
+ tag: "host_jsonrpc_message_subscribe_receive";
1147
1203
  value: {
1148
1204
  tag: "v1";
1149
1205
  value: string;
1150
1206
  };
1151
1207
  } | {
1152
- tag: "jsonrpc_message_subscribe_interrupt";
1208
+ tag: "host_jsonrpc_message_subscribe_interrupt";
1153
1209
  value: undefined;
1154
1210
  } | {
1155
- tag: "jsonrpc_message_subscribe_stop";
1211
+ tag: "host_jsonrpc_message_subscribe_stop";
1156
1212
  value: undefined;
1157
1213
  };
1158
1214
  }>;