From 2cee97b902197f82137de8ce738eef026b92f101 Mon Sep 17 00:00:00 2001 From: chrisdickinson Date: Thu, 25 Jul 2024 21:38:45 +0000 Subject: [PATCH] deploy: 943db4cd0c17bf9982448cc384626aaf2339180b --- assets/search.js | 2 +- classes/CallContext.html | 21 +++++++++++---------- classes/PluginOutput.html | 6 +++--- functions/createPlugin.html | 2 +- interfaces/Capabilities.html | 18 +++++++++--------- interfaces/ExtismPluginOptions.html | 16 ++++++++-------- interfaces/Manifest.html | 4 ++-- interfaces/ManifestWasmData.html | 4 ++-- interfaces/ManifestWasmModule.html | 4 ++-- interfaces/ManifestWasmPath.html | 4 ++-- interfaces/ManifestWasmResponse.html | 4 ++-- interfaces/ManifestWasmUrl.html | 4 ++-- interfaces/Plugin.html | 10 +++++----- interfaces/PluginConfigLike.html | 2 +- types/ManifestLike.html | 2 +- types/ManifestWasm.html | 2 +- types/MemoryOptions.html | 2 +- types/PluginConfig.html | 2 +- variables/CAPABILITIES-1.html | 2 +- 19 files changed, 56 insertions(+), 55 deletions(-) diff --git a/assets/search.js b/assets/search.js index 92b71b1..3ba8574 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8WcUXObSBKA/wt6VRzBMAP4LfHlalO1W5u67GYfVCkXlsY2FwlUgGznUvnvVwMDdEO3BMh3++RK1D3d019P0wMDP5w8ey6c6/UP51uSbp1r5S+dNN5r59rZ5Dou9afd8SFJnaVzzHfOtXN/TDdlkqXFW/jz1WO53zlLZ7OLi0IXzrXj/Fw2Q/pu5ItVN26qn3uD7rPtcaeLapQF/HnUeFt9Hx93JT1a9yM5lvDaYW7efXr3/uOvH//4+OFzO9ZTnCfx3U4Xb+HPb9yTE/ak6kaND/FdskvKRBftqEla6vw+3phhwe8nB3VXXjfleLfLnj8/xrnevj/e3+v8JtvqzajxF6wuMLt0DnGu07I/AcadfZwm97ooPx8Phywvi09x+ThutgtOdb4zmzwrit/z5CFJbx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Woz2V3+1wXJCkIUsQlS/3ZiDrCWfMwDhQYYNvlinI9RlF9ekKnT+bBokYzcEGZdbkQ2Dc/wbzBIvNCTquI7ddQwMTB4uTU7BFhbY8IgyUGSqriIIPPH4BZwqTk0utBl7o5bAsyDARIcWF+0GWyH6oCQopby0a1PQsLdEFdUNwqetDlU/tADSxByHTFBeoxLp6r72RswOdiwCAgQ7kRsqKkKjBYk5EtaRFHOylie0AXzB1kl+JWVX0uEtQsMOmA49Q8RAPTlDBWHKTmRArIKKhnW6SQC9S+fekNVDwQYJ/zt1HcVed4wfoD+Sy4+tEoN5/BGbQoYApclJsx6lfogPdgIftc2YDKg4IPcIkx1pvXZ0EQQJ4Jjhwcon4nEvgAAuBzywQO0L2iDLwAkRBjIlG9ZwqcgD0Ht0r28ctjWR4a+4NuywczkVx928cvh/rNGqAI+0oew8tTnA+NgiSUrOf2dTwQMNCleL7teE6rE1c/H4RN2lEidgKD3BHACcGV11Q/D/sbWFsZvUGegUD5rNLAkg8yS3KlpVYb9pUS2FRcdKFyv8RIYF2dtj7siyQobgG3suoTGqAUC1iKuaVk37YAtmAZ43KfXLnAScFV4PyYJumz/Z4UyAKwblwufwpd3plGuzoBCq6PoC0IT+seh8ogSCGX74Uu75uzvUAV5HzIzbdR7VkFWR9ypbYwnUx1ahpclQGcgEvDWhE7q+AehEu/WjFEegBMwGVDocvj0FWQDiG3Sq1mz1dwIQq5vLWa2FnYDnPLpGCaPNj+r1h/q3sKYHdfVB8nAYsAABKsC/VJYJAPQCtksdZHo4DLcNGs2Ay07UrZfrUPLDuQwi47ZzuA2bId2q8PdoNE0AtmjH5Pq8CyC7g1C98ABmUcgJLcpK0q1vTAqvPs7TfJedxvK0CsBbd+jkW1r0URhkWYW+n1+VSQDnCzwEVn0EICDj5p6evSOSQHvUtS7Vyvv/78+V+cAiyS9lYAAA=="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA8VcbXObSBL+L+ir4vAyw4u/JT5frat2a1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Ry5/ClU+6Ea9Ot4LeiCwPIendY9DZZD3ITdhC1Wq+pAKiG4Io8vFqVDlY3PkG4CC2RJykWpUe/6C+RJynBa6B6oO04P1HNAacAlcK2Jnfbj74RK3VgyRHqA0OBGf49BVENqQm99Gs+crWMJCbvEwmthZ2EhzE6xg2kMPZgKLWt3NAPcViurMJ5g+gCCPdaE+IA7yAWiFLK31yTHgMuzfbXbOmEanbD/mCCYsSGGH5cgY0Ju9Q/tRys4I2hozNvrdsA+iHXCewxfDwQIACoXkpp1RxZoumHWuufMnOY/7DQmYBx43f45FtSNGEYZpxc30+tgySAe4zeCio5X62RcALiKuDg66VqAkSBe/Lq1DclC7JFXW9errz5//Banb4utGWQAA"; \ No newline at end of file diff --git a/classes/CallContext.html b/classes/CallContext.html index dfc1772..a4c3635 100644 --- a/classes/CallContext.html +++ b/classes/CallContext.html @@ -1,4 +1,4 @@ -CallContext | extism

