All files / core/blong-kopi/browser/orchestrator/subject init.ts

0% Statements 0/15
0% Branches 0/1
0% Functions 0/1
0% Lines 0/15

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16                               
import {handler} from '@feasibleone/blong';

/**
 * Browser-side subject namespace for the `$subject` realm.
 *
 * A realm exposing portal pages MUST export its subject namespace here so the
 * browser can bind `$subject.*` calls — without this file the browse pages fail
 * with "Method binding failed".
 *
 * The folder name `subject` stays LITERAL — do NOT replace it with the realm
 * name; only the `namespace` value is the realm's subject.
 */
export default handler(() => ({
    namespace: '$subject',
}));