@suss/adapter-typescript 0.5.8 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -394,7 +394,8 @@ interface DiscoveredUnit {
394
394
  */
395
395
  channelInfo?: {
396
396
  messageBus: MessageBusSemantics["messageBus"];
397
- channel: string;
397
+ /** Null when the pack knows the wire but not the channel on it. */
398
+ channel: string | null;
398
399
  };
399
400
  /** The thing that gets deployed and runs this unit, when known. */
400
401
  deployableUnit?: DeployableUnit;
@@ -536,7 +537,7 @@ interface FoundTerminal {
536
537
  * discovered. Inside a nested function only escaping terminals are
537
538
  * matched: see `NESTED_ESCAPING_MATCH_TYPES`.
538
539
  */
539
- declare function findTerminals(func: FunctionRoot, patterns: TerminalPattern[], barriers?: DescentBarriers): FoundTerminal[];
540
+ declare function findTerminals(func: FunctionRoot, patterns: TerminalPattern[], barriers?: DescentBarriers, resolveWrittenValue?: (value: Node) => Node | null): FoundTerminal[];
540
541
 
541
542
  /**
542
543
  * Turns one function into the list of branches a summary is built from.
package/dist/index.d.ts CHANGED
@@ -394,7 +394,8 @@ interface DiscoveredUnit {
394
394
  */
395
395
  channelInfo?: {
396
396
  messageBus: MessageBusSemantics["messageBus"];
397
- channel: string;
397
+ /** Null when the pack knows the wire but not the channel on it. */
398
+ channel: string | null;
398
399
  };
399
400
  /** The thing that gets deployed and runs this unit, when known. */
400
401
  deployableUnit?: DeployableUnit;
@@ -536,7 +537,7 @@ interface FoundTerminal {
536
537
  * discovered. Inside a nested function only escaping terminals are
537
538
  * matched: see `NESTED_ESCAPING_MATCH_TYPES`.
538
539
  */
539
- declare function findTerminals(func: FunctionRoot, patterns: TerminalPattern[], barriers?: DescentBarriers): FoundTerminal[];
540
+ declare function findTerminals(func: FunctionRoot, patterns: TerminalPattern[], barriers?: DescentBarriers, resolveWrittenValue?: (value: Node) => Node | null): FoundTerminal[];
540
541
 
541
542
  /**
542
543
  * Turns one function into the list of branches a summary is built from.