@candypoets/nipworker 0.0.77 → 0.83.0

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.
Files changed (102) hide show
  1. package/dist/NarrowTypes.js +1 -0
  2. package/dist/NarrowTypes.js.map +1 -0
  3. package/dist/cache/index.d.ts +4 -4
  4. package/dist/cache/index.d.ts.map +1 -1
  5. package/dist/cache/index.js +2 -2
  6. package/dist/cache/index.js.map +1 -1
  7. package/dist/cache/pkg/cache.d.ts +10 -9
  8. package/dist/cache/pkg/cache_bg.wasm.d.ts +9 -8
  9. package/dist/connections/index.d.ts +8 -5
  10. package/dist/connections/index.d.ts.map +1 -1
  11. package/dist/connections/index.js +2 -2
  12. package/dist/connections/index.js.map +1 -1
  13. package/dist/connections/pkg/connections.d.ts +10 -10
  14. package/dist/connections/pkg/connections_bg.wasm.d.ts +8 -8
  15. package/dist/crypto/index.d.ts +6 -4
  16. package/dist/crypto/index.d.ts.map +1 -1
  17. package/dist/crypto/index.js +2 -2
  18. package/dist/crypto/index.js.map +1 -1
  19. package/dist/crypto/pkg/crypto.d.ts +114 -86
  20. package/dist/crypto/pkg/crypto_bg.wasm.d.ts +11 -8
  21. package/dist/generated/message.d.ts +91 -0
  22. package/dist/generated/message.d.ts.map +1 -0
  23. package/dist/generated/nostr/fb/image-data.d.ts +6 -2
  24. package/dist/generated/nostr/fb/image-data.d.ts.map +1 -1
  25. package/dist/generated/nostr/fb/kind0parsed.d.ts +100 -0
  26. package/dist/generated/nostr/fb/kind0parsed.d.ts.map +1 -0
  27. package/dist/generated/nostr/fb/kind10002parsed.d.ts +25 -0
  28. package/dist/generated/nostr/fb/kind10002parsed.d.ts.map +1 -0
  29. package/dist/generated/nostr/fb/kind10019parsed.d.ts +38 -0
  30. package/dist/generated/nostr/fb/kind10019parsed.d.ts.map +1 -0
  31. package/dist/generated/nostr/fb/kind17375parsed.d.ts +38 -0
  32. package/dist/generated/nostr/fb/kind17375parsed.d.ts.map +1 -0
  33. package/dist/generated/nostr/fb/kind17parsed.d.ts +42 -0
  34. package/dist/generated/nostr/fb/kind17parsed.d.ts.map +1 -0
  35. package/dist/generated/nostr/fb/kind1parsed.d.ts +50 -0
  36. package/dist/generated/nostr/fb/kind1parsed.d.ts.map +1 -0
  37. package/dist/generated/nostr/fb/kind30023-parsed.d.ts +6 -2
  38. package/dist/generated/nostr/fb/kind30023-parsed.d.ts.map +1 -1
  39. package/dist/generated/nostr/fb/kind30023parsed.d.ts +58 -0
  40. package/dist/generated/nostr/fb/kind30023parsed.d.ts.map +1 -0
  41. package/dist/generated/nostr/fb/kind3parsed.d.ts +25 -0
  42. package/dist/generated/nostr/fb/kind3parsed.d.ts.map +1 -0
  43. package/dist/generated/nostr/fb/kind4parsed.d.ts +39 -0
  44. package/dist/generated/nostr/fb/kind4parsed.d.ts.map +1 -0
  45. package/dist/generated/nostr/fb/kind6parsed.d.ts +22 -0
  46. package/dist/generated/nostr/fb/kind6parsed.d.ts.map +1 -0
  47. package/dist/generated/nostr/fb/kind7374parsed.d.ts +31 -0
  48. package/dist/generated/nostr/fb/kind7374parsed.d.ts.map +1 -0
  49. package/dist/generated/nostr/fb/kind7375parsed.d.ts +41 -0
  50. package/dist/generated/nostr/fb/kind7375parsed.d.ts.map +1 -0
  51. package/dist/generated/nostr/fb/kind7376parsed.d.ts +58 -0
  52. package/dist/generated/nostr/fb/kind7376parsed.d.ts.map +1 -0
  53. package/dist/generated/nostr/fb/kind7parsed.d.ts +42 -0
  54. package/dist/generated/nostr/fb/kind7parsed.d.ts.map +1 -0
  55. package/dist/generated/nostr/fb/kind9321parsed.d.ts +64 -0
  56. package/dist/generated/nostr/fb/kind9321parsed.d.ts.map +1 -0
  57. package/dist/generated/nostr/fb/kind9735parsed.d.ts +64 -0
  58. package/dist/generated/nostr/fb/kind9735parsed.d.ts.map +1 -0
  59. package/dist/generated/nostr/fb/p2pkwitness.d.ts +27 -0
  60. package/dist/generated/nostr/fb/p2pkwitness.d.ts.map +1 -0
  61. package/dist/hooks.d.ts +5 -0
  62. package/dist/hooks.d.ts.map +1 -1
  63. package/dist/hooks.js +1 -1
  64. package/dist/hooks.js.map +1 -1
  65. package/dist/index.d.ts +17 -6
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +1 -1
  68. package/dist/index2.js +1 -1
  69. package/dist/index2.js.map +1 -1
  70. package/dist/lib/ArrayBufferReader.d.ts +73 -0
  71. package/dist/lib/ArrayBufferReader.d.ts.map +1 -0
  72. package/dist/lib/ByteString.d.ts.map +1 -1
  73. package/dist/parser/index.d.ts +8 -6
  74. package/dist/parser/index.d.ts.map +1 -1
  75. package/dist/parser/index.js +2 -2
  76. package/dist/parser/index.js.map +1 -1
  77. package/dist/parser/pkg/rust_worker.d.ts +1 -1
  78. package/dist/utils.js +4 -4
  79. package/dist/utils.js.map +1 -1
  80. package/package.json +4 -2
  81. package/dist/generated/nostr/fb/kind39089-parsed.d.ts +0 -43
  82. package/dist/generated/nostr/fb/kind39089-parsed.d.ts.map +0 -1
  83. package/dist/generated/nostr/fb/set-pub-key.d.ts +0 -24
  84. package/dist/generated/nostr/fb/set-pub-key.d.ts.map +0 -1
  85. package/dist/lib/SharedBuffer.d.ts +0 -62
  86. package/dist/lib/SharedBuffer.d.ts.map +0 -1
  87. package/dist/ring-buffer.js +0 -1
  88. package/dist/ring-buffer.js.map +0 -1
  89. package/dist/ws/connection.d.ts +0 -37
  90. package/dist/ws/connection.d.ts.map +0 -1
  91. package/dist/ws/index.d.ts +0 -2
  92. package/dist/ws/index.d.ts.map +0 -1
  93. package/dist/ws/index.js +0 -1
  94. package/dist/ws/index.js.map +0 -1
  95. package/dist/ws/registry.d.ts +0 -31
  96. package/dist/ws/registry.d.ts.map +0 -1
  97. package/dist/ws/ring-buffer.d.ts +0 -34
  98. package/dist/ws/ring-buffer.d.ts.map +0 -1
  99. package/dist/ws/runtime.d.ts +0 -23
  100. package/dist/ws/runtime.d.ts.map +0 -1
  101. package/dist/ws/types.d.ts +0 -55
  102. package/dist/ws/types.d.ts.map +0 -1
