@typerighter/rpc-client 0.15.0 → 0.15.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/package.json
CHANGED
package/src/typedown_server.d.ts
CHANGED
package/src/typedown_server.js
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @returns {number}
|
|
3
|
+
*/
|
|
4
|
+
export function RPC_CANCELLED_CODE() {
|
|
5
|
+
const ret = wasm.RPC_CANCELLED_CODE();
|
|
6
|
+
return ret;
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
export class RpcClient {
|
|
2
10
|
static __wrap(ptr) {
|
|
3
11
|
const obj = Object.create(RpcClient.prototype);
|
|
@@ -271,6 +279,10 @@ export function __wbg_new_7796ffc7ed656783() {
|
|
|
271
279
|
const ret = new Map();
|
|
272
280
|
return ret;
|
|
273
281
|
}
|
|
282
|
+
export function __wbg_new_b667d279fd5aa943(arg0, arg1) {
|
|
283
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
284
|
+
return ret;
|
|
285
|
+
}
|
|
274
286
|
export function __wbg_new_bf8729ffe10e9ee7() { return handleError(function (arg0, arg1) {
|
|
275
287
|
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
276
288
|
return ret;
|
|
@@ -358,6 +370,10 @@ export function __wbg_set_575dd786d51585f8(arg0, arg1, arg2) {
|
|
|
358
370
|
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
359
371
|
arg0[arg1] = arg2;
|
|
360
372
|
}
|
|
373
|
+
export function __wbg_set_8535240470bf2500() { return handleError(function (arg0, arg1, arg2) {
|
|
374
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
375
|
+
return ret;
|
|
376
|
+
}, arguments); }
|
|
361
377
|
export function __wbg_set_8a16b38e4805b298(arg0, arg1, arg2) {
|
|
362
378
|
arg0[arg1 >>> 0] = arg2;
|
|
363
379
|
}
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const RPC_CANCELLED_CODE: () => number;
|
|
4
5
|
export const __wbg_rpcclient_free: (a: number, b: number) => void;
|
|
5
6
|
export const rpcclient_checkVault: (a: number) => any;
|
|
6
7
|
export const rpcclient_close: (a: number) => void;
|