@xmtp/wasm-bindings 0.0.15 → 0.0.16
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 +5 -0
- package/dist/bindings_wasm.d.ts +171 -163
- package/dist/bindings_wasm.js +217 -181
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +148 -144
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -8,3 +8,8 @@
|
|
|
8
8
|
- `yarn`: Installs all dependencies (required before building)
|
|
9
9
|
- `yarn build`: Build a release version of the WASM bindings for the current platform
|
|
10
10
|
- `yarn lint`: Run cargo clippy and fmt checks
|
|
11
|
+
- `yarn check:macos`: Run cargo check for macOS (requires Homebrew and `llvm` to be installed)
|
|
12
|
+
|
|
13
|
+
# Publishing
|
|
14
|
+
|
|
15
|
+
To release a new version of the bindings, update the version in `package.json` with the appropriate semver value and add an entry to the CHANGELOG.md file. Once merged, manually trigger the `Release WASM Bindings` workflow to build and publish the bindings.
|
package/dist/bindings_wasm.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
3
4
|
export function getInboxIdForAddress(host: string, account_address: string): Promise<string | undefined>;
|
|
4
5
|
export function generateInboxId(account_address: string): string;
|
|
5
6
|
export function verifySignedWithPublicKey(signature_text: string, signature_bytes: Uint8Array, public_key: Uint8Array): void;
|
|
6
|
-
export function createClient(host: string, inbox_id: string, account_address: string, db_path?: string | null, encryption_key?: Uint8Array | null, history_sync_url?: string | null, log_options?: LogOptions | null): Promise<Client>;
|
|
7
7
|
export enum ConsentEntityType {
|
|
8
8
|
GroupId = 0,
|
|
9
9
|
InboxId = 1,
|
|
@@ -85,22 +85,6 @@ type ReadableStreamType = "bytes";
|
|
|
85
85
|
export class Client {
|
|
86
86
|
private constructor();
|
|
87
87
|
free(): void;
|
|
88
|
-
createInboxSignatureText(): string | undefined;
|
|
89
|
-
addWalletSignatureText(new_wallet_address: string): Promise<string>;
|
|
90
|
-
revokeWalletSignatureText(wallet_address: string): Promise<string>;
|
|
91
|
-
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
92
|
-
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
93
|
-
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
94
|
-
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
95
|
-
applySignatureRequests(): Promise<void>;
|
|
96
|
-
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
97
|
-
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
98
|
-
canMessage(account_addresses: string[]): Promise<any>;
|
|
99
|
-
registerIdentity(): Promise<void>;
|
|
100
|
-
sendHistorySyncRequest(): Promise<void>;
|
|
101
|
-
sendConsentSyncRequest(): Promise<void>;
|
|
102
|
-
findInboxIdByAddress(address: string): Promise<string | undefined>;
|
|
103
|
-
conversations(): Conversations;
|
|
104
88
|
setConsentStates(records: Consent[]): Promise<void>;
|
|
105
89
|
getConsentState(entity_type: ConsentEntityType, entity: string): Promise<ConsentState>;
|
|
106
90
|
/**
|
|
@@ -113,6 +97,22 @@ export class Client {
|
|
|
113
97
|
*/
|
|
114
98
|
inboxState(refresh_from_network: boolean): Promise<InboxState>;
|
|
115
99
|
getLatestInboxState(inbox_id: string): Promise<InboxState>;
|
|
100
|
+
canMessage(account_addresses: string[]): Promise<any>;
|
|
101
|
+
registerIdentity(): Promise<void>;
|
|
102
|
+
sendHistorySyncRequest(): Promise<void>;
|
|
103
|
+
sendConsentSyncRequest(): Promise<void>;
|
|
104
|
+
findInboxIdByAddress(address: string): Promise<string | undefined>;
|
|
105
|
+
conversations(): Conversations;
|
|
106
|
+
createInboxSignatureText(): string | undefined;
|
|
107
|
+
addWalletSignatureText(new_wallet_address: string): Promise<string>;
|
|
108
|
+
revokeWalletSignatureText(wallet_address: string): Promise<string>;
|
|
109
|
+
revokeAllOtherInstallationsSignatureText(): Promise<string>;
|
|
110
|
+
revokeInstallationsSignatureText(installation_ids: Uint8Array[]): Promise<string>;
|
|
111
|
+
addSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array): Promise<void>;
|
|
112
|
+
addScwSignature(signature_type: SignatureRequestType, signature_bytes: Uint8Array, chain_id: bigint, block_number?: bigint | null): Promise<void>;
|
|
113
|
+
applySignatureRequests(): Promise<void>;
|
|
114
|
+
signWithInstallationKey(signature_text: string): Uint8Array;
|
|
115
|
+
verifySignedWithInstallationKey(signature_text: string, signature_bytes: Uint8Array): void;
|
|
116
116
|
readonly accountAddress: string;
|
|
117
117
|
readonly inboxId: string;
|
|
118
118
|
readonly isRegistered: boolean;
|
|
@@ -178,6 +178,10 @@ export class Conversation {
|
|
|
178
178
|
groupMetadata(): Promise<GroupMetadata>;
|
|
179
179
|
dmPeerInboxId(): string;
|
|
180
180
|
updatePermissionPolicy(permission_update_type: PermissionUpdateType, permission_policy_option: PermissionPolicy, metadata_field?: MetadataField | null): Promise<void>;
|
|
181
|
+
updateMessageDisappearingSettings(settings: MessageDisappearingSettings): Promise<void>;
|
|
182
|
+
removeMessageDisappearingSettings(): Promise<void>;
|
|
183
|
+
messageDisappearingSettings(): MessageDisappearingSettings | undefined;
|
|
184
|
+
isMessageDisappearingEnabled(): boolean;
|
|
181
185
|
}
|
|
182
186
|
export class ConversationListItem {
|
|
183
187
|
free(): void;
|
|
@@ -375,8 +379,8 @@ export class Message {
|
|
|
375
379
|
export class MessageDisappearingSettings {
|
|
376
380
|
free(): void;
|
|
377
381
|
constructor(from_ns: bigint, in_ns: bigint);
|
|
378
|
-
|
|
379
|
-
|
|
382
|
+
fromNs: bigint;
|
|
383
|
+
inNs: bigint;
|
|
380
384
|
}
|
|
381
385
|
export class PermissionPolicySet {
|
|
382
386
|
free(): void;
|
|
@@ -419,6 +423,147 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
419
423
|
|
|
420
424
|
export interface InitOutput {
|
|
421
425
|
readonly memory: WebAssembly.Memory;
|
|
426
|
+
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
427
|
+
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
428
|
+
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
429
|
+
readonly __wbg_get_consent_state: (a: number) => number;
|
|
430
|
+
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
431
|
+
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
432
|
+
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
433
|
+
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
434
|
+
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
435
|
+
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
436
|
+
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
437
|
+
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
438
|
+
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
439
|
+
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
440
|
+
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
441
|
+
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
442
|
+
readonly __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
443
|
+
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
444
|
+
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
445
|
+
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
446
|
+
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
447
|
+
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
448
|
+
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
449
|
+
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
450
|
+
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
451
|
+
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
452
|
+
readonly conversation_id: (a: number) => [number, number];
|
|
453
|
+
readonly conversation_send: (a: number, b: number) => any;
|
|
454
|
+
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
455
|
+
readonly conversation_publishMessages: (a: number) => any;
|
|
456
|
+
readonly conversation_sync: (a: number) => any;
|
|
457
|
+
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
458
|
+
readonly conversation_listMembers: (a: number) => any;
|
|
459
|
+
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
460
|
+
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
461
|
+
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
462
|
+
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
463
|
+
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
464
|
+
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
465
|
+
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
466
|
+
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
467
|
+
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
468
|
+
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
469
|
+
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
470
|
+
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
471
|
+
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
472
|
+
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
473
|
+
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
474
|
+
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
475
|
+
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
476
|
+
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
477
|
+
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
478
|
+
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
479
|
+
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
480
|
+
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
481
|
+
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
482
|
+
readonly conversation_groupMetadata: (a: number) => any;
|
|
483
|
+
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
484
|
+
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
485
|
+
readonly conversation_updateMessageDisappearingSettings: (a: number, b: number) => any;
|
|
486
|
+
readonly conversation_removeMessageDisappearingSettings: (a: number) => any;
|
|
487
|
+
readonly conversation_messageDisappearingSettings: (a: number) => [number, number, number];
|
|
488
|
+
readonly conversation_isMessageDisappearingEnabled: (a: number) => [number, number, number];
|
|
489
|
+
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
490
|
+
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
491
|
+
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
492
|
+
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
493
|
+
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
494
|
+
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
495
|
+
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
496
|
+
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
497
|
+
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
498
|
+
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
|
|
499
|
+
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
500
|
+
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
501
|
+
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
502
|
+
readonly __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
|
|
503
|
+
readonly __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
504
|
+
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
505
|
+
readonly client_inboxState: (a: number, b: number) => any;
|
|
506
|
+
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
507
|
+
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
508
|
+
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
509
|
+
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
510
|
+
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
511
|
+
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
512
|
+
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
513
|
+
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
514
|
+
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
515
|
+
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
516
|
+
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
517
|
+
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
518
|
+
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
519
|
+
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
520
|
+
readonly createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
|
|
521
|
+
readonly client_accountAddress: (a: number) => [number, number];
|
|
522
|
+
readonly client_inboxId: (a: number) => [number, number];
|
|
523
|
+
readonly client_isRegistered: (a: number) => number;
|
|
524
|
+
readonly client_installationId: (a: number) => [number, number];
|
|
525
|
+
readonly client_installationIdBytes: (a: number) => any;
|
|
526
|
+
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
527
|
+
readonly client_registerIdentity: (a: number) => any;
|
|
528
|
+
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
529
|
+
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
530
|
+
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
531
|
+
readonly client_conversations: (a: number) => number;
|
|
532
|
+
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
533
|
+
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
534
|
+
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
535
|
+
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
536
|
+
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
537
|
+
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
538
|
+
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
539
|
+
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
540
|
+
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
541
|
+
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
542
|
+
readonly client_applySignatureRequests: (a: number) => any;
|
|
543
|
+
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
544
|
+
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
545
|
+
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
546
|
+
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
547
|
+
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
548
|
+
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
549
|
+
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
550
|
+
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
551
|
+
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
552
|
+
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
553
|
+
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
554
|
+
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
555
|
+
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
556
|
+
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
557
|
+
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
558
|
+
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
559
|
+
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
560
|
+
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
561
|
+
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
562
|
+
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
563
|
+
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
564
|
+
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
565
|
+
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
566
|
+
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
422
567
|
readonly __wbg_streamcloser_free: (a: number, b: number) => void;
|
|
423
568
|
readonly streamcloser_end: (a: number) => void;
|
|
424
569
|
readonly streamcloser_endAndWait: (a: number) => any;
|
|
@@ -443,8 +588,8 @@ export interface InitOutput {
|
|
|
443
588
|
readonly __wbg_set_listconversationsoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
444
589
|
readonly listconversationsoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: bigint, j: number, k: number, l: number, m: bigint) => number;
|
|
445
590
|
readonly __wbg_messagedisappearingsettings_free: (a: number, b: number) => void;
|
|
446
|
-
readonly
|
|
447
|
-
readonly
|
|
591
|
+
readonly __wbg_get_messagedisappearingsettings_inNs: (a: number) => bigint;
|
|
592
|
+
readonly __wbg_set_messagedisappearingsettings_inNs: (a: number, b: bigint) => void;
|
|
448
593
|
readonly messagedisappearingsettings_new: (a: bigint, b: bigint) => number;
|
|
449
594
|
readonly __wbg_creategroupoptions_free: (a: number, b: number) => void;
|
|
450
595
|
readonly __wbg_get_creategroupoptions_permissions: (a: number) => number;
|
|
@@ -532,155 +677,18 @@ export interface InitOutput {
|
|
|
532
677
|
readonly __wbg_grouppermissions_free: (a: number, b: number) => void;
|
|
533
678
|
readonly grouppermissions_policyType: (a: number) => [number, number, number];
|
|
534
679
|
readonly grouppermissions_policySet: (a: number) => [number, number, number];
|
|
535
|
-
readonly
|
|
680
|
+
readonly __wbg_get_messagedisappearingsettings_fromNs: (a: number) => bigint;
|
|
536
681
|
readonly __wbg_get_message_sentAtNs: (a: number) => bigint;
|
|
537
682
|
readonly __wbg_set_listmessagesoptions_sentBeforeNs: (a: number, b: number, c: bigint) => void;
|
|
538
683
|
readonly __wbg_set_listmessagesoptions_sentAfterNs: (a: number, b: number, c: bigint) => void;
|
|
539
684
|
readonly __wbg_set_listmessagesoptions_limit: (a: number, b: number, c: bigint) => void;
|
|
540
|
-
readonly
|
|
685
|
+
readonly __wbg_set_messagedisappearingsettings_fromNs: (a: number, b: bigint) => void;
|
|
541
686
|
readonly __wbg_set_message_sentAtNs: (a: number, b: bigint) => void;
|
|
542
687
|
readonly __wbg_set_creategroupoptions_messageDisappearingSettings: (a: number, b: number) => void;
|
|
543
688
|
readonly __wbg_get_creategroupoptions_messageDisappearingSettings: (a: number) => number;
|
|
544
689
|
readonly __wbg_get_listmessagesoptions_sentBeforeNs: (a: number) => [number, bigint];
|
|
545
690
|
readonly __wbg_get_listmessagesoptions_sentAfterNs: (a: number) => [number, bigint];
|
|
546
691
|
readonly __wbg_get_listmessagesoptions_limit: (a: number) => [number, bigint];
|
|
547
|
-
readonly getInboxIdForAddress: (a: number, b: number, c: number, d: number) => any;
|
|
548
|
-
readonly generateInboxId: (a: number, b: number) => [number, number, number, number];
|
|
549
|
-
readonly verifySignedWithPublicKey: (a: number, b: number, c: any, d: any) => [number, number];
|
|
550
|
-
readonly client_createInboxSignatureText: (a: number) => [number, number, number, number];
|
|
551
|
-
readonly client_addWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
552
|
-
readonly client_revokeWalletSignatureText: (a: number, b: number, c: number) => any;
|
|
553
|
-
readonly client_revokeAllOtherInstallationsSignatureText: (a: number) => any;
|
|
554
|
-
readonly client_revokeInstallationsSignatureText: (a: number, b: number, c: number) => any;
|
|
555
|
-
readonly client_addSignature: (a: number, b: number, c: any) => any;
|
|
556
|
-
readonly client_addScwSignature: (a: number, b: number, c: any, d: bigint, e: number, f: bigint) => any;
|
|
557
|
-
readonly client_applySignatureRequests: (a: number) => any;
|
|
558
|
-
readonly client_signWithInstallationKey: (a: number, b: number, c: number) => [number, number, number];
|
|
559
|
-
readonly client_verifySignedWithInstallationKey: (a: number, b: number, c: number, d: any) => [number, number];
|
|
560
|
-
readonly __wbg_client_free: (a: number, b: number) => void;
|
|
561
|
-
readonly __wbg_logoptions_free: (a: number, b: number) => void;
|
|
562
|
-
readonly __wbg_get_logoptions_structured: (a: number) => number;
|
|
563
|
-
readonly __wbg_set_logoptions_structured: (a: number, b: number) => void;
|
|
564
|
-
readonly __wbg_get_logoptions_performance: (a: number) => number;
|
|
565
|
-
readonly __wbg_set_logoptions_performance: (a: number, b: number) => void;
|
|
566
|
-
readonly __wbg_get_logoptions_level: (a: number) => number;
|
|
567
|
-
readonly __wbg_set_logoptions_level: (a: number, b: number) => void;
|
|
568
|
-
readonly logoptions_new: (a: number, b: number, c: number) => number;
|
|
569
|
-
readonly createClient: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
|
|
570
|
-
readonly client_accountAddress: (a: number) => [number, number];
|
|
571
|
-
readonly client_inboxId: (a: number) => [number, number];
|
|
572
|
-
readonly client_isRegistered: (a: number) => number;
|
|
573
|
-
readonly client_installationId: (a: number) => [number, number];
|
|
574
|
-
readonly client_installationIdBytes: (a: number) => any;
|
|
575
|
-
readonly client_canMessage: (a: number, b: number, c: number) => any;
|
|
576
|
-
readonly client_registerIdentity: (a: number) => any;
|
|
577
|
-
readonly client_sendHistorySyncRequest: (a: number) => any;
|
|
578
|
-
readonly client_sendConsentSyncRequest: (a: number) => any;
|
|
579
|
-
readonly client_findInboxIdByAddress: (a: number, b: number, c: number) => any;
|
|
580
|
-
readonly client_conversations: (a: number) => number;
|
|
581
|
-
readonly __wbg_consent_free: (a: number, b: number) => void;
|
|
582
|
-
readonly __wbg_get_consent_entityType: (a: number) => number;
|
|
583
|
-
readonly __wbg_set_consent_entityType: (a: number, b: number) => void;
|
|
584
|
-
readonly __wbg_get_consent_state: (a: number) => number;
|
|
585
|
-
readonly __wbg_set_consent_state: (a: number, b: number) => void;
|
|
586
|
-
readonly __wbg_get_consent_entity: (a: number) => [number, number];
|
|
587
|
-
readonly __wbg_set_consent_entity: (a: number, b: number, c: number) => void;
|
|
588
|
-
readonly consent_new: (a: number, b: number, c: number, d: number) => number;
|
|
589
|
-
readonly client_setConsentStates: (a: number, b: number, c: number) => any;
|
|
590
|
-
readonly client_getConsentState: (a: number, b: number, c: number, d: number) => any;
|
|
591
|
-
readonly conversation_consentState: (a: number) => [number, number, number];
|
|
592
|
-
readonly conversation_updateConsentState: (a: number, b: number) => [number, number];
|
|
593
|
-
readonly __wbg_groupmetadata_free: (a: number, b: number) => void;
|
|
594
|
-
readonly groupmetadata_creatorInboxId: (a: number) => [number, number];
|
|
595
|
-
readonly groupmetadata_conversationType: (a: number) => [number, number];
|
|
596
|
-
readonly __wbg_groupmember_free: (a: number, b: number) => void;
|
|
597
|
-
readonly __wbg_get_groupmember_accountAddresses: (a: number) => [number, number];
|
|
598
|
-
readonly __wbg_set_groupmember_accountAddresses: (a: number, b: number, c: number) => void;
|
|
599
|
-
readonly __wbg_get_groupmember_installationIds: (a: number) => [number, number];
|
|
600
|
-
readonly __wbg_set_groupmember_installationIds: (a: number, b: number, c: number) => void;
|
|
601
|
-
readonly __wbg_get_groupmember_permissionLevel: (a: number) => number;
|
|
602
|
-
readonly __wbg_set_groupmember_permissionLevel: (a: number, b: number) => void;
|
|
603
|
-
readonly __wbg_get_groupmember_consentState: (a: number) => number;
|
|
604
|
-
readonly __wbg_set_groupmember_consentState: (a: number, b: number) => void;
|
|
605
|
-
readonly groupmember_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
606
|
-
readonly __wbg_conversation_free: (a: number, b: number) => void;
|
|
607
|
-
readonly conversation_id: (a: number) => [number, number];
|
|
608
|
-
readonly conversation_send: (a: number, b: number) => any;
|
|
609
|
-
readonly conversation_sendOptimistic: (a: number, b: number) => [number, number, number, number];
|
|
610
|
-
readonly conversation_publishMessages: (a: number) => any;
|
|
611
|
-
readonly conversation_sync: (a: number) => any;
|
|
612
|
-
readonly conversation_findMessages: (a: number, b: number) => any;
|
|
613
|
-
readonly conversation_listMembers: (a: number) => any;
|
|
614
|
-
readonly conversation_adminList: (a: number) => [number, number, number, number];
|
|
615
|
-
readonly conversation_superAdminList: (a: number) => [number, number, number, number];
|
|
616
|
-
readonly conversation_isAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
617
|
-
readonly conversation_isSuperAdmin: (a: number, b: number, c: number) => [number, number, number];
|
|
618
|
-
readonly conversation_addMembers: (a: number, b: number, c: number) => any;
|
|
619
|
-
readonly conversation_addAdmin: (a: number, b: number, c: number) => any;
|
|
620
|
-
readonly conversation_removeAdmin: (a: number, b: number, c: number) => any;
|
|
621
|
-
readonly conversation_addSuperAdmin: (a: number, b: number, c: number) => any;
|
|
622
|
-
readonly conversation_removeSuperAdmin: (a: number, b: number, c: number) => any;
|
|
623
|
-
readonly conversation_groupPermissions: (a: number) => [number, number, number];
|
|
624
|
-
readonly conversation_addMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
625
|
-
readonly conversation_removeMembers: (a: number, b: number, c: number) => any;
|
|
626
|
-
readonly conversation_removeMembersByInboxId: (a: number, b: number, c: number) => any;
|
|
627
|
-
readonly conversation_updateGroupName: (a: number, b: number, c: number) => any;
|
|
628
|
-
readonly conversation_groupName: (a: number) => [number, number, number, number];
|
|
629
|
-
readonly conversation_updateGroupImageUrlSquare: (a: number, b: number, c: number) => any;
|
|
630
|
-
readonly conversation_groupImageUrlSquare: (a: number) => [number, number, number, number];
|
|
631
|
-
readonly conversation_updateGroupDescription: (a: number, b: number, c: number) => any;
|
|
632
|
-
readonly conversation_groupDescription: (a: number) => [number, number, number, number];
|
|
633
|
-
readonly conversation_stream: (a: number, b: any) => [number, number, number];
|
|
634
|
-
readonly conversation_createdAtNs: (a: number) => bigint;
|
|
635
|
-
readonly conversation_isActive: (a: number) => [number, number, number];
|
|
636
|
-
readonly conversation_addedByInboxId: (a: number) => [number, number, number, number];
|
|
637
|
-
readonly conversation_groupMetadata: (a: number) => any;
|
|
638
|
-
readonly conversation_dmPeerInboxId: (a: number) => [number, number, number, number];
|
|
639
|
-
readonly conversation_updatePermissionPolicy: (a: number, b: number, c: number, d: number) => any;
|
|
640
|
-
readonly __wbg_contenttypeid_free: (a: number, b: number) => void;
|
|
641
|
-
readonly __wbg_get_contenttypeid_typeId: (a: number) => [number, number];
|
|
642
|
-
readonly __wbg_set_contenttypeid_typeId: (a: number, b: number, c: number) => void;
|
|
643
|
-
readonly __wbg_get_contenttypeid_versionMajor: (a: number) => number;
|
|
644
|
-
readonly __wbg_set_contenttypeid_versionMajor: (a: number, b: number) => void;
|
|
645
|
-
readonly __wbg_get_contenttypeid_versionMinor: (a: number) => number;
|
|
646
|
-
readonly __wbg_set_contenttypeid_versionMinor: (a: number, b: number) => void;
|
|
647
|
-
readonly contenttypeid_new: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
648
|
-
readonly __wbg_encodedcontent_free: (a: number, b: number) => void;
|
|
649
|
-
readonly __wbg_get_encodedcontent_type: (a: number) => number;
|
|
650
|
-
readonly __wbg_set_encodedcontent_type: (a: number, b: number) => void;
|
|
651
|
-
readonly __wbg_get_encodedcontent_parameters: (a: number) => any;
|
|
652
|
-
readonly __wbg_set_encodedcontent_parameters: (a: number, b: any) => void;
|
|
653
|
-
readonly __wbg_get_encodedcontent_fallback: (a: number) => [number, number];
|
|
654
|
-
readonly __wbg_set_encodedcontent_fallback: (a: number, b: number, c: number) => void;
|
|
655
|
-
readonly __wbg_get_encodedcontent_compression: (a: number) => number;
|
|
656
|
-
readonly __wbg_set_encodedcontent_compression: (a: number, b: number) => void;
|
|
657
|
-
readonly __wbg_get_encodedcontent_content: (a: number) => any;
|
|
658
|
-
readonly __wbg_set_encodedcontent_content: (a: number, b: any) => void;
|
|
659
|
-
readonly encodedcontent_new: (a: number, b: any, c: number, d: number, e: number, f: any) => number;
|
|
660
|
-
readonly __wbg_installation_free: (a: number, b: number) => void;
|
|
661
|
-
readonly __wbg_get_installation_bytes: (a: number) => any;
|
|
662
|
-
readonly __wbg_set_installation_bytes: (a: number, b: any) => void;
|
|
663
|
-
readonly __wbg_get_installation_id: (a: number) => [number, number];
|
|
664
|
-
readonly __wbg_set_installation_id: (a: number, b: number, c: number) => void;
|
|
665
|
-
readonly __wbg_get_installation_clientTimestampNs: (a: number) => [number, bigint];
|
|
666
|
-
readonly __wbg_set_installation_clientTimestampNs: (a: number, b: number, c: bigint) => void;
|
|
667
|
-
readonly installation_new: (a: any, b: number, c: number, d: number, e: bigint) => number;
|
|
668
|
-
readonly __wbg_inboxstate_free: (a: number, b: number) => void;
|
|
669
|
-
readonly __wbg_get_inboxstate_installations: (a: number) => [number, number];
|
|
670
|
-
readonly __wbg_set_inboxstate_installations: (a: number, b: number, c: number) => void;
|
|
671
|
-
readonly __wbg_get_inboxstate_accountAddresses: (a: number) => [number, number];
|
|
672
|
-
readonly __wbg_set_inboxstate_accountAddresses: (a: number, b: number, c: number) => void;
|
|
673
|
-
readonly inboxstate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
674
|
-
readonly client_inboxState: (a: number, b: number) => any;
|
|
675
|
-
readonly client_getLatestInboxState: (a: number, b: number, c: number) => any;
|
|
676
|
-
readonly __wbg_set_groupmember_inboxId: (a: number, b: number, c: number) => void;
|
|
677
|
-
readonly __wbg_set_contenttypeid_authorityId: (a: number, b: number, c: number) => void;
|
|
678
|
-
readonly __wbg_set_inboxstate_inboxId: (a: number, b: number, c: number) => void;
|
|
679
|
-
readonly __wbg_set_inboxstate_recoveryAddress: (a: number, b: number, c: number) => void;
|
|
680
|
-
readonly __wbg_get_groupmember_inboxId: (a: number) => [number, number];
|
|
681
|
-
readonly __wbg_get_contenttypeid_authorityId: (a: number) => [number, number];
|
|
682
|
-
readonly __wbg_get_inboxstate_inboxId: (a: number) => [number, number];
|
|
683
|
-
readonly __wbg_get_inboxstate_recoveryAddress: (a: number) => [number, number];
|
|
684
692
|
readonly __wbg_version_free: (a: number, b: number) => void;
|
|
685
693
|
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
686
694
|
readonly intounderlyingsource_pull: (a: number, b: any) => any;
|
|
@@ -702,11 +710,11 @@ export interface InitOutput {
|
|
|
702
710
|
readonly __externref_table_alloc: () => number;
|
|
703
711
|
readonly __wbindgen_export_5: WebAssembly.Table;
|
|
704
712
|
readonly __wbindgen_export_6: WebAssembly.Table;
|
|
705
|
-
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
706
713
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
714
|
+
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
707
715
|
readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb21f8cddfb9e179d: (a: number, b: number) => void;
|
|
708
|
-
readonly
|
|
709
|
-
readonly
|
|
716
|
+
readonly closure2991_externref_shim: (a: number, b: number, c: any) => void;
|
|
717
|
+
readonly closure4013_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
710
718
|
readonly __wbindgen_start: () => void;
|
|
711
719
|
}
|
|
712
720
|
|