diff --git a/packages/api-v2/src/useAuthorizedQuery.ts b/packages/api-v2/src/useAuthorizedQuery.ts index 1c68c77207fb..be7a9bfa8e30 100644 --- a/packages/api-v2/src/useAuthorizedQuery.ts +++ b/packages/api-v2/src/useAuthorizedQuery.ts @@ -7,8 +7,8 @@ import type { TSocketResponseData, } from '../types'; import useAPI from './useAPI'; -import { getQueryKeys } from './utils'; -import { useAuthorize } from './hooks'; +import { getQueryKeys } from './utils/query-utils'; +import useAuthorize from './hooks/useAuthorize'; /** * just like useQuery, but only runs when user is authorized diff --git a/packages/wallets/webpack.config.js b/packages/wallets/webpack.config.js index 1adf92938468..2d624424b8fd 100644 --- a/packages/wallets/webpack.config.js +++ b/packages/wallets/webpack.config.js @@ -41,6 +41,7 @@ module.exports = function (env) { }, externals: [ { + '@deriv/api-v2': '@deriv/api-v2', '@deriv/quill-icons': `@deriv/quill-icons`, '@deriv/shared': '@deriv/shared', '@deriv/utils': '@deriv/utils',