@@ -1,53 +1,78 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
 
4
+ /**
5
+ * A cryptographic operations worker that:
6
+ * - Wires four MessageChannel ports:
7
+ * - from_parser (parser -> crypto): SignerRequest messages
8
+ * - to_parser (crypto -> parser): SignerResponse messages
9
+ * - to_connections (crypto -> connections): NIP-46 frames
10
+ * - from_connections (connections -> crypto): NIP-46 responses
11
+ * - to_main (crypto -> main): Control responses
12
+ * - Exposes direct methods for frontend (bypass MessageChannel).
13
+ *
14
+ * NOTE:
15
+ * - The service protocol (SignerRequest/SignerResponse) uses FlatBuffers.
16
+ * - NIP-46 transport uses MessageChannel ports instead of SAB rings.
17
+ */
4
18
  export class Crypto {
5
- free(): void;
6
- [Symbol.dispose](): void;
7
- /**
8
- * Configure NIP-46 remote signer using a QR code.
9
- * This is for the "Direct connection initiated by the client" flow.
10
- */
11
- setNip46QR(nostrconnect_url: string, client_secret?: string | null): void;
12
- /**
13
- * Direct path: perform NIP-46 connect handshake.
14
- */
15
- connectDirect(): Promise<any>;
16
- /**
17
- * Set a private key signer (hex or nsec). For now we don't perform validation here.
18
- */
19
- setPrivateKey(secret: string): void;
20
- /**
21
- * Notify the main thread about a discovered bunker URL.
22
- */
23
- notify_discovery(bunker_url: string): void;
24
- /**
25
- * Configure NIP-46 remote signer. Takes remote signer pubkey (hex) and relays.
26
- * Configure NIP-46 remote signer using a bunker URL.
27
- * This is for the "Direct connection initiated by remote-signer" flow.
28
- */
29
- setNip46Bunker(bunker_url: string, client_secret?: string | null): void;
30
- /**
31
- * Direct path: sign event template (JSON object string). Returns signed event (JSON string).
32
- */
33
- signEvent(tmpl: string): Promise<any>;
34
- /**
35
- * Direct path: get public key as a string. This is a placeholder until key plumbing lands.
36
- */
37
- getPublicKeyDirect(): Promise<any>;
38
- /**
39
- * Get the discovered remote signer pubkey (for QR code mode).
40
- * Returns None if no remote signer has been discovered yet.
41
- */
42
- getDiscoveredRemotePubkey(): string | undefined;
43
- /**
44
- * new(crypto_service_request, crypto_service_response, ws_request_crypto, ws_response_crypto)
45
- */
46
- constructor(crypto_service_request: SharedArrayBuffer, crypto_service_response: SharedArrayBuffer, ws_request_crypto: SharedArrayBuffer, ws_response_crypto: SharedArrayBuffer);
47
- /**
48
- * Use NIP-07 (window.nostr). Assumes this signer runs in the main window context.
49
- */
50
- setNip07(): void;
19
+ free(): void;
20
+ [Symbol.dispose](): void;
21
+ /**
22
+ * Clear the active signer (logout).
23
+ */
24
+ clearSigner(): void;
25
+ /**
26
+ * Direct path: perform NIP-46 connect handshake.
27
+ */
28
+ connectDirect(): Promise<any>;
29
+ /**
30
+ * Get the discovered remote signer pubkey (for QR code mode).
31
+ * Returns None if no remote signer has been discovered yet.
32
+ */
33
+ getDiscoveredRemotePubkey(): string | undefined;
34
+ /**
35
+ * Direct path: get public key as a string. This is a placeholder until key plumbing lands.
36
+ */
37
+ getPublicKeyDirect(): Promise<any>;
38
+ /**
39
+ * new(toMain, fromParser, toConnections, fromConnections, toParser)
40
+ *
41
+ * Parameters:
42
+ * - to_main: MessagePort for sending control responses to main thread
43
+ * - from_parser: MessagePort for receiving SignerRequest from parser
44
+ * - to_connections: MessagePort for sending NIP-46 frames to connections
45
+ * - from_connections: MessagePort for receiving NIP-46 responses from connections
46
+ * - to_parser: MessagePort for sending SignerResponse to parser
47
+ */
48
+ constructor(to_main: MessagePort, from_parser: MessagePort, to_connections: MessagePort, from_connections: MessagePort, to_parser: MessagePort);
49
+ /**
50
+ * Notify the main thread about a discovered bunker URL.
51
+ */
52
+ notify_discovery(bunker_url: string): void;
53
+ /**
54
+ * Use NIP-07 (window.nostr). Assumes this signer runs in the main window context.
55
+ */
56
+ setNip07(): void;
57
+ /**
58
+ * Configure NIP-46 remote signer. Takes remote signer pubkey (hex) and relays.
59
+ * Configure NIP-46 remote signer using a bunker URL.
60
+ * This is for the "Direct connection initiated by remote-signer" flow.
61
+ */
62
+ setNip46Bunker(bunker_url: string, client_secret: string | null | undefined, from_connections: MessagePort): void;
63
+ /**
64
+ * Configure NIP-46 remote signer using a QR code.
65
+ * This is for the "Direct connection initiated by the client" flow.
66
+ */
67
+ setNip46QR(nostrconnect_url: string, client_secret: string | null | undefined, from_connections: MessagePort): void;
68
+ /**
69
+ * Set a private key signer (hex or nsec). For now we don't perform validation here.
70
+ */
71
+ setPrivateKey(secret: string): void;
72
+ /**
73
+ * Direct path: sign event template (JSON object string). Returns signed event (JSON string).
74
+ */
75
+ signEvent(tmpl: string): Promise<any>;
51
76
  }
