Skip to content

Commit

Permalink
Merge branch 'master' of github.com:binary-com/deriv-app into iphone-…
Browse files Browse the repository at this point in the history
…bug-2
  • Loading branch information
jim-deriv committed Jun 11, 2024
2 parents 6f1079d + b282e32 commit e3713e3
Show file tree
Hide file tree
Showing 56 changed files with 1,774 additions and 707 deletions.
14 changes: 8 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/appstore/src/assets/svgs/currency/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const Currencies = [
'USDC',
'USDK',
'UST',
'XRP',
'VIRTUAL',
] as const;

Expand Down
2 changes: 1 addition & 1 deletion packages/bot-web-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@deriv/api-types": "1.0.172",
"@deriv/bot-skeleton": "^1.0.0",
"@deriv/components": "^1.0.0",
"@deriv/deriv-charts": "^2.1.19",
"@deriv/deriv-charts": "^2.1.20",
"@deriv/shared": "^1.0.0",
"@deriv/stores": "^1.0.0",
"@deriv/translations": "^1.0.0",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/components/src/components/icon/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ import './common/ic-notification-clear.svg';
import './common/ic-notification.svg';
import './common/ic-online-naira.svg';
import './common/ic-open-positions.svg';
import './common/ic-open.svg';
import './common/ic-other-payment-method.svg';
import './common/ic-pa.svg';
import './common/ic-passcode.svg';
Expand Down Expand Up @@ -705,6 +706,7 @@ import './currency/ic-currency-usdc.svg';
import './currency/ic-currency-usdk.svg';
import './currency/ic-currency-ust.svg';
import './currency/ic-currency-virtual.svg';
import './currency/ic-currency-xrp.svg';
import './dxtrade/ic-dxtrade-deriv-x.svg';
import './dxtrade/ic-dxtrade-derived.svg';
import './dxtrade/ic-dxtrade-derivx-platform.svg';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"@deriv/cfd": "^1.0.0",
"@deriv/components": "^1.0.0",
"@deriv/deriv-api": "^1.0.15",
"@deriv/deriv-charts": "^2.1.19",
"@deriv/deriv-charts": "^2.1.20",
"@deriv/hooks": "^1.0.0",
"@deriv/p2p": "^0.7.3",
"@deriv/p2p-v2": "^1.0.0",
Expand Down
98 changes: 0 additions & 98 deletions packages/core/src/Stores/Helpers/limit-orders.js

This file was deleted.

96 changes: 0 additions & 96 deletions packages/core/src/Stores/chart-barrier-store.js

This file was deleted.

7 changes: 4 additions & 3 deletions packages/core/src/Stores/contract-store.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { action, extendObservable, observable, makeObservable, runInAction } from 'mobx';
import {
ChartBarrierStore,
isAccumulatorContract,
isDigitContract,
isEnded,
Expand All @@ -10,6 +11,7 @@ import {
isTurbosContract,
getDigitInfo,
getDisplayStatus,
getLimitOrder,
WS,
getContractUpdateConfig,
getContractValidationRules,
Expand All @@ -21,10 +23,9 @@ import {
getEndTime,
BARRIER_COLORS,
getContractStatus,
setLimitOrderBarriers,
} from '@deriv/shared';
import { getChartConfig } from './Helpers/logic';
import { setLimitOrderBarriers, getLimitOrder } from './Helpers/limit-orders';
import { ChartBarrierStore } from './chart-barrier-store';
import { createChartMarkers, calculateMarker, getAccumulatorMarkers } from './Helpers/chart-markers';
import BaseStore from './base-store';

Expand Down Expand Up @@ -292,7 +293,7 @@ export default class ContractStore extends BaseStore {
barriers: this.barriers_array,
contract_info,
contract_type,
is_over: true,
is_over: !contract_info.sell_time,
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Stores/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ChartBarrierStore } from '@deriv/shared';
import ClientStore from './client-store';
import CommonStore from './common-store';
import GTMStore from './gtm-store';
Expand All @@ -8,7 +9,6 @@ import ActiveSymbolsStore from './active-symbols-store';
import PortfolioStore from './portfolio-store';
import ContractReplayStore from './contract-replay-store';
import ContractTradeStore from './contract-trade-store';
import { ChartBarrierStore } from './chart-barrier-store';
import TradersHubStore from './traders-hub-store';

export default class RootStore {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/Stores/portfolio-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import throttle from 'lodash.throttle';
import { action, computed, observable, reaction, makeObservable, override } from 'mobx';
import { computedFn } from 'mobx-utils';
import {
ChartBarrierStore,
isAccumulatorContract,
isEmptyObject,
isEnded,
Expand All @@ -21,11 +22,10 @@ import {
TRADE_TYPES,
removeBarrier,
routes,
setLimitOrderBarriers,
} from '@deriv/shared';
import { Money } from '@deriv/components';
import { Analytics } from '@deriv-com/analytics';
import { ChartBarrierStore } from './chart-barrier-store';
import { setLimitOrderBarriers } from './Helpers/limit-orders';

import BaseStore from './base-store';

Expand Down
Loading

0 comments on commit e3713e3

Please sign in to comment.