toiljs 0.0.38 → 0.0.39

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.0.38] - 2026-06-13
4
+
5
+ ### Other Changes
6
+
7
+ - fix(server-env): auto-generate the cookie-globals d.ts (fixes Cookie TS2345) ([#151](https://github.com/dacely-cloud/toiljs/pull/151)) by @BlobMaster41
8
+
9
+
10
+
11
+
3
12
  ## [v0.0.37] - 2026-06-13
4
13
 
5
14
  ### Other Changes
@@ -50,7 +59,7 @@
50
59
  - ⬆️(deps-dev): Bump @microsoft/api-extractor from 7.58.7 to 7.58.8 in the dev-deps group ([#134](https://github.com/dacely-cloud/toiljs/pull/134)) by @dependabot[bot]
51
60
  - ⬆️(deps): Bump sharp from 0.34.5 to 0.35.0 in the production-deps group ([#135](https://github.com/dacely-cloud/toiljs/pull/135)) by @dependabot[bot]
52
61
  - deps: switch hyper-express to @dacely/hyper-express@6.17.4 ([#137](https://github.com/dacely-cloud/toiljs/pull/137)) by @BlobMaster41
53
- - release 0.0.31: @dacely/hyper-express + @dacely/toilscript-loader, drop @btc-vision direct deps ([#138](https://github.com/dacely-cloud/toiljs/pull/138)) by @BlobMaster41
62
+ - release 0.0.31: @dacely/hyper-express + @dacely/toilscript-loader, drop external direct deps ([#138](https://github.com/dacely-cloud/toiljs/pull/138)) by @BlobMaster41
54
63
 
55
64
 
56
65
 
package/as-pect.config.js CHANGED
@@ -58,7 +58,7 @@ export default {
58
58
  /**
59
59
  * Enable code coverage. `securecookies.ts` is excluded: it depends on the
60
60
  * toilscript crypto std (`crypto` / `data` / `bindings/webcrypto`), which the
61
- * as-pect compiler (`@btc-vision/assemblyscript`) does not ship, so it cannot
61
+ * as-pect compiler does not ship, so it cannot
62
62
  * compile here. It is covered end-to-end against the real wasm in
63
63
  * `test/devserver.test.ts`.
64
64
  */
@@ -30,7 +30,7 @@ export default function Header() {
30
30
  <nav className="nav-links">
31
31
  <Toil.Link href="https://toil.org/docs">Docs</Toil.Link>
32
32
  <a
33
- href="https://github.com/btc-vision/toiljs"
33
+ href="https://github.com/dacely-cloud/toiljs"
34
34
  target="_blank"
35
35
  rel="noopener noreferrer"
36
36
  className="nav-github">
@@ -125,7 +125,7 @@ export default function Home() {
125
125
  </Toil.Link>
126
126
  <a
127
127
  className="btn btn-secondary"
128
- href="https://github.com/btc-vision/toiljs"
128
+ href="https://github.com/dacely-cloud/toiljs"
129
129
  target="_blank"
130
130
  rel="noopener noreferrer">
131
131
  <GitHubIcon />
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "toiljs",
3
3
  "type": "module",
4
- "version": "0.0.38",
4
+ "version": "0.0.39",
5
5
  "author": "Dacely",
6
6
  "description": "The modern React framework: a file-based React frontend and a ToilScript-compiled WebAssembly backend.",
7
7
  "repository": {
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Server the runtime singleton, analog to btc-runtime's
3
- * `Blockchain`.
2
+ * Server: the runtime singleton.
4
3
  *
5
4
  * The user's `main.ts` assigns `Server.handler = () => new MyHandler()`.
6
5
  * The `handle(req_ofs, req_len)` wasm export in `runtime/exports`
@@ -1,9 +1,8 @@
1
1
  /**
2
- * Base class every toiljs server-side handler extends, analog to
3
- * btc-runtime's `OP_NET`. Override `handle(req)` to produce the
4
- * response. The framework calls `onRequestStarted` / `onRequestCompleted`
5
- * around every call so the user can hook for logging or metrics
6
- * without re-implementing `handle`.
2
+ * Base class every toiljs server-side handler extends. Override
3
+ * `handle(req)` to produce the response. The framework calls
4
+ * `onRequestStarted` / `onRequestCompleted` around every call so the user
5
+ * can hook for logging or metrics without re-implementing `handle`.
7
6
  */
8
7
 
9
8
  import { Request } from '../request';
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Public surface of the toiljs server runtime, analog to
3
- * `@btc-vision/btc-runtime/runtime`. The user does
2
+ * Public surface of the toiljs server runtime. The user does
4
3
  *
5
4
  * ```ts
6
5
  * import { Server, ToilHandler, Response } from './runtime';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `Potential<T>` is just `T | null`. Mirrors btc-runtime's
3
- * convention so the runtime's optional fields read consistently.
2
+ * `Potential<T>` is just `T | null`, a naming convention so the runtime's
3
+ * optional fields read consistently.
4
4
  */
5
5
  export type Potential<T> = T | null;
@@ -2,7 +2,7 @@
2
2
  // integration). Imports the specific modules rather than the runtime index so
3
3
  // `securecookies.ts` is not pulled into the as-pect graph: it depends on the
4
4
  // toilscript crypto std (`crypto` / `data` / `bindings/webcrypto`), which the
5
- // as-pect compiler (`@btc-vision/assemblyscript`) does not ship. `SecureCookies`
5
+ // as-pect compiler does not ship. `SecureCookies`
6
6
  // is exercised end-to-end against the real toilscript-compiled wasm in
7
7
  // `test/devserver.test.ts`.
8
8
  import { Method, Request, Header } from '../../server/runtime/request';