@polkadot/rpc-core
Advanced tools
Comparing version 10.10.1 to 10.11.1
@@ -52,2 +52,13 @@ import { Observable, publishReplay, refCount } from 'rxjs'; | ||
export class RpcCore { | ||
__internal__instanceId; | ||
__internal__isPedantic; | ||
__internal__registryDefault; | ||
__internal__storageCache = new Map(); | ||
__internal__storageCacheHits = 0; | ||
__internal__storageCacheSize = 0; | ||
__internal__getBlockRegistry; | ||
__internal__getBlockHash; | ||
mapping = new Map(); | ||
provider; | ||
sections = []; | ||
/** | ||
@@ -59,7 +70,2 @@ * @constructor | ||
constructor(instanceId, registry, { isPedantic = true, provider, userRpc = {} }) { | ||
this.__internal__storageCache = new Map(); | ||
this.__internal__storageCacheHits = 0; | ||
this.__internal__storageCacheSize = 0; | ||
this.mapping = new Map(); | ||
this.sections = []; | ||
if (!provider || !isFunction(provider.send)) { | ||
@@ -66,0 +72,0 @@ throw new Error('Expected Provider to API create'); |
@@ -57,2 +57,13 @@ "use strict"; | ||
class RpcCore { | ||
__internal__instanceId; | ||
__internal__isPedantic; | ||
__internal__registryDefault; | ||
__internal__storageCache = new Map(); | ||
__internal__storageCacheHits = 0; | ||
__internal__storageCacheSize = 0; | ||
__internal__getBlockRegistry; | ||
__internal__getBlockHash; | ||
mapping = new Map(); | ||
provider; | ||
sections = []; | ||
/** | ||
@@ -64,7 +75,2 @@ * @constructor | ||
constructor(instanceId, registry, { isPedantic = true, provider, userRpc = {} }) { | ||
this.__internal__storageCache = new Map(); | ||
this.__internal__storageCacheHits = 0; | ||
this.__internal__storageCacheSize = 0; | ||
this.mapping = new Map(); | ||
this.sections = []; | ||
if (!provider || !(0, util_1.isFunction)(provider.send)) { | ||
@@ -71,0 +77,0 @@ throw new Error('Expected Provider to API create'); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.packageInfo = void 0; | ||
exports.packageInfo = { name: '@polkadot/rpc-core', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.10.1' }; | ||
exports.packageInfo = { name: '@polkadot/rpc-core', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '10.11.1' }; |
@@ -6,3 +6,3 @@ { | ||
"engines": { | ||
"node": ">=16" | ||
"node": ">=18" | ||
}, | ||
@@ -22,3 +22,3 @@ "homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme", | ||
"type": "module", | ||
"version": "10.10.1", | ||
"version": "10.11.1", | ||
"main": "./cjs/index.js", | ||
@@ -114,6 +114,6 @@ "module": "./index.js", | ||
"dependencies": { | ||
"@polkadot/rpc-augment": "10.10.1", | ||
"@polkadot/rpc-provider": "10.10.1", | ||
"@polkadot/types": "10.10.1", | ||
"@polkadot/util": "^12.5.1", | ||
"@polkadot/rpc-augment": "10.11.1", | ||
"@polkadot/rpc-provider": "10.11.1", | ||
"@polkadot/types": "10.11.1", | ||
"@polkadot/util": "^12.6.1", | ||
"rxjs": "^7.8.1", | ||
@@ -120,0 +120,0 @@ "tslib": "^2.6.2" |
@@ -1,1 +0,1 @@ | ||
export const packageInfo = { name: '@polkadot/rpc-core', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.10.1' }; | ||
export const packageInfo = { name: '@polkadot/rpc-core', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '10.11.1' }; |
63706
1197
+ Added@polkadot/rpc-augment@10.11.1(transitive)
+ Added@polkadot/rpc-provider@10.11.1(transitive)
+ Added@polkadot/types@10.11.1(transitive)
+ Added@polkadot/types-augment@10.11.1(transitive)
+ Added@polkadot/types-codec@10.11.1(transitive)
+ Added@polkadot/types-create@10.11.1(transitive)
+ Added@polkadot/types-support@10.11.1(transitive)
+ Added@substrate/connect@0.7.35(transitive)
+ Addedsmoldot@2.0.7(transitive)
- Removed@polkadot/rpc-augment@10.10.1(transitive)
- Removed@polkadot/rpc-provider@10.10.1(transitive)
- Removed@polkadot/types@10.10.1(transitive)
- Removed@polkadot/types-augment@10.10.1(transitive)
- Removed@polkadot/types-codec@10.10.1(transitive)
- Removed@polkadot/types-create@10.10.1(transitive)
- Removed@polkadot/types-support@10.10.1(transitive)
- Removed@substrate/connect@0.7.33(transitive)
- Removedsmoldot@2.0.1(transitive)
Updated@polkadot/types@10.11.1
Updated@polkadot/util@^12.6.1