@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 CHANGED
@@ -20,17 +20,17 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "6.9.3-5",
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.9.3-5",
28
- "@polkadot/types": "6.9.3-5",
29
- "@polkadot/util": "^8.0.2",
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.2"
33
+ "@polkadot/keyring": "^8.0.4"
34
34
  },
35
35
  "exports": {
36
36
  ".": {
package/packageInfo.cjs CHANGED
@@ -9,6 +9,6 @@ exports.packageInfo = void 0;
9
9
  // Auto-generated by @polkadot/dev, do not edit
10
10
  const packageInfo = {
11
11
  name: '@polkadot/rpc-core',
12
- version: '6.9.3-5'
12
+ version: '6.10.2'
13
13
  };
14
14
  exports.packageInfo = packageInfo;
package/packageInfo.js CHANGED
@@ -3,5 +3,5 @@
3
3
  // Auto-generated by @polkadot/dev, do not edit
4
4
  export const packageInfo = {
5
5
  name: '@polkadot/rpc-core',
6
- version: '6.9.3-5'
6
+ version: '6.10.2'
7
7
  };
package/types.cjs CHANGED
@@ -4,15 +4,15 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var _typesJsonrpc = require("./types.jsonrpc.cjs");
7
+ var _types = require("@polkadot/rpc-core/types.jsonrpc");
8
8
 
9
- Object.keys(_typesJsonrpc).forEach(function (key) {
9
+ Object.keys(_types).forEach(function (key) {
10
10
  if (key === "default" || key === "__esModule") return;
11
- if (key in exports && exports[key] === _typesJsonrpc[key]) return;
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 _typesJsonrpc[key];
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 './types.jsonrpc';
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
@@ -1,4 +1,4 @@
1
1
  // Copyright 2017-2021 @polkadot/rpc-core authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- export * from "./types.jsonrpc.js";
3
+ export * from '@polkadot/rpc-core/types.jsonrpc';
4
4
  export {};
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;
@@ -1,8 +1 @@
1
- import type { Observable } from 'rxjs';
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
@@ -1 +1,3 @@
1
- export {};
1
+ // Copyright 2017-2021 @polkadot/rpc-core authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ export const __PHANTOM_RPC = 'phantom-rpc';