@ai-ecoverse/slicc-kernel 1.155.0 → 1.156.0

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.
@@ -2964,7 +2964,7 @@ var KERNEL_VERSION, OS_RELEASE;
2964
2964
  var init_version = __esm({
2965
2965
  "src/version.ts"() {
2966
2966
  "use strict";
2967
- KERNEL_VERSION = true ? "1.155.0" : "0.0.0-dev";
2967
+ KERNEL_VERSION = true ? "1.156.0" : "0.0.0-dev";
2968
2968
  OS_RELEASE = "6.0.0-slicc";
2969
2969
  }
2970
2970
  });
@@ -1,3 +1,4 @@
1
+ import { KernelError } from '../fd-table.js';
1
2
  import { type TlsCipher } from './tls-ciphers.js';
2
3
  import { type TlsEngine, type TlsLeaf, type TlsSession, type TlsStore } from './tls-engine.js';
3
4
  import type { UplinkConn } from './uplink.js';
@@ -35,6 +36,7 @@ export interface TlsClientOptions {
35
36
  }
36
37
  export declare function clientFlags(o: TlsClientOptions): number;
37
38
  export declare function openSession(o: TlsClientOptions): TlsSession;
39
+ export declare function recordRefusal(opening: Uint8Array): KernelError | undefined;
38
40
  export declare function verdictOf(o: TlsClientOptions, session: TlsSession): boolean;
39
41
  export declare function tlsClient(conn: UplinkConn, o: TlsClientOptions, taken?: Uint8Array): Promise<{
40
42
  conn: UplinkConn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.155.0",
3
+ "version": "1.156.0",
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",