@ai-ecoverse/slicc-kernel 1.136.3 → 1.136.5

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.3" : "0.0.0-dev";
2786
+ KERNEL_VERSION = true ? "1.136.5" : "0.0.0-dev";
2787
2787
  OS_RELEASE = "6.0.0-slicc";
2788
2788
  }
2789
2789
  });
@@ -17,6 +17,11 @@ export interface Command {
17
17
  imports?: string;
18
18
  refused?: string;
19
19
  shows?: string;
20
+ origin?: {
21
+ abi: string;
22
+ glue: string;
23
+ wasm: string;
24
+ };
20
25
  variants?: CommandVariant[];
21
26
  }
22
27
  export interface CommandVariant {
@@ -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;
@@ -262,6 +262,8 @@ export declare class Launcher {
262
262
  private scopeOf;
263
263
  private commandAt;
264
264
  resolve(file: string, argv0: string, cwd: string, scope?: string): Promise<Target | undefined>;
265
+ private ownOrRefused;
266
+ private refusedAt;
265
267
  private glueOwner;
266
268
  private readonly sameFiles;
267
269
  private sameFile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.136.3",
3
+ "version": "1.136.5",
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",