@computesdk/kosa8 1.0.2 → 1.0.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.
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as computesdk from 'computesdk';
|
|
2
|
-
import * as _computesdk_provider from '@computesdk/provider';
|
|
3
2
|
import { CreateInstanceOptions, RunCommandOptions, CommandResult } from '@computesdk/provider';
|
|
4
3
|
|
|
5
4
|
interface Kosa8Config {
|
|
@@ -67,7 +66,7 @@ type ExecRunner = (sandbox: Kosa8Sandbox, command: string, options?: RunCommandO
|
|
|
67
66
|
declare const WRITE_CHUNK_CHARS: number;
|
|
68
67
|
/** Writes a file through exec: base64 chunks into a temporary file beside it, then an atomic rename. */
|
|
69
68
|
declare function writeFileViaExec(sandbox: Kosa8Sandbox, path: string, content: string, run: ExecRunner): Promise<void>;
|
|
70
|
-
declare const kosa8: (config: Kosa8Config &
|
|
69
|
+
declare const kosa8: (config: Kosa8Config & computesdk.ProcessRuntimeOptions) => computesdk.Provider<Kosa8Sandbox, any, any, computesdk.Volume> & {
|
|
71
70
|
readonly sizes: computesdk.InstanceSizeManager;
|
|
72
71
|
};
|
|
73
72
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as computesdk from 'computesdk';
|
|
2
|
-
import * as _computesdk_provider from '@computesdk/provider';
|
|
3
2
|
import { CreateInstanceOptions, RunCommandOptions, CommandResult } from '@computesdk/provider';
|
|
4
3
|
|
|
5
4
|
interface Kosa8Config {
|
|
@@ -67,7 +66,7 @@ type ExecRunner = (sandbox: Kosa8Sandbox, command: string, options?: RunCommandO
|
|
|
67
66
|
declare const WRITE_CHUNK_CHARS: number;
|
|
68
67
|
/** Writes a file through exec: base64 chunks into a temporary file beside it, then an atomic rename. */
|
|
69
68
|
declare function writeFileViaExec(sandbox: Kosa8Sandbox, path: string, content: string, run: ExecRunner): Promise<void>;
|
|
70
|
-
declare const kosa8: (config: Kosa8Config &
|
|
69
|
+
declare const kosa8: (config: Kosa8Config & computesdk.ProcessRuntimeOptions) => computesdk.Provider<Kosa8Sandbox, any, any, computesdk.Volume> & {
|
|
71
70
|
readonly sizes: computesdk.InstanceSizeManager;
|
|
72
71
|
};
|
|
73
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@computesdk/kosa8",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "kosa8 provider for ComputeSDK - sandboxes that each run in their own microVM with its own kernel, with sleep and wake",
|
|
5
5
|
"author": "kosa8",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"kosa8"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@computesdk/provider": "2.1.
|
|
32
|
-
"computesdk": "4.1.
|
|
31
|
+
"@computesdk/provider": "2.1.25",
|
|
32
|
+
"computesdk": "4.1.19"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^20.0.0",
|