@polkadot/rpc-augment 6.12.2-14 → 6.12.2-18

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/augment/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
- require("@polkadot/types/augment");
3
+ require("@polkadot/types-augment");
4
4
 
5
5
  require("./rpc.cjs");
@@ -1,2 +1,2 @@
1
- import '@polkadot/types/augment';
1
+ import '@polkadot/types-augment';
2
2
  import './rpc';
package/augment/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import '@polkadot/types/augment';
3
+ import '@polkadot/types-augment';
4
4
  import "./rpc.js";
package/augment/rpc.d.ts CHANGED
@@ -1,25 +1,27 @@
1
+ import type { AugmentedRpc } from '@polkadot/rpc-augment/types';
2
+ import type { Metadata, StorageKey } from '@polkadot/types';
3
+ import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u32, u64 } from '@polkadot/types-codec';
4
+ import type { AnyNumber, Codec } from '@polkadot/types-codec/types';
5
+ import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
6
+ import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
7
+ import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
8
+ import type { BlockHash } from '@polkadot/types/interfaces/chain';
9
+ import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
10
+ import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
11
+ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
12
+ import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
13
+ import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
14
+ import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
15
+ import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
16
+ import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
17
+ import type { StorageKind } from '@polkadot/types/interfaces/offchain';
18
+ import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
19
+ import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
20
+ import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
21
+ import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
22
+ import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
23
+ import type { IExtrinsic, Observable } from '@polkadot/types/types';
1
24
  declare module '@polkadot/rpc-augment/rpc' {
2
- import type { AugmentedRpc } from '@polkadot/rpc-augment/types';
3
- import type { Bytes, HashMap, Json, Metadata, Null, Option, StorageKey, Text, U256, U64, Vec, bool, u32, u64 } from '@polkadot/types';
4
- import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author';
5
- import type { EpochAuthorship } from '@polkadot/types/interfaces/babe';
6
- import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy';
7
- import type { BlockHash } from '@polkadot/types/interfaces/chain';
8
- import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate';
9
- import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
10
- import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from '@polkadot/types/interfaces/contracts';
11
- import type { CreatedBlock } from '@polkadot/types/interfaces/engine';
12
- import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
13
- import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
14
- import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
15
- import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
16
- import type { StorageKind } from '@polkadot/types/interfaces/offchain';
17
- import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
18
- import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
19
- import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
20
- import type { ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
21
- import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
22
- import type { AnyNumber, Codec, IExtrinsic, Observable } from '@polkadot/types/types';
23
25
  interface RpcInterface {
24
26
  author: {
25
27
  /**
package/augment/rpc.js CHANGED
@@ -0,0 +1 @@
1
+ export {};
package/bundle.cjs CHANGED
@@ -13,7 +13,7 @@ Object.defineProperty(exports, "packageInfo", {
13
13
  }
14
14
  });
15
15
 
16
- require("@polkadot/rpc-augment/augment");
16
+ require("./augment/index.cjs");
17
17
 
18
18
  var _packageInfo = require("./packageInfo.cjs");
19
19
 
package/bundle.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import '@polkadot/rpc-augment/augment';
1
+ import './augment';
2
2
  export { packageInfo } from './packageInfo';
3
3
  export * from '@polkadot/rpc-augment/rpc';
package/bundle.js CHANGED
@@ -1,6 +1,5 @@
1
1
  // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- // trigger in the same way as we do externally
4
- import '@polkadot/rpc-augment/augment';
3
+ import "./augment/index.js";
5
4
  export { packageInfo } from "./packageInfo.js";
6
5
  export * from '@polkadot/rpc-augment/rpc';
package/package.json CHANGED
@@ -20,11 +20,11 @@
20
20
  "./detectPackage.cjs"
21
21
  ],
22
22
  "type": "module",
23
- "version": "6.12.2-14",
23
+ "version": "6.12.2-18",
24
24
  "main": "index.js",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.16.5",
27
- "@polkadot/types": "6.12.2-14",
27
+ "@polkadot/types": "6.12.2-18",
28
28
  "rxjs": "^7.4.0"
29
29
  },
30
30
  "exports": {
@@ -60,6 +60,11 @@
60
60
  },
61
61
  "./packageInfo.d.ts": "./packageInfo.d.ts",
62
62
  "./README.md": "./README.md",
63
+ "./rpc": {
64
+ "require": "./rpc.cjs",
65
+ "default": "./rpc.js"
66
+ },
67
+ "./rpc.d.ts": "./rpc.d.ts",
63
68
  "./types": {
64
69
  "require": "./types.cjs",
65
70
  "default": "./types.js"
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-augment',
12
- version: '6.12.2-14'
12
+ version: '6.12.2-18'
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-augment',
6
- version: '6.12.2-14'
6
+ version: '6.12.2-18'
7
7
  };
package/rpc.cjs ADDED
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.__RPC_AUGMENT_RPC = void 0;
7
+ // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
8
+ // SPDX-License-Identifier: Apache-2.0
9
+ // augmented
10
+ const __RPC_AUGMENT_RPC = 'augmented';
11
+ exports.__RPC_AUGMENT_RPC = __RPC_AUGMENT_RPC;
package/rpc.d.ts ADDED
@@ -0,0 +1 @@
1
+ export declare const __RPC_AUGMENT_RPC = "augmented";
package/rpc.js ADDED
@@ -0,0 +1,4 @@
1
+ // Copyright 2017-2021 @polkadot/rpc-augment authors & contributors
2
+ // SPDX-License-Identifier: Apache-2.0
3
+ // augmented
4
+ export const __RPC_AUGMENT_RPC = 'augmented';