@candypoets/nipworker 0.89.0 → 0.89.1
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/dist/cache/index.js +1 -1
- package/dist/cache/index.js.map +1 -1
- package/dist/cache/pkg/cache.d.ts +3 -3
- package/dist/cache/pkg/cache_bg.wasm.d.ts +3 -3
- package/dist/connections/index.d.ts +0 -5
- package/dist/connections/index.d.ts.map +1 -1
- package/dist/connections/index.js +2 -2
- package/dist/connections/index.js.map +1 -1
- package/dist/connections/pkg/connections.d.ts +3 -3
- package/dist/connections/pkg/connections_bg.wasm.d.ts +3 -3
- package/dist/connections/proxy.d.ts +2 -0
- package/dist/connections/proxy.d.ts.map +1 -0
- package/dist/connections/proxy.js +1 -0
- package/dist/connections/proxy.js.map +1 -0
- package/dist/connections/types.d.ts +4 -0
- package/dist/connections/types.d.ts.map +1 -0
- package/dist/generated/nostr/fb/buffer-full.d.ts.map +1 -1
- package/dist/generated/nostr/fb/cache-input-message.d.ts.map +1 -1
- package/dist/generated/nostr/fb/cache-input.d.ts.map +1 -1
- package/dist/generated/nostr/fb/cache-request.d.ts +6 -8
- package/dist/generated/nostr/fb/cache-request.d.ts.map +1 -1
- package/dist/generated/nostr/fb/cache-response.d.ts +4 -6
- package/dist/generated/nostr/fb/cache-response.d.ts.map +1 -1
- package/dist/generated/nostr/fb/cashu-data.d.ts +4 -6
- package/dist/generated/nostr/fb/cashu-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/code-data.d.ts +7 -9
- package/dist/generated/nostr/fb/code-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/connection-status.d.ts +10 -12
- package/dist/generated/nostr/fb/connection-status.d.ts.map +1 -1
- package/dist/generated/nostr/fb/contact.d.ts +9 -11
- package/dist/generated/nostr/fb/contact.d.ts.map +1 -1
- package/dist/generated/nostr/fb/content-block.d.ts +7 -9
- package/dist/generated/nostr/fb/content-block.d.ts.map +1 -1
- package/dist/generated/nostr/fb/content-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/coordinate.d.ts +9 -11
- package/dist/generated/nostr/fb/coordinate.d.ts.map +1 -1
- package/dist/generated/nostr/fb/count-response.d.ts.map +1 -1
- package/dist/generated/nostr/fb/counter-pipe-config.d.ts +4 -6
- package/dist/generated/nostr/fb/counter-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/dleqproof.d.ts +10 -12
- package/dist/generated/nostr/fb/dleqproof.d.ts.map +1 -1
- package/dist/generated/nostr/fb/emoji.d.ts +7 -9
- package/dist/generated/nostr/fb/emoji.d.ts.map +1 -1
- package/dist/generated/nostr/fb/eoce.d.ts +4 -6
- package/dist/generated/nostr/fb/eoce.d.ts.map +1 -1
- package/dist/generated/nostr/fb/event-pointer.d.ts +9 -11
- package/dist/generated/nostr/fb/event-pointer.d.ts.map +1 -1
- package/dist/generated/nostr/fb/get-public-key.d.ts.map +1 -1
- package/dist/generated/nostr/fb/hashtag-data.d.ts +4 -6
- package/dist/generated/nostr/fb/hashtag-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/history-tag.d.ts +13 -15
- package/dist/generated/nostr/fb/history-tag.d.ts.map +1 -1
- package/dist/generated/nostr/fb/htlcwitness.d.ts +6 -8
- package/dist/generated/nostr/fb/htlcwitness.d.ts.map +1 -1
- package/dist/generated/nostr/fb/image-data.d.ts +10 -12
- package/dist/generated/nostr/fb/image-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/imeta-tag.d.ts +24 -26
- package/dist/generated/nostr/fb/imeta-tag.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind-filter-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind0-parsed.d.ts +61 -63
- package/dist/generated/nostr/fb/kind0-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind1-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind10002-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind10019-parsed.d.ts +6 -8
- package/dist/generated/nostr/fb/kind10019-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind1111-parsed.d.ts +32 -34
- package/dist/generated/nostr/fb/kind1111-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind1311-parsed.d.ts +4 -6
- package/dist/generated/nostr/fb/kind1311-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind17-parsed.d.ts +10 -12
- package/dist/generated/nostr/fb/kind17-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind17375-parsed.d.ts +9 -11
- package/dist/generated/nostr/fb/kind17375-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind20-parsed.d.ts +18 -20
- package/dist/generated/nostr/fb/kind20-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind22-parsed.d.ts +15 -17
- package/dist/generated/nostr/fb/kind22-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind3-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind30023-parsed.d.ts +24 -26
- package/dist/generated/nostr/fb/kind30023-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind4-parsed.d.ts +10 -12
- package/dist/generated/nostr/fb/kind4-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind6-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind7-parsed.d.ts +10 -12
- package/dist/generated/nostr/fb/kind7-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind7374-parsed.d.ts +7 -9
- package/dist/generated/nostr/fb/kind7374-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind7375-parsed.d.ts +6 -8
- package/dist/generated/nostr/fb/kind7375-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind7376-parsed.d.ts +10 -12
- package/dist/generated/nostr/fb/kind7376-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind9321-parsed.d.ts +22 -24
- package/dist/generated/nostr/fb/kind9321-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/kind9735-parsed.d.ts +25 -27
- package/dist/generated/nostr/fb/kind9735-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/link-preview-data.d.ts +13 -15
- package/dist/generated/nostr/fb/link-preview-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/list-parsed.d.ts +27 -22
- package/dist/generated/nostr/fb/list-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/live-activity-ref.d.ts +10 -12
- package/dist/generated/nostr/fb/live-activity-ref.d.ts.map +1 -1
- package/dist/generated/nostr/fb/live-chat-participant.d.ts +7 -9
- package/dist/generated/nostr/fb/live-chat-participant.d.ts.map +1 -1
- package/dist/generated/nostr/fb/live-chat-thread-ref.d.ts +7 -9
- package/dist/generated/nostr/fb/live-chat-thread-ref.d.ts.map +1 -1
- package/dist/generated/nostr/fb/main-content.d.ts.map +1 -1
- package/dist/generated/nostr/fb/main-message.d.ts.map +1 -1
- package/dist/generated/nostr/fb/media-group-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/media-item.d.ts.map +1 -1
- package/dist/generated/nostr/fb/message-type.d.ts.map +1 -1
- package/dist/generated/nostr/fb/message.d.ts.map +1 -1
- package/dist/generated/nostr/fb/mint-info.d.ts +6 -8
- package/dist/generated/nostr/fb/mint-info.d.ts.map +1 -1
- package/dist/generated/nostr/fb/mint-proofs.d.ts +4 -6
- package/dist/generated/nostr/fb/mint-proofs.d.ts.map +1 -1
- package/dist/generated/nostr/fb/mute-filter-pipe-config.d.ts +8 -10
- package/dist/generated/nostr/fb/mute-filter-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/nostr-data.d.ts +12 -14
- package/dist/generated/nostr/fb/nostr-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/nostr-event.d.ts +13 -15
- package/dist/generated/nostr/fb/nostr-event.d.ts.map +1 -1
- package/dist/generated/nostr/fb/npub-limiter-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/p2-pkwitness.d.ts +2 -4
- package/dist/generated/nostr/fb/p2-pkwitness.d.ts.map +1 -1
- package/dist/generated/nostr/fb/parse-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/parsed-data-union.d.ts.map +1 -1
- package/dist/generated/nostr/fb/parsed-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/parsed-event.d.ts +9 -11
- package/dist/generated/nostr/fb/parsed-event.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pipe.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pipeline-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pre-generic-parsed.d.ts +40 -42
- package/dist/generated/nostr/fb/pre-generic-parsed.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pre-participant.d.ts +13 -15
- package/dist/generated/nostr/fb/pre-participant.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pre-ref-event.d.ts +10 -12
- package/dist/generated/nostr/fb/pre-ref-event.d.ts.map +1 -1
- package/dist/generated/nostr/fb/private-key.d.ts +4 -6
- package/dist/generated/nostr/fb/private-key.d.ts.map +1 -1
- package/dist/generated/nostr/fb/profile-pointer.d.ts +6 -8
- package/dist/generated/nostr/fb/profile-pointer.d.ts.map +1 -1
- package/dist/generated/nostr/fb/proof-verification-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/proof.d.ts +10 -12
- package/dist/generated/nostr/fb/proof.d.ts.map +1 -1
- package/dist/generated/nostr/fb/pubkey.d.ts +4 -6
- package/dist/generated/nostr/fb/pubkey.d.ts.map +1 -1
- package/dist/generated/nostr/fb/publish.d.ts +6 -8
- package/dist/generated/nostr/fb/publish.d.ts.map +1 -1
- package/dist/generated/nostr/fb/raw.d.ts +4 -6
- package/dist/generated/nostr/fb/raw.d.ts.map +1 -1
- package/dist/generated/nostr/fb/reaction-type.d.ts.map +1 -1
- package/dist/generated/nostr/fb/relay-info.d.ts +4 -6
- package/dist/generated/nostr/fb/relay-info.d.ts.map +1 -1
- package/dist/generated/nostr/fb/request.d.ts +10 -12
- package/dist/generated/nostr/fb/request.d.ts.map +1 -1
- package/dist/generated/nostr/fb/save-to-db-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/serialize-events-pipe-config.d.ts +4 -6
- package/dist/generated/nostr/fb/serialize-events-pipe-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/set-signer.d.ts.map +1 -1
- package/dist/generated/nostr/fb/sign-event.d.ts.map +1 -1
- package/dist/generated/nostr/fb/signed-event.d.ts.map +1 -1
- package/dist/generated/nostr/fb/signer-op.d.ts.map +1 -1
- package/dist/generated/nostr/fb/signer-request.d.ts +13 -15
- package/dist/generated/nostr/fb/signer-request.d.ts.map +1 -1
- package/dist/generated/nostr/fb/signer-response.d.ts +7 -9
- package/dist/generated/nostr/fb/signer-response.d.ts.map +1 -1
- package/dist/generated/nostr/fb/signer-type.d.ts.map +1 -1
- package/dist/generated/nostr/fb/string-vec.d.ts +2 -4
- package/dist/generated/nostr/fb/string-vec.d.ts.map +1 -1
- package/dist/generated/nostr/fb/subscribe-kind.d.ts.map +1 -1
- package/dist/generated/nostr/fb/subscribe.d.ts +4 -6
- package/dist/generated/nostr/fb/subscribe.d.ts.map +1 -1
- package/dist/generated/nostr/fb/subscription-config.d.ts +4 -6
- package/dist/generated/nostr/fb/subscription-config.d.ts.map +1 -1
- package/dist/generated/nostr/fb/tag.d.ts +29 -0
- package/dist/generated/nostr/fb/tag.d.ts.map +1 -0
- package/dist/generated/nostr/fb/template.d.ts +4 -6
- package/dist/generated/nostr/fb/template.d.ts.map +1 -1
- package/dist/generated/nostr/fb/unsubscribe.d.ts +4 -6
- package/dist/generated/nostr/fb/unsubscribe.d.ts.map +1 -1
- package/dist/generated/nostr/fb/valid-proofs.d.ts.map +1 -1
- package/dist/generated/nostr/fb/video-data.d.ts +7 -9
- package/dist/generated/nostr/fb/video-data.d.ts.map +1 -1
- package/dist/generated/nostr/fb/video-variant.d.ts +21 -23
- package/dist/generated/nostr/fb/video-variant.d.ts.map +1 -1
- package/dist/generated/nostr/fb/witness-string.d.ts +4 -6
- package/dist/generated/nostr/fb/witness-string.d.ts.map +1 -1
- package/dist/generated/nostr/fb/witness.d.ts.map +1 -1
- package/dist/generated/nostr/fb/worker-message.d.ts +7 -9
- package/dist/generated/nostr/fb/worker-message.d.ts.map +1 -1
- package/dist/generated/nostr/fb/zap-request.d.ts +10 -12
- package/dist/generated/nostr/fb/zap-request.d.ts.map +1 -1
- package/dist/generated/nostr/fb.d.ts +1 -0
- package/dist/generated/nostr/fb.d.ts.map +1 -1
- package/dist/index.d.ts +8 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index2.js +1 -1
- package/dist/index2.js.map +1 -1
- package/dist/lib/ConnectionTracker.d.ts.map +1 -1
- package/dist/parser/index.js +2 -2
- package/dist/parser/index.js.map +1 -1
- package/dist/relayProxyServer.js +1 -1
- package/dist/signer-response.js +1 -1
- package/dist/signer-response.js.map +1 -1
- package/dist/utils.d.ts +0 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +4 -4
- package/dist/utils.js.map +1 -1
- package/dist/worker-message.js +1 -1
- package/dist/worker-message.js.map +1 -1
- package/package.json +2 -2
- package/dist/generated/message.d.ts +0 -91
- package/dist/generated/message.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind0parsed.d.ts +0 -100
- package/dist/generated/nostr/fb/kind0parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind10002parsed.d.ts +0 -25
- package/dist/generated/nostr/fb/kind10002parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind10019parsed.d.ts +0 -38
- package/dist/generated/nostr/fb/kind10019parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind17375parsed.d.ts +0 -38
- package/dist/generated/nostr/fb/kind17375parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind17parsed.d.ts +0 -42
- package/dist/generated/nostr/fb/kind17parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind1parsed.d.ts +0 -50
- package/dist/generated/nostr/fb/kind1parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind30023parsed.d.ts +0 -58
- package/dist/generated/nostr/fb/kind30023parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind3parsed.d.ts +0 -25
- package/dist/generated/nostr/fb/kind3parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind4parsed.d.ts +0 -39
- package/dist/generated/nostr/fb/kind4parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind6parsed.d.ts +0 -22
- package/dist/generated/nostr/fb/kind6parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind7374parsed.d.ts +0 -31
- package/dist/generated/nostr/fb/kind7374parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind7375parsed.d.ts +0 -41
- package/dist/generated/nostr/fb/kind7375parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind7376parsed.d.ts +0 -58
- package/dist/generated/nostr/fb/kind7376parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind7parsed.d.ts +0 -42
- package/dist/generated/nostr/fb/kind7parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind9321parsed.d.ts +0 -64
- package/dist/generated/nostr/fb/kind9321parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/kind9735parsed.d.ts +0 -64
- package/dist/generated/nostr/fb/kind9735parsed.d.ts.map +0 -1
- package/dist/generated/nostr/fb/p2pkwitness.d.ts +0 -27
- package/dist/generated/nostr/fb/p2pkwitness.d.ts.map +0 -1
- package/dist/lib/ByteString.d.ts +0 -32
- package/dist/lib/ByteString.d.ts.map +0 -1
|
@@ -23,13 +23,13 @@ export interface InitOutput {
|
|
|
23
23
|
readonly init_tracing: (a: number, b: number) => void;
|
|
24
24
|
readonly wasm_bindgen__convert__closures_____invoke__h9f24d583ae866fa6: (a: number, b: number, c: any) => void;
|
|
25
25
|
readonly wasm_bindgen__closure__destroy__h8c04b6ea827d767b: (a: number, b: number) => void;
|
|
26
|
-
readonly wasm_bindgen__convert__closures_____invoke__h911638d95040c9f2: (a: number, b: number, c: any) => void;
|
|
27
|
-
readonly wasm_bindgen__closure__destroy__h063e4a13178b0c12: (a: number, b: number) => void;
|
|
28
26
|
readonly wasm_bindgen__convert__closures_____invoke__h6e43682478e95d85: (a: number, b: number, c: any) => void;
|
|
29
27
|
readonly wasm_bindgen__closure__destroy__h2312464f5f444124: (a: number, b: number) => void;
|
|
30
|
-
readonly
|
|
28
|
+
readonly wasm_bindgen__convert__closures_____invoke__h911638d95040c9f2: (a: number, b: number, c: any) => void;
|
|
29
|
+
readonly wasm_bindgen__closure__destroy__h063e4a13178b0c12: (a: number, b: number) => void;
|
|
31
30
|
readonly wasm_bindgen__convert__closures_____invoke__hbfefea57f0386d0d: (a: number, b: number) => void;
|
|
32
31
|
readonly wasm_bindgen__closure__destroy__h8f3ce6e75229a5a8: (a: number, b: number) => void;
|
|
32
|
+
readonly wasm_bindgen__convert__closures_____invoke__hd724dca759e5a136: (a: number, b: number) => void;
|
|
33
33
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
34
34
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
35
35
|
readonly __wbindgen_exn_store: (a: number) => void;
|
|
@@ -7,13 +7,13 @@ export const wsrust_new: (a: any, b: any, c: any, d: any, e: any) => [number, nu
|
|
|
7
7
|
export const init_tracing: (a: number, b: number) => void;
|
|
8
8
|
export const wasm_bindgen__convert__closures_____invoke__h9f24d583ae866fa6: (a: number, b: number, c: any) => void;
|
|
9
9
|
export const wasm_bindgen__closure__destroy__h8c04b6ea827d767b: (a: number, b: number) => void;
|
|
10
|
-
export const wasm_bindgen__convert__closures_____invoke__h911638d95040c9f2: (a: number, b: number, c: any) => void;
|
|
11
|
-
export const wasm_bindgen__closure__destroy__h063e4a13178b0c12: (a: number, b: number) => void;
|
|
12
10
|
export const wasm_bindgen__convert__closures_____invoke__h6e43682478e95d85: (a: number, b: number, c: any) => void;
|
|
13
11
|
export const wasm_bindgen__closure__destroy__h2312464f5f444124: (a: number, b: number) => void;
|
|
14
|
-
export const
|
|
12
|
+
export const wasm_bindgen__convert__closures_____invoke__h911638d95040c9f2: (a: number, b: number, c: any) => void;
|
|
13
|
+
export const wasm_bindgen__closure__destroy__h063e4a13178b0c12: (a: number, b: number) => void;
|
|
15
14
|
export const wasm_bindgen__convert__closures_____invoke__hbfefea57f0386d0d: (a: number, b: number) => void;
|
|
16
15
|
export const wasm_bindgen__closure__destroy__h8f3ce6e75229a5a8: (a: number, b: number) => void;
|
|
16
|
+
export const wasm_bindgen__convert__closures_____invoke__hd724dca759e5a136: (a: number, b: number) => void;
|
|
17
17
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
18
18
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
19
19
|
export const __wbindgen_exn_store: (a: number) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../src/connections/proxy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as c from"flatbuffers";import{W as f,M as p,d,e as g}from"../worker-message.js";import{S as w,a as S,b}from"../signer-response.js";const u=0x8000000000000000n;function l(s){if(s instanceof Uint8Array)return s;if(s instanceof ArrayBuffer)return new Uint8Array(s);if(ArrayBuffer.isView(s)){const t=s;return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}return typeof s=="string"?new TextEncoder().encode(s):null}function i(s){return typeof s=="string"?s:s instanceof Uint8Array?new TextDecoder().decode(s):s&&typeof s=="object"&&"toString"in s?String(s):""}class m{constructor(t,e,n,r,o){this.proxyUrl=t,this.mainPort=e,this.cachePort=n,this.parserPort=r,this.cryptoPort=o,this.ws=null,this.pendingFrames=[],this.authCounter=1n}start(){this.cachePort.onmessage=t=>{const e=l(t.data);!e||e.byteLength===0||this.sendBinary(e)},this.cryptoPort.onmessage=t=>{const e=l(t.data);!e||e.byteLength===0||this.handleCryptoResponse(e)},this.openSocket()}close(t){t&&this.ws?.readyState===WebSocket.OPEN&&this.ws.send(JSON.stringify({type:"close_sub",subscription_id:t}))}postRelayStatus(t,e){this.mainPort.postMessage(JSON.stringify({type:"relay:status",status:t,url:e}))}openSocket(){this.ws=new WebSocket(this.proxyUrl),this.ws.binaryType="arraybuffer",this.ws.onopen=()=>{this.postRelayStatus("connected",this.proxyUrl);const t=this.pendingFrames.splice(0,this.pendingFrames.length);for(const e of t)this.ws?.send(e)},this.ws.onclose=()=>{this.postRelayStatus("close",this.proxyUrl)},this.ws.onerror=()=>{this.postRelayStatus("failed",this.proxyUrl)},this.ws.onmessage=async t=>{const e=await this.messageToBytes(t.data);!e||e.byteLength===0||this.handleProxyMessage(e)}}async messageToBytes(t){return t instanceof ArrayBuffer?new Uint8Array(t):t instanceof Blob?new Uint8Array(await t.arrayBuffer()):typeof t=="string"?new TextEncoder().encode(t):null}sendBinary(t){const e=t.slice().buffer;if(this.ws?.readyState===WebSocket.OPEN){this.ws.send(e);return}this.pendingFrames.push(e)}handleProxyMessage(t){let e;try{e=f.getRootAsWorkerMessage(new c.ByteBuffer(t))}catch{return}if(e.type()===p.ConnectionStatus&&e.contentType()===d.ConnectionStatus){const n=e.content(new g);if(i(n?.status())==="AUTH"){const r=i(n?.message()),o=i(n?.relayUrl())||i(e.url())||i(e.subId());this.forwardAuthChallenge(r,o);return}}this.parserPort.postMessage(t,[t.buffer])}forwardAuthChallenge(t,e){if(!t||!e)return;const n=this.authCounter|u;this.authCounter+=1n;const r=JSON.stringify({challenge:t,relay:e,created_at:Date.now()}),o=new w(n,S.AuthEvent,r,null,null,null),a=new c.Builder(256);a.finish(o.pack(a));const h=a.asUint8Array();this.cryptoPort.postMessage(h,[h.buffer])}handleCryptoResponse(t){let e;try{e=b.getRootAsSignerResponse(new c.ByteBuffer(t))}catch{return}if((e.requestId()&u)===0n)return;const n=i(e.result());if(!(!n||this.ws?.readyState!==WebSocket.OPEN))try{const r=JSON.parse(n);if(!r?.relay||r?.event===void 0)return;const o=typeof r.event=="string"?JSON.parse(r.event):r.event;this.ws.send(JSON.stringify({type:"auth_response",relay:r.relay,event:o}))}catch{}}}let y=null;self.addEventListener("message",s=>{const t=s.data;if(t?.type==="init"){const{mainPort:e,cachePort:n,parserPort:r,cryptoPort:o,proxy:a}=t.payload;if(!a?.url){console.error("[connections proxy worker] Missing proxy URL in init payload");return}y=new m(a.url,e,n,r,o),y.start();return}t?.type!=="wake"&&typeof t=="string"&&y?.close(t)});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.js","sources":["../../src/connections/proxy.ts"],"sourcesContent":["import * as flatbuffers from 'flatbuffers';\n\nimport {\n\tConnectionStatus,\n\tMessage,\n\tMessageType,\n\tSignerOp,\n\tSignerRequestT,\n\tSignerResponse,\n\tWorkerMessage\n} from '../generated/nostr/fb';\nimport type { InitConnectionsMsg } from './types';\n\nconst AUTH_REQUEST_ID_MASK = 0x8000000000000000n;\n\nfunction toUint8Array(data: unknown): Uint8Array | null {\n\tif (data instanceof Uint8Array) return data;\n\tif (data instanceof ArrayBuffer) return new Uint8Array(data);\n\tif (ArrayBuffer.isView(data)) {\n\t\tconst view = data as ArrayBufferView;\n\t\treturn new Uint8Array(view.buffer, view.byteOffset, view.byteLength);\n\t}\n\tif (typeof data === 'string') {\n\t\treturn new TextEncoder().encode(data);\n\t}\n\treturn null;\n}\n\nfunction readString(value: unknown): string {\n\tif (typeof value === 'string') return value;\n\tif (value instanceof Uint8Array) return new TextDecoder().decode(value);\n\tif (value && typeof value === 'object' && 'toString' in value) {\n\t\treturn String(value);\n\t}\n\treturn '';\n}\n\nclass ProxyRuntime {\n\tprivate ws: WebSocket | null = null;\n\tprivate pendingFrames: ArrayBuffer[] = [];\n\tprivate authCounter = 1n;\n\n\tconstructor(\n\t\tprivate readonly proxyUrl: string,\n\t\tprivate readonly mainPort: MessagePort,\n\t\tprivate readonly cachePort: MessagePort,\n\t\tprivate readonly parserPort: MessagePort,\n\t\tprivate readonly cryptoPort: MessagePort\n\t) {}\n\n\tstart() {\n\t\tthis.cachePort.onmessage = (event) => {\n\t\t\tconst bytes = toUint8Array(event.data);\n\t\t\tif (!bytes || bytes.byteLength === 0) return;\n\t\t\tthis.sendBinary(bytes);\n\t\t};\n\n\t\tthis.cryptoPort.onmessage = (event) => {\n\t\t\tconst bytes = toUint8Array(event.data);\n\t\t\tif (!bytes || bytes.byteLength === 0) return;\n\t\t\tthis.handleCryptoResponse(bytes);\n\t\t};\n\n\t\tthis.openSocket();\n\t}\n\n\tclose(subId?: string) {\n\t\tif (subId && this.ws?.readyState === WebSocket.OPEN) {\n\t\t\tthis.ws.send(JSON.stringify({ type: 'close_sub', subscription_id: subId }));\n\t\t}\n\t}\n\n\tprivate postRelayStatus(status: string, url: string) {\n\t\tthis.mainPort.postMessage(\n\t\t\tJSON.stringify({\n\t\t\t\ttype: 'relay:status',\n\t\t\t\tstatus,\n\t\t\t\turl\n\t\t\t})\n\t\t);\n\t}\n\n\tprivate openSocket() {\n\t\tthis.ws = new WebSocket(this.proxyUrl);\n\t\tthis.ws.binaryType = 'arraybuffer';\n\n\t\tthis.ws.onopen = () => {\n\t\t\tthis.postRelayStatus('connected', this.proxyUrl);\n\t\t\tconst queued = this.pendingFrames.splice(0, this.pendingFrames.length);\n\t\t\tfor (const frame of queued) {\n\t\t\t\tthis.ws?.send(frame);\n\t\t\t}\n\t\t};\n\n\t\tthis.ws.onclose = () => {\n\t\t\tthis.postRelayStatus('close', this.proxyUrl);\n\t\t};\n\n\t\tthis.ws.onerror = () => {\n\t\t\tthis.postRelayStatus('failed', this.proxyUrl);\n\t\t};\n\n\t\tthis.ws.onmessage = async (event: MessageEvent<ArrayBuffer | Blob | string>) => {\n\t\t\tconst bytes = await this.messageToBytes(event.data);\n\t\t\tif (!bytes || bytes.byteLength === 0) return;\n\t\t\tthis.handleProxyMessage(bytes);\n\t\t};\n\t}\n\n\tprivate async messageToBytes(payload: ArrayBuffer | Blob | string): Promise<Uint8Array | null> {\n\t\tif (payload instanceof ArrayBuffer) return new Uint8Array(payload);\n\t\tif (payload instanceof Blob) return new Uint8Array(await payload.arrayBuffer());\n\t\tif (typeof payload === 'string') return new TextEncoder().encode(payload);\n\t\treturn null;\n\t}\n\n\tprivate sendBinary(bytes: Uint8Array) {\n\t\tconst frame = bytes.slice().buffer;\n\t\tif (this.ws?.readyState === WebSocket.OPEN) {\n\t\t\tthis.ws.send(frame);\n\t\t\treturn;\n\t\t}\n\t\tthis.pendingFrames.push(frame);\n\t}\n\n\tprivate handleProxyMessage(bytes: Uint8Array) {\n\t\tlet message: WorkerMessage;\n\t\ttry {\n\t\t\tmessage = WorkerMessage.getRootAsWorkerMessage(new flatbuffers.ByteBuffer(bytes));\n\t\t} catch {\n\t\t\treturn;\n\t\t}\n\t\tif (\n\t\t\tmessage.type() === MessageType.ConnectionStatus &&\n\t\t\tmessage.contentType() === Message.ConnectionStatus\n\t\t) {\n\t\t\tconst content = message.content(new ConnectionStatus());\n\t\t\tconst status = readString(content?.status());\n\t\t\tif (status === 'AUTH') {\n\t\t\t\tconst challenge = readString(content?.message());\n\t\t\t\tconst relay =\n\t\t\t\t\treadString(content?.relayUrl()) ||\n\t\t\t\t\treadString(message.url()) ||\n\t\t\t\t\treadString(message.subId());\n\t\t\t\tthis.forwardAuthChallenge(challenge, relay);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tthis.parserPort.postMessage(bytes, [bytes.buffer]);\n\t}\n\n\tprivate forwardAuthChallenge(challenge: string, relay: string) {\n\t\tif (!challenge || !relay) return;\n\n\t\tconst requestId = this.authCounter | AUTH_REQUEST_ID_MASK;\n\t\tthis.authCounter += 1n;\n\n\t\tconst payload = JSON.stringify({\n\t\t\tchallenge,\n\t\t\trelay,\n\t\t\tcreated_at: Date.now()\n\t\t});\n\n\t\tconst request = new SignerRequestT(requestId, SignerOp.AuthEvent, payload, null, null, null);\n\t\tconst builder = new flatbuffers.Builder(256);\n\t\tbuilder.finish(request.pack(builder));\n\t\tconst packet = builder.asUint8Array();\n\t\tthis.cryptoPort.postMessage(packet, [packet.buffer]);\n\t}\n\n\tprivate handleCryptoResponse(bytes: Uint8Array) {\n\t\tlet response: SignerResponse;\n\t\ttry {\n\t\t\tresponse = SignerResponse.getRootAsSignerResponse(new flatbuffers.ByteBuffer(bytes));\n\t\t} catch {\n\t\t\treturn;\n\t\t}\n\n\t\tif ((response.requestId() & AUTH_REQUEST_ID_MASK) === 0n) return;\n\n\t\tconst resultText = readString(response.result());\n\t\tif (!resultText || this.ws?.readyState !== WebSocket.OPEN) return;\n\n\t\ttry {\n\t\t\tconst parsed = JSON.parse(resultText) as { relay?: string; event?: unknown };\n\t\t\tif (!parsed?.relay || parsed?.event === undefined) return;\n\n\t\t\tconst signedEvent =\n\t\t\t\ttypeof parsed.event === 'string' ? JSON.parse(parsed.event) : parsed.event;\n\n\t\t\tthis.ws.send(\n\t\t\t\tJSON.stringify({\n\t\t\t\t\ttype: 'auth_response',\n\t\t\t\t\trelay: parsed.relay,\n\t\t\t\t\tevent: signedEvent\n\t\t\t\t})\n\t\t\t);\n\t\t} catch {\n\t\t\t// Ignore malformed signer response payloads.\n\t\t}\n\t}\n}\n\nlet proxyRuntime: ProxyRuntime | null = null;\n\nself.addEventListener(\n\t'message',\n\t(evt: MessageEvent<InitConnectionsMsg | { type: 'wake' } | string>) => {\n\t\tconst msg = evt.data;\n\n\t\tif (msg?.type === 'init') {\n\t\t\tconst { mainPort, cachePort, parserPort, cryptoPort, proxy } = msg.payload;\n\t\t\tif (!proxy?.url) {\n\t\t\t\tconsole.error('[connections proxy worker] Missing proxy URL in init payload');\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tproxyRuntime = new ProxyRuntime(proxy.url, mainPort, cachePort, parserPort, cryptoPort);\n\t\t\tproxyRuntime.start();\n\t\t\treturn;\n\t\t}\n\n\t\t// Optional: wake signal; the proxy loops are event-driven, so this is a no-op.\n\t\tif (msg?.type === 'wake') {\n\t\t\treturn;\n\t\t}\n\n\t\tif (typeof msg === 'string') {\n\t\t\tproxyRuntime?.close(msg);\n\t\t}\n\t}\n);\n"],"names":["AUTH_REQUEST_ID_MASK","toUint8Array","data","view","readString","value","ProxyRuntime","proxyUrl","mainPort","cachePort","parserPort","cryptoPort","event","bytes","subId","status","url","queued","frame","payload","message","WorkerMessage","flatbuffers","MessageType","Message","content","ConnectionStatus","challenge","relay","requestId","request","SignerRequestT","SignerOp","builder","packet","response","SignerResponse","resultText","parsed","signedEvent","proxyRuntime","evt","msg","proxy"],"mappings":";;;AAaA,MAAMA,IAAuB;AAE7B,SAASC,EAAaC,GAAkC;AACvD,MAAIA,aAAgB,WAAY,QAAOA;AACvC,MAAIA,aAAgB,YAAa,QAAO,IAAI,WAAWA,CAAI;AAC3D,MAAI,YAAY,OAAOA,CAAI,GAAG;AAC7B,UAAMC,IAAOD;AACb,WAAO,IAAI,WAAWC,EAAK,QAAQA,EAAK,YAAYA,EAAK,UAAU;AAAA,EACpE;AACA,SAAI,OAAOD,KAAS,WACZ,IAAI,YAAA,EAAc,OAAOA,CAAI,IAE9B;AACR;AAEA,SAASE,EAAWC,GAAwB;AAC3C,SAAI,OAAOA,KAAU,WAAiBA,IAClCA,aAAiB,aAAmB,IAAI,YAAA,EAAc,OAAOA,CAAK,IAClEA,KAAS,OAAOA,KAAU,YAAY,cAAcA,IAChD,OAAOA,CAAK,IAEb;AACR;AAEA,MAAMC,EAAa;AAAA,EAKlB,YACkBC,GACAC,GACAC,GACAC,GACAC,GAChB;AALgB,SAAA,WAAAJ,GACA,KAAA,WAAAC,GACA,KAAA,YAAAC,GACA,KAAA,aAAAC,GACA,KAAA,aAAAC,GATlB,KAAQ,KAAuB,MAC/B,KAAQ,gBAA+B,CAAA,GACvC,KAAQ,cAAc;AAAA,EAQnB;AAAA,EA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YAAAC,GAAY,YAAAC,GAAY,OAAAgC,EAAA,IAAUD,EAAI;AACnE,UAAI,CAACC,GAAO,KAAK;AAChB,gBAAQ,MAAM,8DAA8D;AAC5E;AAAA,MACD;AACA,MAAAH,IAAe,IAAIlC,EAAaqC,EAAM,KAAKnC,GAAUC,GAAWC,GAAYC,CAAU,GACtF6B,EAAa,MAAA;AACb;AAAA,IACD;AAGA,IAAIE,GAAK,SAAS,UAId,OAAOA,KAAQ,YAClBF,GAAc,MAAME,CAAG;AAAA,EAEzB;AACD;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/connections/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACzB,GAAG,EAAE,MAAM,CAAC;CACZ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer-full.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/buffer-full.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buffer-full.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/buffer-full.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,UAAW,YAAW,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC;IAC3E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,UAAU;IAMxD,MAAM,CAAC,mBAAmB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,UAAU,GAAE,UAAU;IAIjF,MAAM,CAAC,+BAA+B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,UAAU,GAAE,UAAU;IAK7F,aAAa,IAAG,MAAM;IAKtB,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIlD,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,aAAa,EAAC,MAAM;IAIzE,MAAM,CAAC,aAAa,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAKpE,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,aAAa,EAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAM7F,MAAM,IAAI,WAAW;IAOrB,QAAQ,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI;CAG9B;AAED,qBAAa,WAAY,YAAW,WAAW,CAAC,gBAAgB;IAEvD,aAAa,EAAE,MAAM;gBAArB,aAAa,GAAE,MAAU;IAIlC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAKpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-input-message.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-input-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cache-input-message.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-input-message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,UAAU,EAA4C,MAAM,+BAA+B,CAAC;AACrG,OAAO,EAAgB,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAiB,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAGjF,qBAAa,iBAAkB,YAAW,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;IACzF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,C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 @@
|
|
|
1
|
-
{"version":3,"file":"cache-input.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cache-input.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-input.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAiB,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAkB,MAAM,kCAAkC,CAAC;AAGjF,oBAAY,UAAU;IACpB,IAAI,IAAI;IACR,aAAa,IAAI;IACjB,YAAY,IAAI;CACjB;AAED,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,CAAC,GAAG,EAAC,YAAY,GAAC,aAAa,KAAK,YAAY,GAAC,aAAa,GAAC,IAAI,GAC5E,YAAY,GAAC,aAAa,GAAC,IAAI,CAOjC;AAED,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAC,YAAY,GAAC,aAAa,KAAK,YAAY,GAAC,aAAa,GAAC,IAAI,EAC5F,KAAK,EAAE,MAAM,GACZ,YAAY,GAAC,aAAa,GAAC,IAAI,CAOjC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
1
|
import { NostrEvent, NostrEventT } from '../../nostr/fb/nostr-event.js';
|
|
3
2
|
import { ParsedEvent, ParsedEventT } from '../../nostr/fb/parsed-event.js';
|
|
4
3
|
import { Request, RequestT } from '../../nostr/fb/request.js';
|
|
5
|
-
|
|
6
4
|
import * as flatbuffers from 'flatbuffers';
|
|
7
5
|
export declare class CacheRequest implements flatbuffers.IUnpackableObject<CacheRequestT> {
|
|
8
6
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -10,14 +8,14 @@ export declare class CacheRequest implements flatbuffers.IUnpackableObject<Cache
|
|
|
10
8
|
__init(i: number, bb: flatbuffers.ByteBuffer): CacheRequest;
|
|
11
9
|
static getRootAsCacheRequest(bb: flatbuffers.ByteBuffer, obj?: CacheRequest): CacheRequest;
|
|
12
10
|
static getSizePrefixedRootAsCacheRequest(bb: flatbuffers.ByteBuffer, obj?: CacheRequest): CacheRequest;
|
|
13
|
-
subId():
|
|
14
|
-
subId(optionalEncoding: flatbuffers.Encoding):
|
|
11
|
+
subId(): string | null;
|
|
12
|
+
subId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
15
13
|
requests(index: number, obj?: Request): Request | null;
|
|
16
14
|
requestsLength(): number;
|
|
17
15
|
event(obj?: NostrEvent): NostrEvent | null;
|
|
18
16
|
parsedEvent(obj?: ParsedEvent): ParsedEvent | null;
|
|
19
|
-
relays(index: number):
|
|
20
|
-
relays(index: number, optionalEncoding: flatbuffers.Encoding):
|
|
17
|
+
relays(index: number): string;
|
|
18
|
+
relays(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
21
19
|
relaysLength(): number;
|
|
22
20
|
static startCacheRequest(builder: flatbuffers.Builder): void;
|
|
23
21
|
static addSubId(builder: flatbuffers.Builder, subIdOffset: flatbuffers.Offset): void;
|
|
@@ -34,12 +32,12 @@ export declare class CacheRequest implements flatbuffers.IUnpackableObject<Cache
|
|
|
34
32
|
unpackTo(_o: CacheRequestT): void;
|
|
35
33
|
}
|
|
36
34
|
export declare class CacheRequestT implements flatbuffers.IGeneratedObject {
|
|
37
|
-
subId:
|
|
35
|
+
subId: string | Uint8Array | null;
|
|
38
36
|
requests: (RequestT)[];
|
|
39
37
|
event: NostrEventT | null;
|
|
40
38
|
parsedEvent: ParsedEventT | null;
|
|
41
39
|
relays: (string)[];
|
|
42
|
-
constructor(subId?:
|
|
40
|
+
constructor(subId?: string | Uint8Array | null, requests?: (RequestT)[], event?: NostrEventT | null, parsedEvent?: ParsedEventT | null, relays?: (string)[]);
|
|
43
41
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
44
42
|
}
|
|
45
43
|
//# sourceMappingURL=cache-request.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-request.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-request.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cache-request.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-request.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAG9D,qBAAa,YAAa,YAAW,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC;IAC/E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,YAAY;IAM1D,MAAM,CAAC,qBAAqB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAIvF,MAAM,CAAC,iCAAiC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,YAAY,GAAE,YAAY;IAKnG,KAAK,IAAG,MAAM,GAAC,IAAI;IACnB,KAAK,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMnE,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAC,OAAO,GAAE,OAAO,GAAC,IAAI;IAKlD,cAAc,IAAG,MAAM;IAKvB,KAAK,CAAC,GAAG,CAAC,EAAC,UA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,OAAO,EAAE,QAAQ,EAAC,MAAM;IAIrE,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAOtE,MAAM,IAAI,aAAa;IAWvB,QAAQ,CAAC,EAAE,EAAE,aAAa,GAAG,IAAI;CAOhC;AAED,qBAAa,aAAc,YAAW,WAAW,CAAC,gBAAgB;IAEzD,KAAK,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAC7B,QAAQ,EAAE,CAAC,QAAQ,CAAC,EAAE;IACtB,KAAK,EAAE,WAAW,GAAC,IAAI;IACvB,WAAW,EAAE,YAAY,GAAC,IAAI;IAC9B,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE;gBAJlB,KAAK,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACpC,QAAQ,GAAE,CAAC,QAAQ,CAAC,EAAO,EAC3B,KAAK,GAAE,WAAW,GAAC,IAAW,EAC9B,WAAW,GAAE,YAAY,GAAC,IAAW,EACrC,MAAM,GAAE,CAAC,MAAM,CAAC,EAAO;IAIhC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAgBpD"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class CacheResponse implements flatbuffers.IUnpackableObject<CacheResponseT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -7,8 +5,8 @@ export declare class CacheResponse implements flatbuffers.IUnpackableObject<Cach
|
|
|
7
5
|
__init(i: number, bb: flatbuffers.ByteBuffer): CacheResponse;
|
|
8
6
|
static getRootAsCacheResponse(bb: flatbuffers.ByteBuffer, obj?: CacheResponse): CacheResponse;
|
|
9
7
|
static getSizePrefixedRootAsCacheResponse(bb: flatbuffers.ByteBuffer, obj?: CacheResponse): CacheResponse;
|
|
10
|
-
subId():
|
|
11
|
-
subId(optionalEncoding: flatbuffers.Encoding):
|
|
8
|
+
subId(): string | null;
|
|
9
|
+
subId(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
12
10
|
payload(index: number): number | null;
|
|
13
11
|
payloadLength(): number;
|
|
14
12
|
payloadArray(): Uint8Array | null;
|
|
@@ -23,9 +21,9 @@ export declare class CacheResponse implements flatbuffers.IUnpackableObject<Cach
|
|
|
23
21
|
unpackTo(_o: CacheResponseT): void;
|
|
24
22
|
}
|
|
25
23
|
export declare class CacheResponseT implements flatbuffers.IGeneratedObject {
|
|
26
|
-
subId:
|
|
24
|
+
subId: string | Uint8Array | null;
|
|
27
25
|
payload: (number)[];
|
|
28
|
-
constructor(subId?:
|
|
26
|
+
constructor(subId?: string | Uint8Array | null, payload?: (number)[]);
|
|
29
27
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
30
28
|
}
|
|
31
29
|
//# sourceMappingURL=cache-response.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-response.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cache-response.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cache-response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,aAAc,YAAW,WAAW,CAAC,iBAAiB,CAAC,cAAc,CAAC;IACjF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,aAAa;IAM3D,MAAM,CAAC,sBAAsB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,aAAa,GAAE,aAAa;IAI1F,MAAM,CAAC,kCAAkC,CA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B,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE;gBADnB,KAAK,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACpC,OAAO,GAAE,CAAC,MAAM,CAAC,EAAO;IAIjC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CASpD"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class CashuData implements flatbuffers.IUnpackableObject<CashuDataT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -7,8 +5,8 @@ export declare class CashuData implements flatbuffers.IUnpackableObject<CashuDat
|
|
|
7
5
|
__init(i: number, bb: flatbuffers.ByteBuffer): CashuData;
|
|
8
6
|
static getRootAsCashuData(bb: flatbuffers.ByteBuffer, obj?: CashuData): CashuData;
|
|
9
7
|
static getSizePrefixedRootAsCashuData(bb: flatbuffers.ByteBuffer, obj?: CashuData): CashuData;
|
|
10
|
-
token():
|
|
11
|
-
token(optionalEncoding: flatbuffers.Encoding):
|
|
8
|
+
token(): string | null;
|
|
9
|
+
token(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
12
10
|
static startCashuData(builder: flatbuffers.Builder): void;
|
|
13
11
|
static addToken(builder: flatbuffers.Builder, tokenOffset: flatbuffers.Offset): void;
|
|
14
12
|
static endCashuData(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
@@ -17,8 +15,8 @@ export declare class CashuData implements flatbuffers.IUnpackableObject<CashuDat
|
|
|
17
15
|
unpackTo(_o: CashuDataT): void;
|
|
18
16
|
}
|
|
19
17
|
export declare class CashuDataT implements flatbuffers.IGeneratedObject {
|
|
20
|
-
token:
|
|
21
|
-
constructor(token?:
|
|
18
|
+
token: string | Uint8Array | null;
|
|
19
|
+
constructor(token?: string | Uint8Array | null);
|
|
22
20
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
23
21
|
}
|
|
24
22
|
//# sourceMappingURL=cashu-data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cashu-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cashu-data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cashu-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/cashu-data.ts"],"names":[],"mappings":"AAIA,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,KAAK,IAAG,MAAM,GAAC,IAAI;IACnB,KAAK,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMnE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIjD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM;IAI3E,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMnE,MAAM,CAAC,eAAe,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAMtG,MAAM,IAAI,UAAU;IAOpB,QAAQ,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI;CAG7B;AAED,qBAAa,UAAW,YAAW,WAAW,CAAC,gBAAgB;IAEtD,KAAK,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;gBAA7B,KAAK,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAI7C,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class CodeData implements flatbuffers.IUnpackableObject<CodeDataT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -7,10 +5,10 @@ export declare class CodeData implements flatbuffers.IUnpackableObject<CodeDataT
|
|
|
7
5
|
__init(i: number, bb: flatbuffers.ByteBuffer): CodeData;
|
|
8
6
|
static getRootAsCodeData(bb: flatbuffers.ByteBuffer, obj?: CodeData): CodeData;
|
|
9
7
|
static getSizePrefixedRootAsCodeData(bb: flatbuffers.ByteBuffer, obj?: CodeData): CodeData;
|
|
10
|
-
language():
|
|
11
|
-
language(optionalEncoding: flatbuffers.Encoding):
|
|
12
|
-
code():
|
|
13
|
-
code(optionalEncoding: flatbuffers.Encoding):
|
|
8
|
+
language(): string | null;
|
|
9
|
+
language(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
+
code(): string | null;
|
|
11
|
+
code(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
14
12
|
static startCodeData(builder: flatbuffers.Builder): void;
|
|
15
13
|
static addLanguage(builder: flatbuffers.Builder, languageOffset: flatbuffers.Offset): void;
|
|
16
14
|
static addCode(builder: flatbuffers.Builder, codeOffset: flatbuffers.Offset): void;
|
|
@@ -20,9 +18,9 @@ export declare class CodeData implements flatbuffers.IUnpackableObject<CodeDataT
|
|
|
20
18
|
unpackTo(_o: CodeDataT): void;
|
|
21
19
|
}
|
|
22
20
|
export declare class CodeDataT implements flatbuffers.IGeneratedObject {
|
|
23
|
-
language:
|
|
24
|
-
code:
|
|
25
|
-
constructor(language?:
|
|
21
|
+
language: string | Uint8Array | null;
|
|
22
|
+
code: string | Uint8Array | null;
|
|
23
|
+
constructor(language?: string | Uint8Array | null, code?: string | Uint8Array | null);
|
|
26
24
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
27
25
|
}
|
|
28
26
|
//# sourceMappingURL=code-data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/code-data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"code-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/code-data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,QAAS,YAAW,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC;IACvE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,QAAQ;IAMtD,MAAM,CAAC,iBAAiB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,QAAQ,GAAE,QAAQ;IAI3E,MAAM,CAAC,6BAA6B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,QAAQ,GAAE,QAAQ;IAKvF,QAAQ,IAAG,MAAM,GAAC,IAAI;IACtB,QAAQ,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMtE,IAAI,IAAG,MAAM,GAAC,IAAI;IAClB,IAAI,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMlE,MAAM,CAAC,aAAa,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIhD,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,cAAc,EAAC,WAAW,CAAC,MAAM;IAIjF,MAAM,CAAC,OAAO,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,UAAU,EAAC,WAAW,CAAC,MAAM;IAIzE,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMlE,MAAM,CAAC,cAAc,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,cAAc,EAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAOvI,MAAM,IAAI,SAAS;IAQnB,QAAQ,CAAC,EAAE,EAAE,SAAS,GAAG,IAAI;CAI5B;AAED,qBAAa,SAAU,YAAW,WAAW,CAAC,gBAAgB;IAErD,QAAQ,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAChC,IAAI,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;gBAD5B,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACvC,IAAI,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAI5C,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CASpD"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class ConnectionStatus implements flatbuffers.IUnpackableObject<ConnectionStatusT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -7,12 +5,12 @@ export declare class ConnectionStatus implements flatbuffers.IUnpackableObject<C
|
|
|
7
5
|
__init(i: number, bb: flatbuffers.ByteBuffer): ConnectionStatus;
|
|
8
6
|
static getRootAsConnectionStatus(bb: flatbuffers.ByteBuffer, obj?: ConnectionStatus): ConnectionStatus;
|
|
9
7
|
static getSizePrefixedRootAsConnectionStatus(bb: flatbuffers.ByteBuffer, obj?: ConnectionStatus): ConnectionStatus;
|
|
10
|
-
relayUrl():
|
|
11
|
-
relayUrl(optionalEncoding: flatbuffers.Encoding):
|
|
12
|
-
status():
|
|
13
|
-
status(optionalEncoding: flatbuffers.Encoding):
|
|
14
|
-
message():
|
|
15
|
-
message(optionalEncoding: flatbuffers.Encoding):
|
|
8
|
+
relayUrl(): string | null;
|
|
9
|
+
relayUrl(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
+
status(): string | null;
|
|
11
|
+
status(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
12
|
+
message(): string | null;
|
|
13
|
+
message(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
16
14
|
static startConnectionStatus(builder: flatbuffers.Builder): void;
|
|
17
15
|
static addRelayUrl(builder: flatbuffers.Builder, relayUrlOffset: flatbuffers.Offset): void;
|
|
18
16
|
static addStatus(builder: flatbuffers.Builder, statusOffset: flatbuffers.Offset): void;
|
|
@@ -23,10 +21,10 @@ export declare class ConnectionStatus implements flatbuffers.IUnpackableObject<C
|
|
|
23
21
|
unpackTo(_o: ConnectionStatusT): void;
|
|
24
22
|
}
|
|
25
23
|
export declare class ConnectionStatusT implements flatbuffers.IGeneratedObject {
|
|
26
|
-
relayUrl:
|
|
27
|
-
status:
|
|
28
|
-
message:
|
|
29
|
-
constructor(relayUrl?:
|
|
24
|
+
relayUrl: string | Uint8Array | null;
|
|
25
|
+
status: string | Uint8Array | null;
|
|
26
|
+
message: string | Uint8Array | null;
|
|
27
|
+
constructor(relayUrl?: string | Uint8Array | null, status?: string | Uint8Array | null, message?: string | Uint8Array | null);
|
|
30
28
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
31
29
|
}
|
|
32
30
|
//# sourceMappingURL=connection-status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-status.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/connection-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"connection-status.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/connection-status.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,gBAAiB,YAAW,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC;IACvF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,gBAAgB;IAM9D,MAAM,CAAC,yBAAyB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,gBAAgB,GAAE,gBAAgB;IAInG,MAAM,CAAC,qCAAqC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,gBAAgB,GAAE,gBAAgB;IAK/G,QAAQ,IAAG,MAAM,GAAC,IAAI;IACtB,QAAQ,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMtE,MAAM,IAAG,MAAM,GAAC,IAAI;IACpB,MAAM,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMpE,OAAO,IAAG,MAAM,GAAC,IAAI;IACrB,OAAO,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAA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
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class Contact implements flatbuffers.IUnpackableObject<ContactT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -7,13 +5,13 @@ export declare class Contact implements flatbuffers.IUnpackableObject<ContactT>
|
|
|
7
5
|
__init(i: number, bb: flatbuffers.ByteBuffer): Contact;
|
|
8
6
|
static getRootAsContact(bb: flatbuffers.ByteBuffer, obj?: Contact): Contact;
|
|
9
7
|
static getSizePrefixedRootAsContact(bb: flatbuffers.ByteBuffer, obj?: Contact): Contact;
|
|
10
|
-
pubkey():
|
|
11
|
-
pubkey(optionalEncoding: flatbuffers.Encoding):
|
|
12
|
-
relays(index: number):
|
|
13
|
-
relays(index: number, optionalEncoding: flatbuffers.Encoding):
|
|
8
|
+
pubkey(): string | null;
|
|
9
|
+
pubkey(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
10
|
+
relays(index: number): string;
|
|
11
|
+
relays(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
14
12
|
relaysLength(): number;
|
|
15
|
-
petname():
|
|
16
|
-
petname(optionalEncoding: flatbuffers.Encoding):
|
|
13
|
+
petname(): string | null;
|
|
14
|
+
petname(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
17
15
|
static startContact(builder: flatbuffers.Builder): void;
|
|
18
16
|
static addPubkey(builder: flatbuffers.Builder, pubkeyOffset: flatbuffers.Offset): void;
|
|
19
17
|
static addRelays(builder: flatbuffers.Builder, relaysOffset: flatbuffers.Offset): void;
|
|
@@ -26,10 +24,10 @@ export declare class Contact implements flatbuffers.IUnpackableObject<ContactT>
|
|
|
26
24
|
unpackTo(_o: ContactT): void;
|
|
27
25
|
}
|
|
28
26
|
export declare class ContactT implements flatbuffers.IGeneratedObject {
|
|
29
|
-
pubkey:
|
|
27
|
+
pubkey: string | Uint8Array | null;
|
|
30
28
|
relays: (string)[];
|
|
31
|
-
petname:
|
|
32
|
-
constructor(pubkey?:
|
|
29
|
+
petname: string | Uint8Array | null;
|
|
30
|
+
constructor(pubkey?: string | Uint8Array | null, relays?: (string)[], petname?: string | Uint8Array | null);
|
|
33
31
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
34
32
|
}
|
|
35
33
|
//# sourceMappingURL=contact.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/contact.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/contact.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,OAAQ,YAAW,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC;IACrE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,OAAO;IAMrD,MAAM,CAAC,gBAAgB,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,OAAO,GAAE,OAAO;IAIxE,MAAM,CAAC,4BAA4B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,OAAO,GAAE,OAAO;IAKpF,MAAM,IAAG,MAAM,GAAC,IAAI;IACpB,MAAM,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMpE,MAAM,CAAC,KAAK,EAAE,MAAM,GAAE,MAAM;IAC5B,MAAM,CAAC,KAAK,EAAE,MAAM,EAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU;IAM7E,YAAY,IAAG,MAAM;IAKrB,OAAO,IAAG,MAAM,GA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,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACrC,MAAM,GAAE,CAAC,MAAM,CAAC,EAAO,EACvB,OAAO,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAI/C,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAWpD"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
1
|
import { CashuDataT } from '../../nostr/fb/cashu-data.js';
|
|
3
2
|
import { CodeDataT } from '../../nostr/fb/code-data.js';
|
|
4
3
|
import { ContentData } from '../../nostr/fb/content-data.js';
|
|
@@ -8,7 +7,6 @@ import { LinkPreviewDataT } from '../../nostr/fb/link-preview-data.js';
|
|
|
8
7
|
import { MediaGroupDataT } from '../../nostr/fb/media-group-data.js';
|
|
9
8
|
import { NostrDataT } from '../../nostr/fb/nostr-data.js';
|
|
10
9
|
import { VideoDataT } from '../../nostr/fb/video-data.js';
|
|
11
|
-
|
|
12
10
|
import * as flatbuffers from 'flatbuffers';
|
|
13
11
|
export declare class ContentBlock implements flatbuffers.IUnpackableObject<ContentBlockT> {
|
|
14
12
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -16,10 +14,10 @@ export declare class ContentBlock implements flatbuffers.IUnpackableObject<Conte
|
|
|
16
14
|
__init(i: number, bb: flatbuffers.ByteBuffer): ContentBlock;
|
|
17
15
|
static getRootAsContentBlock(bb: flatbuffers.ByteBuffer, obj?: ContentBlock): ContentBlock;
|
|
18
16
|
static getSizePrefixedRootAsContentBlock(bb: flatbuffers.ByteBuffer, obj?: ContentBlock): ContentBlock;
|
|
19
|
-
type():
|
|
20
|
-
type(optionalEncoding: flatbuffers.Encoding):
|
|
21
|
-
text():
|
|
22
|
-
text(optionalEncoding: flatbuffers.Encoding):
|
|
17
|
+
type(): string | null;
|
|
18
|
+
type(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
19
|
+
text(): string | null;
|
|
20
|
+
text(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
23
21
|
dataType(): ContentData;
|
|
24
22
|
data<T extends flatbuffers.Table>(obj: any): any | null;
|
|
25
23
|
static startContentBlock(builder: flatbuffers.Builder): void;
|
|
@@ -33,11 +31,11 @@ export declare class ContentBlock implements flatbuffers.IUnpackableObject<Conte
|
|
|
33
31
|
unpackTo(_o: ContentBlockT): void;
|
|
34
32
|
}
|
|
35
33
|
export declare class ContentBlockT implements flatbuffers.IGeneratedObject {
|
|
36
|
-
type:
|
|
37
|
-
text:
|
|
34
|
+
type: string | Uint8Array | null;
|
|
35
|
+
text: string | Uint8Array | null;
|
|
38
36
|
dataType: ContentData;
|
|
39
37
|
data: CashuDataT | CodeDataT | HashtagDataT | ImageDataT | LinkPreviewDataT | MediaGroupDataT | NostrDataT | VideoDataT | null;
|
|
40
|
-
constructor(type?:
|
|
38
|
+
constructor(type?: string | Uint8Array | null, text?: string | Uint8Array | null, dataType?: ContentData, data?: CashuDataT | CodeDataT | HashtagDataT | ImageDataT | LinkPreviewDataT | MediaGroupDataT | NostrDataT | VideoDataT | null);
|
|
41
39
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
42
40
|
}
|
|
43
41
|
//# sourceMappingURL=content-block.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-block.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/content-block.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-block.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/content-block.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAa,UAAU,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAY,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,WAAW,EAA8C,MAAM,gCAAgC,CAAC;AACzG,OAAO,EAAe,YAA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AAW;IAI9H,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAYpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/content-data.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"content-data.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/content-data.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAc,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAa,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAgB,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAc,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAoB,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,cAAc,EAAmB,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,SAAS,EAAc,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,SAAS,EAAc,MAAM,8BAA8B,CAAC;AAGrE,oBAAY,WAAW;IACrB,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,WAAW,IAAI;IACf,SAAS,IAAI;IACb,SAAS,IAAI;IACb,SAAS,IAAI;IACb,cAAc,IAAI;IAClB,SAAS,IAAI;IACb,eAAe,IAAI;CACpB;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,CAAC,GAAG,EAAC,SAAS,GAAC,QAAQ,GAAC,WAAW,GAAC,SAAS,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,SAAS,KAAK,SAAS,GAAC,QAAQ,GAAC,WAAW,GAAC,SAAS,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,SAAS,GAAC,IAAI,GAC9M,SAAS,GAAC,QAAQ,GAAC,WAAW,GAAC,SAAS,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,SAAS,GAAC,IAAI,CAalG;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAC,SAAS,GAAC,QAAQ,GAAC,WAAW,GAAC,SAAS,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,SAAS,KAAK,SAAS,GAAC,QAAQ,GAAC,WAAW,GAAC,SAAS,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,SAAS,GAAC,IAAI,EAC9N,KAAK,EAAE,MAAM,GACZ,SAAS,GAAC,QAAQ,GAAC,WAAW,GAAC,SAAS,GAAC,eAAe,GAAC,cAAc,GAAC,SAAS,GAAC,SAAS,GAAC,IAAI,CAalG"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class Coordinate implements flatbuffers.IUnpackableObject<CoordinateT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -8,12 +6,12 @@ export declare class Coordinate implements flatbuffers.IUnpackableObject<Coordin
|
|
|
8
6
|
static getRootAsCoordinate(bb: flatbuffers.ByteBuffer, obj?: Coordinate): Coordinate;
|
|
9
7
|
static getSizePrefixedRootAsCoordinate(bb: flatbuffers.ByteBuffer, obj?: Coordinate): Coordinate;
|
|
10
8
|
kind(): bigint;
|
|
11
|
-
pubkey():
|
|
12
|
-
pubkey(optionalEncoding: flatbuffers.Encoding):
|
|
13
|
-
d():
|
|
14
|
-
d(optionalEncoding: flatbuffers.Encoding):
|
|
15
|
-
relays(index: number):
|
|
16
|
-
relays(index: number, optionalEncoding: flatbuffers.Encoding):
|
|
9
|
+
pubkey(): string | null;
|
|
10
|
+
pubkey(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
11
|
+
d(): string | null;
|
|
12
|
+
d(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
13
|
+
relays(index: number): string;
|
|
14
|
+
relays(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array;
|
|
17
15
|
relaysLength(): number;
|
|
18
16
|
static startCoordinate(builder: flatbuffers.Builder): void;
|
|
19
17
|
static addKind(builder: flatbuffers.Builder, kind: bigint): void;
|
|
@@ -29,10 +27,10 @@ export declare class Coordinate implements flatbuffers.IUnpackableObject<Coordin
|
|
|
29
27
|
}
|
|
30
28
|
export declare class CoordinateT implements flatbuffers.IGeneratedObject {
|
|
31
29
|
kind: bigint;
|
|
32
|
-
pubkey:
|
|
33
|
-
d:
|
|
30
|
+
pubkey: string | Uint8Array | null;
|
|
31
|
+
d: string | Uint8Array | null;
|
|
34
32
|
relays: (string)[];
|
|
35
|
-
constructor(kind?: bigint, pubkey?:
|
|
33
|
+
constructor(kind?: bigint, pubkey?: string | Uint8Array | null, d?: string | Uint8Array | null, relays?: (string)[]);
|
|
36
34
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
37
35
|
}
|
|
38
36
|
//# sourceMappingURL=coordinate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordinate.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/coordinate.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"coordinate.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/coordinate.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,UAAW,YAAW,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC;IAC3E,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,UAAU;IAMxD,MAAM,CAAC,mBAA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CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAC,MAAM;IAIrE,MAAM,CAAC,aAAa,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAOpE,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,MAAM,EAAE,YAAY,EAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAC,WAAW,CAAC,MAAM,EAAE,YAAY,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IASlL,MAAM,IAAI,WAAW;IAUrB,QAAQ,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI;CAM9B;AAED,qBAAa,WAAY,YAAW,WAAW,CAAC,gBAAgB;IAEvD,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAC9B,CAAC,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IACzB,MAAM,EAAE,CAAC,MAAM,CAAC,EAAE;gBAHlB,IAAI,GAAE,MAAoB,EAC1B,MAAM,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EACrC,CAAC,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW,EAChC,MAAM,GAAE,CAAC,MAAM,CAAC,EAAO;IAIhC,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAYpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"count-response.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/count-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"count-response.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/count-response.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,aAAc,YAAW,WAAW,CAAC,iBAAiB,CAAC,cAAc,CAAC;IACjF,EA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AAI,GAAE,MAAU,EAChB,GAAG,GAAE,OAAe;IAI7B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ByteString } from '../../../lib/ByteString';
|
|
2
|
-
|
|
3
1
|
import * as flatbuffers from 'flatbuffers';
|
|
4
2
|
export declare class CounterPipeConfig implements flatbuffers.IUnpackableObject<CounterPipeConfigT> {
|
|
5
3
|
bb: flatbuffers.ByteBuffer | null;
|
|
@@ -10,8 +8,8 @@ export declare class CounterPipeConfig implements flatbuffers.IUnpackableObject<
|
|
|
10
8
|
kinds(index: number): number | null;
|
|
11
9
|
kindsLength(): number;
|
|
12
10
|
kindsArray(): Uint16Array | null;
|
|
13
|
-
pubkey():
|
|
14
|
-
pubkey(optionalEncoding: flatbuffers.Encoding):
|
|
11
|
+
pubkey(): string | null;
|
|
12
|
+
pubkey(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
|
|
15
13
|
static startCounterPipeConfig(builder: flatbuffers.Builder): void;
|
|
16
14
|
static addKinds(builder: flatbuffers.Builder, kindsOffset: flatbuffers.Offset): void;
|
|
17
15
|
static createKindsVector(builder: flatbuffers.Builder, data: number[] | Uint16Array): flatbuffers.Offset;
|
|
@@ -28,8 +26,8 @@ export declare class CounterPipeConfig implements flatbuffers.IUnpackableObject<
|
|
|
28
26
|
}
|
|
29
27
|
export declare class CounterPipeConfigT implements flatbuffers.IGeneratedObject {
|
|
30
28
|
kinds: (number)[];
|
|
31
|
-
pubkey:
|
|
32
|
-
constructor(kinds?: (number)[], pubkey?:
|
|
29
|
+
pubkey: string | Uint8Array | null;
|
|
30
|
+
constructor(kinds?: (number)[], pubkey?: string | Uint8Array | null);
|
|
33
31
|
pack(builder: flatbuffers.Builder): flatbuffers.Offset;
|
|
34
32
|
}
|
|
35
33
|
//# sourceMappingURL=counter-pipe-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"counter-pipe-config.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/counter-pipe-config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"counter-pipe-config.d.ts","sourceRoot":"","sources":["../../../../src/generated/nostr/fb/counter-pipe-config.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,iBAAkB,YAAW,WAAW,CAAC,iBAAiB,CAAC,kBAAkB,CAAC;IACzF,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,iBAAiB;IAM/D,MAAM,CAAC,0BAA0B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iBAAiB,GAAE,iBAAiB;IAItG,MAAM,CAAC,sCAAsC,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,iBAAiB,GAAE,iBAAiB;IAKlH,KAAK,CAAC,KAAK,EAAE,MAAM,GAAE,MAAM,GAAC,IAAI;IAKhC,WAAW,IAAG,MAAM;IAKpB,UAAU,IAAG,WAAW,GAAC,IAAI;IAK7B,MAAM,IAAG,MAAM,GAAC,IAAI;IACpB,MAAM,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMpE,MAAM,CAAC,sBAAsB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAIzD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM;IAI3E,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,MAAM,EAAE,GAAC,WAAW,GAAE,WAAW,CA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