toilscript 0.1.64 → 0.1.65

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "imports": {
3
- "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.64/dist/toilscript.js",
4
- "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.64/dist/cli.js",
3
+ "toilscript": "https://cdn.jsdelivr.net/npm/toilscript@0.1.65/dist/toilscript.js",
4
+ "toilscript/cli": "https://cdn.jsdelivr.net/npm/toilscript@0.1.65/dist/cli.js",
5
5
  "binaryen": "https://cdn.jsdelivr.net/npm/binaryen@130.0.0/index.js",
6
6
  "long": "https://cdn.jsdelivr.net/npm/long@5.3.2/index.js"
7
7
  }
@@ -4657,7 +4657,7 @@ declare module "types:toilscript/src/dbcatalog" {
4657
4657
  /** Build the `toildaemon.catalog` section bytes, or `null` if the program
4658
4658
  * declares no `@daemon` class. Per Part 5 (LE):
4659
4659
  *
4660
- * u16 format_version = 1
4660
+ * u16 format_version = 1 or 2 (2 when a scheduled task is @job)
4661
4661
  * u8 has_daemon
4662
4662
  * u16 n_scheduled
4663
4663
  * per task:
@@ -4673,6 +4673,7 @@ declare module "types:toilscript/src/dbcatalog" {
4673
4673
  * u8 overlap_policy (0 default)
4674
4674
  * u8 catchup_policy (0 default)
4675
4675
  * u64 gas_hint
4676
+ * u8 function_kind (v2 only: 1 Action, 2 Job; v1 is Action)
4676
4677
  *
4677
4678
  * Parses each `@scheduled(spec)` argument; fires diagnostics 9010/9011 for a
4678
4679
  * missing/non-string arg or an unparseable spec.