@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { HttpProvider } from './http/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RpcErrorInterface } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { JsonRpcRequest, JsonRpcResponse, JsonRpcResponseBaseError } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const HTTP_URL = 'http://127.0.0.1:9933';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted, ProviderStats } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Logger } from '@polkadot/util/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './packageDetect.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Assuming all 1.5MB responses, we apply a default allowing for 192MB
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Mock } from './types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Server, WebSocket } from 'mock-socket';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Server } from 'mock-socket';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from './index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { HealthChecker, SmoldotHealth } from './types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type * as ScType from '@substrate/connect';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export interface SmoldotHealth {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export interface JsonRpcObject {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// from https://stackoverflow.com/questions/19304157/getting-the-reason-why-websockets-closed-with-close-code-1006
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Class } from '@polkadot/util/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2024 @polkadot/rpc-provider authors & contributors
|
||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
|
||||
Reference in New Issue
Block a user