Class CallContext

Hierarchy

  • CallContext

Properties

#arrayBufferType +CallContext | extism

Class CallContext

Hierarchy

  • CallContext

Properties

#arrayBufferType: (new (size) => ArrayBufferLike)

Type declaration

    • new (size): ArrayBufferLike
    • Parameters

      • size: number

      Returns ArrayBufferLike

#config: PluginConfig
#decoder: TextDecoder
#encoder: TextEncoder
#hostContext: any
#logger: Console
#memoryOptions: MemoryOptions
#stack: [null | number, null | number, null | number][]
#vars: Map<string, number> = ...

Methods

  • Allocate a chunk of host memory visible to plugins via other extism host functions. +

Properties

#arrayBufferType: (new (size) => ArrayBufferLike)

Type declaration

    • new (size): ArrayBufferLike
    • Parameters

      • size: number

      Returns ArrayBufferLike

#config: PluginConfig
#decoder: TextDecoder
#encoder: TextEncoder
#hostContext: any
#logger: Console
#memoryOptions: MemoryOptions
#stack: [null | number, null | number, null | number][]
#vars: Map<string, Uint8Array> = ...
#varsSize: number

Methods

  • Allocate a chunk of host memory visible to plugins via other extism host functions. Returns the start address of the block.

    -

    Parameters

    • size: number | bigint

    Returns bigint

  • Delete a variable if present.

    +

    Parameters

    • name: string

    Returns void

  • Set a variable to a given string or byte array value. Returns the start -address of the variable. The start address is reused when changing the -value of an existing variable.

    -

    Parameters

    • name: string
    • value: string | Uint8Array

    Returns bigint

    bigint

    -
  • Set a variable to a given string or byte array value.

    +

    Parameters

    • name: string
    • value: string | Uint8Array

    Returns void

  • Store a string or Uint8Array value in extism memory.

    Parameters

    • input: string | Uint8Array

    Returns bigint

    bigint

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/PluginOutput.html b/classes/PluginOutput.html index 41a967b..7bfce2d 100644 --- a/classes/PluginOutput.html +++ b/classes/PluginOutput.html @@ -2,7 +2,7 @@ returned by plugin.call() or * | callContext.read(). It implements the read side of DataView along with methods for reading string and JSON data out of the backing buffer.

-

Hierarchy

Properties

Hierarchy

  • DataView
    • PluginOutput

Properties

#bytes: null | Uint8Array = null
[toStringTag]: string
buffer: ArrayBuffer
byteLength: number
byteOffset: number
#decoder: TextDecoder = ...

Methods

  • Gets the BigInt64 value at the specified byte offset from the start of the view. There is +

