Split types into primitive (base) & type (derived) (#715)

* Split types into primitves & structs

* Bump version (breaking change)
This commit is contained in:
Jaco Greeff
2019-02-19 09:40:14 +01:00
committed by GitHub
parent 73ce3e015d
commit cf5ca51f7f
164 changed files with 386 additions and 328 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/api-derive",
"version": "0.43.16",
"version": "0.44.0",
"description": "Common functions used across Polkadot, derived from RPC calls and storage queries.",
"main": "index.js",
"keywords": [
@@ -31,8 +31,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
"dependencies": {
"@babel/runtime": "^7.3.1",
"@polkadot/api": "^0.43.16",
"@polkadot/types": "^0.43.16",
"@polkadot/api": "^0.44.0",
"@polkadot/types": "^0.44.0",
"@types/memoizee": "^0.4.2",
"memoizee": "^0.4.14"
}
@@ -5,7 +5,7 @@
import { Observable } from 'rxjs';
import { map, startWith } from 'rxjs/operators';
import { ApiInterface$Rx } from '@polkadot/api/types';
import { ENUMSET_SIZE } from '@polkadot/types/AccountIndex';
import { ENUMSET_SIZE } from '@polkadot/types/type/AccountIndex';
import { AccountId, AccountIndex, Vector } from '@polkadot/types/index';
import { drr } from '../util/drr';
+1 -1
View File
@@ -5,7 +5,7 @@
import { combineLatest, Observable } from 'rxjs';
import { map, switchMap } from 'rxjs/operators';
import { ApiInterface$Rx } from '@polkadot/api/types';
import { ENUMSET_SIZE } from '@polkadot/types/AccountIndex';
import { ENUMSET_SIZE } from '@polkadot/types/type/AccountIndex';
import { AccountId, AccountIndex } from '@polkadot/types/index';
import { drr } from '../util/drr';