Skip to content

Commit 603d714

Browse files
sisoudanimoh
authored andcommitted
Use HubApi from hub/usdc branch
1 parent 5d7fedd commit 603d714

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@linusborg/vue-simple-portal": "^0.1.4",
2727
"@nimiq/electrum-client": "https://github.com/nimiq/electrum-client#build",
2828
"@nimiq/fastspot-api": "nimiq/fastspot-api#build/kyc",
29-
"@nimiq/hub-api": "link:../hub/client",
29+
"@nimiq/hub-api": "https://gitpkg.now.sh/nimiq/hub/client?bfddf024f4148226be9c4ea44d27c8d0c647ca9e&scripts.postinstall=yarn%20--ignore-scripts%20%26%26%20yarn%20build",
3030
"@nimiq/iqons": "^1.5.2",
3131
"@nimiq/libswap": "^1.1.1",
3232
"@nimiq/oasis-api": "^1.1.1",

src/hub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import HubApi, {
77
RefundSwapRequest,
88
SignPolygonTransactionRequest,
99
} from '@nimiq/hub-api';
10-
import { RequestBehavior, BehaviorType } from '@nimiq/hub-api/dist/src/client/RequestBehavior.d';
10+
import { RequestBehavior, BehaviorType } from '@nimiq/hub-api/dist/src/RequestBehavior.d';
1111
import type { ForwardRequest } from '@opengsn/common/dist/EIP712/ForwardRequest';
1212
import Config from 'config';
1313
import { useAccountStore, AccountInfo, AccountType } from './stores/Account';

src/swap-kyc-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import type VueI18n from 'vue-i18n';
1010
import HubApi, { SetupSwapRequest, SetupSwapResult } from '@nimiq/hub-api';
11-
import { BehaviorType } from '@nimiq/hub-api/dist/src/client/RequestBehavior.d';
11+
import { BehaviorType } from '@nimiq/hub-api/dist/src/RequestBehavior.d';
1212
import Ten31PassApi, { GrantResponse, ResponseType, ServiceRequest } from '@nimiq/ten31-pass-api';
1313
import { ResponseStatus, RpcServer, State as RpcServerState } from '@nimiq/rpc';
1414
import { FormattableNumber } from '@nimiq/utils';

yarn.lock

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1819,9 +1819,15 @@
18191819
version "1.6.1"
18201820
resolved "https://codeload.github.com/nimiq/fastspot-api/tar.gz/3583c53769215f20cd3b1156456e678a6e882e7a"
18211821

1822-
"@nimiq/hub-api@link:../hub/client":
1823-
version "0.0.0"
1824-
uid ""
1822+
"@nimiq/hub-api@https://gitpkg.now.sh/nimiq/hub/client?bfddf024f4148226be9c4ea44d27c8d0c647ca9e&scripts.postinstall=yarn%20--ignore-scripts%20%26%26%20yarn%20build":
1823+
version "1.6.1"
1824+
resolved "https://gitpkg.now.sh/nimiq/hub/client?bfddf024f4148226be9c4ea44d27c8d0c647ca9e&scripts.postinstall=yarn%20--ignore-scripts%20%26%26%20yarn%20build#3ab77164f072cbdc2e8c0fb97a31fa2cbaca0e13"
1825+
dependencies:
1826+
"@nimiq/core-web" "^1.5.8"
1827+
"@nimiq/fastspot-api" "^1.5.2"
1828+
"@nimiq/rpc" "^0.4.0"
1829+
"@nimiq/utils" "^0.5.0"
1830+
big-integer "^1.6.48"
18251831

18261832
"@nimiq/iqons@^1.5.2", "@nimiq/iqons@^1.6.0":
18271833
version "1.6.0"

0 commit comments

Comments
 (0)