Function: diffContracts()
ts
function diffContracts(before, after): ContractDiffResult;Defined in: packages/core/src/introspection/ContractDiff.ts:108
Compute the semantic diff between two snapshots of a tool contract.
Parameters
| Parameter | Type | Description |
|---|---|---|
before | ToolContract | Previous contract snapshot |
after | ToolContract | Current contract snapshot |
Returns
Classified, sorted list of deltas