@parcel/rust 2.12.1-canary.3259 → 2.12.1-canary.3261

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -76,6 +76,7 @@ export class ParcelNapi {
76
76
  testingTempFsReadToString(path: string): Promise<string>
77
77
  testingTempFsIsFile(path: string): Promise<boolean>
78
78
  testingTempFsIsDir(path: string): Promise<boolean>
79
+ testingRpcPing(): Promise<void>
79
80
  }
80
81
  export class Resolver {
81
82
  constructor(projectRoot: string, options: FileSystem)
package/index.js.flow CHANGED
@@ -16,8 +16,10 @@ export interface ConfigRequest {
16
16
  }
17
17
  export interface RequestOptions {}
18
18
 
19
+
19
20
  export interface ParcelNapiOptions {
20
21
  fs?: any;
22
+ rpc?: (error: any, id: number, data: any, done: (value: {| Ok: any |} | {| Err: any |}) => any) => any | Promise<any>;
21
23
  }
22
24
 
23
25
  declare export class ParcelNapi {
@@ -25,6 +27,7 @@ declare export class ParcelNapi {
25
27
  testingTempFsReadToString(path: string): string;
26
28
  testingTempFsIsDir(path: string): boolean;
27
29
  testingTempFsIsFile(path: string): boolean;
30
+ testingRpcPing(): void;
28
31
  }
29
32
 
30
33
  declare export function initSentry(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/rust",
3
- "version": "2.12.1-canary.3259+13eb20147",
3
+ "version": "2.12.1-canary.3261+35e936ac2",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,5 +40,5 @@
40
40
  "wasm:build": "cargo build -p parcel-node-bindings --target wasm32-unknown-unknown && cp ../../../target/wasm32-unknown-unknown/debug/parcel_node_bindings.wasm .",
41
41
  "wasm:build-release": "CARGO_PROFILE_RELEASE_LTO=true cargo build -p parcel-node-bindings --target wasm32-unknown-unknown --release && wasm-opt --strip-debug -O ../../../target/wasm32-unknown-unknown/release/parcel_node_bindings.wasm -o parcel_node_bindings.wasm"
42
42
  },
43
- "gitHead": "13eb2014794981d04ba69bd8459919cc3f5b4d74"
43
+ "gitHead": "35e936ac2387833ef0af31647c2b670466345a64"
44
44
  }