@bcts/envelope-pattern 1.0.0-alpha.19 → 1.0.0-alpha.21

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 (52) hide show
  1. package/LICENSE +2 -1
  2. package/README.md +1 -1
  3. package/dist/index.cjs +20 -0
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts.map +1 -1
  6. package/dist/index.d.mts.map +1 -1
  7. package/dist/index.iife.js +20 -0
  8. package/dist/index.iife.js.map +1 -1
  9. package/dist/index.mjs +20 -0
  10. package/dist/index.mjs.map +1 -1
  11. package/package.json +11 -22
  12. package/src/error.ts +4 -0
  13. package/src/format.ts +4 -0
  14. package/src/index.ts +4 -0
  15. package/src/parse/index.ts +4 -0
  16. package/src/parse/token.ts +4 -0
  17. package/src/parse/utils.ts +4 -0
  18. package/src/pattern/dcbor-integration.ts +4 -0
  19. package/src/pattern/index.ts +4 -0
  20. package/src/pattern/leaf/array-pattern.ts +4 -0
  21. package/src/pattern/leaf/bool-pattern.ts +4 -0
  22. package/src/pattern/leaf/byte-string-pattern.ts +4 -0
  23. package/src/pattern/leaf/cbor-pattern.ts +4 -0
  24. package/src/pattern/leaf/date-pattern.ts +4 -0
  25. package/src/pattern/leaf/index.ts +4 -0
  26. package/src/pattern/leaf/known-value-pattern.ts +4 -0
  27. package/src/pattern/leaf/map-pattern.ts +4 -0
  28. package/src/pattern/leaf/null-pattern.ts +4 -0
  29. package/src/pattern/leaf/number-pattern.ts +4 -0
  30. package/src/pattern/leaf/tagged-pattern.ts +4 -0
  31. package/src/pattern/leaf/text-pattern.ts +4 -0
  32. package/src/pattern/matcher.ts +4 -0
  33. package/src/pattern/meta/and-pattern.ts +4 -0
  34. package/src/pattern/meta/any-pattern.ts +4 -0
  35. package/src/pattern/meta/capture-pattern.ts +4 -0
  36. package/src/pattern/meta/group-pattern.ts +4 -0
  37. package/src/pattern/meta/index.ts +4 -0
  38. package/src/pattern/meta/not-pattern.ts +4 -0
  39. package/src/pattern/meta/or-pattern.ts +4 -0
  40. package/src/pattern/meta/search-pattern.ts +4 -0
  41. package/src/pattern/meta/traverse-pattern.ts +4 -0
  42. package/src/pattern/structure/assertions-pattern.ts +4 -0
  43. package/src/pattern/structure/digest-pattern.ts +4 -0
  44. package/src/pattern/structure/index.ts +4 -0
  45. package/src/pattern/structure/leaf-structure-pattern.ts +4 -0
  46. package/src/pattern/structure/node-pattern.ts +4 -0
  47. package/src/pattern/structure/object-pattern.ts +4 -0
  48. package/src/pattern/structure/obscured-pattern.ts +4 -0
  49. package/src/pattern/structure/predicate-pattern.ts +4 -0
  50. package/src/pattern/structure/subject-pattern.ts +4 -0
  51. package/src/pattern/structure/wrapped-pattern.ts +4 -0
  52. package/src/pattern/vm.ts +4 -0
package/dist/index.mjs CHANGED
@@ -1238,6 +1238,10 @@ var DatePattern = class DatePattern {
1238
1238
  //#endregion
1239
1239
  //#region src/pattern/leaf/array-pattern.ts
1240
1240
  /**
1241
+ * Copyright © 2023-2026 Blockchain Commons, LLC
1242
+ * Copyright © 2025-2026 Parity Technologies
1243
+ *
1244
+ *
1241
1245
  * @bcts/envelope-pattern - Array pattern matching
1242
1246
  *
1243
1247
  * This is a 1:1 TypeScript port of bc-envelope-pattern-rust array_pattern.rs
@@ -1628,6 +1632,10 @@ function simpleStringHash$2(str) {
1628
1632
  //#endregion
1629
1633
  //#region src/pattern/leaf/tagged-pattern.ts
1630
1634
  /**
1635
+ * Copyright © 2023-2026 Blockchain Commons, LLC
1636
+ * Copyright © 2025-2026 Parity Technologies
1637
+ *
1638
+ *
1631
1639
  * @bcts/envelope-pattern - Tagged pattern matching
1632
1640
  *
1633
1641
  * This is a 1:1 TypeScript port of bc-envelope-pattern-rust tagged_pattern.rs
@@ -1782,6 +1790,10 @@ function simpleStringHash$1(str) {
1782
1790
  //#endregion
1783
1791
  //#region src/pattern/leaf/cbor-pattern.ts
1784
1792
  /**
1793
+ * Copyright © 2023-2026 Blockchain Commons, LLC
1794
+ * Copyright © 2025-2026 Parity Technologies
1795
+ *
1796
+ *
1785
1797
  * @bcts/envelope-pattern - CBOR pattern matching
1786
1798
  *
1787
1799
  * This is a 1:1 TypeScript port of bc-envelope-pattern-rust cbor_pattern.rs
@@ -5585,6 +5597,10 @@ registerTraverseDispatchFunctions(patternPathsWithCaptures, patternCompile, patt
5585
5597
  //#endregion
5586
5598
  //#region src/parse/token.ts
5587
5599
  /**
5600
+ * Copyright © 2023-2026 Blockchain Commons, LLC
5601
+ * Copyright © 2025-2026 Parity Technologies
5602
+ *
5603
+ *
5588
5604
  * @bcts/envelope-pattern - Token types and Lexer
5589
5605
  *
5590
5606
  * This is a 1:1 TypeScript port of bc-envelope-pattern-rust token.rs
@@ -6325,6 +6341,10 @@ var Lexer = class {
6325
6341
  //#endregion
6326
6342
  //#region src/parse/index.ts
6327
6343
  /**
6344
+ * Copyright © 2023-2026 Blockchain Commons, LLC
6345
+ * Copyright © 2025-2026 Parity Technologies
6346
+ *
6347
+ *
6328
6348
  * @bcts/envelope-pattern - Parser entry point
6329
6349
  *
6330
6350
  * This is a 1:1 TypeScript port of bc-envelope-pattern-rust parse/mod.rs