@polkadot/rpc-core 6.9.3-5 → 6.10.2
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 +5 -5
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/types.cjs +4 -4
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/types.jsonrpc.cjs +10 -1
- package/types.jsonrpc.d.ts +1 -8
- package/types.jsonrpc.js +3 -1
package/package.json
CHANGED
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "6.
|
|
23
|
+
"version": "6.10.2",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.3",
|
|
27
|
-
"@polkadot/rpc-provider": "6.
|
|
28
|
-
"@polkadot/types": "6.
|
|
29
|
-
"@polkadot/util": "^8.0.
|
|
27
|
+
"@polkadot/rpc-provider": "6.10.2",
|
|
28
|
+
"@polkadot/types": "6.10.2",
|
|
29
|
+
"@polkadot/util": "^8.0.4",
|
|
30
30
|
"rxjs": "^7.4.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@polkadot/keyring": "^8.0.
|
|
33
|
+
"@polkadot/keyring": "^8.0.4"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/types.cjs
CHANGED
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _types = require("@polkadot/rpc-core/types.jsonrpc");
|
|
8
8
|
|
|
9
|
-
Object.keys(
|
|
9
|
+
Object.keys(_types).forEach(function (key) {
|
|
10
10
|
if (key === "default" || key === "__esModule") return;
|
|
11
|
-
if (key in exports && exports[key] ===
|
|
11
|
+
if (key in exports && exports[key] === _types[key]) return;
|
|
12
12
|
Object.defineProperty(exports, key, {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _types[key];
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
});
|
package/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Observable } from 'rxjs';
|
|
2
2
|
import type { Codec, DefinitionRpc } from '@polkadot/types/types';
|
|
3
|
-
export * from '
|
|
3
|
+
export * from '@polkadot/rpc-core/types.jsonrpc';
|
|
4
4
|
export interface RpcInterfaceMethod {
|
|
5
5
|
<T extends Codec>(...params: unknown[]): Observable<T>;
|
|
6
6
|
raw(...params: unknown[]): Observable<unknown>;
|
package/types.js
CHANGED
package/types.jsonrpc.cjs
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.__PHANTOM_RPC = void 0;
|
|
7
|
+
// Copyright 2017-2021 @polkadot/rpc-core authors & contributors
|
|
8
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
+
const __PHANTOM_RPC = 'phantom-rpc';
|
|
10
|
+
exports.__PHANTOM_RPC = __PHANTOM_RPC;
|
package/types.jsonrpc.d.ts
CHANGED
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { AnyFunction, DefinitionRpc } from '@polkadot/types/types';
|
|
3
|
-
export interface RpcInterface {
|
|
4
|
-
}
|
|
5
|
-
export declare type AugmentedRpc<F extends AnyFunction> = F & {
|
|
6
|
-
raw: <T>(...params: Parameters<F>) => Observable<T>;
|
|
7
|
-
meta: DefinitionRpc;
|
|
8
|
-
};
|
|
1
|
+
export declare const __PHANTOM_RPC = "phantom-rpc";
|
package/types.jsonrpc.js
CHANGED