Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[coj]/likhith/coj-795/install deriv sharable libs to account package #15120

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/account-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@deriv-com/utils": "^0.0.20",
"@deriv/api-types": "^1.0.172",
"@deriv/api-v2": "^1.0.0",
"@deriv/quill-icons": "^1.22.4",
"@deriv/quill-icons": "^1.22.7",
"class-variance-authority": "^0.7.0",
"dayjs": "^1.11.10",
"formik": "^2.1.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/account-v2/src/modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"peerDependencies": {
"@deriv-com/ui": "~1.14.5",
"@deriv/quill-icons": "~1.22.4",
"@deriv/quill-icons": "~1.22.7",
"@deriv/api-v2": "1.0.0",
"yup": "^0.32.11",
"formik": "^2.1.4",
Expand Down
2 changes: 2 additions & 0 deletions packages/account/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ module.exports = function (env) {
'@deriv/components': '@deriv/components',
'@deriv/translations': '@deriv/translations',
'@deriv-com/analytics': `@deriv-com/analytics`,
'@deriv/quill-icons': `@deriv/quill-icons`,
'@deriv-com/utils': '@deriv-com/utils',
},
/^@deriv\/shared\/.+$/,
/^@deriv\/components\/.+$/,
Expand Down
4 changes: 3 additions & 1 deletion packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
"dependencies": {
"@binary-com/binary-document-uploader": "^2.4.8",
"@deriv-com/analytics": "1.4.13",
"@deriv/api-types": "^1.0.172",
"@deriv-com/utils": "^0.0.20",
"@deriv/api": "^1.0.0",
"@deriv/api-types": "^1.0.172",
"@deriv/components": "^1.0.0",
"@deriv/hooks": "^1.0.0",
"@deriv/integration": "1.0.0",
"@deriv/quill-icons": "^1.22.7",
"@deriv/shared": "^1.0.0",
"@deriv/stores": "^1.0.0",
"@deriv/translations": "^1.0.0",
Expand Down
57 changes: 0 additions & 57 deletions packages/account/src/Assets/ic-6-month-issued-document.svg

This file was deleted.

155 changes: 0 additions & 155 deletions packages/account/src/Assets/ic-blurry-document.svg

This file was deleted.

78 changes: 0 additions & 78 deletions packages/account/src/Assets/ic-cropped-document.svg

This file was deleted.

58 changes: 0 additions & 58 deletions packages/account/src/Assets/ic-document-address-mismatch.svg

This file was deleted.

50 changes: 0 additions & 50 deletions packages/account/src/Assets/ic-document-name-mismatch.svg

This file was deleted.

110 changes: 0 additions & 110 deletions packages/account/src/Assets/ic-envelop.svg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import React from 'react';
import { Localize } from '@deriv/translations';
import IcDocumentNameMismatch from '../Assets/ic-document-name-mismatch.svg';
import IcDocumentAddressMismatch from '../Assets/ic-document-address-mismatch.svg';
import Ic6MonthsIssuedDocument from '../Assets/ic-6-month-issued-document.svg';
import {
DerivLightIcBlurryDocumentIcon,
DerivLightIcCroppedDocumentIcon,
DerivLightIcDocumentAddressMismatchIcon,
DerivLightIcDocumentNameMismatchIcon,
DerivLightIcEnvelopeIcon,
DerivLightIcOldIssuedDocumentIcon,
} from '@deriv/quill-icons';
import Ic12MonthsIssuedDocument from '../Assets/ic-12-months-expiry.svg';
import IcBlurryDocument from '../Assets/ic-blurry-document.svg';
import IcCroppedDocument from '../Assets/ic-cropped-document.svg';
import IcEnvelope from '../Assets/ic-envelop.svg';

type TExampleImageConfig = {
image: React.ComponentType<React.SVGAttributes<SVGElement>>;
Expand All @@ -19,19 +21,19 @@ type TExampleImageConfig = {
*/
export const getExampleImagesConfig = (is_eu: boolean): Array<TExampleImageConfig> => [
{
image: IcDocumentNameMismatch,
image: DerivLightIcDocumentNameMismatchIcon,
likhith-deriv marked this conversation as resolved.
Show resolved Hide resolved
description: <Localize i18n_default_text='Name in document doesn’t match your Deriv profile.' />,
ref: 'name_mismatch',
},
{
image: IcDocumentAddressMismatch,
image: DerivLightIcDocumentAddressMismatchIcon,
description: <Localize i18n_default_text='Address in document doesn’t match address you entered above.' />,
ref: 'address_mismatch',
},
{
...(is_eu
? {
image: Ic6MonthsIssuedDocument,
image: DerivLightIcOldIssuedDocumentIcon,
description: <Localize i18n_default_text='Document issued more than 6-months ago.' />,
ref: 'old_6_month_issued_document',
}
Expand All @@ -42,17 +44,17 @@ export const getExampleImagesConfig = (is_eu: boolean): Array<TExampleImageConfi
}),
},
{
image: IcBlurryDocument,
image: DerivLightIcBlurryDocumentIcon,
description: <Localize i18n_default_text='Blurry document. All information must be clear and visible.' />,
ref: 'blurry_document',
},
{
image: IcCroppedDocument,
image: DerivLightIcCroppedDocumentIcon,
description: <Localize i18n_default_text='Cropped document. All information must be clear and visible.' />,
ref: 'cropped_document',
},
{
image: IcEnvelope,
image: DerivLightIcEnvelopeIcon,
description: <Localize i18n_default_text='An envelope with your name and address.' />,
ref: 'envelope',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cashier-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@deriv-com/utils": "^0.0.20",
"@deriv/api-v2": "^1.0.0",
"@deriv/integration": "^1.0.0",
"@deriv/quill-icons": "^1.22.4",
"@deriv/quill-icons": "^1.22.7",
"@deriv/utils": "^1.0.0",
"clsx": "^2.0.0",
"formik": "^2.1.4",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"@deriv/p2p": "^0.7.3",
"@deriv/p2p-v2": "^1.0.0",
"@deriv/quill-design": "^1.3.2",
"@deriv/quill-icons": "^1.22.7",
"@deriv/reports": "^1.0.0",
"@deriv/shared": "^1.0.0",
"@deriv/stores": "^1.0.0",
Expand Down Expand Up @@ -153,8 +154,6 @@
"react-tiny-popover": "^7.0.1",
"react-transition-group": "4.4.2",
"react-window": "^1.8.5",
"@simplewebauthn/browser": "^8.3.4",
"@simplewebauthn/typescript-types": "^8.3.4",
"usehooks-ts": "^2.7.0"
}
}
2 changes: 1 addition & 1 deletion packages/p2p-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@deriv-com/utils": "^0.0.20",
"@deriv/api-v2": "^1.0.0",
"@deriv/integration": "^1.0.0",
"@deriv/quill-icons": "^1.22.4",
"@deriv/quill-icons": "^1.22.7",
"@deriv/react-joyride": "^2.6.2",
"@sendbird/chat": "^4.9.7",
"@tanstack/react-table": "^8.10.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/tradershub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@deriv/api-v2": "^1.0.0",
"@deriv-lib/account-v2-lib": "1.0.0",
"@deriv/quill-icons": "^1.22.4",
"@deriv/quill-icons": "^1.22.7",
"@deriv-com/ui": "^1.14.5",
"@deriv-com/utils": "^0.0.20",
"@deriv/react-joyride": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@deriv-com/utils": "^0.0.20",
"@deriv/api-v2": "^1.0.0",
"@deriv/integration": "^1.0.0",
"@deriv/quill-icons": "^1.22.4",
"@deriv/quill-icons": "^1.22.7",
"@deriv/react-joyride": "^2.6.2",
"@deriv/utils": "^1.0.0",
"@tanstack/react-table": "^8.10.3",
Expand Down
Loading