52
77
 
53
78
  export function init_tracing(level: string): void;
@@ -55,52 +80,55 @@ export function init_tracing(level: string): void;
55
80
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
56
81
 
57
82
  export interface InitOutput {
58
- readonly memory: WebAssembly.Memory;
59
- readonly __wbg_crypto_free: (a: number, b: number) => void;
60
- readonly crypto_connectDirect: (a: number) => any;
61
- readonly crypto_getDiscoveredRemotePubkey: (a: number) => [number, number];
62
- readonly crypto_getPublicKeyDirect: (a: number) => any;
63
- readonly crypto_new: (a: any, b: any, c: any, d: any) => [number, number, number];
64
- readonly crypto_notify_discovery: (a: number, b: number, c: number) => void;
65
- readonly crypto_setNip07: (a: number) => void;
66
- readonly crypto_setNip46Bunker: (a: number, b: number, c: number, d: number, e: number) => [number, number];
67
- readonly crypto_setNip46QR: (a: number, b: number, c: number, d: number, e: number) => [number, number];
68
- readonly crypto_setPrivateKey: (a: number, b: number, c: number) => [number, number];
69
- readonly crypto_signEvent: (a: number, b: number, c: number) => any;
70
- readonly init_tracing: (a: number, b: number) => void;
71
- readonly wasm_bindgen__convert__closures_____invoke__h9ed329622efc412d: (a: number, b: number, c: any) => void;
72
- readonly wasm_bindgen__closure__destroy__hbb3e147482ea61e2: (a: number, b: number) => void;
73
- readonly wasm_bindgen__convert__closures_____invoke__h97fec0bf7c7e4173: (a: number, b: number) => void;
74
- readonly wasm_bindgen__closure__destroy__h5902797d4730ddc3: (a: number, b: number) => void;
75
- readonly wasm_bindgen__convert__closures_____invoke__h21af4bfb35f9aaf6: (a: number, b: number, c: any, d: any) => void;
76
- readonly __wbindgen_malloc: (a: number, b: number) => number;
77
- readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
78
- readonly __wbindgen_exn_store: (a: number) => void;
79
- readonly __externref_table_alloc: () => number;
80
- readonly __wbindgen_externrefs: WebAssembly.Table;
81
- readonly __wbindgen_free: (a: number, b: number, c: number) => void;
82
- readonly __externref_table_dealloc: (a: number) => void;
83
- readonly __wbindgen_start: () => void;
83
+ readonly memory: WebAssembly.Memory;
84
+ readonly __wbg_crypto_free: (a: number, b: number) => void;
85
+ readonly crypto_clearSigner: (a: number) => void;
86
+ readonly crypto_connectDirect: (a: number) => any;
87
+ readonly crypto_getDiscoveredRemotePubkey: (a: number) => [number, number];
88
+ readonly crypto_getPublicKeyDirect: (a: number) => any;
89
+ readonly crypto_new: (a: any, b: any, c: any, d: any, e: any) => [number, number, number];
90
+ readonly crypto_notify_discovery: (a: number, b: number, c: number) => void;
91
+ readonly crypto_setNip07: (a: number) => void;
92
+ readonly crypto_setNip46Bunker: (a: number, b: number, c: number, d: number, e: number, f: any) => [number, number];
93
+ readonly crypto_setNip46QR: (a: number, b: number, c: number, d: number, e: number, f: any) => [number, number];
94
+ readonly crypto_setPrivateKey: (a: number, b: number, c: number) => [number, number];
95
+ readonly crypto_signEvent: (a: number, b: number, c: number) => any;
96
+ readonly init_tracing: (a: number, b: number) => void;
97
+ readonly wasm_bindgen__closure__destroy__h788e53b32040b4be: (a: number, b: number) => void;
98
+ readonly wasm_bindgen__closure__destroy__hb77a7d4f18d65203: (a: number, b: number) => void;
99
+ readonly wasm_bindgen__closure__destroy__h176b98a2294a9167: (a: number, b: number) => void;
100
+ readonly wasm_bindgen__convert__closures_____invoke__h4cf05277cd11420c: (a: number, b: number, c: any, d: any) => void;
101
+ readonly wasm_bindgen__convert__closures_____invoke__h393f98056e8c5cfb: (a: number, b: number, c: any) => void;
102
+ readonly wasm_bindgen__convert__closures_____invoke__hbe2dc0690dc3bb0d: (a: number, b: number, c: any) => void;
103
+ readonly wasm_bindgen__convert__closures_____invoke__hdc1aa45eecfd77cc: (a: number, b: number) => void;
104
+ readonly __wbindgen_malloc: (a: number, b: number) => number;
105
+ readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
106
+ readonly __wbindgen_exn_store: (a: number) => void;
107
+ readonly __externref_table_alloc: () => number;
108
+ readonly __wbindgen_externrefs: WebAssembly.Table;
109
+ readonly __wbindgen_free: (a: number, b: number, c: number) => void;
110
+ readonly __externref_table_dealloc: (a: number) => void;
111
+ readonly __wbindgen_start: () => void;
84
112
  }
85
113
 
86
114
  export type SyncInitInput = BufferSource | WebAssembly.Module;
