Lazy decoration (part 10, Import lazy* from @polkadot/util) (#4166)

* Impot lazy* from @polkadot/util

* Bumps
This commit is contained in:
Jaco
2021-11-04 14:51:06 +02:00
committed by GitHub
parent 4a33b18ac4
commit e918aa8b14
21 changed files with 120 additions and 172 deletions
+3 -3
View File
@@ -25,13 +25,13 @@
"dependencies": {
"@babel/runtime": "^7.16.0",
"@polkadot/api-derive": "6.6.2-12",
"@polkadot/keyring": "^7.7.2-4",
"@polkadot/keyring": "^7.7.2-5",
"@polkadot/rpc-core": "6.6.2-12",
"@polkadot/rpc-provider": "6.6.2-12",
"@polkadot/types": "6.6.2-12",
"@polkadot/types-known": "6.6.2-12",
"@polkadot/util": "^7.7.2-4",
"@polkadot/util-crypto": "^7.7.2-4",
"@polkadot/util": "^7.7.2-5",
"@polkadot/util-crypto": "^7.7.2-5",
"eventemitter3": "^4.0.7",
"rxjs": "^7.4.0"
}
+2 -2
View File
@@ -18,8 +18,8 @@ import { BehaviorSubject, combineLatest, from, map, of, switchMap, tap, toArray
import { ExactDerive, getAvailableDerives } from '@polkadot/api-derive';
import { memo, RpcCore } from '@polkadot/rpc-core';
import { WsProvider } from '@polkadot/rpc-provider';
import { expandMetadata, lazyMethod, lazyMethods, Metadata, TypeRegistry, unwrapStorageType } from '@polkadot/types';
import { arrayChunk, arrayFlatten, assert, BN, BN_ZERO, compactStripLength, logger, objectSpread, u8aToHex } from '@polkadot/util';
import { expandMetadata, Metadata, TypeRegistry, unwrapStorageType } from '@polkadot/types';
import { arrayChunk, arrayFlatten, assert, BN, BN_ZERO, compactStripLength, lazyMethod, lazyMethods, logger, objectSpread, u8aToHex } from '@polkadot/util';
import { createSubmittable } from '../submittable';
import { augmentObject } from '../util/augmentObject';
+1 -2
View File
@@ -1,8 +1,7 @@
// Copyright 2017-2021 @polkadot/api authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { lazyMethod } from '@polkadot/types';
import { logger, objectClear } from '@polkadot/util';
import { lazyMethod, logger, objectClear } from '@polkadot/util';
type Sections <T> = Record<string, Methods<T>>;