Properties

#bytes: null | Uint8Array = null
[toStringTag]: string
buffer: ArrayBuffer
byteLength: number
byteOffset: number
#decoder: TextDecoder = ...

Methods

  • Gets the BigInt64 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

    Parameters

    • byteOffset: number

      The place in the buffer at which the value should be retrieved.

    • Optional littleEndian: boolean

      If false or undefined, a big-endian value should be read.

      @@ -70,4 +70,4 @@

    Returns number

  • Gets the Uint8 value at the specified byte offset from the start of the view. There is no alignment constraint; multi-byte values may be fetched from any offset.

    Parameters

    • byteOffset: number

      The place in the buffer at which the value should be retrieved.

      -

    Returns number

  • Parameters

    • _byteOffset: number
    • _value: bigint
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: bigint
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number
    • Optional _littleEndian: boolean

    Returns void

  • Parameters

    • _byteOffset: number
    • _value: number

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Returns number

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/createPlugin.html b/functions/createPlugin.html index 4022b95..2f491cf 100644 --- a/functions/createPlugin.html +++ b/functions/createPlugin.html @@ -11,4 +11,4 @@
  • opts: ExtismPluginOptions = {}

    options for controlling the behavior of the plugin.

  • Returns Promise<Plugin>

    a promise for a Plugin.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/Capabilities.html b/interfaces/Capabilities.html index cca4eb4..2dd21d8 100644 --- a/interfaces/Capabilities.html +++ b/interfaces/Capabilities.html @@ -1,4 +1,4 @@ -Capabilities | extism

    Interface Capabilities

    Hierarchy

    • Capabilities

    Properties

    allowSharedBufferCodec +Capabilities | extism

    Interface Capabilities

    Hierarchy

    • Capabilities

    Properties

    crossOriginChecksEnforced: boolean

    Whether or not cross-origin checks are enforced for outgoing HTTP requests on this platform.

    +
    crossOriginChecksEnforced: boolean

    Whether or not cross-origin checks are enforced for outgoing HTTP requests on this platform.

    • ❌ node
    • ❌ deno
    • @@ -24,9 +24,9 @@
    • ✅ chrome
    • ✅ webkit
    -
    extismStdoutEnvVarSet: boolean

    Whether or not the EXTISM_ENABLE_WASI_OUTPUT environment variable has been set.

    +
    extismStdoutEnvVarSet: boolean

    Whether or not the EXTISM_ENABLE_WASI_OUTPUT environment variable has been set.

    This value is consulted whenever ExtismPluginOptions#enableWasiOutput is omitted.

    -
    fsAccess: boolean

    Whether or not the host environment has access to a filesystem.

    +
    fsAccess: boolean

    Whether or not the host environment has access to a filesystem.

    • ✅ node
    • ✅ deno
    • @@ -35,7 +35,7 @@
    • ❌ chrome
    • ❌ webkit
    -
    hasWorkerCapability: boolean

    Whether or not the host environment supports moving Wasm plugin workloads to a worker. This requires +

    hasWorkerCapability: boolean

    Whether or not the host environment supports moving Wasm plugin workloads to a worker. This requires SharedArrayBuffer support, which requires window.crossOriginIsolated to be true in browsers.

    See

    crossOriginalIsolated on MDN

      @@ -46,7 +46,7 @@
    • 🔒 chrome
    • 🔒 webkit
    -
    manifestSupportsPaths: boolean

    Whether or not ManifestWasm items support the "path:" key.

    +
    manifestSupportsPaths: boolean

    Whether or not ManifestWasm items support the "path:" key.

    • ✅ node
    • ✅ deno
    • @@ -55,7 +55,7 @@
    • ❌ chrome
    • ❌ webkit
    -
    supportsTimeouts: boolean

    Whether or not the host environment supports timeouts.

    +
    supportsTimeouts: boolean

    Whether or not the host environment supports timeouts.

    • ✅ node
    • ✅ deno
    • @@ -64,7 +64,7 @@
    • ✅ chrome
    • ✅ webkit
    -
    supportsWasiPreview1: boolean

    Whether or not the host environment supports WASI preview 1.

    +
    supportsWasiPreview1: boolean

    Whether or not the host environment supports WASI preview 1.

    See

    WASI and WASI Preview 1

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/ExtismPluginOptions.html b/interfaces/ExtismPluginOptions.html index 4314381..4d9f500 100644 --- a/interfaces/ExtismPluginOptions.html +++ b/interfaces/ExtismPluginOptions.html @@ -1,5 +1,5 @@ ExtismPluginOptions | extism

    Interface ExtismPluginOptions

    Options for initializing an Extism plugin.

    -

    Hierarchy

    • ExtismPluginOptions

    Properties

    Hierarchy

    • ExtismPluginOptions

    Properties

    allowedHosts? allowedPaths? config? enableWasiOutput? @@ -15,16 +15,16 @@

    Requires the plugin to run in a worker using runInWorker: true.

    Example

    await createPlugin('path/to/some/wasm', {
    runInWorker: true,
    allowedHosts: ['*.example.com', 'www.dylibso.com']
    })
    -
    allowedPaths?: {
        [key: string]: string;
    }

    Type declaration

    • [key: string]: string
    enableWasiOutput?: boolean

    Whether WASI stdout should be forwarded to the host.

    +
    allowedPaths?: {
        [key: string]: string;
    }

    Type declaration

    • [key: string]: string
    enableWasiOutput?: boolean

    Whether WASI stdout should be forwarded to the host.

    Overrides the EXTISM_ENABLE_WASI_OUTPUT environment variable.

    -
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    }

    Type declaration

      • (input, init?): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optional init: RequestInit

        Returns Promise<Response>

      • (input, init?): Promise<Response>
      • Parameters

        • input: any
        • Optional init: RequestInit

        Returns Promise<Response>

    functions?: {
        [key: string]: {
            [key: string]: ((callContext, ...args) => any);
        };
    }

    A map of namespaces to function names to host functions.

    +
    fetch?: {
        (input, init?): Promise<Response>;
        (input, init?): Promise<Response>;
    }

    Type declaration

      • (input, init?): Promise<Response>
      • Parameters

        • input: URL | RequestInfo
        • Optional init: RequestInit

        Returns Promise<Response>

      • (input, init?): Promise<Response>
      • Parameters

        • input: any
        • Optional init: RequestInit

        Returns Promise<Response>

    functions?: {
        [key: string]: {
            [key: string]: ((callContext, ...args) => any);
        };
    }

    A map of namespaces to function names to host functions.

    const functions = {
    'my_great_namespace': {
    'my_func': (callContext: CallContext, input: bigint) => {
    const output = callContext.read(input);
    if (output !== null) {
    console.log(output.string());
    }
    }
    }
    }
    -

    Type declaration

    • [key: string]: {
          [key: string]: ((callContext, ...args) => any);
      }
      • [key: string]: ((callContext, ...args) => any)
          • (callContext, ...args): any
          • Parameters

            Returns any

    logger?: Console

    A logger implementation. Must provide info, debug, warn, and error methods.

    -
    memory?: MemoryOptions
    runInWorker?: boolean

    Whether or not to run the Wasm module in a Worker thread. Requires +

    Type declaration

    • [key: string]: {
          [key: string]: ((callContext, ...args) => any);
      }
      • [key: string]: ((callContext, ...args) => any)
          • (callContext, ...args): any
          • Parameters

            Returns any

    logger?: Console

    A logger implementation. Must provide info, debug, warn, and error methods.

    +
    memory?: MemoryOptions
    runInWorker?: boolean

    Whether or not to run the Wasm module in a Worker thread. Requires CAPABILITIES.hasWorkerCapability to be true. Defaults to false.

    This feature is marked experimental as we work out a bug.

    -
    sharedArrayBufferSize?: number
    timeoutMs?: null | number
    useWasi?: boolean

    Whether or not to enable WASI preview 1.

    -

    Generated using TypeDoc

    \ No newline at end of file +
    sharedArrayBufferSize?: number
    timeoutMs?: null | number
    useWasi?: boolean

    Whether or not to enable WASI preview 1.

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/Manifest.html b/interfaces/Manifest.html index 0c98652..257476f 100644 --- a/interfaces/Manifest.html +++ b/interfaces/Manifest.html @@ -3,7 +3,7 @@

    Every member of .wasm is expected to be an instance of ManifestWasm.

    See

    Extism > Concepts > Manifest

    -

    Hierarchy

    Properties

    Hierarchy

    • ManifestOptions
      • Manifest

    Properties

    allowedHosts? allowedPaths? allowed_hosts allowed_paths @@ -16,4 +16,4 @@

    Requires the plugin to run in a worker using runInWorker: true.

    Example

    await createPlugin('path/to/some/wasm', {
    runInWorker: true,
    allowedHosts: ['*.example.com', 'www.dylibso.com']
    })
    -
    allowedPaths?: {
        [key: string]: string;
    }

    Type declaration

    • [key: string]: string
    allowed_hosts: undefined | string[]
    allowed_paths: undefined | {
        [key: string]: string;
    }

    Type declaration

    • [key: string]: string
    memory?: MemoryOptions
    timeoutMs?: null | number
    timeout_ms: undefined | null | number
    wasm: ManifestWasm[]

    Generated using TypeDoc

    \ No newline at end of file +
    allowedPaths?: {
        [key: string]: string;
    }

    Type declaration

    • [key: string]: string
    allowed_hosts: undefined | string[]
    allowed_paths: undefined | {
        [key: string]: string;
    }

    Type declaration

    • [key: string]: string
    memory?: MemoryOptions
    timeoutMs?: null | number
    timeout_ms: undefined | null | number
    wasm: ManifestWasm[]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/ManifestWasmData.html b/interfaces/ManifestWasmData.html index 969e874..cbd404b 100644 --- a/interfaces/ManifestWasmData.html +++ b/interfaces/ManifestWasmData.html @@ -1,3 +1,3 @@ ManifestWasmData | extism

    Interface ManifestWasmData

    Represents the raw bytes of a WASM file loaded into memory

    -

    Hierarchy

    • ManifestWasmData

    Properties

    Properties

    data: Uint8Array

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Properties

    Properties

    data: Uint8Array

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/ManifestWasmModule.html b/interfaces/ManifestWasmModule.html index 825d9a0..b6e30fb 100644 --- a/interfaces/ManifestWasmModule.html +++ b/interfaces/ManifestWasmModule.html @@ -1,3 +1,3 @@ ManifestWasmModule | extism

    Interface ManifestWasmModule

    Represents a WASM module as a response

    -

    Hierarchy

    • ManifestWasmModule

    Properties

    Properties

    module: Module

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Properties

    Properties

    module: Module

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/ManifestWasmPath.html b/interfaces/ManifestWasmPath.html index 591ef11..626379c 100644 --- a/interfaces/ManifestWasmPath.html +++ b/interfaces/ManifestWasmPath.html @@ -1,3 +1,3 @@ ManifestWasmPath | extism

    Interface ManifestWasmPath

    Represents a path to a WASM module

    -

    Hierarchy

    • ManifestWasmPath

    Properties

    Properties

    path: string

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Properties

    Properties

    path: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/ManifestWasmResponse.html b/interfaces/ManifestWasmResponse.html index e8a901e..51bc2be 100644 --- a/interfaces/ManifestWasmResponse.html +++ b/interfaces/ManifestWasmResponse.html @@ -1,3 +1,3 @@ ManifestWasmResponse | extism

    Interface ManifestWasmResponse

    Represents a WASM module as a response

    -

    Hierarchy

    • ManifestWasmResponse

    Properties

    Properties

    response: Response

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Properties

    Properties

    response: Response

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/ManifestWasmUrl.html b/interfaces/ManifestWasmUrl.html index efb6567..8c15045 100644 --- a/interfaces/ManifestWasmUrl.html +++ b/interfaces/ManifestWasmUrl.html @@ -1,3 +1,3 @@ ManifestWasmUrl | extism

    Interface ManifestWasmUrl

    Represents a url to a WASM module

    -

    Hierarchy

    • ManifestWasmUrl

    Properties

    url -

    Properties

    url: string | URL

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Properties

    url +

    Properties

    url: string | URL

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/Plugin.html b/interfaces/Plugin.html index 28497cd..1db7d64 100644 --- a/interfaces/Plugin.html +++ b/interfaces/Plugin.html @@ -1,4 +1,4 @@ -Plugin | extism

    Interface Plugin

    Hierarchy

    • Plugin

    Methods

    call +Plugin | extism

    Interface Plugin

    Hierarchy

    • Plugin

    Methods

    call close functionExists getExports @@ -11,10 +11,10 @@
  • Optional input: string | number | Uint8Array

    The input to pass to the function

  • Optional hostContext: T

    Per-call context to make available to host functions

  • Returns Promise<null | PluginOutput>

    The result from the function call

    -
    • Check if a function exists in the WebAssembly module.

      +
    • Check if a function exists in the WebAssembly module.

      Parameters

      • funcName: string

        The function's name.

      Returns Promise<boolean>

      true if the function exists, otherwise false

      -
    • Returns Promise<ModuleExportDescriptor[]>

    • Returns Promise<ModuleImportDescriptor[]>

    • Whether the plugin is currently processing a call.

      -

      Returns boolean

    • Returns Promise<ModuleExportDescriptor[]>

    • Returns Promise<ModuleImportDescriptor[]>

    • Whether the plugin is currently processing a call.

      +

      Returns boolean

    • Reset Plugin memory. If called while the plugin is actively executing, memory will not be reset.

      Returns Promise<boolean>

      Whether or not the reset was successful.

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/PluginConfigLike.html b/interfaces/PluginConfigLike.html index 4caa17c..e409904 100644 --- a/interfaces/PluginConfigLike.html +++ b/interfaces/PluginConfigLike.html @@ -1,2 +1,2 @@ PluginConfigLike | extism

    Interface PluginConfigLike

    Plugin Config

    -

    Hierarchy

    • PluginConfigLike

    Indexable

    [key: string]: string

    Generated using TypeDoc

    \ No newline at end of file +

    Hierarchy

    Indexable

    [key: string]: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/ManifestLike.html b/types/ManifestLike.html index fa3c32d..b5ca8d5 100644 --- a/types/ManifestLike.html +++ b/types/ManifestLike.html @@ -13,4 +13,4 @@

    Throws

    TypeError when URL parameters don't resolve to a known content-type

    Throws

    TypeError when the resulting Manifest does not contain a wasm member with valid ManifestWasm items.

    See

    Extism > Concepts > Manifest

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/ManifestWasm.html b/types/ManifestWasm.html index 63338e5..8e08045 100644 --- a/types/ManifestWasm.html +++ b/types/ManifestWasm.html @@ -1,2 +1,2 @@ ManifestWasm | extism

    Type alias ManifestWasm

    ManifestWasm: (ManifestWasmUrl | ManifestWasmData | ManifestWasmPath | ManifestWasmResponse | ManifestWasmModule) & {
        hash?: string;
        name?: string;
    }

    The WASM to load as bytes, a path, a fetch Response, a WebAssembly.Module, or a url

    -

    Type declaration

    • Optional hash?: string
    • Optional name?: string

    Generated using TypeDoc

    \ No newline at end of file +

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/MemoryOptions.html b/types/MemoryOptions.html index 45d1397..014e75d 100644 --- a/types/MemoryOptions.html +++ b/types/MemoryOptions.html @@ -1,4 +1,4 @@ MemoryOptions | extism

    Type alias MemoryOptions

    MemoryOptions: {
        maxHttpResponseBytes?: number;
        maxPages?: number;
        maxVarBytes?: number;
    }

    Type declaration

    • Optional maxHttpResponseBytes?: number

      Maximum number of bytes to read from an HTTP response.

    • Optional maxPages?: number

      Maximum number of pages to allocate for the WebAssembly memory. Each page is 64KB.

    • Optional maxVarBytes?: number

      Maximum number of bytes to allocate for plugin Vars.

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/types/PluginConfig.html b/types/PluginConfig.html index 527d363..7f65b9b 100644 --- a/types/PluginConfig.html +++ b/types/PluginConfig.html @@ -1 +1 @@ -PluginConfig | extism

    Type alias PluginConfig

    PluginConfig: Record<string, string>

    Generated using TypeDoc

    \ No newline at end of file +PluginConfig | extism

    Type alias PluginConfig

    PluginConfig: Record<string, string>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/variables/CAPABILITIES-1.html b/variables/CAPABILITIES-1.html index fb9facf..2b5ca9a 100644 --- a/variables/CAPABILITIES-1.html +++ b/variables/CAPABILITIES-1.html @@ -1 +1 @@ -CAPABILITIES | extism

    Variable CAPABILITIESConst

    CAPABILITIES: Capabilities = ...

    Generated using TypeDoc

    \ No newline at end of file +CAPABILITIES | extism

    Variable CAPABILITIESConst

    CAPABILITIES: Capabilities = ...

    Generated using TypeDoc

    \ No newline at end of file