@shapeshift-labs/frontier-lang-parser 0.3.21 → 0.3.22

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.
Files changed (2) hide show
  1. package/dist/metadata.js +1 -1
  2. package/package.json +1 -1
package/dist/metadata.js CHANGED
@@ -168,7 +168,7 @@ function mergeInterlinguaBlocks(blocks) {
168
168
  obligationIds: blocks.flatMap((block) => ids(block.record?.obligations)),
169
169
  loweringIds: blocks.flatMap((block) => ids(block.record?.loweringRecords)),
170
170
  liftIds: blocks.flatMap((block) => ids(block.record?.liftRecords)),
171
- evidenceIds: [...new Set(blocks.flatMap((block) => block.record?.query?.proofEvidenceIds ?? []).concat(blocks.flatMap((block) => block.record?.query?.constraintEvidenceIds ?? [])))],
171
+ evidenceIds: [...new Set(blocks.flatMap((block) => block.record?.lowering?.evidenceIds ?? []).concat(blocks.flatMap((block) => block.record?.query?.proofEvidenceIds ?? []), blocks.flatMap((block) => block.record?.query?.constraintEvidenceIds ?? [])))],
172
172
  routeIds: [...new Set(interlinguaRecords.map((record) => record.routeId).filter(Boolean))],
173
173
  summary: {
174
174
  interlinguaCount: interlinguaRecords.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapeshift-labs/frontier-lang-parser",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "Parser for the first Frontier Lang .frontier syntax slice.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",