Use package-info (name/version only) for detectPackage (#2955)
* Use package-info (name/version only) for detectPackage * Fixed @polkadot/dev?
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
import process from 'process';
|
||||
import yargs from 'yargs';
|
||||
|
||||
import { ApiPromise, WsProvider } from '@polkadot/api/index';
|
||||
import { ApiPromise, WsProvider } from '@polkadot/api';
|
||||
|
||||
/** @internal */
|
||||
async function run (ws: string): Promise<void> {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import Handlebars from 'handlebars';
|
||||
|
||||
import { Metadata } from '@polkadot/metadata';
|
||||
import { Metadata } from '@polkadot/metadata/Metadata';
|
||||
import staticData from '@polkadot/metadata/static';
|
||||
import { TypeRegistry } from '@polkadot/types/create';
|
||||
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { Registry } from '@polkadot/types/types';
|
||||
|
||||
import Handlebars from 'handlebars';
|
||||
|
||||
import { Metadata } from '@polkadot/metadata';
|
||||
import { Metadata } from '@polkadot/metadata/Metadata';
|
||||
import staticData from '@polkadot/metadata/static';
|
||||
import { TypeRegistry } from '@polkadot/types/create';
|
||||
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { Registry } from '@polkadot/types/types';
|
||||
|
||||
import Handlebars from 'handlebars';
|
||||
|
||||
import { Metadata } from '@polkadot/metadata';
|
||||
import { Metadata } from '@polkadot/metadata/Metadata';
|
||||
import staticData from '@polkadot/metadata/static';
|
||||
import { TypeRegistry } from '@polkadot/types/create';
|
||||
import * as defaultDefs from '@polkadot/types/interfaces/definitions';
|
||||
|
||||
Reference in New Issue
Block a user