87
115
 
88
116
  /**
89
- * Instantiates the given `module`, which can either be bytes or
90
- * a precompiled `WebAssembly.Module`.
91
- *
92
- * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
93
- *
94
- * @returns {InitOutput}
95
- */
117
+ * Instantiates the given `module`, which can either be bytes or
118
+ * a precompiled `WebAssembly.Module`.
119
+ *
120
+ * @param {{ module: SyncInitInput }} module - Passing `SyncInitInput` directly is deprecated.
121
+ *
122
+ * @returns {InitOutput}
123
+ */
96
124
  export function initSync(module: { module: SyncInitInput } | SyncInitInput): InitOutput;
97
125
 
98
126
  /**
99
- * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
100
- * for everything else, calls `WebAssembly.instantiate` directly.
101
- *
102
- * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
103
- *
104
- * @returns {Promise<InitOutput>}
105
- */
127
+ * If `module_or_path` is {RequestInfo} or {URL}, makes a request and
128
+ * for everything else, calls `WebAssembly.instantiate` directly.
129
+ *
130
+ * @param {{ module_or_path: InitInput | Promise<InitInput> }} module_or_path - Passing `InitInput` directly is deprecated.
131
+ *
132
+ * @returns {Promise<InitOutput>}
133
+ */
106
134
  export default function __wbg_init (module_or_path?: { module_or_path: InitInput | Promise<InitInput> } | InitInput | Promise<InitInput>): Promise<InitOutput>;
@@ -2,22 +2,25 @@
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
4
  export const __wbg_crypto_free: (a: number, b: number) => void;
5
+ export const crypto_clearSigner: (a: number) => void;
5
6
  export const crypto_connectDirect: (a: number) => any;
6
7
  export const crypto_getDiscoveredRemotePubkey: (a: number) => [number, number];
7
8
  export const crypto_getPublicKeyDirect: (a: number) => any;
8
- export const crypto_new: (a: any, b: any, c: any, d: any) => [number, number, number];
9
+ export const crypto_new: (a: any, b: any, c: any, d: any, e: any) => [number, number, number];
9
10
  export const crypto_notify_discovery: (a: number, b: number, c: number) => void;
10
11
  export const crypto_setNip07: (a: number) => void;
11
- export const crypto_setNip46Bunker: (a: number, b: number, c: number, d: number, e: number) => [number, number];
12
- export const crypto_setNip46QR: (a: number, b: number, c: number, d: number, e: number) => [number, number];
12
+ export const crypto_setNip46Bunker: (a: number, b: number, c: number, d: number, e: number, f: any) => [number, number];
13
+ export const crypto_setNip46QR: (a: number, b: number, c: number, d: number, e: number, f: any) => [number, number];
13
14
  export const crypto_setPrivateKey: (a: number, b: number, c: number) => [number, number];
14
15
  export const crypto_signEvent: (a: number, b: number, c: number) => any;
15
16
  export const init_tracing: (a: number, b: number) => void;
16
- export const wasm_bindgen__convert__closures_____invoke__h9ed329622efc412d: (a: number, b: number, c: any) => void;
17
- export const wasm_bindgen__closure__destroy__hbb3e147482ea61e2: (a: number, b: number) => void;
18
- export const wasm_bindgen__convert__closures_____invoke__h97fec0bf7c7e4173: (a: number, b: number) => void;
19
- export const wasm_bindgen__closure__destroy__h5902797d4730ddc3: (a: number, b: number) => void;
20
- export const wasm_bindgen__convert__closures_____invoke__h21af4bfb35f9aaf6: (a: number, b: number, c: any, d: any) => void;
17
+ export const wasm_bindgen__closure__destroy__h788e53b32040b4be: (a: number, b: number) => void;
18
+ export const wasm_bindgen__closure__destroy__hb77a7d4f18d65203: (a: number, b: number) => void;
19
+ export const wasm_bindgen__closure__destroy__h176b98a2294a9167: (a: number, b: number) => void;
20
+ export const wasm_bindgen__convert__closures_____invoke__h4cf05277cd11420c: (a: number, b: number, c: any, d: any) => void;
21
+ export const wasm_bindgen__convert__closures_____invoke__h393f98056e8c5cfb: (a: number, b: number, c: any) => void;
22
+ export const wasm_bindgen__convert__closures_____invoke__hbe2dc0690dc3bb0d: (a: number, b: number, c: any) => void;
23
+ export const wasm_bindgen__convert__closures_____invoke__hdc1aa45eecfd77cc: (a: number, b: number) => void;
21
24
  export const __wbindgen_malloc: (a: number, b: number) => number;
22
25
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
23
26
  export const __wbindgen_exn_store: (a: number) => void;
