Api & RxApi now created via new (#153)
* Api & RxApi now created via new * Bump version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api-provider",
|
||||
"version": "0.28.35",
|
||||
"version": "0.29.0",
|
||||
"description": "Transport providers for the API",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -34,7 +34,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"@polkadot/storage": "^0.28.35",
|
||||
"@polkadot/storage": "^0.29.0",
|
||||
"@polkadot/util": "^0.30.3",
|
||||
"@polkadot/util-crypto": "^0.30.3",
|
||||
"@polkadot/util-keyring": "^0.30.3",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import storage from '@polkadot/storage';
|
||||
|
||||
import createApi from '../../api/src';
|
||||
import Api from '../../api/src';
|
||||
import Ws from '../src/ws';
|
||||
|
||||
describe.skip('e2e', () => {
|
||||
@@ -12,7 +12,7 @@ describe.skip('e2e', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
jest.setTimeout(30000);
|
||||
api = createApi(new Ws('ws://127.0.0.1:9944'));
|
||||
api = new Api(new Ws('ws://127.0.0.1:9944'));
|
||||
});
|
||||
|
||||
it('subscribes to chain_newHead', (done) => {
|
||||
|
||||
Reference in New Issue
Block a user