@suss/checker-intent 0.35.0 → 0.36.0

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.cjs CHANGED
@@ -1361,7 +1361,10 @@ function codeEffectsOf(t, deployment) {
1361
1361
  }
1362
1362
  function accessDetail(interaction) {
1363
1363
  if (interaction.class === "config-read") {
1364
- return { fields: [interaction.name], by: [] };
1364
+ return {
1365
+ fields: interaction.name === null ? [] : [interaction.name],
1366
+ by: []
1367
+ };
1365
1368
  }
1366
1369
  if (interaction.class === "stream-write") {
1367
1370
  return interaction.payload === null ? { fields: [], by: [] } : { fields: [], by: [], payload: interaction.payload };
package/dist/index.js CHANGED
@@ -1353,7 +1353,10 @@ function codeEffectsOf(t, deployment) {
1353
1353
  }
1354
1354
  function accessDetail(interaction) {
1355
1355
  if (interaction.class === "config-read") {
1356
- return { fields: [interaction.name], by: [] };
1356
+ return {
1357
+ fields: interaction.name === null ? [] : [interaction.name],
1358
+ by: []
1359
+ };
1357
1360
  }
1358
1361
  if (interaction.class === "stream-write") {
1359
1362
  return interaction.payload === null ? { fields: [], by: [] } : { fields: [], by: [], payload: interaction.payload };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/checker-intent",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "type": "module",
5
5
  "description": "Compare the intent your team wrote down against what suss read out of the code, and report where the two have drifted apart.",
6
6
  "keywords": [
@@ -49,10 +49,10 @@
49
49
  "zod": "^4.0.0"
50
50
  },
51
51
  "dependencies": {
52
- "@suss/behavioral-ir": "0.35.0",
53
- "@suss/checker": "0.35.0",
54
- "@suss/intent-ir": "0.35.0",
55
- "@suss/ir-core": "0.35.0"
52
+ "@suss/behavioral-ir": "0.36.0",
53
+ "@suss/checker": "0.36.0",
54
+ "@suss/intent-ir": "0.36.0",
55
+ "@suss/ir-core": "0.36.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "tsup": "*",