@opys/binding 0.4.0 → 0.4.2
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 +10 -0
- package/index.darwin-arm64.node +0 -0
- package/index.darwin-x64.node +0 -0
- package/index.js +2 -1
- package/index.linux-arm64-gnu.node +0 -0
- package/index.linux-arm64-musl.node +0 -0
- package/index.linux-x64-gnu.node +0 -0
- package/index.linux-x64-musl.node +0 -0
- package/index.win32-x64-msvc.node +0 -0
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -267,6 +267,16 @@ export declare namespace lwjgl3ify {
|
|
|
267
267
|
/** The canonical document index base URL. */
|
|
268
268
|
export function defaultLwjgl3ifyIndex(): string
|
|
269
269
|
}
|
|
270
|
+
export declare namespace minecraftResources {
|
|
271
|
+
/** Decode a resources file from its text. `path` is what an error calls it. */
|
|
272
|
+
export function parseResources(text: string, path?: string | undefined | null): Json
|
|
273
|
+
/** Read and decode a resources file. */
|
|
274
|
+
export function readResources(path: string): Json
|
|
275
|
+
/** One side of a file, resolved: a file per entry, in the order written. */
|
|
276
|
+
export function resolveResources(options: Json): Promise<Json>
|
|
277
|
+
/** Run the `resources` plugin: `{ name, contribution }`. */
|
|
278
|
+
export function buildResources(options: Json): Promise<Json>
|
|
279
|
+
}
|
|
270
280
|
export declare namespace minecraftServer {
|
|
271
281
|
/** The versions a core has a server for, newest first. */
|
|
272
282
|
export function serverVersions(core: Json, apisRaw?: Json | undefined | null): Promise<Json>
|
package/index.darwin-arm64.node
CHANGED
|
Binary file
|
package/index.darwin-x64.node
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { authliberty, bifrost, bundle, cleanroom, core, curseforge, dev, dgpuj, fabric, forge, java, links, lwjgl3ify, minecraftServer, minecraftServerlist, minecraftVanilla, modrinth, mojang, neoforge, runtime } = nativeBinding
|
|
313
|
+
const { authliberty, bifrost, bundle, cleanroom, core, curseforge, dev, dgpuj, fabric, forge, java, links, lwjgl3ify, minecraftResources, minecraftServer, minecraftServerlist, minecraftVanilla, modrinth, mojang, neoforge, runtime } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.authliberty = authliberty
|
|
316
316
|
module.exports.bifrost = bifrost
|
|
@@ -325,6 +325,7 @@ module.exports.forge = forge
|
|
|
325
325
|
module.exports.java = java
|
|
326
326
|
module.exports.links = links
|
|
327
327
|
module.exports.lwjgl3ify = lwjgl3ify
|
|
328
|
+
module.exports.minecraftResources = minecraftResources
|
|
328
329
|
module.exports.minecraftServer = minecraftServer
|
|
329
330
|
module.exports.minecraftServerlist = minecraftServerlist
|
|
330
331
|
module.exports.minecraftVanilla = minecraftVanilla
|
|
Binary file
|
|
Binary file
|
package/index.linux-x64-gnu.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opys/binding",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "The napi-rs addon of opys: every native function, one namespace per package. Not consumed directly.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
|
-
"@opys/binding-darwin-arm64": "0.4.
|
|
41
|
-
"@opys/binding-darwin-x64": "0.4.
|
|
42
|
-
"@opys/binding-linux-arm64-gnu": "0.4.
|
|
43
|
-
"@opys/binding-linux-arm64-musl": "0.4.
|
|
44
|
-
"@opys/binding-linux-x64-gnu": "0.4.
|
|
45
|
-
"@opys/binding-linux-x64-musl": "0.4.
|
|
46
|
-
"@opys/binding-win32-x64-msvc": "0.4.
|
|
40
|
+
"@opys/binding-darwin-arm64": "0.4.2",
|
|
41
|
+
"@opys/binding-darwin-x64": "0.4.2",
|
|
42
|
+
"@opys/binding-linux-arm64-gnu": "0.4.2",
|
|
43
|
+
"@opys/binding-linux-arm64-musl": "0.4.2",
|
|
44
|
+
"@opys/binding-linux-x64-gnu": "0.4.2",
|
|
45
|
+
"@opys/binding-linux-x64-musl": "0.4.2",
|
|
46
|
+
"@opys/binding-win32-x64-msvc": "0.4.2"
|
|
47
47
|
}
|
|
48
48
|
}
|