Skip to content

Commit

Permalink
[WALL] Lubega / WALL-5124 / Add api-v2 as externals in webpack config (
Browse files Browse the repository at this point in the history
…#17465)

* chore: add api-v2 as external in webpack config

* Merge branch 'master' of github.com:binary-com/deriv-app into add-api-v2-as-external
  • Loading branch information
lubega-deriv authored Nov 15, 2024
1 parent 669e2d4 commit 048e867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api-v2/src/useAuthorizedQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions packages/wallets/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 048e867

Please sign in to comment.