@@ -0,0 +1,91 @@
1
+ export { BufferFull, BufferFullT } from './nostr/fb/buffer-full';
2
+ export { CacheRequest, CacheRequestT } from './nostr/fb/cache-request';
3
+ export { CashuData, CashuDataT } from './nostr/fb/cashu-data';
4
+ export { CodeData, CodeDataT } from './nostr/fb/code-data';
5
+ export { ConnectionStatus, ConnectionStatusT } from './nostr/fb/connection-status';
6
+ export { Contact, ContactT } from './nostr/fb/contact';
7
+ export { ContentBlock, ContentBlockT } from './nostr/fb/content-block';
8
+ export { ContentData, unionToContentData, unionListToContentData } from './nostr/fb/content-data';
9
+ export { Coordinate, CoordinateT } from './nostr/fb/coordinate';
10
+ export { CountResponse, CountResponseT } from './nostr/fb/count-response';
11
+ export { CounterPipeConfig, CounterPipeConfigT } from './nostr/fb/counter-pipe-config';
12
+ export { DLEQProof, DLEQProofT } from './nostr/fb/dleqproof';
13
+ export { Emoji, EmojiT } from './nostr/fb/emoji';
14
+ export { Eoce, EoceT } from './nostr/fb/eoce';
15
+ export { EventPointer, EventPointerT } from './nostr/fb/event-pointer';
16
+ export { GetPublicKey, GetPublicKeyT } from './nostr/fb/get-public-key';
17
+ export { HTLCWitness, HTLCWitnessT } from './nostr/fb/htlcwitness';
18
+ export { HashtagData, HashtagDataT } from './nostr/fb/hashtag-data';
19
+ export { HistoryTag, HistoryTagT } from './nostr/fb/history-tag';
20
+ export { ImageData, ImageDataT } from './nostr/fb/image-data';
21
+ export { Kind0Parsed, Kind0ParsedT } from './nostr/fb/kind0parsed';
22
+ export { Kind10002Parsed, Kind10002ParsedT } from './nostr/fb/kind10002parsed';
23
+ export { Kind10019Parsed, Kind10019ParsedT } from './nostr/fb/kind10019parsed';
24
+ export { Kind17375Parsed, Kind17375ParsedT } from './nostr/fb/kind17375parsed';
25
+ export { Kind17Parsed, Kind17ParsedT } from './nostr/fb/kind17parsed';
26
+ export { Kind1Parsed, Kind1ParsedT } from './nostr/fb/kind1parsed';
27
+ export { Kind30023Parsed, Kind30023ParsedT } from './nostr/fb/kind30023parsed';
28
+ export { Kind3Parsed, Kind3ParsedT } from './nostr/fb/kind3parsed';
29
+ export { Kind4Parsed, Kind4ParsedT } from './nostr/fb/kind4parsed';
30
+ export { Kind6Parsed, Kind6ParsedT } from './nostr/fb/kind6parsed';
31
+ export { Kind7374Parsed, Kind7374ParsedT } from './nostr/fb/kind7374parsed';
32
+ export { Kind7375Parsed, Kind7375ParsedT } from './nostr/fb/kind7375parsed';
33
+ export { Kind7376Parsed, Kind7376ParsedT } from './nostr/fb/kind7376parsed';
34
+ export { Kind7Parsed, Kind7ParsedT } from './nostr/fb/kind7parsed';
35
+ export { Kind9321Parsed, Kind9321ParsedT } from './nostr/fb/kind9321parsed';
36
+ export { Kind9735Parsed, Kind9735ParsedT } from './nostr/fb/kind9735parsed';
37
+ export { KindFilterPipeConfig, KindFilterPipeConfigT } from './nostr/fb/kind-filter-pipe-config';
38
+ export { LinkPreviewData, LinkPreviewDataT } from './nostr/fb/link-preview-data';
39
+ export { ListParsed, ListParsedT } from './nostr/fb/list-parsed';
40
+ export { MainContent, unionToMainContent, unionListToMainContent } from './nostr/fb/main-content';
41
+ export { MainMessage, MainMessageT } from './nostr/fb/main-message';
42
+ export { MediaGroupData, MediaGroupDataT } from './nostr/fb/media-group-data';
43
+ export { MediaItem, MediaItemT } from './nostr/fb/media-item';
44
+ export { Message, unionToMessage, unionListToMessage } from './nostr/fb/message';
45
+ export { MessageType } from './nostr/fb/message-type';
46
+ export { MintInfo, MintInfoT } from './nostr/fb/mint-info';
47
+ export { MintProofs, MintProofsT } from './nostr/fb/mint-proofs';
48
+ export { NostrData, NostrDataT } from './nostr/fb/nostr-data';
49
+ export { NostrEvent, NostrEventT } from './nostr/fb/nostr-event';
50
+ export { NpubLimiterPipeConfig, NpubLimiterPipeConfigT } from './nostr/fb/npub-limiter-pipe-config';
51
+ export { P2PKWitness, P2PKWitnessT } from './nostr/fb/p2pkwitness';
52
+ export { ParsePipeConfig, ParsePipeConfigT } from './nostr/fb/parse-pipe-config';
53
+ export { ParsedData, unionToParsedData, unionListToParsedData } from './nostr/fb/parsed-data';
54
+ export { ParsedEvent, ParsedEventT } from './nostr/fb/parsed-event';
55
+ export { Pipe, PipeT } from './nostr/fb/pipe';
56
+ export { PipeConfig, unionToPipeConfig, unionListToPipeConfig } from './nostr/fb/pipe-config';
57
+ export { PipelineConfig, PipelineConfigT } from './nostr/fb/pipeline-config';
58
+ export { PreGenericParsed, PreGenericParsedT } from './nostr/fb/pre-generic-parsed';
59
+ export { PreParticipant, PreParticipantT } from './nostr/fb/pre-participant';
60
+ export { PreRefEvent, PreRefEventT } from './nostr/fb/pre-ref-event';
61
+ export { PrivateKey, PrivateKeyT } from './nostr/fb/private-key';
62
+ export { ProfilePointer, ProfilePointerT } from './nostr/fb/profile-pointer';
63
+ export { Proof, ProofT } from './nostr/fb/proof';
64
+ export { ProofVerificationPipeConfig, ProofVerificationPipeConfigT } from './nostr/fb/proof-verification-pipe-config';
65
+ export { Pubkey, PubkeyT } from './nostr/fb/pubkey';
66
+ export { Publish, PublishT } from './nostr/fb/publish';
67
+ export { Raw, RawT } from './nostr/fb/raw';
68
+ export { ReactionType } from './nostr/fb/reaction-type';
69
+ export { RelayInfo, RelayInfoT } from './nostr/fb/relay-info';
70
+ export { Request, RequestT } from './nostr/fb/request';
71
+ export { SaveToDbPipeConfig, SaveToDbPipeConfigT } from './nostr/fb/save-to-db-pipe-config';
72
+ export { SerializeEventsPipeConfig, SerializeEventsPipeConfigT } from './nostr/fb/serialize-events-pipe-config';
73
+ export { SetSigner, SetSignerT } from './nostr/fb/set-signer';
74
+ export { SignEvent, SignEventT } from './nostr/fb/sign-event';
75
+ export { SignedEvent, SignedEventT } from './nostr/fb/signed-event';
76
+ export { SignerOp } from './nostr/fb/signer-op';
77
+ export { SignerRequest, SignerRequestT } from './nostr/fb/signer-request';
78
+ export { SignerResponse, SignerResponseT } from './nostr/fb/signer-response';
79
+ export { SignerType, unionToSignerType, unionListToSignerType } from './nostr/fb/signer-type';
80
+ export { StringVec, StringVecT } from './nostr/fb/string-vec';
81
+ export { Subscribe, SubscribeT } from './nostr/fb/subscribe';
82
+ export { SubscriptionConfig, SubscriptionConfigT } from './nostr/fb/subscription-config';
83
+ export { Template, TemplateT } from './nostr/fb/template';
84
+ export { Unsubscribe, UnsubscribeT } from './nostr/fb/unsubscribe';
85
+ export { ValidProofs, ValidProofsT } from './nostr/fb/valid-proofs';
86
+ export { VideoData, VideoDataT } from './nostr/fb/video-data';
87
+ export { Witness, unionToWitness, unionListToWitness } from './nostr/fb/witness';
88
+ export { WitnessString, WitnessStringT } from './nostr/fb/witness-string';
89
+ export { WorkerMessage, WorkerMessageT } from './nostr/fb/worker-message';
90
+ export { ZapRequest, ZapRequestT } from './nostr/fb/zap-request';
91
+ //# sourceMappingURL=message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/generated/message.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,SAAS,EA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AE,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
@@ -11,18 +11,22 @@ export declare class ImageData implements flatbuffers.IUnpackableObject<ImageDat
11
11
  url(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
12
12
  alt(): ByteString | null;
13
13
  alt(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
14
+ dim(): ByteString | null;
15
+ dim(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
14
16
  static startImageData(builder: flatbuffers.Builder): void;
15
17
  static addUrl(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset): void;
16
18
  static addAlt(builder: flatbuffers.Builder, altOffset: flatbuffers.Offset): void;
19
+ static addDim(builder: flatbuffers.Builder, dimOffset: flatbuffers.Offset): void;
17
20
  static endImageData(builder: flatbuffers.Builder): flatbuffers.Offset;
18
- static createImageData(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset, altOffset: flatbuffers.Offset): flatbuffers.Offset;
21
+ static createImageData(builder: flatbuffers.Builder, urlOffset: flatbuffers.Offset, altOffset: flatbuffers.Offset, dimOffset: flatbuffers.Offset): flatbuffers.Offset;
19
22
  unpack(): ImageDataT;
20
23
  unpackTo(_o: ImageDataT): void;
21
24
  }
22
25
  export declare class ImageDataT implements flatbuffers.IGeneratedObject {
23
26
  url: ByteString | Uint8Array | null;
24
27
  alt: ByteString | Uint8Array | null;
25
- constructor(url?: ByteString | Uint8Array | null, alt?: ByteString | Uint8Array | null);
28
+ dim: ByteString | Uint8Array | null;
29
+ constructor(url?: ByteString | Uint8Array | null, alt?: ByteString | Uint8Array | null, dim?: ByteString | Uint8Array | null);
26
30
  pack(builder: flatbuffers.Builder): flatbuffers.Offset;
27
31
  }
28
32
  //# sourceMappingURL=image-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/image-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,SAAU,YAAW,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC;IACzE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,SAAS;IAMvD,MAAM,CAAC,kBAAkB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,SAAS,GAAE,SAAS;IAI9E,MAAM,CAAC,8BAA8B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,SAAS,GAAE,SAAS;IAK1F,GAAG,IAAI,UAAU,GAAC,IA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IAIvE,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMnE,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,SAAS,EAAC,WAAW,CAAC,MAAM,EAAE,SAAS,EAAC,WAAW,CAAC,MAAM,EAAE,SAAS,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAQhK,MAAM,IAAI,UAAU;IASpB,QAAQ,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI;CAK7B;AAED,qBAAa,UAAW,YAAW,WAAW,CAAC,gBAAgB;IAEtD,GAAG,EAAE,UAAU,GAAC,UAAU,GAAC,IAAI;IAC/B,GAAG,EAAE,UAAU,GAAC,UAAU,GAAC,IAAI;IAC/B,GAAG,EAAE,UAAU,GAAC,UAAU,GAAC,IAAI;gBAF/B,GAAG,GAAE,UAAU,GAAC,UAAU,GAAC,IAAW,EACtC,GAAG,GAAE,UAAU,GAAC,UAAU,GAAC,IAAW,EACtC,GAAG,GAAE,UAAU,GAAC,UAAU,GAAC,IAAW;IAI/C,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAWpD"}
@@ -0,0 +1,100 @@
1
+ import { ByteString } from '../../../lib/ByteString';
2
+
3
+ import * as flatbuffers from 'flatbuffers';
4
+ export declare class Kind0Parsed {
5
+ bb: flatbuffers.ByteBuffer | null;
6
+ bb_pos: number;
7
+ __init(i: number, bb: flatbuffers.ByteBuffer): Kind0Parsed;
8
+ static getRootAsKind0Parsed(bb: flatbuffers.ByteBuffer, obj?: Kind0Parsed): Kind0Parsed;
9
+ static getSizePrefixedRootAsKind0Parsed(bb: flatbuffers.ByteBuffer, obj?: Kind0Parsed): Kind0Parsed;
10
+ pubkey(): ByteString | null;
11
+ pubkey(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
12
+ name(): ByteString | null;
13
+ name(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
14
+ displayName(): ByteString | null;
15
+ displayName(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
16
+ picture(): ByteString | null;
17
+ picture(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
18
+ banner(): ByteString | null;
19
+ banner(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
20
+ about(): ByteString | null;
21
+ about(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
22
+ website(): ByteString | null;
23
+ website(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
24
+ nip05(): ByteString | null;
25
+ nip05(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
26
+ lud06(): ByteString | null;
27
+ lud06(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
28
+ lud16(): ByteString | null;
29
+ lud16(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
30
+ github(): ByteString | null;
31
+ github(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
32
+ twitter(): ByteString | null;
33
+ twitter(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
34
+ mastodon(): ByteString | null;
35
+ mastodon(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
36
+ nostr(): ByteString | null;
37
+ nostr(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
38
+ displayNameAlt(): ByteString | null;
39
+ displayNameAlt(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
40
+ username(): ByteString | null;
41
+ username(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
42
+ bio(): ByteString | null;
43
+ bio(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
44
+ image(): ByteString | null;
45
+ image(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
46
+ avatar(): ByteString | null;
47
+ avatar(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
48
+ background(): ByteString | null;
49
+ background(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
50
+ static startKind0Parsed(builder: flatbuffers.Builder): void;
51
+ static addPubkey(builder: flatbuffers.Builder, pubkeyOffset: flatbuffers.Offset): void;
52
+ static addName(builder: flatbuffers.Builder, nameOffset: flatbuffers.Offset): void;
53
+ static addDisplayName(builder: flatbuffers.Builder, displayNameOffset: flatbuffers.Offset): void;
54
+ static addPicture(builder: flatbuffers.Builder, pictureOffset: flatbuffers.Offset): void;
55
+ static addBanner(builder: flatbuffers.Builder, bannerOffset: flatbuffers.Offset): void;
56
+ static addAbout(builder: flatbuffers.Builder, aboutOffset: flatbuffers.Offset): void;
57
+ static addWebsite(builder: flatbuffers.Builder, websiteOffset: flatbuffers.Offset): void;
58
+ static addNip05(builder: flatbuffers.Builder, nip05Offset: flatbuffers.Offset): void;
59
+ static addLud06(builder: flatbuffers.Builder, lud06Offset: flatbuffers.Offset): void;
60
+ static addLud16(builder: flatbuffers.Builder, lud16Offset: flatbuffers.Offset): void;
61
+ static addGithub(builder: flatbuffers.Builder, githubOffset: flatbuffers.Offset): void;
62
+ static addTwitter(builder: flatbuffers.Builder, twitterOffset: flatbuffers.Offset): void;
63
+ static addMastodon(builder: flatbuffers.Builder, mastodonOffset: flatbuffers.Offset): void;
64
+ static addNostr(builder: flatbuffers.Builder, nostrOffset: flatbuffers.Offset): void;
65
+ static addDisplayNameAlt(builder: flatbuffers.Builder, displayNameAltOffset: flatbuffers.Offset): void;
66
+ static addUsername(builder: flatbuffers.Builder, usernameOffset: flatbuffers.Offset): void;
67
+ static addBio(builder: flatbuffers.Builder, bioOffset: flatbuffers.Offset): void;
68
+ static addImage(builder: flatbuffers.Builder, imageOffset: flatbuffers.Offset): void;
69
+ static addAvatar(builder: flatbuffers.Builder, avatarOffset: flatbuffers.Offset): void;
70
+ static addBackground(builder: flatbuffers.Builder, backgroundOffset: flatbuffers.Offset): void;
71
+ static endKind0Parsed(builder: flatbuffers.Builder): flatbuffers.Offset;
72
+ static createKind0Parsed(builder: flatbuffers.Builder, pubkeyOffset: flatbuffers.Offset, nameOffset: flatbuffers.Offset, displayNameOffset: flatbuffers.Offset, pictureOffset: flatbuffers.Offset, bannerOffset: flatbuffers.Offset, aboutOffset: flatbuffers.Offset, websiteOffset: flatbuffers.Offset, nip05Offset: flatbuffers.Offset, lud06Offset: flatbuffers.Offset, lud16Offset: flatbuffers.Offset, githubOffset: flatbuffers.Offset, twitterOffset: flatbuffers.Offset, mastodonOffset: flatbuffers.Offset, nostrOffset: flatbuffers.Offset, displayNameAltOffset: flatbuffers.Offset, usernameOffset: flatbuffers.Offset, bioOffset: flatbuffers.Offset, imageOffset: flatbuffers.Offset, avatarOffset: flatbuffers.Offset, backgroundOffset: flatbuffers.Offset): flatbuffers.Offset;
73
+ unpack(): Kind0ParsedT;
74
+ unpackTo(_o: Kind0ParsedT): void;
75
+ }
76
+ export declare class Kind0ParsedT {
77
+ pubkey: ByteString | Uint8Array | null;
78
+ name: ByteString | Uint8Array | null;
79
+ displayName: ByteString | Uint8Array | null;
80
+ picture: ByteString | Uint8Array | null;
81
+ banner: ByteString | Uint8Array | null;
82
+ about: ByteString | Uint8Array | null;
83
+ website: ByteString | Uint8Array | null;
84
+ nip05: ByteString | Uint8Array | null;
85
+ lud06: ByteString | Uint8Array | null;
86
+ lud16: ByteString | Uint8Array | null;
87
+ github: ByteString | Uint8Array | null;
88
+ twitter: ByteString | Uint8Array | null;
89
+ mastodon: ByteString | Uint8Array | null;
90
+ nostr: ByteString | Uint8Array | null;
91
+ displayNameAlt: ByteString | Uint8Array | null;
92
+ username: ByteString | Uint8Array | null;
93
+ bio: ByteString | Uint8Array | null;
94
+ image: ByteString | Uint8Array | null;
95
+ avatar: ByteString | Uint8Array | null;
96
+ background: ByteString | Uint8Array | null;
97
+ constructor(pubkey?: ByteString | Uint8Array | null, name?: ByteString | Uint8Array | null, displayName?: ByteString | Uint8Array | null, picture?: ByteString | Uint8Array | null, banner?: ByteString | Uint8Array | null, about?: ByteString | Uint8Array | null, website?: ByteString | Uint8Array | null, nip05?: ByteString | Uint8Array | null, lud06?: ByteString | Uint8Array | null, lud16?: ByteString | Uint8Array | null, github?: ByteString | Uint8Array | null, twitter?: ByteString | Uint8Array | null, mastodon?: ByteString | Uint8Array | null, nostr?: ByteString | Uint8Array | null, displayNameAlt?: ByteString | Uint8Array | null, username?: ByteString | Uint8Array | null, bio?: ByteString | Uint8Array | null, image?: ByteString | Uint8Array | null, avatar?: ByteString | Uint8Array | null, background?: ByteString | Uint8Array | null);
98
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
99
+ }
100
+ //# sourceMappingURL=kind0parsed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kind0parsed.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/kind0parsed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,WAAW;IACtB,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,WAAW;IAMzD,MAAM,CAAC,oBAAoB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,WAAW,GAAE,WAAW;IAIpF,MAAM,CAAC,gCAAgC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,WAAW,GAAE,WAAW;IAKhG,MAAM,IAAI,UAAU,GAAC,IAAI;IACzB,MAAM,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAG,UAAU,GAAC,UAAU,GAAC,IAAI;IAMzE,IAAI,IAAI,UAAU,GAAC,IAAI;IACvB,IAAI,CAAC,gBAAgB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@@ -0,0 +1,25 @@
1
+ import { RelayInfo, RelayInfoT } from '../../nostr/fb/relay-info';
2
+ import * as flatbuffers from 'flatbuffers';
3
+ export declare class Kind10002Parsed {
4
+ bb: flatbuffers.ByteBuffer | null;
5
+ bb_pos: number;
6
+ __init(i: number, bb: flatbuffers.ByteBuffer): Kind10002Parsed;
7
+ static getRootAsKind10002Parsed(bb: flatbuffers.ByteBuffer, obj?: Kind10002Parsed): Kind10002Parsed;
8
+ static getSizePrefixedRootAsKind10002Parsed(bb: flatbuffers.ByteBuffer, obj?: Kind10002Parsed): Kind10002Parsed;
9
+ relays(index: number, obj?: RelayInfo): RelayInfo | null;
10
+ relaysLength(): number;
11
+ static startKind10002Parsed(builder: flatbuffers.Builder): void;
12
+ static addRelays(builder: flatbuffers.Builder, relaysOffset: flatbuffers.Offset): void;
13
+ static createRelaysVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
14
+ static startRelaysVector(builder: flatbuffers.Builder, numElems: number): void;
15
+ static endKind10002Parsed(builder: flatbuffers.Builder): flatbuffers.Offset;
16
+ static createKind10002Parsed(builder: flatbuffers.Builder, relaysOffset: flatbuffers.Offset): flatbuffers.Offset;
17
+ unpack(): Kind10002ParsedT;
18
+ unpackTo(_o: Kind10002ParsedT): void;
19
+ }
20
+ export declare class Kind10002ParsedT {
21
+ relays: (RelayInfoT)[];
22
+ constructor(relays?: (RelayInfoT)[]);
23
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
24
+ }
25
+ //# sourceMappingURL=kind10002parsed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kind10002parsed.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/kind10002parsed.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAGlE,qBAAa,eAAe;IAC1B,EAAE,EAAE,WAAW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UAAU,CAAC,EAAO;IAIpC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
@@ -0,0 +1,38 @@
1
+ import { ByteString } from '../../../lib/ByteString';
2
+ import { MintInfo, MintInfoT } from '../../nostr/fb/mint-info';
3
+
4
+ import * as flatbuffers from 'flatbuffers';
5
+ export declare class Kind10019Parsed {
6
+ bb: flatbuffers.ByteBuffer | null;
7
+ bb_pos: number;
8
+ __init(i: number, bb: flatbuffers.ByteBuffer): Kind10019Parsed;
9
+ static getRootAsKind10019Parsed(bb: flatbuffers.ByteBuffer, obj?: Kind10019Parsed): Kind10019Parsed;
10
+ static getSizePrefixedRootAsKind10019Parsed(bb: flatbuffers.ByteBuffer, obj?: Kind10019Parsed): Kind10019Parsed;
11
+ trustedMints(index: number, obj?: MintInfo): MintInfo | null;
12
+ trustedMintsLength(): number;
13
+ p2pkPubkey(): ByteString | null;
14
+ p2pkPubkey(optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array | null;
15
+ readRelays(index: number): ByteString;
16
+ readRelays(index: number, optionalEncoding: flatbuffers.Encoding): ByteString | Uint8Array;
17
+ readRelaysLength(): number;
18
+ static startKind10019Parsed(builder: flatbuffers.Builder): void;
19
+ static addTrustedMints(builder: flatbuffers.Builder, trustedMintsOffset: flatbuffers.Offset): void;
20
+ static createTrustedMintsVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
21
+ static startTrustedMintsVector(builder: flatbuffers.Builder, numElems: number): void;
22
+ static addP2pkPubkey(builder: flatbuffers.Builder, p2pkPubkeyOffset: flatbuffers.Offset): void;
23
+ static addReadRelays(builder: flatbuffers.Builder, readRelaysOffset: flatbuffers.Offset): void;
24
+ static createReadRelaysVector(builder: flatbuffers.Builder, data: flatbuffers.Offset[]): flatbuffers.Offset;
25
+ static startReadRelaysVector(builder: flatbuffers.Builder, numElems: number): void;
26
+ static endKind10019Parsed(builder: flatbuffers.Builder): flatbuffers.Offset;
27
+ static createKind10019Parsed(builder: flatbuffers.Builder, trustedMintsOffset: flatbuffers.Offset, p2pkPubkeyOffset: flatbuffers.Offset, readRelaysOffset: flatbuffers.Offset): flatbuffers.Offset;
28
+ unpack(): Kind10019ParsedT;
29
+ unpackTo(_o: Kind10019ParsedT): void;
30
+ }
31
+ export declare class Kind10019ParsedT {
32
+ trustedMints: (MintInfoT)[];
33
+ p2pkPubkey: ByteString | Uint8Array | null;
34
+ readRelays: (string)[];
35
+ constructor(trustedMints?: (MintInfoT)[], p2pkPubkey?: ByteString | Uint8Array | null, readRelays?: (string)[]);
36
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
37
+ }
38
+ //# sourceMappingURL=kind10019parsed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kind10019parsed.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/kind10019parsed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAG/D,qBAAa,eAAe;IAC1B,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,eAAe;IAM7D,MAAM,CAAC,wBAAwB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,eAAe,GAAE,eAAe;IAIhG,MAAM,CAAC,oCAAoC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,eAAe,GAAE,eAAe;IAK5G,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAC,QAAQ,GAAE,QAAQ,GAAC,IAAI;IAKxD,kBA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