@ai-ecoverse/slicc-kernel 1.130.2 → 1.131.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.
- package/README.md +2 -2
- package/dist/kernel-worker.js +137 -10
- package/dist/kernel-worker.js.map +4 -4
- package/dist/node-process-worker.js +1 -1
- package/dist/node.js +137 -10
- package/dist/node.js.map +4 -4
- package/dist/process-worker.js +1 -1
- package/dist/types/kernel/net/sealed-pg.d.ts +17 -0
- package/package.json +1 -1
package/dist/process-worker.js
CHANGED
|
@@ -2664,7 +2664,7 @@ var KERNEL_VERSION, OS_RELEASE;
|
|
|
2664
2664
|
var init_version = __esm({
|
|
2665
2665
|
"src/version.ts"() {
|
|
2666
2666
|
"use strict";
|
|
2667
|
-
KERNEL_VERSION = true ? "1.
|
|
2667
|
+
KERNEL_VERSION = true ? "1.131.0" : "0.0.0-dev";
|
|
2668
2668
|
OS_RELEASE = "6.0.0-slicc";
|
|
2669
2669
|
}
|
|
2670
2670
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const PG_MESSAGE_MAX: number;
|
|
2
|
+
export type PgAsk = (placeholders: string[]) => Promise<Record<string, string> | undefined>;
|
|
3
|
+
export declare function sniffPg(start: string): 'yes' | 'no' | 'more';
|
|
4
|
+
export declare class PgServer {
|
|
5
|
+
private buffer;
|
|
6
|
+
private skip;
|
|
7
|
+
private lost;
|
|
8
|
+
cleartext: boolean;
|
|
9
|
+
feed(bytes: Uint8Array): void;
|
|
10
|
+
}
|
|
11
|
+
export interface PgFrame {
|
|
12
|
+
bytes: Uint8Array;
|
|
13
|
+
values?: Record<string, string>;
|
|
14
|
+
done: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function pgLength(bytes: Uint8Array, started: boolean): number | undefined;
|
|
17
|
+
export declare function pgPassword(message: Uint8Array, server: PgServer, ask: PgAsk): Promise<PgFrame>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-kernel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.131.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",
|