@ai-ecoverse/slicc-kernel 1.136.2 → 1.136.4

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.
@@ -2783,7 +2783,7 @@ var KERNEL_VERSION, OS_RELEASE;
2783
2783
  var init_version = __esm({
2784
2784
  "src/version.ts"() {
2785
2785
  "use strict";
2786
- KERNEL_VERSION = true ? "1.136.2" : "0.0.0-dev";
2786
+ KERNEL_VERSION = true ? "1.136.4" : "0.0.0-dev";
2787
2787
  OS_RELEASE = "6.0.0-slicc";
2788
2788
  }
2789
2789
  });
@@ -0,0 +1,2 @@
1
+ export declare function signatureOid(cert: Uint8Array): string | undefined;
2
+ export declare function endPointBinding(cert: Uint8Array | undefined): Promise<Uint8Array | undefined>;
@@ -12,6 +12,7 @@ export interface SealedSession {
12
12
  verified: boolean;
13
13
  handshakeAt: number;
14
14
  alpn: string | false;
15
+ binding?: Uint8Array | undefined;
15
16
  anchoring?: (found: Anchors) => Promise<string | undefined>;
16
17
  }
17
18
  export declare function substitutes(s: SealedSession): boolean;
@@ -6,6 +6,9 @@ export interface PgExpect {
6
6
  fake: string;
7
7
  }
8
8
  export declare class PgServer {
9
+ readonly binding: Uint8Array | undefined;
10
+ plus: boolean;
11
+ constructor(binding?: Uint8Array);
9
12
  private buffer;
10
13
  private skip;
11
14
  cleartext: boolean;
@@ -30,8 +33,10 @@ export interface PgAsks {
30
33
  cleartext(placeholders: string[]): Promise<Record<string, string> | undefined>;
31
34
  scram(scram: SessionScram): Promise<Record<string, string> | undefined>;
32
35
  }
36
+ export declare function serverHeader(header: string, server: PgServer): string;
33
37
  export declare class PgClient {
34
38
  private clientFirst;
39
+ private header;
35
40
  private readonly server;
36
41
  private readonly asks;
37
42
  constructor(server: PgServer, asks: PgAsks);
@@ -10,10 +10,18 @@ export interface ScramKeys {
10
10
  serverSignature: Uint8Array;
11
11
  }
12
12
  export declare function base64Of(bytes: Uint8Array): string;
13
+ export interface ClientFirst {
14
+ header: string;
15
+ bare: string;
16
+ }
17
+ export declare function clientFirstOf(message: string): ClientFirst | undefined;
13
18
  export declare function clientFirstBare(message: string): string | undefined;
19
+ export declare function channelOf(header: string, binding?: Uint8Array): string;
14
20
  export declare function exchangeOf(clientFirst: string, serverFirst: string, clientFinal: string): {
15
21
  exchange: ScramExchange;
16
22
  proof: Uint8Array;
23
+ channel: Uint8Array;
24
+ nonce: string;
17
25
  } | undefined;
18
26
  export declare function scramKeys(password: string, x: ScramExchange): Promise<ScramKeys>;
19
27
  export declare function saslprep(password: string): string;
@@ -503,6 +503,7 @@ export declare class WasmProcess {
503
503
  private cancelSignal;
504
504
  private read;
505
505
  private readClipboard;
506
+ complain(line: string): Promise<boolean>;
506
507
  private clipboardComplaint;
507
508
  private write;
508
509
  private openVfs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.136.2",
3
+ "version": "1.136.4",
4
4
  "description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -81,14 +81,14 @@
81
81
  "@ai-ecoverse/wasm-procps": "4.0.7-4",
82
82
  "@ai-ecoverse/wasm-sqlite3": "3.54.0-6",
83
83
  "@ai-ecoverse/wasm-tar": "1.35.0-8",
84
- "@ai-ecoverse/wasm-tls-engine": "4.2.0-5",
84
+ "@ai-ecoverse/wasm-tls-engine": "4.2.0-6",
85
85
  "@ai-ecoverse/wasm-tree": "2.3.2-5",
86
86
  "@ai-ecoverse/wasm-util-linux": "2.42.4-4",
87
87
  "@biomejs/biome": "2.5.15",
88
88
  "@types/node": "24.19.2",
89
89
  "esbuild": "0.28.2",
90
90
  "fake-indexeddb": "6.2.5",
91
- "lefthook": "2.2.1",
91
+ "lefthook": "2.2.2",
92
92
  "monocart-coverage-reports": "2.13.2",
93
93
  "pg-gateway": "0.3.0-beta.4",
94
94
  "playwright-core": "1.64.0",