deploy

Deploy transactions for one or all namespaces.

  • Signature: deploy(client: Client, namespace?: string | number): Promise<void>

  • Module: @olenbetong/appframe-updater

Parameters

  • client: Appframe data Client instance.

  • namespace (optional): Namespace ID or name. If omitted, deploys for all namespaces with pending transactions.

Behavior

  • Resolves the namespace (when provided) via getNamespace and invokes the sstp_Deploy_Deploy procedure.

  • Typically follows generate() and precedes apply() in the lifecycle.

Errors

  • Throws if the procedure call fails or the namespace cannot be resolved.

Example

import { Client } from "@olenbetong/appframe-data";
import { deploy } from "@olenbetong/appframe-updater";

const client = new Client("https://your.host");
await deploy(client, 101); // by ID

Last updated

Was this helpful?