Skip to content
Français

SessionBundleHelpers

import type { SessionBundleHelpers } from "@elie-laloum/outpost";
  • joinRequired
    (...segments: string[]) => string
    Joins path segments with the sandbox platform separator.
  • sha256Required
    (text: string) => string
    Hexadecimal SHA-256 digest of a UTF-8 string.
export interface SessionBundleHelpers {
  /** Joins sandbox path segments with the sandbox platform separator. */
  join(...segments: string[]): string;
  /** Hex SHA-256 digest of a UTF-8 string. */
  sha256(text: string): string;
}