Rename api-codec -> types (#183)
* Rename api-codec -> types * Cleanups with exports (as found with use) * Docs to build for /types
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import Metadata from '@polkadot/api-codec/Metadata';
|
||||
import json from '@polkadot/api-codec/Metadata.rpc';
|
||||
import Metadata from '@polkadot/types/Metadata';
|
||||
import json from '@polkadot/types/Metadata.rpc';
|
||||
|
||||
import fromMetadata from './fromMetadata';
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import camelCase from '@polkadot/util/string/camelCase';
|
||||
import Metadata, { RuntimeModuleMetadata } from '@polkadot/api-codec/Metadata';
|
||||
import Metadata, { RuntimeModuleMetadata } from '@polkadot/types/Metadata';
|
||||
|
||||
import createExtrinsic from './utils/createExtrinsic';
|
||||
import { Extrinsics, ModuleExtrinsics } from './types';
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
import { createType } from '@polkadot/api-codec/codec';
|
||||
import { FunctionMetadata } from '@polkadot/api-codec/Metadata';
|
||||
import { Extrinsic, Text } from '@polkadot/api-codec/index';
|
||||
import { createType } from '@polkadot/types/codec';
|
||||
import { FunctionMetadata } from '@polkadot/types/Metadata';
|
||||
import { Extrinsic, Text } from '@polkadot/types/index';
|
||||
import u8aConcat from '@polkadot/util/u8a/concat';
|
||||
|
||||
import { ExtrinsicFunction } from '../types';
|
||||
|
||||
Reference in New Issue
Block a user