@celox-sim/celox-napi 0.1.14 → 0.1.15
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/index.d.ts +8 -2
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/** Low-level handle wrapping a `celox::Simulation`. */
|
|
4
4
|
export declare class NativeSimulationHandle {
|
|
5
5
|
/** Create a new timed simulation from Veryl source code. */
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(sources: Array<NapiSourceFile>, top: string, options?: NapiOptions | undefined | null)
|
|
7
7
|
/** Create a new timed simulation from a Veryl project directory. */
|
|
8
8
|
static fromProject(projectPath: string, top: string, options?: NapiOptions | undefined | null): NativeSimulationHandle
|
|
9
9
|
/** Returns the signal layout as a JSON string. */
|
|
@@ -53,7 +53,7 @@ export declare class NativeSimulationHandle {
|
|
|
53
53
|
*/
|
|
54
54
|
export declare class NativeSimulatorHandle {
|
|
55
55
|
/** Create a new simulator from Veryl source code. */
|
|
56
|
-
constructor(
|
|
56
|
+
constructor(sources: Array<NapiSourceFile>, top: string, options?: NapiOptions | undefined | null)
|
|
57
57
|
/**
|
|
58
58
|
* Create a new simulator from a Veryl project directory.
|
|
59
59
|
*
|
|
@@ -139,6 +139,12 @@ export interface NapiSignalPath {
|
|
|
139
139
|
varPath: Array<string>
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
/** A source file with its content and path. */
|
|
143
|
+
export interface NapiSourceFile {
|
|
144
|
+
content: string
|
|
145
|
+
path: string
|
|
146
|
+
}
|
|
147
|
+
|
|
142
148
|
/** A true-loop declaration with a convergence iteration limit. */
|
|
143
149
|
export interface NapiTrueLoop {
|
|
144
150
|
from: NapiSignalPath
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celox-sim/celox-napi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "Celox simulator NAPI bindings",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
},
|
|
45
45
|
"license": "MIT OR Apache-2.0",
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"@celox-sim/celox-napi-linux-x64-gnu": "0.1.
|
|
48
|
-
"@celox-sim/celox-napi-linux-arm64-gnu": "0.1.
|
|
49
|
-
"@celox-sim/celox-napi-linux-x64-musl": "0.1.
|
|
50
|
-
"@celox-sim/celox-napi-linux-arm64-musl": "0.1.
|
|
51
|
-
"@celox-sim/celox-napi-darwin-x64": "0.1.
|
|
52
|
-
"@celox-sim/celox-napi-darwin-arm64": "0.1.
|
|
53
|
-
"@celox-sim/celox-napi-win32-x64-msvc": "0.1.
|
|
47
|
+
"@celox-sim/celox-napi-linux-x64-gnu": "0.1.15",
|
|
48
|
+
"@celox-sim/celox-napi-linux-arm64-gnu": "0.1.15",
|
|
49
|
+
"@celox-sim/celox-napi-linux-x64-musl": "0.1.15",
|
|
50
|
+
"@celox-sim/celox-napi-linux-arm64-musl": "0.1.15",
|
|
51
|
+
"@celox-sim/celox-napi-darwin-x64": "0.1.15",
|
|
52
|
+
"@celox-sim/celox-napi-darwin-arm64": "0.1.15",
|
|
53
|
+
"@celox-sim/celox-napi-win32-x64-msvc": "0.1.15"
|
|
54
54
|
}
|
|
55
55
|
}
|