smoldot 1.0.16 → 2.0.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/cjs/index-browser.d.ts +1 -1
- package/dist/cjs/index-browser.js +1 -2
- package/dist/cjs/index-deno.d.ts +1 -1
- package/dist/cjs/index-deno.js +1 -2
- package/dist/cjs/index-nodejs.d.ts +1 -1
- package/dist/cjs/index-nodejs.js +1 -2
- package/dist/cjs/internals/bytecode/wasm0.js +1 -1
- package/dist/cjs/internals/bytecode/wasm1.js +1 -1
- package/dist/cjs/internals/bytecode/wasm2.js +1 -1
- package/dist/cjs/internals/client.js +1 -6
- package/dist/cjs/internals/local-instance.js +3 -3
- package/dist/cjs/no-auto-bytecode-browser.d.ts +1 -1
- package/dist/cjs/no-auto-bytecode-browser.js +1 -2
- package/dist/cjs/no-auto-bytecode-deno.d.ts +1 -1
- package/dist/cjs/no-auto-bytecode-deno.js +1 -2
- package/dist/cjs/no-auto-bytecode-nodejs.d.ts +1 -1
- package/dist/cjs/no-auto-bytecode-nodejs.js +1 -2
- package/dist/cjs/public-types.d.ts +3 -13
- package/dist/cjs/public-types.js +1 -10
- package/dist/mjs/index-browser.d.ts +1 -1
- package/dist/mjs/index-browser.js +1 -1
- package/dist/mjs/index-deno.d.ts +1 -1
- package/dist/mjs/index-deno.js +1 -1
- package/dist/mjs/index-nodejs.d.ts +1 -1
- package/dist/mjs/index-nodejs.js +1 -1
- package/dist/mjs/internals/bytecode/wasm0.js +1 -1
- package/dist/mjs/internals/bytecode/wasm1.js +1 -1
- package/dist/mjs/internals/bytecode/wasm2.js +1 -1
- package/dist/mjs/internals/client.js +2 -7
- package/dist/mjs/internals/local-instance.js +3 -3
- package/dist/mjs/no-auto-bytecode-browser.d.ts +1 -1
- package/dist/mjs/no-auto-bytecode-browser.js +1 -1
- package/dist/mjs/no-auto-bytecode-deno.d.ts +1 -1
- package/dist/mjs/no-auto-bytecode-deno.js +1 -1
- package/dist/mjs/no-auto-bytecode-nodejs.d.ts +1 -1
- package/dist/mjs/no-auto-bytecode-nodejs.js +1 -1
- package/dist/mjs/public-types.d.ts +3 -13
- package/dist/mjs/public-types.js +0 -8
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference lib="dom" />
|
|
2
2
|
import { Client, ClientOptions } from './public-types.js';
|
|
3
|
-
export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError, JsonRpcDisabledError,
|
|
3
|
+
export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError, JsonRpcDisabledError, QueueFullError, LogCallback } from './public-types.js';
|
|
4
4
|
/**
|
|
5
5
|
* Initializes a new client. This is a pre-requisite to connecting to a blockchain.
|
|
6
6
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Copyright (C) 2019-2022 Parity Technologies (UK) Ltd.
|
|
4
4
|
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.start = exports.QueueFullError = exports.
|
|
6
|
+
exports.start = exports.QueueFullError = exports.JsonRpcDisabledError = exports.CrashError = exports.AlreadyDestroyedError = exports.AddChainError = void 0;
|
|
7
7
|
const no_auto_bytecode_browser_js_1 = require("./no-auto-bytecode-browser.js");
|
|
8
8
|
const bytecode_browser_js_1 = require("./bytecode-browser.js");
|
|
9
9
|
var public_types_js_1 = require("./public-types.js");
|
|
@@ -11,7 +11,6 @@ Object.defineProperty(exports, "AddChainError", { enumerable: true, get: functio
|
|
|
11
11
|
Object.defineProperty(exports, "AlreadyDestroyedError", { enumerable: true, get: function () { return public_types_js_1.AlreadyDestroyedError; } });
|
|
12
12
|
Object.defineProperty(exports, "CrashError", { enumerable: true, get: function () { return public_types_js_1.CrashError; } });
|
|
13
13
|
Object.defineProperty(exports, "JsonRpcDisabledError", { enumerable: true, get: function () { return public_types_js_1.JsonRpcDisabledError; } });
|
|
14
|
-
Object.defineProperty(exports, "MalformedJsonRpcError", { enumerable: true, get: function () { return public_types_js_1.MalformedJsonRpcError; } });
|
|
15
14
|
Object.defineProperty(exports, "QueueFullError", { enumerable: true, get: function () { return public_types_js_1.QueueFullError; } });
|
|
16
15
|
/**
|
|
17
16
|
* Initializes a new client. This is a pre-requisite to connecting to a blockchain.
|
package/dist/cjs/index-deno.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Client, ClientOptions } from './public-types.js';
|
|
2
|
-
export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError,
|
|
2
|
+
export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError, QueueFullError, JsonRpcDisabledError, LogCallback } from './public-types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Initializes a new client. This is a pre-requisite to connecting to a blockchain.
|
|
5
5
|
*
|
package/dist/cjs/index-deno.js
CHANGED
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
// Copyright (C) 2019-2022 Parity Technologies (UK) Ltd.
|
|
4
4
|
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.start = exports.JsonRpcDisabledError = exports.QueueFullError = exports.
|
|
6
|
+
exports.start = exports.JsonRpcDisabledError = exports.QueueFullError = exports.CrashError = exports.AlreadyDestroyedError = exports.AddChainError = void 0;
|
|
7
7
|
const no_auto_bytecode_deno_js_1 = require("./no-auto-bytecode-deno.js");
|
|
8
8
|
const bytecode_deno_js_1 = require("./bytecode-deno.js");
|
|
9
9
|
var public_types_js_1 = require("./public-types.js");
|
|
10
10
|
Object.defineProperty(exports, "AddChainError", { enumerable: true, get: function () { return public_types_js_1.AddChainError; } });
|
|
11
11
|
Object.defineProperty(exports, "AlreadyDestroyedError", { enumerable: true, get: function () { return public_types_js_1.AlreadyDestroyedError; } });
|
|
12
12
|
Object.defineProperty(exports, "CrashError", { enumerable: true, get: function () { return public_types_js_1.CrashError; } });
|
|
13
|
-
Object.defineProperty(exports, "MalformedJsonRpcError", { enumerable: true, get: function () { return public_types_js_1.MalformedJsonRpcError; } });
|
|
14
13
|
Object.defineProperty(exports, "QueueFullError", { enumerable: true, get: function () { return public_types_js_1.QueueFullError; } });
|
|
15
14
|
Object.defineProperty(exports, "JsonRpcDisabledError", { enumerable: true, get: function () { return public_types_js_1.JsonRpcDisabledError; } });
|
|
16
15
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Client, ClientOptions } from './public-types.js';
|
|
2
|
-
export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError,
|
|
2
|
+
export { AddChainError, AddChainOptions, AlreadyDestroyedError, Chain, Client, ClientOptions, ClientOptionsWithBytecode, SmoldotBytecode, CrashError, QueueFullError, JsonRpcDisabledError, LogCallback } from './public-types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Initializes a new client. This is a pre-requisite to connecting to a blockchain.
|
|
5
5
|
*
|
package/dist/cjs/index-nodejs.js
CHANGED
|
@@ -3,14 +3,13 @@
|
|
|
3
3
|
// Copyright (C) 2019-2022 Parity Technologies (UK) Ltd.
|
|
4
4
|
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.start = exports.JsonRpcDisabledError = exports.QueueFullError = exports.
|
|
6
|
+
exports.start = exports.JsonRpcDisabledError = exports.QueueFullError = exports.CrashError = exports.AlreadyDestroyedError = exports.AddChainError = void 0;
|
|
7
7
|
const no_auto_bytecode_nodejs_js_1 = require("./no-auto-bytecode-nodejs.js");
|
|
8
8
|
const bytecode_nodejs_js_1 = require("./bytecode-nodejs.js");
|
|
9
9
|
var public_types_js_1 = require("./public-types.js");
|
|
10
10
|
Object.defineProperty(exports, "AddChainError", { enumerable: true, get: function () { return public_types_js_1.AddChainError; } });
|
|
11
11
|
Object.defineProperty(exports, "AlreadyDestroyedError", { enumerable: true, get: function () { return public_types_js_1.AlreadyDestroyedError; } });
|
|
12
12
|
Object.defineProperty(exports, "CrashError", { enumerable: true, get: function () { return public_types_js_1.CrashError; } });
|
|
13
|
-
Object.defineProperty(exports, "MalformedJsonRpcError", { enumerable: true, get: function () { return public_types_js_1.MalformedJsonRpcError; } });
|
|
14
13
|
Object.defineProperty(exports, "QueueFullError", { enumerable: true, get: function () { return public_types_js_1.QueueFullError; } });
|
|
15
14
|
Object.defineProperty(exports, "JsonRpcDisabledError", { enumerable: true, get: function () { return public_types_js_1.JsonRpcDisabledError; } });
|
|
16
15
|
/**
|