@lionden/leo-compiler 0.5.0 → 0.5.2

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.
@@ -458,10 +458,10 @@ function normalizeStorageType(raw, programId) {
458
458
  // Ref constructors
459
459
  // ---------------------------------------------------------------------------
460
460
  /**
461
- * Self-reference canonicalization: Leo 4.2 emits self-refs with an explicit
462
- * `program: "<self>.aleo"` where 4.1 emitted `program: null`. Collapse the
463
- * self form to `null` (the historical local convention) so a 4.1 self-ref and
464
- * a 4.2 self-ref compare equal everywhere.
461
+ * Self-reference canonicalization: Leo (4.1 and 4.2+) emits struct/record
462
+ * self-refs with an explicit `program: "<self>.aleo"`, while legacy string refs
463
+ * upgrade to `program: null`. Collapse the self form to `null` (the historical
464
+ * local convention) so every self-ref compares equal everywhere.
465
465
  */
466
466
  function canonicalizeRefProgram(program, programId) {
467
467
  return program === programId ? null : program;
@@ -345,7 +345,7 @@ export interface CapturedRecord<T> {
345
345
  * sibling concrete output in the same callgraph (typically the materialized
346
346
  * static record that a V15-compliant callee emitted alongside the dynamic
347
347
  * handle, per snarkVM's V15 record-existence rule) and decrypts that
348
- * ciphertext via the matcher's deserializer. See \`docs/network.md\` §
348
+ * ciphertext via the matcher's deserializer. See \`docs/typechain.md\` §
349
349
  * Id-only record outputs for the recovery flow.
350
350
  */
351
351
  export interface IdOnlyDynamicRecordHandle extends IdOnlyRecordHandleBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lionden/leo-compiler",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "build": "tsc --build"
29
29
  },
30
30
  "dependencies": {
31
- "@lionden/config": "^0.5.0",
32
- "@lionden/core": "^0.5.0"
31
+ "@lionden/config": "^0.5.2",
32
+ "@lionden/core": "^0.5.2"
33
33
  }
34
34
  }