From 456dbb7b6b6ccbcce0603bbae2fd7b1664b68975 Mon Sep 17 00:00:00 2001
From: Mick van Dijke <12992260+mickvandijke@users.noreply.github.com>
Date: Thu, 15 Oct 2026 11:26:35 +0200
Subject: [PATCH 01/24] feat: stream large files with current ant-client core
---
README.md | 83 +-
...rge-file-downloads-and-writable-streams.md | 91 ++
examples/all-in-one/index.html | 2 +
examples/all-in-one/main.ts | 44 +
public/autonomi-stream-sw.js | 2 +-
src/capabilities.ts | 6 +-
src/client.ts | 18 +-
src/file-reader.ts | 57 +-
src/index.ts | 2 +
src/internal/runtime.ts | 10 +-
src/limits.ts | 9 +-
src/types.ts | 22 +
src/wasm/THIRD-PARTY-NOTICES.txt | 1007 +++--------------
src/wasm/ant_core.d.ts | 122 +-
src/wasm/ant_core.js | 199 +++-
src/wasm/ant_core_bg.wasm | Bin 5762495 -> 5849092 bytes
src/wasm/ant_core_bg.wasm.d.ts | 58 +-
src/wasm/source.json | 8 +-
test/capabilities.test.ts | 3 +
test/client.test.ts | 52 +-
test/file-reader.test.ts | 91 +-
test/limits.test.ts | 15 +-
test/media.test.ts | 6 +-
test/public-api.test.ts | 8 +
test/wasm.test.ts | 22 +-
25 files changed, 970 insertions(+), 967 deletions(-)
create mode 100644 docs/adr/ADR-0008-large-file-downloads-and-writable-streams.md
diff --git a/README.md b/README.md
index dcd8fca..22570ea 100644
--- a/README.md
+++ b/README.md
@@ -586,8 +586,23 @@ admission when eight-response windows show sustained GET CPU load above half the
event loop and repeated processing or scheduling stalls above 50 ms. Isolated
slow responses and background timer clamping do not trigger that reduction. These
bounds include speculative GETs and can keep actual concurrency below your ceiling.
-Complete downloads are memory-bound. Use a random-access reader for large media
-or range-oriented formats.
+Downloads and media reads no longer have a fixed 1 GB cap; byte positions are
+safe JavaScript integers, including positions beyond 4 GiB. Complete downloads
+remain memory-bound. Pass `maxMemoryBytes` to reject a file larger than your
+output-buffer budget before content transfer:
+
+```ts
+const result = await client.download(address, {
+ maxMemoryBytes: 256 * 1024 * 1024,
+ signal: controller.signal,
+});
+```
+
+This budget covers the returned Uint8Array only. The Blob snapshot, resolved
+DataMap, caches and transport buffers need additional memory. Allocation can
+still fail below the budget. Cancellation stops the core download as well as the
+SDK caller; admitted transport responses may still drain to preserve the session.
+Concurrent reads on one client share in-flight fetches of the same chunk.
For each record, the Rust client can try known or newly discovered candidates
while discovery continues, accepting only verified content. Early misses do not
@@ -630,6 +645,49 @@ await client.downloadAndSave(address, { fileHandle });
await saveDownload(download, { fileHandle });
```
+### Stream directly to disk
+
+`downloadAndSave()` retains its buffered bytes/Blob result. For large files, open
+a reader and use `pipeTo()` with a browser `WritableStream`, including a
+`FileSystemWritableFileStream`. Obtain a destination from a user action before
+awaiting network work; feature-detect `showSaveFilePicker` in your application:
+
+```ts
+// Inside a click handler in a browser supporting the File System Access API:
+const handle = await window.showSaveFilePicker({ suggestedName: "archive.bin" });
+const reader = await client.openFile(address, { signal: controller.signal });
+try {
+ const writable = await handle.createWritable();
+ if (controller.signal.aborted) {
+ await writable.abort(controller.signal.reason);
+ throw controller.signal.reason;
+ }
+ // pipeTo owns the destination once called; it closes or aborts it.
+ const result = await reader.pipeTo(writable, {
+ signal: controller.signal,
+ onProgress: (bytesWritten, totalBytes) => console.log(bytesWritten, totalBytes),
+ });
+ console.log(result.bytesWritten, result.hash);
+} finally {
+ reader.close();
+}
+```
+
+Options are passed as the second argument to `pipeTo`. Optional `start` and
+`end` select a half-open range; the returned BLAKE3 covers exactly those bytes.
+The core fetches concurrently and writes in order, awaiting each write and holding
+up to 32 MiB of pipeline plaintext, with at most 4 MiB per write. The resident
+DataMap/index, shared cache and transport reservations are additional memory.
+The destination's own buffering and disk quota also apply.
+
+The destination closes on success and aborts on transfer failure; its writer lock
+is released in both cases. Invalid arguments leave it untouched. An already
+aborted signal rejects before acquiring the destination, so the caller must
+abort a writable it has just created in that case. Cancellation during the final
+close can reject after the destination has committed. Closing the reader cancels
+active pipes; otherwise it remains reusable after a completed or failed pipe.
+The [all-in-one example](examples/all-in-one) includes a disk-download cancel button.
+
## Manifests and `ant://` links
A manifest (ant-client ADR-0006) describes a set of files the way a `.torrent`
@@ -767,7 +825,9 @@ const source = await client.createMediaSource(address, {
A site can have only one controlling service worker per scope. Media sources
refuse to replace a different worker already registered for their exact scope.
They also require a secure context (HTTPS or localhost), and the packaged bridge
-accepts files up to 1,000,000,000 bytes (1 GB).
+accepts sizes and offsets through `Number.MAX_SAFE_INTEGER`. Deploy the updated
+service worker with the SDK to remove the previous 1 GB media limit. Browser
+media support, storage and resident DataMap memory remain practical constraints.
## Public metadata names
@@ -897,23 +957,24 @@ console.log(SDK_LIMITS.maxFileBytes, SDK_LIMITS.maxRangeBytes);
| Limit | Value |
| --- | --- |
-| `minFileBytes` / `maxFileBytes` | 3 / 1,000,000,000 bytes |
+| `minFileBytes` / `maxUploadBytes` | 3 / 1,000,000,000 bytes for uploads |
+| `maxFileBytes` | Alias of the upload limit, retained for compatibility |
| `maxRangeBytes` | 4 MiB per read or stream chunk |
| `defaultStreamChunkBytes` | 1 MiB |
| `downloadConcurrency.min` / `.max` / `.default` | 1 / 256 / `"auto"` |
-| `mediaMaxFileBytes` | 1,000,000,000 bytes |
+| `mediaMaxFileBytes` | `Number.MAX_SAFE_INTEGER` (9,007,199,254,740,991) |
The limits and capability reports are immutable. Unsupported input sizes are
-rejected before copying byte arrays, staging Blobs, or opening files from supplied
-metadata. Address-only reads learn the size from the core; media setup checks it
-before registering a worker or creating a URL. These are protocol ceilings;
-whole-file transfers still need sufficient memory, and staging needs quota for at
-least one encrypted record.
+rejected before copying upload byte arrays or staging Blobs. Reads learn the
+verified size from the core; media setup checks it before registering a worker
+or creating a URL. Uploads retain the upstream 1 GB cap. Buffered downloads need
+sufficient memory; disk streams need destination capacity, and upload staging
+needs quota for at least one encrypted record.
`getBrowserCapabilities()` safely runs outside a browser and makes no network
requests, allocations of workers, or permission prompts. `features` reports each
API's presence. `operations` reports requirements for `connect`, `uploadBytes`,
-`uploadBlob`, `download`, `read`, `stream`, `media`, `saveWithPicker`, and
+`uploadBlob`, `download`, `read`, `stream`, `pipeTo`, `media`, `saveWithPicker`, and
`saveWithDownload`, including missing features for each. Call it again to get a
fresh snapshot.
diff --git a/docs/adr/ADR-0008-large-file-downloads-and-writable-streams.md b/docs/adr/ADR-0008-large-file-downloads-and-writable-streams.md
new file mode 100644
index 0000000..c8b35fd
--- /dev/null
+++ b/docs/adr/ADR-0008-large-file-downloads-and-writable-streams.md
@@ -0,0 +1,91 @@
+# ADR-0008: Large-file downloads and writable streams
+
+- **Status:** Proposed
+- **Date:** 2026-10-15
+- **Decision owners:** Engineering team
+- **Reviewers:** Pending human engineering review
+- **Supersedes:** none
+- **Superseded by:** none
+- **Related:** ADR-0003; ADR-0007; ant-client ADR-0004 large-file download destinations
+
+## Context
+
+ant-client main supports 64-bit file positions, bounded plaintext decryption,
+direct writable destinations, cancellable downloads and shared in-flight GETs.
+The SDK still caps media at 1 GB and does not expose the new download options
+or writable pipeline. Its existing download result includes both bytes and a
+Blob, so changing that method to return only disk metadata would break callers.
+
+## Decision Drivers
+
+- Support files beyond 1 GB and seeks beyond 4 GiB without whole-file buffering.
+- Preserve Rust ownership of integrity, scheduling, decryption and read policy.
+- Preserve existing download results, upload/payment behavior and error codes.
+- Make cancellation, destination ownership and memory limits explicit.
+
+## Considered Options
+
+1. Remove only the media limit. This leaves disk downloads using file-sized buffers.
+2. Change downloadAndSave to return disk-only results. This breaks its byte/Blob API.
+3. Expose the core's pipeTo on the existing reader and retain buffered methods.
+
+## Decision
+
+Choose option 3. `PublicFileReader.pipeTo(writable, options)` accepts public,
+private and manifest-backed readers, an optional half-open byte range,
+AbortSignal and byte-progress callback. It returns the bytes written and their
+BLAKE3 hash. The core fetches concurrently, writes in order with backpressure,
+and holds up to 32 MiB of pipeline plaintext; the resident map/index, shared
+chunk cache and transport reservations are additional memory. Each write is
+at most 4 MiB. Concurrent reads share in-flight GETs through the core.
+
+The core closes the destination on success, aborts on transfer failure, and
+releases the writer lock. Invalid calls leave the destination untouched.
+Cancellation during destination close can reject after the data is committed.
+Closing a reader cancels its active pipes. The SDK defers freeing the WASM
+reader until raw calls settle, including cancelled range calls.
+
+`download({ maxMemoryBytes, signal })` forwards both options to Rust. The budget
+limits the output Uint8Array, not total process memory; the Blob snapshot and
+core resources remain additional allocations. downloadAndSave keeps its existing
+buffered return value. Applications use pipeTo for large disk downloads; the
+all-in-one example demonstrates this with an explicit picker and cancel button.
+
+Media and service-worker positions accept safe JavaScript integers through
+Number.MAX_SAFE_INTEGER. Uploads remain limited by upstream to 1,000,000,000
+bytes. SDK_LIMITS.maxFileBytes retains that upload limit for compatibility;
+maxUploadBytes names it explicitly. No network, DataMap or payment format changes.
+
+## Consequences
+
+### Positive
+
+- Large files can be saved and played with bounded content buffering.
+- Existing buffered consumers remain compatible.
+- Verified fetching and backpressure use one shared core implementation.
+
+### Negative / Trade-offs
+
+- The destination must be a WritableStream; browser file-picker support varies.
+- The resolved map/index still grows with chunk count. Large JS allocations,
+ destination quota and browser limits can fail below the safe-integer ceiling.
+- Buffered downloads still need memory proportional to file size.
+
+### Neutral / Operational
+
+- Regenerate bindings, binary, provenance and notices together from clean main.
+- Deploy the updated media service worker alongside the SDK.
+- No new npm dependency. Rust dependency changes are recorded in generated notices.
+
+## Validation
+
+Run SDK checks, production-WASM tests, example builds, package/provenance checks
+and governance. Verify real Chromium against isolated compatible WebRTC nodes:
+public/private uploads, manifest reads, disk output, cancellation, media ranges,
+and a native-produced file larger than 4 GiB with matching size and BLAKE3.
+Record exact revisions and limitations in a dated audit. A compressible large
+fixture validates correctness, not representative network throughput.
+
+## Notes for AI-assisted work
+
+This ADR remains Proposed pending human review. Accepted ADRs are immutable.
diff --git a/examples/all-in-one/index.html b/examples/all-in-one/index.html
index 318633c..49d485e 100644
--- a/examples/all-in-one/index.html
+++ b/examples/all-in-one/index.html
@@ -65,6 +65,8 @@
3. Read
+
+
diff --git a/examples/all-in-one/main.ts b/examples/all-in-one/main.ts
index 587bb54..cfc8ad4 100644
--- a/examples/all-in-one/main.ts
+++ b/examples/all-in-one/main.ts
@@ -18,6 +18,8 @@ const connectButton = element("connect");
const uploadButton = element("upload");
const saveDataMapButton = element("save-datamap");
const downloadButton = element("download");
+const diskDownloadButton = element("download-to-disk");
+const cancelDownloadButton = element("cancel-download");
const streamButton = element("stream");
const media = element("media");
@@ -25,10 +27,16 @@ let client: AutonomiClient | undefined;
let mediaSource: MediaSource | undefined;
// A private file is read through its DataMap; the page keeps it only in memory.
let privateFile: PrivateFileReference | undefined;
+let diskDownload: AbortController | undefined;
+const pickerWindow = window as Window & {
+ showSaveFilePicker?: (options?: { suggestedName?: string }) => Promise;
+};
+if (!pickerWindow.showSaveFilePicker) diskDownloadButton.title = "Direct disk downloads require the File System Access API";
connectButton.addEventListener("click", async () => {
setBusy(connectButton, true);
try {
+ diskDownload?.abort();
client?.close();
const options: ClientOptions = {
onProgress: ({ operation, message }) => write(`[${operation}] ${message}`),
@@ -38,6 +46,7 @@ connectButton.addEventListener("click", async () => {
connection.value = `Connected to ${client.connection.bootstrap.peerId.slice(0, 16)}…`;
uploadButton.disabled = false;
downloadButton.disabled = false;
+ diskDownloadButton.disabled = !pickerWindow.showSaveFilePicker;
streamButton.disabled = false;
} catch (error) {
connection.value = "Connection failed";
@@ -106,6 +115,41 @@ function readTarget(): string | PrivateFileReference {
return privateFile ?? address.value.trim();
}
+diskDownloadButton.addEventListener("click", async () => {
+ if (!client || !pickerWindow.showSaveFilePicker) return;
+ const downloadingClient = client;
+ const target = readTarget();
+ const controller = new AbortController();
+ diskDownload = controller;
+ diskDownloadButton.disabled = true;
+ cancelDownloadButton.disabled = false;
+ let reader;
+ try {
+ // Open the picker during the click's activation, before any network await.
+ const handle = await pickerWindow.showSaveFilePicker({ suggestedName: privateFile?.name ?? "autonomi-file" });
+ reader = await downloadingClient.openFile(target, { signal: controller.signal });
+ const writable = await handle.createWritable();
+ if (controller.signal.aborted) {
+ await writable.abort(controller.signal.reason);
+ throw controller.signal.reason;
+ }
+ const result = await reader.pipeTo(writable, {
+ signal: controller.signal,
+ onProgress: (written, total) => write(`Saved ${written}/${total} bytes`),
+ });
+ write(`Verified and saved ${result.bytesWritten} bytes to ${handle.name}; BLAKE3 ${result.hash}`);
+ } catch (error) {
+ writeError(error);
+ } finally {
+ reader?.close();
+ diskDownload = undefined;
+ diskDownloadButton.disabled = !client || !pickerWindow.showSaveFilePicker;
+ cancelDownloadButton.disabled = true;
+ }
+});
+cancelDownloadButton.addEventListener("click", () => diskDownload?.abort());
+window.addEventListener("beforeunload", () => diskDownload?.abort());
+
downloadButton.addEventListener("click", async () => {
if (!client) return;
setBusy(downloadButton, true);
diff --git a/public/autonomi-stream-sw.js b/public/autonomi-stream-sw.js
index fc42526..fd0f3d1 100644
--- a/public/autonomi-stream-sw.js
+++ b/public/autonomi-stream-sw.js
@@ -2,7 +2,7 @@ const STREAM_MARKER = "/__autonomi_stream/";
// Keep standalone-worker limits aligned with SDK_LIMITS; test/limits.test.ts checks them.
const STREAM_BLOCK_BYTES = 1024 * 1024;
const RANGE_REQUEST_TIMEOUT_MS = 45_000;
-const MAX_STREAM_FILE_BYTES = 1_000_000_000;
+const MAX_STREAM_FILE_BYTES = Number.MAX_SAFE_INTEGER;
self.addEventListener("install", () => self.skipWaiting());
self.addEventListener("activate", (event) => event.waitUntil(self.clients.claim()));
diff --git a/src/capabilities.ts b/src/capabilities.ts
index 7ffed76..407c221 100644
--- a/src/capabilities.ts
+++ b/src/capabilities.ts
@@ -1,11 +1,11 @@
export type BrowserFeature =
| "window" | "secureContext" | "webAssembly" | "webRtc" | "crypto"
- | "worker" | "indexedDb" | "readableStream" | "blob" | "serviceWorker"
+ | "worker" | "indexedDb" | "readableStream" | "writableStream" | "blob" | "serviceWorker"
| "messageChannel" | "filePicker" | "document" | "objectUrls";
export type BrowserOperation =
| "connect" | "uploadBytes" | "uploadBlob" | "download" | "read" | "stream"
- | "media" | "saveWithPicker" | "saveWithDownload";
+ | "pipeTo" | "media" | "saveWithPicker" | "saveWithDownload";
export interface CapabilitySupport {
/** Required APIs are present. Permissions, quota, CSP, codecs, and network reachability are not probed. */
@@ -29,6 +29,7 @@ export function getBrowserCapabilities(): BrowserCapabilities {
worker: () => typeof Worker === "function",
indexedDb: () => typeof indexedDB === "object" && indexedDB !== null && typeof indexedDB.open === "function",
readableStream: () => typeof ReadableStream === "function",
+ writableStream: () => typeof WritableStream === "function",
blob: () => typeof Blob === "function",
serviceWorker: () => typeof navigator === "object" && navigator !== null && !!navigator.serviceWorker,
messageChannel: () => typeof MessageChannel === "function",
@@ -55,6 +56,7 @@ export function getBrowserCapabilities(): BrowserCapabilities {
download: support(...connection, "blob"),
read: support(...connection),
stream: support(...connection, "readableStream"),
+ pipeTo: support(...connection, "writableStream"),
media: support(...connection, "secureContext", "serviceWorker", "messageChannel", "readableStream"),
saveWithPicker: support("window", "secureContext", "filePicker"),
saveWithDownload: support("document", "objectUrls"),
diff --git a/src/client.ts b/src/client.ts
index 5313ee3..826727b 100644
--- a/src/client.ts
+++ b/src/client.ts
@@ -595,16 +595,26 @@ export class AutonomiClient {
}
throwIfAborted(operation.signal);
const cap = concurrency === "auto" ? undefined : concurrency;
+ if (options.maxMemoryBytes !== undefined && (!Number.isSafeInteger(options.maxMemoryBytes) || options.maxMemoryBytes < 0)) {
+ throw new AutonomiError("DOWNLOAD_FAILED", "maxMemoryBytes must be a non-negative safe integer");
+ }
+ const downloadOptions = {
+ ...(options.maxMemoryBytes === undefined ? {} : { maxMemoryBytes: options.maxMemoryBytes }),
+ signal: operation.signal,
+ };
const raw = (await abortable(
isPrivateFile(file)
- ? this.#network.downloadPrivateFile(corePrivateFile(file), cap, report)
- : this.#network.downloadPublicFile(typeof file === "string" ? file : coreFileReference(file), cap, report),
+ ? this.#network.downloadPrivateFile(corePrivateFile(file), cap, report, downloadOptions)
+ : this.#network.downloadPublicFile(typeof file === "string" ? file : coreFileReference(file), cap, report, downloadOptions),
operation.signal,
)) as RawDownloadResult;
throwIfAborted(operation.signal);
report(`Downloaded ${raw.file.name}`, { phase: "complete", completed: raw.content.byteLength, total: raw.content.byteLength, unit: "bytes" });
- const blobBytes = new Uint8Array(raw.content.byteLength);
- blobBytes.set(raw.content);
+ // The core returns a JS-owned buffer. Blob takes its own snapshot; avoid
+ // another file-sized intermediate copy. Copy only shared-buffer inputs.
+ const blobBytes = raw.content.buffer instanceof ArrayBuffer
+ ? new Uint8Array(raw.content.buffer, raw.content.byteOffset, raw.content.byteLength)
+ : new Uint8Array(raw.content);
const downloaded = {
bytes: raw.content,
blob: new Blob([blobBytes], {
diff --git a/src/file-reader.ts b/src/file-reader.ts
index 6a8acf2..b6d5065 100644
--- a/src/file-reader.ts
+++ b/src/file-reader.ts
@@ -1,7 +1,7 @@
import { AutonomiError, wrapError } from "./errors.js";
import { abortable, abortReason, isAbort, throwIfAborted } from "./internal/abort.js";
import type { RawFileReader } from "./internal/runtime.js";
-import type { ReadOptions, StreamOptions } from "./types.js";
+import type { PipeOptions, PipeResult, ReadOptions, StreamOptions } from "./types.js";
import { SDK_LIMITS } from "./limits.js";
/** @internal Only the SDK may wrap a WASM reader. Not exported by the package. */
@@ -17,6 +17,9 @@ export class PublicFileReader {
#raw: RawFileReader;
#closed = false;
+ #active = 0;
+ #freed = false;
+ #pipes = new Set();
private constructor(raw: RawFileReader, address: string) {
this.#raw = raw;
@@ -52,13 +55,38 @@ export class PublicFileReader {
);
}
try {
- return await abortable(this.#raw.readRange(start, length), options.signal);
+ return await abortable(this.#call(() => this.#raw.readRange(start, length)), options.signal);
} catch (error) {
if (isAbort(error, options.signal)) throw error;
throw wrapError("OPEN_FILE_FAILED", "Could not read the public file range", error);
}
}
+ /**
+ * Write a verified range with the core's bounded, concurrent download pipeline.
+ * Closes the destination on success and aborts it on transfer failure. Invalid
+ * options leave it untouched. Cancellation during close may happen after the
+ * destination has committed. The reader remains reusable until close().
+ */
+ async pipeTo(destination: WritableStream, options: PipeOptions = {}): Promise {
+ this.#assertOpen();
+ const signal = options.signal;
+ throwIfAborted(signal);
+ const controller = new AbortController();
+ const abort = (): void => controller.abort(abortReason(signal!));
+ signal?.addEventListener("abort", abort, { once: true });
+ this.#pipes.add(controller);
+ try {
+ return await this.#call(() => this.#raw.pipeTo(destination, { ...options, signal: controller.signal }));
+ } catch (error) {
+ if (isAbort(error, controller.signal)) throw error;
+ throw wrapError("OPEN_FILE_FAILED", "Could not stream the file to its destination", error);
+ } finally {
+ signal?.removeEventListener("abort", abort);
+ this.#pipes.delete(controller);
+ }
+ }
+
/** Stream a sequential plaintext range while keeping memory use bounded. */
stream(options: StreamOptions = {}): ReadableStream {
this.#assertOpen();
@@ -93,6 +121,7 @@ export class PublicFileReader {
if (!options.signal) return;
const abort = (): void => {
aborted = true;
+ removeAbortListener();
controller.error(abortReason(options.signal!));
};
options.signal.addEventListener("abort", abort, { once: true });
@@ -129,7 +158,7 @@ export class PublicFileReader {
if (!aborted) controller.error(error);
}
},
- cancel: () => removeAbortListener(),
+ cancel: () => { aborted = true; removeAbortListener(); },
});
}
@@ -137,9 +166,31 @@ export class PublicFileReader {
close(): void {
if (this.#closed) return;
this.#closed = true;
+ for (const pipe of this.#pipes) {
+ pipe.abort(new DOMException("The file reader was closed", "AbortError"));
+ }
try {
this.#raw.close();
} finally {
+ this.#freeWhenIdle();
+ }
+ }
+
+ // A cancelled range can still be settling in WASM. Never free a reader while
+ // a raw method holds it, including when close() interrupts a pending pipe.
+ async #call(run: () => Promise): Promise {
+ this.#active++;
+ try {
+ return await run();
+ } finally {
+ this.#active--;
+ this.#freeWhenIdle();
+ }
+ }
+
+ #freeWhenIdle(): void {
+ if (this.#closed && this.#active === 0 && !this.#freed) {
+ this.#freed = true;
this.#raw.free();
}
}
diff --git a/src/index.ts b/src/index.ts
index 45d31ab..300de0d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -51,6 +51,8 @@ export type {
PaymentSubmission,
PaymentSubmissionInfo,
PendingPayment,
+ PipeOptions,
+ PipeResult,
PrivateDownloadResult,
PrivateFile,
PrivateFileReference,
diff --git a/src/internal/runtime.ts b/src/internal/runtime.ts
index b6612f8..538d6e5 100644
--- a/src/internal/runtime.ts
+++ b/src/internal/runtime.ts
@@ -8,13 +8,14 @@ import initAntCore, {
parseManifestLink,
} from "../wasm/ant_core.js";
import { AutonomiError } from "../errors.js";
-import type { WasmSource } from "../types.js";
+import type { PipeOptions, PipeResult, WasmSource } from "../types.js";
export interface RawFileReader {
readonly size: number;
readonly contentType: string;
readonly name: string;
readRange(start: number, length: number): Promise;
+ pipeTo(destination: WritableStream, options?: PipeOptions): Promise;
close(): void;
free(): void;
}
@@ -25,6 +26,11 @@ export interface RawFileReaderOptions {
streaming?: boolean;
}
+export interface RawDownloadOptions {
+ maxMemoryBytes?: number;
+ signal?: AbortSignal;
+}
+
export interface RawNetworkClient {
connect(expectedPayment?: unknown): Promise;
reconcileFailedUploadPayment(
@@ -37,6 +43,7 @@ export interface RawNetworkClient {
file: unknown,
concurrency: number | undefined,
onProgress?: (message: string) => void,
+ options?: RawDownloadOptions,
): Promise;
openPublicFile(
file: unknown,
@@ -47,6 +54,7 @@ export interface RawNetworkClient {
file: unknown,
concurrency: number | undefined,
onProgress?: (message: string) => void,
+ options?: RawDownloadOptions,
): Promise;
openPrivateFile(
file: unknown,
diff --git a/src/limits.ts b/src/limits.ts
index 137da25..1f412d6 100644
--- a/src/limits.ts
+++ b/src/limits.ts
@@ -1,15 +1,18 @@
import { AutonomiError } from "./errors.js";
-const MAX_FILE_BYTES = 1_000_000_000;
+const MAX_UPLOAD_BYTES = 1_000_000_000;
/** Limits of the bundled core and media worker. Browser memory/storage may impose lower limits. */
export const SDK_LIMITS = Object.freeze({
minFileBytes: 3,
- maxFileBytes: MAX_FILE_BYTES,
+ /** Upload limit, retained for compatibility. Downloads have no fixed size cap. */
+ maxFileBytes: MAX_UPLOAD_BYTES,
+ maxUploadBytes: MAX_UPLOAD_BYTES,
maxRangeBytes: 4 * 1024 * 1024,
defaultStreamChunkBytes: 1024 * 1024,
downloadConcurrency: Object.freeze({ min: 1, max: 256, default: "auto" as const }),
- mediaMaxFileBytes: MAX_FILE_BYTES,
+ /** Largest exact byte position supported by JavaScript and the core. */
+ mediaMaxFileBytes: Number.MAX_SAFE_INTEGER,
/** Bytes read from the start of a media file when a media source is created. */
mediaPrimeHeadBytes: 1024 * 1024,
/** Bytes read from the end of a media file when a media source is created. */
diff --git a/src/types.ts b/src/types.ts
index 56af469..636a7d3 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -349,6 +349,12 @@ export interface UploadResult {
export interface DownloadOptions extends OperationOptions {
/** Adaptive by default. An integer from 1 through 256 caps logical record fetches. */
concurrency?: number | "auto";
+ /**
+ * Maximum bytes in the core's output Uint8Array; checked before content transfer.
+ * This is not a total memory budget: the result's Blob and core caches also use
+ * memory. Use openFile() and reader.pipeTo() for bounded disk streaming.
+ */
+ maxMemoryBytes?: number;
}
export interface DownloadResult {
@@ -407,6 +413,22 @@ export interface StreamOptions extends ReadOptions {
chunkSize?: number;
}
+/** Options for writing a verified file range directly to a WritableStream. */
+export interface PipeOptions extends ReadOptions {
+ /** First byte to write, default 0. */
+ start?: number;
+ /** Exclusive end, default the file size. */
+ end?: number;
+ /** Called after each successful write, relative to the selected range. Throwing aborts the transfer. */
+ onProgress?: (bytesWritten: number, totalBytes: number) => void;
+}
+
+export interface PipeResult {
+ bytesWritten: number;
+ /** BLAKE3 of the bytes written; for a partial range, this is not the whole-file hash. */
+ hash: string;
+}
+
export interface MediaOptions extends OperationOptions {
/**
* Must be served from the same origin. Defaults to /autonomi-stream-sw.js.
diff --git a/src/wasm/THIRD-PARTY-NOTICES.txt b/src/wasm/THIRD-PARTY-NOTICES.txt
index 14ff13b..60c372f 100644
--- a/src/wasm/THIRD-PARTY-NOTICES.txt
+++ b/src/wasm/THIRD-PARTY-NOTICES.txt
@@ -233,10 +233,10 @@ ant-merkle 1.5.1
Redistributed under: MIT
Source: https://static.crates.io/crates/ant-merkle/ant-merkle-1.5.1.crate
Texts: [12]
-ant-protocol 3.1.0
+ant-protocol 4.0.0
Licence: MIT OR Apache-2.0
Redistributed under: MIT
- Source: https://static.crates.io/crates/ant-protocol/ant-protocol-3.1.0.crate
+ Source: https://github.com/WithAutonomi/ant-protocol at commit 718f60682bb3704b68fbba0bea34f2a0416fa876
Texts: [13], [14]
anyhow 1.0.102
Licence: MIT OR Apache-2.0
@@ -1019,10 +1019,10 @@ safe_arch 0.7.4
Redistributed under: Apache-2.0
Source: https://static.crates.io/crates/safe_arch/safe_arch-0.7.4.crate
Texts: [32], [139], [140]
-saorsa-core 0.28.0
+saorsa-core 0.29.0
Licence: MIT OR Apache-2.0
Redistributed under: MIT
- Source: https://static.crates.io/crates/saorsa-core/saorsa-core-0.28.0.crate
+ Source: https://static.crates.io/crates/saorsa-core/saorsa-core-0.29.0.crate
Texts: [73], [74]
saorsa-pqc 0.5.2
Licence: MIT OR Apache-2.0
@@ -1034,20 +1034,26 @@ saorsa-transport 0.37.0
Redistributed under: MIT
Source: https://static.crates.io/crates/saorsa-transport/saorsa-transport-0.37.0.crate
Texts: [142], [143]
+saorsa-transport 0.38.0
+ Licence: MIT OR Apache-2.0
+ Redistributed under: MIT
+ Source: https://static.crates.io/crates/saorsa-transport/saorsa-transport-0.38.0.crate
+ Texts: [142], [143], [144], [145]
scopeguard 1.2.0
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/scopeguard/scopeguard-1.2.0.crate
- Texts: [16], [144]
+ Texts: [16], [146]
sec1 0.7.3
Licence: Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/sec1/sec1-0.7.3.crate
- Texts: [3], [145]
-self_encryption 0.36.0
- Licence: GPL-3.0
- Source: https://static.crates.io/crates/self_encryption/self_encryption-0.36.0.crate
- Texts: [146]
+ Texts: [3], [147]
+self_encryption 0.36.2
+ Licence: MIT OR Apache-2.0
+ Redistributed under: MIT
+ Source: https://static.crates.io/crates/self_encryption/self_encryption-0.36.2.crate
+ Texts: [73], [74]
semver 1.0.28
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1061,7 +1067,7 @@ serde 1.0.228
serde-wasm-bindgen 0.6.5
Licence: MIT
Source: https://static.crates.io/crates/serde-wasm-bindgen/serde-wasm-bindgen-0.6.5.crate
- Texts: [147]
+ Texts: [148]
serde_bytes 0.11.19
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1086,7 +1092,7 @@ serde_spanned 0.6.9
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/serde_spanned/serde_spanned-0.6.9.crate
- Texts: [42], [148]
+ Texts: [42], [149]
serde_test 1.0.177
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1106,62 +1112,62 @@ sha2 0.10.9
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/sha2/sha2-0.10.9.crate
- Texts: [3], [149]
+ Texts: [3], [150]
sha3 0.10.9
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/sha3/sha3-0.10.9.crate
- Texts: [3], [150]
+ Texts: [3], [151]
sha3 0.11.0
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/sha3/sha3-0.11.0.crate
- Texts: [3], [151]
+ Texts: [3], [152]
shlex 2.0.1
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/shlex/shlex-2.0.1.crate
- Texts: [152], [153]
+ Texts: [153], [154]
signature 2.2.0
Licence: Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/signature/signature-2.2.0.crate
- Texts: [3], [154]
+ Texts: [3], [155]
slab 0.4.12
Licence: MIT
Source: https://static.crates.io/crates/slab/slab-0.4.12.crate
- Texts: [155]
+ Texts: [156]
smallvec 1.15.1
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/smallvec/smallvec-1.15.1.crate
- Texts: [16], [156]
+ Texts: [16], [157]
spki 0.7.3
Licence: Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/spki/spki-0.7.3.crate
- Texts: [3], [157]
+ Texts: [3], [158]
stable_deref_trait 1.2.1
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/stable_deref_trait/stable_deref_trait-1.2.1.crate
- Texts: [16], [158]
+ Texts: [16], [159]
strsim 0.11.1
Licence: MIT
Source: https://static.crates.io/crates/strsim/strsim-0.11.1.crate
- Texts: [159]
+ Texts: [160]
strum 0.27.2
Licence: MIT
Source: https://static.crates.io/crates/strum/strum-0.27.2.crate
- Texts: [160]
+ Texts: [161]
strum_macros 0.27.2
Licence: MIT
Source: https://static.crates.io/crates/strum_macros/strum_macros-0.27.2.crate
- Texts: [160]
+ Texts: [161]
subtle 2.6.1
Licence: BSD-3-Clause
Source: https://static.crates.io/crates/subtle/subtle-2.6.1.crate
- Texts: [161]
+ Texts: [162]
syn 2.0.117
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1179,16 +1185,16 @@ sync_wrapper 1.0.2
synstructure 0.13.2
Licence: MIT
Source: https://static.crates.io/crates/synstructure/synstructure-0.13.2.crate
- Texts: [162]
+ Texts: [163]
tap 1.0.1
Licence: MIT
Source: https://static.crates.io/crates/tap/tap-1.0.1.crate
- Texts: [163]
+ Texts: [164]
tempfile 3.27.0
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/tempfile/tempfile-3.27.0.crate
- Texts: [16], [164]
+ Texts: [16], [165]
thiserror 1.0.69
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1213,12 +1219,12 @@ time 0.3.47
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/time/time-0.3.47.crate
- Texts: [110], [165]
+ Texts: [110], [166]
time-core 0.1.8
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/time-core/time-core-0.1.8.crate
- Texts: [110], [165]
+ Texts: [110], [166]
tiny-keccak 2.0.2
Licence: CC0-1.0
Source: https://static.crates.io/crates/tiny-keccak/tiny-keccak-2.0.2.crate
@@ -1231,102 +1237,102 @@ tinyvec 1.11.0
Licence: Zlib OR Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/tinyvec/tinyvec-1.11.0.crate
- Texts: [141], [166], [34]
+ Texts: [141], [167], [34]
tinyvec_macros 0.1.1
Licence: MIT OR Apache-2.0 OR Zlib
Redistributed under: MIT
Source: https://static.crates.io/crates/tinyvec_macros/tinyvec_macros-0.1.1.crate
- Texts: [167], [168], [169]
+ Texts: [168], [169], [170]
tokio 1.52.3
Licence: MIT
Source: https://static.crates.io/crates/tokio/tokio-1.52.3.crate
- Texts: [170]
+ Texts: [171]
tokio-macros 2.7.0
Licence: MIT
Source: https://static.crates.io/crates/tokio-macros/tokio-macros-2.7.0.crate
- Texts: [171]
+ Texts: [172]
tokio-stream 0.1.18
Licence: MIT
Source: https://static.crates.io/crates/tokio-stream/tokio-stream-0.1.18.crate
- Texts: [170]
+ Texts: [171]
tokio-util 0.7.18
Licence: MIT
Source: https://static.crates.io/crates/tokio-util/tokio-util-0.7.18.crate
- Texts: [170]
+ Texts: [171]
toml 0.8.23
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/toml/toml-0.8.23.crate
- Texts: [42], [148]
+ Texts: [42], [149]
toml_datetime 0.6.11
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/toml_datetime/toml_datetime-0.6.11.crate
- Texts: [42], [148]
+ Texts: [42], [149]
toml_edit 0.22.27
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/toml_edit/toml_edit-0.22.27.crate
- Texts: [42], [148]
+ Texts: [42], [149]
toml_write 0.1.2
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/toml_write/toml_write-0.1.2.crate
- Texts: [42], [148]
+ Texts: [42], [149]
tower 0.5.3
Licence: MIT
Source: https://static.crates.io/crates/tower/tower-0.5.3.crate
- Texts: [172]
+ Texts: [173]
tower-layer 0.3.3
Licence: MIT
Source: https://static.crates.io/crates/tower-layer/tower-layer-0.3.3.crate
- Texts: [172]
+ Texts: [173]
tower-service 0.3.3
Licence: MIT
Source: https://static.crates.io/crates/tower-service/tower-service-0.3.3.crate
- Texts: [172]
+ Texts: [173]
tracing 0.1.44
Licence: MIT
Source: https://static.crates.io/crates/tracing/tracing-0.1.44.crate
- Texts: [173]
+ Texts: [174]
tracing-attributes 0.1.31
Licence: MIT
Source: https://static.crates.io/crates/tracing-attributes/tracing-attributes-0.1.31.crate
- Texts: [173]
+ Texts: [174]
tracing-core 0.1.36
Licence: MIT
Source: https://static.crates.io/crates/tracing-core/tracing-core-0.1.36.crate
- Texts: [173], [174]
+ Texts: [174], [175]
typenum 1.20.1
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/typenum/typenum-1.20.1.crate
- Texts: [175], [176], [177]
+ Texts: [176], [177], [178]
unicode-ident 1.0.24
Licence: (MIT OR Apache-2.0) AND Unicode-3.0
Redistributed under: Apache-2.0 AND Unicode-3.0
Source: https://static.crates.io/crates/unicode-ident/unicode-ident-1.0.24.crate
- Texts: [9], [10], [178]
+ Texts: [9], [10], [179]
unicode-normalization 0.1.25
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/unicode-normalization/unicode-normalization-0.1.25.crate
- Texts: [179], [16], [92]
+ Texts: [180], [16], [92]
unicode-segmentation 1.13.3
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/unicode-segmentation/unicode-segmentation-1.13.3.crate
- Texts: [179], [16], [92]
+ Texts: [180], [16], [92]
unicode-xid 0.2.6
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/unicode-xid/unicode-xid-0.2.6.crate
- Texts: [179], [16], [92]
+ Texts: [180], [16], [92]
universal-hash 0.5.1
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/universal-hash/universal-hash-0.5.1.crate
- Texts: [3], [180]
+ Texts: [3], [181]
url 2.5.8
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1336,12 +1342,12 @@ utf8_iter 1.0.4
Licence: Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/utf8_iter/utf8_iter-1.0.4.crate
- Texts: [181], [141], [182]
+ Texts: [182], [141], [183]
version_check 0.9.5
Licence: MIT/Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/version_check/version_check-0.9.5.crate
- Texts: [16], [183]
+ Texts: [16], [184]
wasm-bindgen 0.2.122
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1370,7 +1376,7 @@ wasm-bindgen-shared 0.2.122
wasmtimer 0.4.3
Licence: MIT
Source: https://static.crates.io/crates/wasmtimer/wasmtimer-0.4.3.crate
- Texts: [184]
+ Texts: [185]
web-sys 0.3.99
Licence: MIT OR Apache-2.0
Redistributed under: MIT
@@ -1380,7 +1386,7 @@ web-time 1.1.0
Licence: MIT OR Apache-2.0
Redistributed under: MIT
Source: https://static.crates.io/crates/web-time/web-time-1.1.0.crate
- Texts: [185], [186]
+ Texts: [186], [187]
wide 0.7.33
Licence: Zlib OR Apache-2.0 OR MIT
Redistributed under: Zlib
@@ -1389,11 +1395,11 @@ wide 0.7.33
winnow 0.7.15
Licence: MIT
Source: https://static.crates.io/crates/winnow/winnow-0.7.15.crate
- Texts: [187]
+ Texts: [188]
winnow 1.0.3
Licence: MIT
Source: https://static.crates.io/crates/winnow/winnow-1.0.3.crate
- Texts: [187]
+ Texts: [188]
writeable 0.6.3
Licence: Unicode-3.0
Source: https://static.crates.io/crates/writeable/writeable-0.6.3.crate
@@ -1401,12 +1407,12 @@ writeable 0.6.3
wyz 0.5.1
Licence: MIT
Source: https://static.crates.io/crates/wyz/wyz-0.5.1.crate
- Texts: [188]
+ Texts: [189]
xor_name 5.0.0
Licence: MIT OR BSD-3-Clause
Redistributed under: MIT
Source: https://static.crates.io/crates/xor_name/xor_name-5.0.0.crate
- Texts: [189], [190]
+ Texts: [190], [191]
yoke 0.8.3
Licence: Unicode-3.0
Source: https://static.crates.io/crates/yoke/yoke-0.8.3.crate
@@ -1419,7 +1425,7 @@ zerocopy 0.8.50
Licence: BSD-2-Clause OR Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/zerocopy/zerocopy-0.8.50.crate
- Texts: [191], [192], [193]
+ Texts: [192], [193], [194]
zerofrom 0.1.8
Licence: Unicode-3.0
Source: https://static.crates.io/crates/zerofrom/zerofrom-0.1.8.crate
@@ -1432,12 +1438,12 @@ zeroize 1.8.2
Licence: Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/zeroize/zeroize-1.8.2.crate
- Texts: [141], [194]
+ Texts: [141], [195]
zeroize_derive 1.4.3
Licence: Apache-2.0 OR MIT
Redistributed under: MIT
Source: https://static.crates.io/crates/zeroize_derive/zeroize_derive-1.4.3.crate
- Texts: [141], [195]
+ Texts: [141], [196]
zerotrie 0.2.4
Licence: Unicode-3.0
Source: https://static.crates.io/crates/zerotrie/zerotrie-0.2.4.crate
@@ -1463,7 +1469,6 @@ cc 1.2.63: a build tool; its one C file is compiled on the build machine to dete
rayon-core 1.13.0: declares a `links` key only to prevent two copies in one build; it builds no native code.
saorsa-pqc 0.5.2: declares MIT OR Apache-2.0 but its published crate and repository contain no licence text; it is redistributed under Apache-2.0, whose text is reproduced from apache.org.
saorsa-transport 0.37.0: the published crate also contains a .minimax/ folder of AI-assistant files (Python tools and .NET DLLs) committed to its repository by mistake; nothing in it is compiled into the WebAssembly module.
-self_encryption 0.36.0: GPL-3.0 with a linking exception, set out at the top of its LICENSE file, which is reproduced in full. The exception permits linking the unmodified library with independent modules into an executable distributed under other terms, provided each module's own licence terms are met; the library itself remains under GPL-3.0. Its exact source is the Source link above (crates.io keeps every published version), and the scripts that build it into this module are ant-client at the revision in source.json and this package's scripts/sync-wasm.mjs. Remove this entry when ant-core moves to a self_encryption release published under MIT OR Apache-2.0.
syn-solidity 1.6.0: a proc-macro dependency; src/ident/kw.c is a developer script that generated its keyword tables, and is not compiled.
wasm-bindgen-shared 0.2.122: declares a `links` key only to prevent two versions in one build; its build script records version information and builds no native code.
@@ -2463,7 +2468,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[13] Shipped by: ant-protocol 3.1.0 (LICENSE-APACHE)
+[13] Shipped by: ant-protocol 4.0.0 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Apache License
@@ -2658,7 +2663,7 @@ See the License for the specific language governing permissions and
limitations under the License.
--------------------------------------------------------------------------------
-[14] Shipped by: ant-protocol 3.1.0 (LICENSE-MIT)
+[14] Shipped by: ant-protocol 4.0.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
MIT License
@@ -6254,7 +6259,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[73] Shipped by: evmlib 0.10.0 (LICENSE-APACHE), saorsa-core 0.28.0 (LICENSE-APACHE)
+[73] Shipped by: evmlib 0.10.0 (LICENSE-APACHE), saorsa-core 0.29.0 (LICENSE-APACHE), self_encryption 0.36.2 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Apache License
@@ -6449,7 +6454,7 @@ See the License for the specific language governing permissions and
limitations under the License.
--------------------------------------------------------------------------------
-[74] Shipped by: evmlib 0.10.0 (LICENSE-MIT), saorsa-core 0.28.0 (LICENSE-MIT)
+[74] Shipped by: evmlib 0.10.0 (LICENSE-MIT), saorsa-core 0.29.0 (LICENSE-MIT), self_encryption 0.36.2 (LICENSE-MIT)
--------------------------------------------------------------------------------
MIT License
@@ -11281,7 +11286,7 @@ Permission is granted to anyone to use this software for any purpose, including
limitations under the License.
--------------------------------------------------------------------------------
-[142] Shipped by: saorsa-transport 0.37.0 (LICENSE-APACHE)
+[142] Shipped by: saorsa-transport 0.37.0 (LICENSE-APACHE), saorsa-transport 0.38.0 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Apache License
@@ -11487,7 +11492,7 @@ Permission is granted to anyone to use this software for any purpose, including
limitations under the License.
--------------------------------------------------------------------------------
-[143] Shipped by: saorsa-transport 0.37.0 (LICENSE-MIT)
+[143] Shipped by: saorsa-transport 0.37.0 (LICENSE-MIT), saorsa-transport 0.38.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2018 The quinn Developers
@@ -11499,7 +11504,67 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[144] Shipped by: scopeguard 1.2.0 (LICENSE-MIT)
+[144] Shipped by: saorsa-transport 0.38.0 (src/congestion/bbr2/COPYING)
+--------------------------------------------------------------------------------
+
+Copyright (C) 2018-2019, Cloudflare, Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------------------
+[145] Shipped by: saorsa-transport 0.38.0 (src/congestion/bbr2/LICENSE)
+--------------------------------------------------------------------------------
+
+// Copyright 2015 The Chromium Authors. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------------------
+[146] Shipped by: scopeguard 1.2.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2016-2019 Ulrik Sverdrup "bluss" and scopeguard developers
@@ -11529,7 +11594,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[145] Shipped by: sec1 0.7.3 (LICENSE-MIT)
+[147] Shipped by: sec1 0.7.3 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2021-2022 The RustCrypto Project Developers
@@ -11559,707 +11624,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[146] Shipped by: self_encryption 0.36.0 (LICENSE)
---------------------------------------------------------------------------------
-
- LINKING EXCEPTION
-
-self_encryption is distributed under the terms of the GNU General
-Public License (v3) with the following clarification and special
-exception. Linking this library statically or dynamically with other
-modules is making a combined work based on this library. Thus, the
-terms and conditions of the GNU General Public License cover the whole
-combination. As a special exception, the copyright holders of this
-library give you permission to link this library with independent
-modules to produce an executable, regardless of the license terms of
-these independent modules, and to copy and distribute the resulting
-executable under terms of your choice, provided that you also meet,
-for each linked independent module, the terms and conditions of the
-license of that module. An independent module is a module which is not
-derived from or based on this library. If you modify this library, you
-may extend this exception to your version of the library, but you are
-not obliged to do so. If you do not wish to do so, delete this
-exception statement from your version.
-
-----------------------------------------------------------------------
-
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
-
---------------------------------------------------------------------------------
-[147] Shipped by: serde-wasm-bindgen 0.6.5 (LICENSE)
+[148] Shipped by: serde-wasm-bindgen 0.6.5 (LICENSE)
--------------------------------------------------------------------------------
MIT License
@@ -12285,7 +11650,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[148] Shipped by: serde_spanned 0.6.9 (LICENSE-MIT), toml 0.8.23 (LICENSE-MIT), toml_datetime 0.6.11 (LICENSE-MIT), toml_edit 0.22.27 (LICENSE-MIT), toml_write 0.1.2 (LICENSE-MIT)
+[149] Shipped by: serde_spanned 0.6.9 (LICENSE-MIT), toml 0.8.23 (LICENSE-MIT), toml_datetime 0.6.11 (LICENSE-MIT), toml_edit 0.22.27 (LICENSE-MIT), toml_write 0.1.2 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) Individual contributors
@@ -12309,7 +11674,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[149] Shipped by: sha2 0.10.9 (LICENSE-MIT)
+[150] Shipped by: sha2 0.10.9 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2006-2009 Graydon Hoare
@@ -12341,7 +11706,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[150] Shipped by: sha3 0.10.9 (LICENSE-MIT)
+[151] Shipped by: sha3 0.10.9 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2006-2009 Graydon Hoare
@@ -12374,7 +11739,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[151] Shipped by: sha3 0.11.0 (LICENSE-MIT)
+[152] Shipped by: sha3 0.11.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2020-2026 The RustCrypto Project Developers
@@ -12408,7 +11773,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[152] Shipped by: shlex 2.0.1 (LICENSE-APACHE)
+[153] Shipped by: shlex 2.0.1 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Copyright 2015 Nicholas Allegra (comex).
@@ -12426,7 +11791,7 @@ See the License for the specific language governing permissions and
limitations under the License.
--------------------------------------------------------------------------------
-[153] Shipped by: shlex 2.0.1 (LICENSE-MIT)
+[154] Shipped by: shlex 2.0.1 (LICENSE-MIT)
--------------------------------------------------------------------------------
The MIT License (MIT)
@@ -12452,7 +11817,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--------------------------------------------------------------------------------
-[154] Shipped by: signature 2.2.0 (LICENSE-MIT)
+[155] Shipped by: signature 2.2.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2018-2023 RustCrypto Developers
@@ -12482,7 +11847,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[155] Shipped by: slab 0.4.12 (LICENSE)
+[156] Shipped by: slab 0.4.12 (LICENSE)
--------------------------------------------------------------------------------
Copyright (c) 2019 Carl Lerche
@@ -12512,7 +11877,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[156] Shipped by: smallvec 1.15.1 (LICENSE-MIT)
+[157] Shipped by: smallvec 1.15.1 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2018 The Servo Project Developers
@@ -12542,7 +11907,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[157] Shipped by: spki 0.7.3 (LICENSE-MIT)
+[158] Shipped by: spki 0.7.3 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2021-2023 The RustCrypto Project Developers
@@ -12572,7 +11937,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[158] Shipped by: stable_deref_trait 1.2.1 (LICENSE-MIT)
+[159] Shipped by: stable_deref_trait 1.2.1 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2017 Robert Grosse
@@ -12602,7 +11967,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[159] Shipped by: strsim 0.11.1 (LICENSE)
+[160] Shipped by: strsim 0.11.1 (LICENSE)
--------------------------------------------------------------------------------
The MIT License (MIT)
@@ -12630,7 +11995,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[160] Shipped by: strum 0.27.2 (LICENSE), strum_macros 0.27.2 (LICENSE)
+[161] Shipped by: strum 0.27.2 (LICENSE), strum_macros 0.27.2 (LICENSE)
--------------------------------------------------------------------------------
MIT License
@@ -12656,7 +12021,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[161] Shipped by: subtle 2.6.1 (LICENSE)
+[162] Shipped by: subtle 2.6.1 (LICENSE)
--------------------------------------------------------------------------------
Copyright (c) 2016-2017 Isis Agora Lovecruft, Henry de Valence. All rights reserved.
@@ -12690,7 +12055,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
-[162] Shipped by: synstructure 0.13.2 (LICENSE)
+[163] Shipped by: synstructure 0.13.2 (LICENSE)
--------------------------------------------------------------------------------
Copyright 2016 Nika Layzell
@@ -12702,7 +12067,7 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[163] Shipped by: tap 1.0.1 (LICENSE.txt)
+[164] Shipped by: tap 1.0.1 (LICENSE.txt)
--------------------------------------------------------------------------------
MIT License
@@ -12728,7 +12093,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[164] Shipped by: tempfile 3.27.0 (LICENSE-MIT)
+[165] Shipped by: tempfile 3.27.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2015 Steven Allen
@@ -12758,7 +12123,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[165] Shipped by: time 0.3.47 (LICENSE-MIT), time-core 0.1.8 (LICENSE-MIT)
+[166] Shipped by: time 0.3.47 (LICENSE-MIT), time-core 0.1.8 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) Jacob Pratt et al.
@@ -12782,7 +12147,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[166] Shipped by: tinyvec 1.11.0 (LICENSE-MIT.md)
+[167] Shipped by: tinyvec 1.11.0 (LICENSE-MIT.md)
--------------------------------------------------------------------------------
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@@ -12792,7 +12157,7 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[167] Shipped by: tinyvec_macros 0.1.1 (LICENSE-APACHE.md)
+[168] Shipped by: tinyvec_macros 0.1.1 (LICENSE-APACHE.md)
--------------------------------------------------------------------------------
Apache License
@@ -12999,7 +12364,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
--------------------------------------------------------------------------------
-[168] Shipped by: tinyvec_macros 0.1.1 (LICENSE-MIT.md)
+[169] Shipped by: tinyvec_macros 0.1.1 (LICENSE-MIT.md)
--------------------------------------------------------------------------------
MIT License
@@ -13025,7 +12390,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[169] Shipped by: tinyvec_macros 0.1.1 (LICENSE-ZLIB.md)
+[170] Shipped by: tinyvec_macros 0.1.1 (LICENSE-ZLIB.md)
--------------------------------------------------------------------------------
zlib License
@@ -13050,7 +12415,7 @@ freely, subject to the following restrictions:
--------------------------------------------------------------------------------
-[170] Shipped by: tokio 1.52.3 (LICENSE), tokio-stream 0.1.18 (LICENSE), tokio-util 0.7.18 (LICENSE)
+[171] Shipped by: tokio 1.52.3 (LICENSE), tokio-stream 0.1.18 (LICENSE), tokio-util 0.7.18 (LICENSE)
--------------------------------------------------------------------------------
MIT License
@@ -13076,7 +12441,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[171] Shipped by: tokio-macros 2.7.0 (LICENSE)
+[172] Shipped by: tokio-macros 2.7.0 (LICENSE)
--------------------------------------------------------------------------------
MIT License
@@ -13103,7 +12468,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[172] Shipped by: tower 0.5.3 (LICENSE), tower-layer 0.3.3 (LICENSE), tower-service 0.3.3 (LICENSE)
+[173] Shipped by: tower 0.5.3 (LICENSE), tower-layer 0.3.3 (LICENSE), tower-service 0.3.3 (LICENSE)
--------------------------------------------------------------------------------
Copyright (c) 2019 Tower Contributors
@@ -13133,7 +12498,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[173] Shipped by: tracing 0.1.44 (LICENSE), tracing-attributes 0.1.31 (LICENSE), tracing-core 0.1.36 (LICENSE)
+[174] Shipped by: tracing 0.1.44 (LICENSE), tracing-attributes 0.1.31 (LICENSE), tracing-core 0.1.36 (LICENSE)
--------------------------------------------------------------------------------
Copyright (c) 2019 Tokio Contributors
@@ -13163,7 +12528,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[174] Shipped by: tracing-core 0.1.36 (src/spin/LICENSE)
+[175] Shipped by: tracing-core 0.1.36 (src/spin/LICENSE)
--------------------------------------------------------------------------------
The MIT License (MIT)
@@ -13189,13 +12554,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[175] Shipped by: typenum 1.20.1 (LICENSE)
+[176] Shipped by: typenum 1.20.1 (LICENSE)
--------------------------------------------------------------------------------
MIT OR Apache-2.0
--------------------------------------------------------------------------------
-[176] Shipped by: typenum 1.20.1 (LICENSE-APACHE)
+[177] Shipped by: typenum 1.20.1 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Apache License
@@ -13401,7 +12766,7 @@ See the License for the specific language governing permissions and
limitations under the License.
--------------------------------------------------------------------------------
-[177] Shipped by: typenum 1.20.1 (LICENSE-MIT)
+[178] Shipped by: typenum 1.20.1 (LICENSE-MIT)
--------------------------------------------------------------------------------
The MIT License (MIT)
@@ -13427,7 +12792,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[178] Shipped by: unicode-ident 1.0.24 (LICENSE-UNICODE)
+[179] Shipped by: unicode-ident 1.0.24 (LICENSE-UNICODE)
--------------------------------------------------------------------------------
UNICODE LICENSE V3
@@ -13471,7 +12836,7 @@ dealings in these Data Files or Software without prior written
authorization of the copyright holder.
--------------------------------------------------------------------------------
-[179] Shipped by: unicode-normalization 0.1.25 (COPYRIGHT), unicode-segmentation 1.13.3 (COPYRIGHT), unicode-xid 0.2.6 (COPYRIGHT)
+[180] Shipped by: unicode-normalization 0.1.25 (COPYRIGHT), unicode-segmentation 1.13.3 (COPYRIGHT), unicode-xid 0.2.6 (COPYRIGHT)
--------------------------------------------------------------------------------
Licensed under the Apache License, Version 2.0
@@ -13483,7 +12848,7 @@ notice may not be copied, modified, or distributed except
according to those terms.
--------------------------------------------------------------------------------
-[180] Shipped by: universal-hash 0.5.1 (LICENSE-MIT)
+[181] Shipped by: universal-hash 0.5.1 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright (c) 2019-2020 RustCrypto Developers
@@ -13513,7 +12878,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[181] Shipped by: utf8_iter 1.0.4 (COPYRIGHT)
+[182] Shipped by: utf8_iter 1.0.4 (COPYRIGHT)
--------------------------------------------------------------------------------
Copyright Mozilla Foundation
@@ -13560,7 +12925,7 @@ licensed under the Apache License, Version 2.0 or
or , at your option.
--------------------------------------------------------------------------------
-[182] Shipped by: utf8_iter 1.0.4 (LICENSE-MIT)
+[183] Shipped by: utf8_iter 1.0.4 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright Mozilla Foundation
@@ -13590,7 +12955,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[183] Shipped by: version_check 0.9.5 (LICENSE-MIT)
+[184] Shipped by: version_check 0.9.5 (LICENSE-MIT)
--------------------------------------------------------------------------------
The MIT License (MIT)
@@ -13614,7 +12979,7 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[184] Shipped by: wasmtimer 0.4.3 (LICENSE)
+[185] Shipped by: wasmtimer 0.4.3 (LICENSE)
--------------------------------------------------------------------------------
Copyright 2019 Pierre Krieger
@@ -13639,7 +13004,7 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[185] Shipped by: web-time 1.1.0 (LICENSE-APACHE)
+[186] Shipped by: web-time 1.1.0 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Apache License
@@ -13845,7 +13210,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
limitations under the License.
--------------------------------------------------------------------------------
-[186] Shipped by: web-time 1.1.0 (LICENSE-MIT)
+[187] Shipped by: web-time 1.1.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
MIT License
@@ -13871,7 +13236,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[187] Shipped by: winnow 0.7.15 (LICENSE-MIT), winnow 1.0.3 (LICENSE-MIT)
+[188] Shipped by: winnow 0.7.15 (LICENSE-MIT), winnow 1.0.3 (LICENSE-MIT)
--------------------------------------------------------------------------------
Permission is hereby granted, free of charge, to any person obtaining
@@ -13894,7 +13259,7 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[188] Shipped by: wyz 0.5.1 (LICENSE.txt)
+[189] Shipped by: wyz 0.5.1 (LICENSE.txt)
--------------------------------------------------------------------------------
MIT License
@@ -13920,7 +13285,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[189] Shipped by: xor_name 5.0.0 (LICENSE-BSD)
+[190] Shipped by: xor_name 5.0.0 (LICENSE-BSD)
--------------------------------------------------------------------------------
Copyright 2020 MaidSafe.net limited.
@@ -13936,7 +13301,7 @@ Redistribution and use in source and binary forms, with or without modification,
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
-[190] Shipped by: xor_name 5.0.0 (LICENSE-MIT)
+[191] Shipped by: xor_name 5.0.0 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright 2020 Maidsafe.net limited
@@ -13948,7 +13313,7 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[191] Shipped by: zerocopy 0.8.50 (LICENSE-APACHE)
+[192] Shipped by: zerocopy 0.8.50 (LICENSE-APACHE)
--------------------------------------------------------------------------------
Apache License
@@ -14155,7 +13520,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
--------------------------------------------------------------------------------
-[192] Shipped by: zerocopy 0.8.50 (LICENSE-BSD)
+[193] Shipped by: zerocopy 0.8.50 (LICENSE-BSD)
--------------------------------------------------------------------------------
Copyright 2019 The Fuchsia Authors.
@@ -14184,7 +13549,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
-[193] Shipped by: zerocopy 0.8.50 (LICENSE-MIT)
+[194] Shipped by: zerocopy 0.8.50 (LICENSE-MIT)
--------------------------------------------------------------------------------
Copyright 2023 The Fuchsia Authors
@@ -14215,7 +13580,7 @@ DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
-[194] Shipped by: zeroize 1.8.2 (LICENSE-MIT)
+[195] Shipped by: zeroize 1.8.2 (LICENSE-MIT)
--------------------------------------------------------------------------------
MIT License
@@ -14241,7 +13606,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
-[195] Shipped by: zeroize_derive 1.4.3 (LICENSE-MIT)
+[196] Shipped by: zeroize_derive 1.4.3 (LICENSE-MIT)
--------------------------------------------------------------------------------
MIT License
diff --git a/src/wasm/ant_core.d.ts b/src/wasm/ant_core.d.ts
index 09bcf92..659ffab 100644
--- a/src/wasm/ant_core.d.ts
+++ b/src/wasm/ant_core.d.ts
@@ -29,30 +29,45 @@ export class BrowserFileEncryptor {
}
/**
- * Random-access public-file reader for media playback and bounded downloads.
+ * Random-access file reader. Content memory is bounded independently of file
+ * size. The resolved chunk map and seek index remain resident in memory.
*/
export class BrowserFileReader {
private constructor();
free(): void;
[Symbol.dispose](): void;
/**
- * Release cached encrypted records held for playback read-ahead and seeks.
+ * Close the reader and release the records its read-ahead holds. Later
+ * calls fail; use an AbortSignal to cancel a pipeTo in progress. Records
+ * in the client's shared cache stay; that cache is bounded and may serve
+ * other readers.
*/
close(): void;
/**
- * Fetch and decrypt one plaintext byte range without reconstructing the file.
+ * Write the file to a WritableStream (including a file-system writable).
+ * `options` is `{ start?, end?, signal?, onProgress? }`: an optional
+ * half-open byte range, an AbortSignal that cancels the operation, and a
+ * `(bytesWritten, totalBytes)` callback run after each write.
+ *
+ * Chunks are fetched concurrently and written in order, at most 4 MiB per
+ * write, each awaited before the next; fetching continues during writes
+ * until 32 MiB of plaintext is held. Invalid calls reject without touching
+ * the destination. Otherwise the destination is closed on success and
+ * aborted on failure, and the writer lock is always released. An abort
+ * while the destination is closing still rejects, but the destination may
+ * already be committed. Returns the BLAKE3 and byte count of the written
+ * range.
*/
- readRange(start: number, length: number): Promise;
+ pipeTo(writable: any, options?: any | null): Promise;
/**
- * Browser MIME type advertised by the file descriptor.
+ * Read up to 4 MiB. Positions above 4 GiB are supported without truncation.
+ * Fractions, negatives, and integers not exactly representable in JS fail.
*/
+ readRange(start: number, length: number): Promise;
readonly contentType: string;
- /**
- * Display filename advertised by the file descriptor.
- */
readonly name: string;
/**
- * Plaintext file size in bytes.
+ * Exact plaintext byte count as a JavaScript safe integer.
*/
readonly size: number;
}
@@ -114,13 +129,18 @@ export class BrowserNetworkClient {
*/
createPointer(owner_seed: Uint8Array, target: string, kind: string, payment_network: any, pay_for_quotes: Function, on_paid?: Function | null): Promise;
/**
- * Download and reconstruct a private file from the DataMap its uploader kept.
+ * Download a private file into one JavaScript Uint8Array. Takes the same
+ * arguments as downloadPublicFile; openPrivateFile and pipeTo support
+ * files that cannot fit in one JavaScript buffer.
*/
- downloadPrivateFile(file: any, concurrency?: number | null, on_progress?: Function | null): Promise;
+ downloadPrivateFile(file: any, concurrency?: number | null, on_progress?: Function | null, options?: any | null): Promise;
/**
- * Download and reconstruct a complete public Autonomi file.
+ * Download a public file into one JavaScript Uint8Array, using bounded
+ * WASM buffers. `options` is `{ maxMemoryBytes?, signal? }`: the largest
+ * output buffer to allocate, and an AbortSignal that cancels the download.
+ * For disk-backed downloads use openPublicFile and reader.pipeTo(writable).
*/
- downloadPublicFile(file: any, concurrency?: number | null, on_progress?: Function | null): Promise;
+ downloadPublicFile(file: any, concurrency?: number | null, on_progress?: Function | null, options?: any | null): Promise;
/**
* Run Saorsa's iterative closest-node lookup over Rust-owned DataChannels.
*/
@@ -147,6 +167,12 @@ export class BrowserNetworkClient {
* `{ streaming: true }`; omitted fields take their defaults.
*/
openPublicFile(file: any, on_progress?: Function | null, options?: any | null): Promise;
+ /**
+ * Ask the whole close group whether the pointer at `address` is final,
+ * and on what. Only `status: "final"` means one final state, held by a
+ * majority of the group, with no rival.
+ */
+ pointerFinality(address: string): Promise;
/**
* Resolve a definitively failed payment, persist the updated checkpoint, and return it.
*
@@ -173,6 +199,18 @@ export class BrowserNetworkClient {
* an earlier write handed to its `on_paid` callback. Pays nothing.
*/
storePaidPointer(record: Uint8Array, proof: Uint8Array, payment_network: any): Promise;
+ /**
+ * Hand the pointer `owner_seed` controls over to the pointer at
+ * `recipient`, for good, and pay for the final state. `on_paid` is as for
+ * [`Self::create_pointer`].
+ *
+ * Readers of the pointer's address are redirected to `recipient`, which
+ * only its owner can move, and `owner_seed` can change nothing any more.
+ * Refused before anything is paid if the pointer is already final, or if
+ * `recipient` does not exist or leads back to this pointer. Check the
+ * result with [`Self::pointer_finality`] before relying on it.
+ */
+ transferPointer(owner_seed: Uint8Array, recipient: string, payment_network: any, pay_for_quotes: Function, on_paid?: Function | null): Promise;
/**
* Point the pointer `owner_seed` controls at `target`, one past the
* counter the network serves (or create it), and pay for the new state.
@@ -299,26 +337,9 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
export interface InitOutput {
readonly memory: WebAssembly.Memory;
- readonly __wbg_browserfilereader_free: (a: number, b: number) => void;
- readonly __wbg_browsernetworkclient_free: (a: number, b: number) => void;
- readonly browserfilereader_close: (a: number) => void;
- readonly browserfilereader_contentType: (a: number) => [number, number];
- readonly browserfilereader_name: (a: number) => [number, number];
- readonly browserfilereader_readRange: (a: number, b: number, c: number) => any;
- readonly browserfilereader_size: (a: number) => number;
- readonly browsernetworkclient_close: (a: number) => void;
- readonly browsernetworkclient_connect: (a: number, b: number) => any;
- readonly browsernetworkclient_downloadPrivateFile: (a: number, b: any, c: number, d: number) => any;
- readonly browsernetworkclient_downloadPublicFile: (a: number, b: any, c: number, d: number) => any;
- readonly browsernetworkclient_findClosest: (a: number, b: number, c: number, d: number) => any;
- readonly browsernetworkclient_new: (a: any) => [number, number, number];
- readonly browsernetworkclient_openPrivateFile: (a: number, b: any, c: number, d: number) => any;
- readonly browsernetworkclient_openPublicFile: (a: number, b: any, c: number, d: number) => any;
- readonly browsernetworkclient_uploadPublicFile: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => any;
- readonly browsernetworkclient_uploadRecords: (a: number, b: any, c: any, d: any, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
- readonly browsernetworkclient_uploadStagedPublicFile: (a: number, b: any, c: any, d: any, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
readonly __wbg_browserfileencryptor_free: (a: number, b: number) => void;
readonly __wbg_browseriterativelookup_free: (a: number, b: number) => void;
+ readonly __wbg_browsernetworkclient_free: (a: number, b: number) => void;
readonly browserfileencryptor_finish: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
readonly browserfileencryptor_new: (a: number, b: any) => [number, number, number];
readonly browserfileencryptor_nextRecord: (a: number) => [number, number, number];
@@ -327,12 +348,17 @@ export interface InitOutput {
readonly browseriterativelookup_queriedPeers: (a: number) => [number, number, number];
readonly browseriterativelookup_results: (a: number) => [number, number, number];
readonly browseriterativelookup_run: (a: number, b: any) => any;
- readonly browsernetworkclient_createPointer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any, j: number) => any;
- readonly browsernetworkclient_getPointer: (a: number, b: number, c: number) => any;
- readonly browsernetworkclient_reconcileFailedUploadPayment: (a: number, b: number, c: number, d: any, e: any) => any;
- readonly browsernetworkclient_resolvePointer: (a: number, b: number, c: number) => any;
- readonly browsernetworkclient_storePaidPointer: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
- readonly browsernetworkclient_updatePointer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any, j: number) => any;
+ readonly browsernetworkclient_close: (a: number) => void;
+ readonly browsernetworkclient_connect: (a: number, b: number) => any;
+ readonly browsernetworkclient_downloadPrivateFile: (a: number, b: any, c: number, d: number, e: number) => any;
+ readonly browsernetworkclient_downloadPublicFile: (a: number, b: any, c: number, d: number, e: number) => any;
+ readonly browsernetworkclient_findClosest: (a: number, b: number, c: number, d: number) => any;
+ readonly browsernetworkclient_new: (a: any) => [number, number, number];
+ readonly browsernetworkclient_openPrivateFile: (a: number, b: any, c: number, d: number) => any;
+ readonly browsernetworkclient_openPublicFile: (a: number, b: any, c: number, d: number) => any;
+ readonly browsernetworkclient_uploadPublicFile: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => any;
+ readonly browsernetworkclient_uploadRecords: (a: number, b: any, c: any, d: any, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
+ readonly browsernetworkclient_uploadStagedPublicFile: (a: number, b: any, c: any, d: any, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => any;
readonly contentAddress: (a: number, b: number) => [number, number];
readonly decodeManifest: (a: number, b: number) => [number, number, number];
readonly decodeMerklePaymentReceipt: (a: any, b: number, c: number, d: any) => [number, number, number];
@@ -345,12 +371,27 @@ export interface InitOutput {
readonly parseResponseFrame: (a: number, b: number) => [number, number, number];
readonly parseWebRtcDirectMultiaddr: (a: any) => [number, number, number];
readonly paymentQuoteHash: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
- readonly pointerAddress: (a: number, b: number) => [number, number, number, number];
readonly serverAnswerFromEndpoint: (a: any, b: number, c: number) => [number, number, number];
readonly start: () => void;
readonly verifyRecord: (a: number, b: number, c: number, d: number) => [number, number, number, number];
readonly verifyStorageQuote: (a: any, b: number, c: number, d: number, e: number) => [number, number, number];
readonly webRtcDirectV2ServerCredential: (a: number, b: number) => [number, number, number, number];
+ readonly browsernetworkclient_reconcileFailedUploadPayment: (a: number, b: number, c: number, d: any, e: any) => any;
+ readonly browsernetworkclient_createPointer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any, j: number) => any;
+ readonly browsernetworkclient_getPointer: (a: number, b: number, c: number) => any;
+ readonly browsernetworkclient_pointerFinality: (a: number, b: number, c: number) => any;
+ readonly browsernetworkclient_resolvePointer: (a: number, b: number, c: number) => any;
+ readonly browsernetworkclient_storePaidPointer: (a: number, b: number, c: number, d: number, e: number, f: any) => any;
+ readonly browsernetworkclient_transferPointer: (a: number, b: number, c: number, d: number, e: number, f: any, g: any, h: number) => any;
+ readonly browsernetworkclient_updatePointer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any, i: any, j: number) => any;
+ readonly pointerAddress: (a: number, b: number) => [number, number, number, number];
+ readonly __wbg_browserfilereader_free: (a: number, b: number) => void;
+ readonly browserfilereader_close: (a: number) => void;
+ readonly browserfilereader_contentType: (a: number) => [number, number];
+ readonly browserfilereader_name: (a: number) => [number, number];
+ readonly browserfilereader_pipeTo: (a: number, b: any, c: number) => any;
+ readonly browserfilereader_readRange: (a: number, b: number, c: number) => any;
+ readonly browserfilereader_size: (a: number) => number;
readonly BrotliDecoderCreateInstance: (a: number, b: number, c: number) => number;
readonly BrotliDecoderDecompress: (a: number, b: number, c: number, d: number) => number;
readonly BrotliDecoderDecompressPrealloc: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
@@ -374,9 +415,10 @@ export interface InitOutput {
readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___wasm_bindgen_75c5b43bb1a48c51___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_75c5b43bb1a48c51___JsError___true_: (a: number, b: number, c: any) => [number, number];
readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___js_sys_2246999dfd1b0ec1___Function_fn_wasm_bindgen_75c5b43bb1a48c51___JsValue_____wasm_bindgen_75c5b43bb1a48c51___sys__Undefined___js_sys_2246999dfd1b0ec1___Function_fn_wasm_bindgen_75c5b43bb1a48c51___JsValue_____wasm_bindgen_75c5b43bb1a48c51___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___wasm_bindgen_75c5b43bb1a48c51___JsValue__js_sys_2246999dfd1b0ec1___Promise__true_: (a: number, b: number, c: any) => any;
- readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
- readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true__3: (a: number, b: number, c: any) => void;
+ readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true_: (a: number, b: number, c: any) => void;
+ readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true__3: (a: number, b: number, c: any) => void;
readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true_: (a: number, b: number) => void;
+ readonly wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true__1_: (a: number, b: number) => void;
readonly __wbindgen_malloc: (a: number, b: number) => number;
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
readonly __wbindgen_exn_store: (a: number) => void;
diff --git a/src/wasm/ant_core.js b/src/wasm/ant_core.js
index 71868e9..4dee87c 100644
--- a/src/wasm/ant_core.js
+++ b/src/wasm/ant_core.js
@@ -67,7 +67,8 @@ export class BrowserFileEncryptor {
if (Symbol.dispose) BrowserFileEncryptor.prototype[Symbol.dispose] = BrowserFileEncryptor.prototype.free;
/**
- * Random-access public-file reader for media playback and bounded downloads.
+ * Random-access file reader. Content memory is bounded independently of file
+ * size. The resolved chunk map and seek index remain resident in memory.
*/
export class BrowserFileReader {
static __wrap(ptr) {
@@ -87,13 +88,15 @@ export class BrowserFileReader {
wasm.__wbg_browserfilereader_free(ptr, 0);
}
/**
- * Release cached encrypted records held for playback read-ahead and seeks.
+ * Close the reader and release the records its read-ahead holds. Later
+ * calls fail; use an AbortSignal to cancel a pipeTo in progress. Records
+ * in the client's shared cache stay; that cache is bounded and may serve
+ * other readers.
*/
close() {
wasm.browserfilereader_close(this.__wbg_ptr);
}
/**
- * Browser MIME type advertised by the file descriptor.
* @returns {string}
*/
get contentType() {
@@ -109,7 +112,6 @@ export class BrowserFileReader {
}
}
/**
- * Display filename advertised by the file descriptor.
* @returns {string}
*/
get name() {
@@ -125,7 +127,30 @@ export class BrowserFileReader {
}
}
/**
- * Fetch and decrypt one plaintext byte range without reconstructing the file.
+ * Write the file to a WritableStream (including a file-system writable).
+ * `options` is `{ start?, end?, signal?, onProgress? }`: an optional
+ * half-open byte range, an AbortSignal that cancels the operation, and a
+ * `(bytesWritten, totalBytes)` callback run after each write.
+ *
+ * Chunks are fetched concurrently and written in order, at most 4 MiB per
+ * write, each awaited before the next; fetching continues during writes
+ * until 32 MiB of plaintext is held. Invalid calls reject without touching
+ * the destination. Otherwise the destination is closed on success and
+ * aborted on failure, and the writer lock is always released. An abort
+ * while the destination is closing still rejects, but the destination may
+ * already be committed. Returns the BLAKE3 and byte count of the written
+ * range.
+ * @param {any} writable
+ * @param {any | null} [options]
+ * @returns {Promise}
+ */
+ pipeTo(writable, options) {
+ const ret = wasm.browserfilereader_pipeTo(this.__wbg_ptr, writable, isLikeNone(options) ? 0 : addToExternrefTable0(options));
+ return ret;
+ }
+ /**
+ * Read up to 4 MiB. Positions above 4 GiB are supported without truncation.
+ * Fractions, negatives, and integers not exactly representable in JS fail.
* @param {number} start
* @param {number} length
* @returns {Promise}
@@ -135,12 +160,12 @@ export class BrowserFileReader {
return ret;
}
/**
- * Plaintext file size in bytes.
+ * Exact plaintext byte count as a JavaScript safe integer.
* @returns {number}
*/
get size() {
const ret = wasm.browserfilereader_size(this.__wbg_ptr);
- return ret >>> 0;
+ return ret;
}
}
if (Symbol.dispose) BrowserFileReader.prototype[Symbol.dispose] = BrowserFileReader.prototype.free;
@@ -281,25 +306,32 @@ export class BrowserNetworkClient {
return ret;
}
/**
- * Download and reconstruct a private file from the DataMap its uploader kept.
+ * Download a private file into one JavaScript Uint8Array. Takes the same
+ * arguments as downloadPublicFile; openPrivateFile and pipeTo support
+ * files that cannot fit in one JavaScript buffer.
* @param {any} file
* @param {number | null} [concurrency]
* @param {Function | null} [on_progress]
+ * @param {any | null} [options]
* @returns {Promise}
*/
- downloadPrivateFile(file, concurrency, on_progress) {
- const ret = wasm.browsernetworkclient_downloadPrivateFile(this.__wbg_ptr, file, isLikeNone(concurrency) ? Number.MAX_SAFE_INTEGER : (concurrency) >>> 0, isLikeNone(on_progress) ? 0 : addToExternrefTable0(on_progress));
+ downloadPrivateFile(file, concurrency, on_progress, options) {
+ const ret = wasm.browsernetworkclient_downloadPrivateFile(this.__wbg_ptr, file, isLikeNone(concurrency) ? Number.MAX_SAFE_INTEGER : (concurrency) >>> 0, isLikeNone(on_progress) ? 0 : addToExternrefTable0(on_progress), isLikeNone(options) ? 0 : addToExternrefTable0(options));
return ret;
}
/**
- * Download and reconstruct a complete public Autonomi file.
+ * Download a public file into one JavaScript Uint8Array, using bounded
+ * WASM buffers. `options` is `{ maxMemoryBytes?, signal? }`: the largest
+ * output buffer to allocate, and an AbortSignal that cancels the download.
+ * For disk-backed downloads use openPublicFile and reader.pipeTo(writable).
* @param {any} file
* @param {number | null} [concurrency]
* @param {Function | null} [on_progress]
+ * @param {any | null} [options]
* @returns {Promise}
*/
- downloadPublicFile(file, concurrency, on_progress) {
- const ret = wasm.browsernetworkclient_downloadPublicFile(this.__wbg_ptr, file, isLikeNone(concurrency) ? Number.MAX_SAFE_INTEGER : (concurrency) >>> 0, isLikeNone(on_progress) ? 0 : addToExternrefTable0(on_progress));
+ downloadPublicFile(file, concurrency, on_progress, options) {
+ const ret = wasm.browsernetworkclient_downloadPublicFile(this.__wbg_ptr, file, isLikeNone(concurrency) ? Number.MAX_SAFE_INTEGER : (concurrency) >>> 0, isLikeNone(on_progress) ? 0 : addToExternrefTable0(on_progress), isLikeNone(options) ? 0 : addToExternrefTable0(options));
return ret;
}
/**
@@ -366,6 +398,19 @@ export class BrowserNetworkClient {
const ret = wasm.browsernetworkclient_openPublicFile(this.__wbg_ptr, file, isLikeNone(on_progress) ? 0 : addToExternrefTable0(on_progress), isLikeNone(options) ? 0 : addToExternrefTable0(options));
return ret;
}
+ /**
+ * Ask the whole close group whether the pointer at `address` is final,
+ * and on what. Only `status: "final"` means one final state, held by a
+ * majority of the group, with no rival.
+ * @param {string} address
+ * @returns {Promise}
+ */
+ pointerFinality(address) {
+ const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len0 = WASM_VECTOR_LEN;
+ const ret = wasm.browsernetworkclient_pointerFinality(this.__wbg_ptr, ptr0, len0);
+ return ret;
+ }
/**
* Resolve a definitively failed payment, persist the updated checkpoint, and return it.
*
@@ -419,6 +464,31 @@ export class BrowserNetworkClient {
const ret = wasm.browsernetworkclient_storePaidPointer(this.__wbg_ptr, ptr0, len0, ptr1, len1, payment_network);
return ret;
}
+ /**
+ * Hand the pointer `owner_seed` controls over to the pointer at
+ * `recipient`, for good, and pay for the final state. `on_paid` is as for
+ * [`Self::create_pointer`].
+ *
+ * Readers of the pointer's address are redirected to `recipient`, which
+ * only its owner can move, and `owner_seed` can change nothing any more.
+ * Refused before anything is paid if the pointer is already final, or if
+ * `recipient` does not exist or leads back to this pointer. Check the
+ * result with [`Self::pointer_finality`] before relying on it.
+ * @param {Uint8Array} owner_seed
+ * @param {string} recipient
+ * @param {any} payment_network
+ * @param {Function} pay_for_quotes
+ * @param {Function | null} [on_paid]
+ * @returns {Promise}
+ */
+ transferPointer(owner_seed, recipient, payment_network, pay_for_quotes, on_paid) {
+ const ptr0 = passArray8ToWasm0(owner_seed, wasm.__wbindgen_malloc);
+ const len0 = WASM_VECTOR_LEN;
+ const ptr1 = passStringToWasm0(recipient, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
+ const len1 = WASM_VECTOR_LEN;
+ const ret = wasm.browsernetworkclient_transferPointer(this.__wbg_ptr, ptr0, len0, ptr1, len1, payment_network, pay_for_quotes, isLikeNone(on_paid) ? 0 : addToExternrefTable0(on_paid));
+ return ret;
+ }
/**
* Point the pointer `owner_seed` controls at `target`, one past the
* counter the network serves (or create it), and pay for the new state.
@@ -888,6 +958,10 @@ function __wbg_get_imports() {
const ret = typeof(arg0) === 'function';
return ret;
},
+ __wbg___wbindgen_is_null_87c3bfe968c6a5ad: function(arg0) {
+ const ret = arg0 === null;
+ return ret;
+ },
__wbg___wbindgen_is_object_56732c2bc353f41d: function(arg0) {
const val = arg0;
const ret = typeof(val) === 'object' && val !== null;
@@ -929,6 +1003,14 @@ function __wbg_get_imports() {
__wbg__wbg_cb_unref_61db23ac97f16c31: function(arg0) {
arg0._wbg_cb_unref();
},
+ __wbg_abort_9746cd1d54b35daa: function(arg0, arg1) {
+ const ret = arg0.abort(arg1);
+ return ret;
+ },
+ __wbg_aborted_3bd851834eb1ecce: function(arg0) {
+ const ret = arg0.aborted;
+ return ret;
+ },
__wbg_addEventListener_7c5a0db2b2826a06: function() { return handleError(function (arg0, arg1, arg2, arg3) {
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
}, arguments); },
@@ -964,6 +1046,10 @@ function __wbg_get_imports() {
const ret = clearTimeout(arg0);
return ret;
},
+ __wbg_close_314feea4ac97ebd4: function(arg0) {
+ const ret = arg0.close();
+ return ret;
+ },
__wbg_close_46a302f048f55362: function(arg0) {
arg0.close();
},
@@ -974,6 +1060,10 @@ function __wbg_get_imports() {
const ret = arg0.connectionState;
return (__wbindgen_enum_RtcPeerConnectionState.indexOf(ret) + 1 || 7) - 1;
},
+ __wbg_construct_e0f002bb615dbba1: function() { return handleError(function (arg0, arg1) {
+ const ret = Reflect.construct(arg0, arg1);
+ return ret;
+ }, arguments); },
__wbg_createDataChannel_91bd40e53ea00623: function(arg0, arg1, arg2, arg3) {
const ret = arg0.createDataChannel(getStringFromWasm0(arg1, arg2), arg3);
return ret;
@@ -1016,6 +1106,10 @@ function __wbg_get_imports() {
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
arg0.getRandomValues(arg1);
}, arguments); },
+ __wbg_getWriter_e5a67ff4a024ff3f: function() { return handleError(function (arg0) {
+ const ret = arg0.getWriter();
+ return ret;
+ }, arguments); },
__wbg_get_1f8f054ddbaa7db2: function() { return handleError(function (arg0, arg1) {
const ret = Reflect.get(arg0, arg1);
return ret;
@@ -1044,6 +1138,16 @@ function __wbg_get_imports() {
const ret = arg0.iceGatheringState;
return (__wbindgen_enum_RtcIceGatheringState.indexOf(ret) + 1 || 4) - 1;
},
+ __wbg_instanceof_AbortSignal_62ae3458aa4f4cc6: function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof AbortSignal;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ },
__wbg_instanceof_ArrayBuffer_8f49811467741499: function(arg0) {
let result;
try {
@@ -1074,6 +1178,16 @@ function __wbg_get_imports() {
const ret = result;
return ret;
},
+ __wbg_instanceof_WritableStream_e0d9f1cac23ab05a: function(arg0) {
+ let result;
+ try {
+ result = arg0 instanceof WritableStream;
+ } catch (_) {
+ result = false;
+ }
+ const ret = result;
+ return ret;
+ },
__wbg_isArray_67c2c9c4313f4448: function(arg0) {
const ret = Array.isArray(arg0);
return ret;
@@ -1172,6 +1286,10 @@ function __wbg_get_imports() {
const ret = arg0.now();
return ret;
},
+ __wbg_of_57145fdec12d159f: function(arg0) {
+ const ret = Array.of(arg0);
+ return ret;
+ },
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
const ret = arg0.performance;
return ret;
@@ -1197,6 +1315,13 @@ function __wbg_get_imports() {
const ret = arg0.readyState;
return (__wbindgen_enum_RtcDataChannelState.indexOf(ret) + 1 || 5) - 1;
},
+ __wbg_reason_9b42ef28d11fddd8: function(arg0) {
+ const ret = arg0.reason;
+ return ret;
+ },
+ __wbg_releaseLock_5b339d918941b349: function(arg0) {
+ arg0.releaseLock();
+ },
__wbg_removeEventListener_5f35962e6c0b2ddc: function() { return handleError(function (arg0, arg1, arg2, arg3) {
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
}, arguments); },
@@ -1230,6 +1355,9 @@ function __wbg_get_imports() {
const ret = setTimeout(arg0, arg1);
return ret;
}, arguments); },
+ __wbg_set_29c99a8aac1c01e5: function(arg0, arg1, arg2) {
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
+ },
__wbg_set_52b1e1eb5bed906a: function(arg0, arg1, arg2) {
const ret = arg0.set(arg1, arg2);
return ret;
@@ -1323,52 +1451,61 @@ function __wbg_get_imports() {
const ret = arg0.versions;
return ret;
},
+ __wbg_write_6d16f58ddd0cc861: function(arg0, arg1) {
+ const ret = arg0.write(arg1);
+ return ret;
+ },
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1074, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1037, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___wasm_bindgen_75c5b43bb1a48c51___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_75c5b43bb1a48c51___JsError___true_);
return ret;
},
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 492, ret: NamedExternref("Promise"), inner_ret: Some(NamedExternref("Promise")) }, mutable: true }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 143, ret: NamedExternref("Promise"), inner_ret: Some(NamedExternref("Promise")) }, mutable: true }) -> Externref`.
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___wasm_bindgen_75c5b43bb1a48c51___JsValue__js_sys_2246999dfd1b0ec1___Promise__true_);
return ret;
},
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 494, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true_);
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 145, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true_);
return ret;
},
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 494, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true__3);
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 145, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true__3);
return ret;
},
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 784, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 868, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true_);
return ret;
},
- __wbindgen_cast_0000000000000006: function(arg0) {
+ __wbindgen_cast_0000000000000006: function(arg0, arg1) {
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 882, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true__1_);
+ return ret;
+ },
+ __wbindgen_cast_0000000000000007: function(arg0) {
// Cast intrinsic for `F64 -> Externref`.
const ret = arg0;
return ret;
},
- __wbindgen_cast_0000000000000007: function(arg0) {
+ __wbindgen_cast_0000000000000008: function(arg0) {
// Cast intrinsic for `I64 -> Externref`.
const ret = arg0;
return ret;
},
- __wbindgen_cast_0000000000000008: function(arg0, arg1) {
+ __wbindgen_cast_0000000000000009: function(arg0, arg1) {
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
const ret = getArrayU8FromWasm0(arg0, arg1);
return ret;
},
- __wbindgen_cast_0000000000000009: function(arg0, arg1) {
+ __wbindgen_cast_000000000000000a: function(arg0, arg1) {
// Cast intrinsic for `Ref(String) -> Externref`.
const ret = getStringFromWasm0(arg0, arg1);
return ret;
},
- __wbindgen_cast_000000000000000a: function(arg0) {
+ __wbindgen_cast_000000000000000b: function(arg0) {
// Cast intrinsic for `U64 -> Externref`.
const ret = BigInt.asUintN(64, arg0);
return ret;
@@ -1393,12 +1530,16 @@ function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true
wasm.wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true_(arg0, arg1);
}
-function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2) {
- wasm.wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2);
+function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true__1_(arg0, arg1) {
+ wasm.wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke_______true__1_(arg0, arg1);
+}
+
+function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2) {
+ wasm.wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true_(arg0, arg1, arg2);
}
-function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true__3(arg0, arg1, arg2) {
- wasm.wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_e5edc227c6570697___features__gen_MessageEvent__MessageEvent______true__3(arg0, arg1, arg2);
+function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true__3(arg0, arg1, arg2) {
+ wasm.wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___web_sys_1bc45939ec04b236___features__gen_MessageEvent__MessageEvent______true__3(arg0, arg1, arg2);
}
function wasm_bindgen_75c5b43bb1a48c51___convert__closures_____invoke___wasm_bindgen_75c5b43bb1a48c51___JsValue__js_sys_2246999dfd1b0ec1___Promise__true_(arg0, arg1, arg2) {
diff --git a/src/wasm/ant_core_bg.wasm b/src/wasm/ant_core_bg.wasm
index 9fd3ba7858e619c58b61802760e4b228dc0bb858..1aeea830a2b96ac637f8418df7c35159cecea5cc 100644
GIT binary patch
delta 1739226
zcmc$H3wRVo)^>MQ&wVoKnPl!W&@uCZVCanaSQBC6VYp7?m^G$#Q~cvlj9+D`tr#NY63m5;a8q3&&)n2
zA7iXQwTq%1!
z*RvaWsmC1V%$XSdLgkXfC={(BU>O=K=p#rYUyjc6%;lHMGueufjdFHDAd+3FjFX3F
zuXIPUdA6vWC(@3#h2)d6kA)-I8MdH&a<)AY>UC~q&CD6I=ghjOW=>_@kSRlk46Uv%
zFCAW6U0qcwMY5A3k?ay%X?BP`X(5?n56Rx_TaHNfR(lv}K$3mimXr&!Kcno6_6TyR
z1A`r*?7fa?_OFg({HIM
z$T`{*$@*QVqm{SvhvS#(^j3p%dG^D?NcIX>N{(f#yvghuS0uYV9>`X@QzASHt=#U8
z%7=*>``y88RUn!z@`R9ro=2*xXU>{aIkKXxyr#Cac6eF!u;H~;RTwU1)=Zx{yRLFr
zY1x#zx~j6OnvoTC)wN|(9$Jd@npHQwu4;DOi8E`aRSvHnHf&_=$kGub%Sx+mQFz*M_`a9Pn=sf
z=T9_%S(SCetI8{;Oew1xGPG>Ulwng)M0FpD_O|&V#Z$pKRWoYpW=^TpiKM4bJ$FXc
z^vd#~RdvJ4hL5PKDw|SPQ&W!SwRmJ;kJ5y^s(O0e>2uJN^TBwvBd3(sRMiX}R#iP@
zcoixTgDn(8d^m5kd^!<7`*R*Kp$eWZ^Ys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