java-bridge 2.1.8-beta.2 → 2.2.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/dist/ts-src/java.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface JVMOptions extends JavaOptions {
|
|
|
40
40
|
* Let the plugin find the jvm.(dylib|dll|so)
|
|
41
41
|
* ```ts
|
|
42
42
|
* ensureJvm({
|
|
43
|
-
* JavaVersion.VER_9,
|
|
43
|
+
* version: JavaVersion.VER_9,
|
|
44
44
|
* useDaemonThreads: true
|
|
45
45
|
* });
|
|
46
46
|
* ```
|
|
@@ -149,7 +149,7 @@ export declare function setClassLoader(classLoader: UnknownJavaClass): void;
|
|
|
149
149
|
* public constructor();
|
|
150
150
|
* }
|
|
151
151
|
*
|
|
152
|
-
* // This causes the class to be
|
|
152
|
+
* // This causes the class to be imported when the module is loaded.
|
|
153
153
|
* class ArrayList<T> extends importClass<typeof ArrayListClass>('java.util.ArrayList')<T> {}
|
|
154
154
|
*
|
|
155
155
|
* // Create a new ArrayList instance
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "java-bridge",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"main": "dist/index.prod.min.js",
|
|
5
5
|
"types": "dist/ts-src/index.d.ts",
|
|
6
6
|
"description": "A bridge between Node.js and Java APIs",
|
|
@@ -108,11 +108,11 @@
|
|
|
108
108
|
"webpack-node-externals": "^3.0.0"
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
|
-
"java-bridge-win32-x64-msvc": "2.
|
|
112
|
-
"java-bridge-darwin-x64": "2.
|
|
113
|
-
"java-bridge-linux-x64-gnu": "2.
|
|
114
|
-
"java-bridge-darwin-arm64": "2.
|
|
115
|
-
"java-bridge-win32-ia32-msvc": "2.
|
|
116
|
-
"java-bridge-linux-arm64-gnu": "2.
|
|
111
|
+
"java-bridge-win32-x64-msvc": "2.2.0",
|
|
112
|
+
"java-bridge-darwin-x64": "2.2.0",
|
|
113
|
+
"java-bridge-linux-x64-gnu": "2.2.0",
|
|
114
|
+
"java-bridge-darwin-arm64": "2.2.0",
|
|
115
|
+
"java-bridge-win32-ia32-msvc": "2.2.0",
|
|
116
|
+
"java-bridge-linux-arm64-gnu": "2.2.0"
|
|
117
117
|
}
|
|
118
118
|
}
|