Skip to content

Commit

Permalink
fix(deps): update pjs common, api, type interfaces (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
CurlyBracketEffect committed May 17, 2022
1 parent f1e03d6 commit 6baf526
Show file tree
Hide file tree
Showing 4 changed files with 304 additions and 266 deletions.
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"update-pjs-deps": "substrate-update-pjs-deps && yarn"
},
"dependencies": {
"@polkadot/api": "8.3.2",
"@polkadot/apps-config": "0.113.1",
"@polkadot/util-crypto": "9.1.1",
"@polkadot/api": "8.4.2",
"@polkadot/apps-config": "0.115.2",
"@polkadot/util-crypto": "9.2.1",
"@substrate/calc": "^0.2.8",
"argparse": "^2.0.1",
"confmgr": "1.0.7",
Expand All @@ -79,28 +79,28 @@
"tsc-watch": "^4.4.0"
},
"resolutions": {
"@polkadot/api": "8.3.2",
"@polkadot/api-augment": "8.3.2",
"@polkadot/api-base": "8.3.2",
"@polkadot/api-derive": "8.3.2",
"@polkadot/rpc-core": "8.3.2",
"@polkadot/rpc-augment": "8.3.2",
"@polkadot/rpc-provider": "8.3.2",
"@polkadot/types": "8.3.2",
"@polkadot/types-augment": "8.3.2",
"@polkadot/types-codec": "8.3.2",
"@polkadot/types-create": "8.3.2",
"@polkadot/types-support": "8.3.2",
"@polkadot/types-known": "8.3.2",
"@polkadot/keyring": "9.1.1",
"@polkadot/networks": "9.1.1",
"@polkadot/util": "9.1.1",
"@polkadot/util-crypto": "9.1.1",
"@polkadot/x-fetch": "9.1.1",
"@polkadot/x-global": "9.1.1",
"@polkadot/x-bigint": "9.1.1",
"@polkadot/x-ws": "9.1.1",
"@polkadot/wasm-crypto": "6.0.1",
"@polkadot/api": "8.4.2",
"@polkadot/api-augment": "8.4.2",
"@polkadot/api-base": "8.4.2",
"@polkadot/api-derive": "8.4.2",
"@polkadot/rpc-core": "8.4.2",
"@polkadot/rpc-augment": "8.4.2",
"@polkadot/rpc-provider": "8.4.2",
"@polkadot/types": "8.4.2",
"@polkadot/types-augment": "8.4.2",
"@polkadot/types-codec": "8.4.2",
"@polkadot/types-create": "8.4.2",
"@polkadot/types-support": "8.4.2",
"@polkadot/types-known": "8.4.2",
"@polkadot/keyring": "9.2.1",
"@polkadot/networks": "9.2.1",
"@polkadot/util": "9.2.1",
"@polkadot/util-crypto": "9.2.1",
"@polkadot/x-fetch": "9.2.1",
"@polkadot/x-global": "9.2.1",
"@polkadot/x-bigint": "9.2.1",
"@polkadot/x-ws": "9.2.1",
"@polkadot/wasm-crypto": "6.1.1",
"bn.js": "5.2.0",
"node-fetch": "2.6.7",
"prismjs": ">=1.23.0",
Expand Down
2 changes: 1 addition & 1 deletion src/services/blocks/BlocksService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export class BlocksService extends AbstractService {
events: Vec<EventRecord> | string,
registry: Registry,
extrinsicDocs: boolean
) {
): IExtrinsic[] {
const defaultSuccess = typeof events === 'string' ? events : false;

return block.extrinsics.map((extrinsic) => {
Expand Down
8 changes: 3 additions & 5 deletions src/types/responses/Extrinsic.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
import { Compact } from '@polkadot/types';
import {
Address,
Balance,
EcdsaSignature,
Ed25519Signature,
Index,
RuntimeDispatchInfo,
Sr25519Signature,
} from '@polkadot/types/interfaces';
import { ICompact, INumber } from '@polkadot/types-codec/types/interfaces';

import { IAt, IFrameMethod, ISanitizedArgs, ISanitizedEvent } from '.';

export interface IExtrinsic {
method: string | IFrameMethod;
signature: ISignature | null;
nonce: Compact<Index> | null;
nonce: ICompact<INumber> | null;
args: ISanitizedArgs;
tip: Compact<Balance> | null;
tip: ICompact<INumber> | null;
hash: string;
// eslint-disable-next-line @typescript-eslint/ban-types
info: RuntimeDispatchInfo | { error: string } | {};
Expand Down
Loading

0 comments on commit 6baf526

Please sign in to comment.