deploy
Deploy transactions for one or all namespaces.
Signature:
deploy(client: Client, namespace?: string | number): Promise<void>Module:
@olenbetong/appframe-updater
Parameters
client: Appframe dataClientinstance.namespace(optional): Namespace ID or name. If omitted, deploys for all namespaces with pending transactions.
Behavior
Resolves the namespace (when provided) via
getNamespaceand invokes thesstp_Deploy_Deployprocedure.Typically follows
generate()and precedesapply()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 IDLast updated
Was this helpful?