Skip to content

Commit

Permalink
Merge pull request #728 from hubiinetwork/feature/0.9.4
Browse files Browse the repository at this point in the history
0.9.4
  • Loading branch information
katat committed Feb 21, 2019
2 parents f97cb20 + 3b712b9 commit 3d5d107
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hubii-core",
"version": "0.9.2",
"version": "0.9.4",
"author": {
"name": "hubii",
"email": "info@hubii.com",
Expand Down
13 changes: 0 additions & 13 deletions src/containers/HubiiApiHoc/saga.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
} from 'redux-saga/effects';

import { delay } from 'redux-saga';
import nahmii from 'nahmii-sdk';
import { utils as ethersUtils } from 'ethers';
import BigNumber from 'bignumber.js';

Expand Down Expand Up @@ -192,8 +191,6 @@ export function* requestToken() {
// try again in 2sec
const TWO_SEC_IN_MS = 2 * 1000;
yield delay(TWO_SEC_IN_MS);
} finally {
nahmiiProvider.stopUpdate();
}
}
}
Expand Down Expand Up @@ -236,16 +233,6 @@ export function* networkApiOrcestrator() {
}
}

export function* getNahmiiProvider() {
const network = yield select(makeSelectCurrentNetwork());
const nahmiiProvider = new nahmii.NahmiiProvider(
network.walletApiEndpoint(true),
network.identityServiceAppId,
network.identityServiceSecret
);
return nahmiiProvider;
}

// Root watcher
export default function* watch() {
yield takeEvery(INIT_NETWORK_ACTIVITY, networkApiOrcestrator);
Expand Down

0 comments on commit 3d5d107

Please sign in to comment.