@opys/binding 0.3.0 → 0.3.1

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 CHANGED
@@ -427,6 +427,12 @@ export declare namespace runtime {
427
427
  * The source decodes itself — see `opys_runtime::ManifestSource`.
428
428
  */
429
429
  export function install(source: Json, options?: InstallOptionsJs | undefined | null, progress?: (...args: any[]) => any | undefined | null): Promise<unknown>
430
+ /**
431
+ * The head of the bundle a source names, or `null` for a manifest in
432
+ * memory. The manifest is left unread, and a URL is asked for the front of
433
+ * the file alone.
434
+ */
435
+ export function readHead(source: Json): Promise<Json | null>
430
436
  export interface LaunchSpec {
431
437
  command: string
432
438
  args: Array<string>
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opys/binding",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
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.3.0",
41
- "@opys/binding-darwin-x64": "0.3.0",
42
- "@opys/binding-linux-arm64-gnu": "0.3.0",
43
- "@opys/binding-linux-arm64-musl": "0.3.0",
44
- "@opys/binding-linux-x64-gnu": "0.3.0",
45
- "@opys/binding-linux-x64-musl": "0.3.0",
46
- "@opys/binding-win32-x64-msvc": "0.3.0"
40
+ "@opys/binding-darwin-arm64": "0.3.1",
41
+ "@opys/binding-darwin-x64": "0.3.1",
42
+ "@opys/binding-linux-arm64-gnu": "0.3.1",
43
+ "@opys/binding-linux-arm64-musl": "0.3.1",
44
+ "@opys/binding-linux-x64-gnu": "0.3.1",
45
+ "@opys/binding-linux-x64-musl": "0.3.1",
46
+ "@opys/binding-win32-x64-msvc": "0.3.1"
47
47
  }
48
48
  }