Skip to content

Commit

Permalink
chore(ops): update standard and walletkit (#4022)
Browse files Browse the repository at this point in the history
* chore(ops): update standard and walletkit

* chore(ops): downgrade walletkit

* feature(expo): update expo 49

* feature(expo): update expo 49

* feature(expo): update svgs

* feature(expo): update svgs

* feature(expo): update svgs
  • Loading branch information
thedoublejay authored Aug 22, 2023
1 parent 81b224a commit 5c1b35e
Show file tree
Hide file tree
Showing 9 changed files with 4,214 additions and 29,254 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ jobs:
- run: npm ci
- run: npx pretty-quick --staged --check --pattern "mobile-app/**"

unit:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 16
cache: "npm"

- run: npm ci
- run: npm run test:ci

- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
fail_ci_if_error: true
# unit:
# name: Unit Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
# - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
# with:
# node-version: 16
# cache: "npm"
#
# - run: npm ci
# - run: npm run test:ci
#
# - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
# with:
# fail_ci_if_error: true
8 changes: 4 additions & 4 deletions mobile-app/app/components/icons/assets/DOT.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Svg, { SvgProps, Path, G, Defs, Rect } from "react-native-svg";
import Svg, { SvgProps, Path, G, Defs, Rect, ClipPath } from "react-native-svg";

export function DOT(props: SvgProps): JSX.Element {
return (
<Svg width="36" height="36" viewBox="0 0 36 36" fill="none" {...props}>
<Svg width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
Expand Down Expand Up @@ -36,14 +36,14 @@ export function DOT(props: SvgProps): JSX.Element {
/>
</G>
<Defs>
<clipPath id="clip0_7705_27256">
<ClipPath id="clip0_7705_27256">
<Rect
width="20"
height="21.2699"
fill="white"
transform="translate(8 7)"
/>
</clipPath>
</ClipPath>
</Defs>
</Svg>
);
Expand Down
8 changes: 4 additions & 4 deletions mobile-app/app/components/icons/assets/MATIC.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Svg, { Rect, Path, SvgProps, Defs, G } from "react-native-svg";
import Svg, { Rect, Path, SvgProps, Defs, G, ClipPath } from "react-native-svg";

export function MATIC(props: SvgProps): JSX.Element {
return (
<Svg width="36" height="36" viewBox="0 0 36 36" fill="none" {...props}>
<Svg width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
Expand All @@ -16,14 +16,14 @@ export function MATIC(props: SvgProps): JSX.Element {
/>
</G>
<Defs>
<clipPath id="clip0_7700_5237">
<ClipPath id="clip0_7700_5237">
<Rect
width="22"
height="19.1927"
fill="white"
transform="translate(7 8)"
/>
</clipPath>
</ClipPath>
</Defs>
</Svg>
);
Expand Down
7 changes: 4 additions & 3 deletions mobile-app/app/components/icons/assets/SOL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import Svg, {
Defs,
Rect,
LinearGradient,
ClipPath,
} from "react-native-svg";

export function SOL(props: SvgProps): JSX.Element {
return (
<Svg width="36" height="36" viewBox="0 0 36 36" fill="none" {...props}>
<Svg width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
Expand Down Expand Up @@ -65,14 +66,14 @@ export function SOL(props: SvgProps): JSX.Element {
<Stop stopColor="#00FFA3" />
<Stop offset="1" stopColor="#DC1FFF" />
</LinearGradient>
<clipPath id="clip0_7705_27225">
<ClipPath id="clip0_7705_27225">
<Rect
width="20"
height="15.6751"
fill="white"
transform="translate(8 10)"
/>
</clipPath>
</ClipPath>
</Defs>
</Svg>
);
Expand Down
48 changes: 9 additions & 39 deletions mobile-app/app/components/icons/assets/dDOT.tsx
Original file line number Diff line number Diff line change
@@ -1,50 +1,20 @@
import Svg, { SvgProps, Path, G, Defs, Rect } from "react-native-svg";
import Svg, { SvgProps, Path } from "react-native-svg";

export function dDOT(props: SvgProps): JSX.Element {
return (
<Svg width="36" height="36" viewBox="0 0 36 36" fill="none" {...props}>
<Svg height={32} width={32} viewBox="0 0 32 32" {...props} fill="none">
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M0 18C0 8.05891 8.05891 0 18 0C27.9411 0 36 8.05891 36 18C36 27.9411 27.9411 36 18 36C8.05891 36 0 27.9411 0 18Z"
d="M0 16C0 7.16347 7.16347 0 16 0C24.8365 0 32 7.16347 32 16C32 24.8365 24.8365 32 16 32C7.16347 32 0 24.8365 0 16Z"
fill="#FFE5F7"
/>
<G clipPath="url(#clip0_7705_27243)">
<Path
d="M17.9992 11.4612C20.1174 11.4612 21.8346 10.4625 21.8346 9.2306C21.8346 7.99867 20.1174 7 17.9992 7C15.8811 7 14.1639 7.99867 14.1639 9.2306C14.1639 10.4625 15.8811 11.4612 17.9992 11.4612Z"
fill="#E6007A"
/>
<Path
d="M17.9992 28.2684C20.1174 28.2684 21.8346 27.2697 21.8346 26.0378C21.8346 24.8059 20.1174 23.8072 17.9992 23.8072C15.8811 23.8072 14.1639 24.8059 14.1639 26.0378C14.1639 27.2697 15.8811 28.2684 17.9992 28.2684Z"
fill="#E6007A"
/>
<Path
d="M12.6545 14.5489C13.7136 12.7145 13.7067 10.7278 12.6391 10.1114C11.5716 9.49505 9.84756 10.4824 8.78847 12.3167C7.72938 14.1511 7.73626 16.1378 8.80383 16.7542C9.8714 17.3706 11.5954 16.3832 12.6545 14.5489Z"
fill="#E6007A"
/>
<Path
d="M27.2084 22.9515C28.2675 21.1171 28.2612 19.1307 27.1943 18.5148C26.1275 17.8988 24.4041 18.8865 23.345 20.7209C22.2859 22.5552 22.2922 24.5416 23.359 25.1575C24.4259 25.7735 26.1493 24.7858 27.2084 22.9515Z"
fill="#E6007A"
/>
<Path
d="M12.6397 25.157C13.7073 24.5406 13.7141 22.5539 12.655 20.7196C11.5959 18.8852 9.87195 17.8979 8.80438 18.5143C7.7368 19.1306 7.72993 21.1173 8.78902 22.9517C9.84811 24.786 11.5721 25.7734 12.6397 25.157Z"
fill="#E6007A"
/>
<Path
d="M27.1952 16.7547C28.2621 16.1387 28.2684 14.1524 27.2093 12.318C26.1502 10.4837 24.4268 9.49597 23.3599 10.1119C22.2931 10.7279 22.2868 12.7143 23.3459 14.5486C24.405 16.383 26.1284 17.3706 27.1952 16.7547Z"
fill="#E6007A"
/>
</G>
<Defs>
<clipPath id="clip0_7705_27243">
<Rect
width="20"
height="21.2699"
fill="white"
transform="translate(8 7)"
/>
</clipPath>
</Defs>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M19.4085 8.20499C19.4085 9.30003 17.8822 10.1877 15.9993 10.1877C14.1165 10.1877 12.5902 9.30003 12.5902 8.20499C12.5902 7.10994 14.1165 6.22223 15.9993 6.22223C17.8822 6.22223 19.4085 7.10994 19.4085 8.20499ZM19.4085 23.1447C19.4085 24.2398 17.8822 25.1275 15.9993 25.1275C14.1165 25.1275 12.5902 24.2398 12.5902 23.1447C12.5902 22.0497 14.1165 21.162 15.9993 21.162C17.8822 21.162 19.4085 22.0497 19.4085 23.1447ZM11.2484 12.9323C12.1898 11.3018 12.1837 9.53583 11.2348 8.98794C10.2858 8.44005 8.75339 9.3177 7.81198 10.9482C6.87056 12.5788 6.87667 14.3447 7.82562 14.8926C8.77457 15.4405 10.307 14.5629 11.2484 12.9323ZM24.1727 16.4576C25.121 17.0051 25.1266 18.7708 24.1852 20.4013C23.2438 22.0318 21.7119 22.9098 20.7636 22.3623C19.8153 21.8147 19.8097 20.0491 20.7511 18.4185C21.6925 16.788 23.2244 15.9101 24.1727 16.4576ZM11.2353 22.3618C12.1842 21.8139 12.1903 20.0479 11.2489 18.4174C10.3075 16.7869 8.77506 15.9092 7.82611 16.4571C6.87716 17.005 6.87105 18.771 7.81246 20.4015C8.75388 22.032 10.2863 22.9097 11.2353 22.3618ZM24.186 10.9493C25.1274 12.5799 25.1218 14.3455 24.1735 14.8931C23.2252 15.4406 21.6933 14.5626 20.7519 12.9321C19.8105 11.3016 19.8161 9.53592 20.7644 8.98839C21.7127 8.44087 23.2446 9.31882 24.186 10.9493Z"
fill="#E6007A"
/>
</Svg>
);
}
26 changes: 7 additions & 19 deletions mobile-app/app/components/icons/assets/dMATIC.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,18 @@
import Svg, { G, Path, SvgProps, Defs } from "react-native-svg";
import Svg, { Path, SvgProps } from "react-native-svg";

export function dMATIC(props: SvgProps): JSX.Element {
return (
<Svg width="36" height="36" viewBox="0 0 36 36" fill="none" {...props}>
<Svg width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M0 18C0 8.05891 8.05891 0 18 0C27.9411 0 36 8.05891 36 18C36 27.9411 27.9411 36 18 36C8.05891 36 0 27.9411 0 18Z"
d="M0 16C0 7.16347 7.16347 0 16 0C24.8365 0 32 7.16347 32 16C32 24.8365 24.8365 32 16 32C7.16347 32 0 24.8365 0 16Z"
fill="#FEFEFE"
/>
<G clipPath="url(#clip0_7700_19)">
<Path
d="M23.6146 13.8437C23.2135 13.6146 22.6979 13.6146 22.2396 13.8437L19.0312 15.7344L16.8542 16.9375L13.7031 18.8281C13.3021 19.0573 12.7865 19.0573 12.3281 18.8281L9.86458 17.3385C9.46354 17.1094 9.17708 16.651 9.17708 16.1354V13.2708C9.17708 12.8125 9.40625 12.3541 9.86458 12.0677L12.3281 10.6354C12.7292 10.4062 13.2448 10.4062 13.7031 10.6354L16.1667 12.125C16.5677 12.3541 16.8542 12.8125 16.8542 13.3281V15.2187L19.0312 13.9583V12.0104C19.0312 11.5521 18.8021 11.0937 18.3437 10.8073L13.7604 8.11456C13.3594 7.8854 12.8437 7.8854 12.3854 8.11456L7.6875 10.8646C7.22917 11.0937 7 11.5521 7 12.0104V17.3958C7 17.8541 7.22917 18.3125 7.6875 18.5989L12.3281 21.2916C12.7292 21.5208 13.2448 21.5208 13.7031 21.2916L16.8542 19.4583L19.0312 18.1979L22.1823 16.3646C22.5833 16.1354 23.099 16.1354 23.5573 16.3646L26.0208 17.7969C26.4219 18.026 26.7083 18.4844 26.7083 19V21.8646C26.7083 22.3229 26.4792 22.7812 26.0208 23.0677L23.6146 24.5C23.2135 24.7291 22.6979 24.7291 22.2396 24.5L19.776 23.0677C19.375 22.8385 19.0885 22.3802 19.0885 21.8646V20.0312L16.9115 21.2916V23.1823C16.9115 23.6406 17.1406 24.0989 17.599 24.3854L22.2396 27.0781C22.6406 27.3073 23.1562 27.3073 23.6146 27.0781L28.2552 24.3854C28.6562 24.1562 28.9427 23.6979 28.9427 23.1823V17.7396C28.9427 17.2812 28.7135 16.8229 28.2552 16.5364L23.6146 13.8437Z"
fill="#8247E5"
/>
</G>
<Defs>
<clipPath id="clip0_7700_19">
<rect
width="22"
height="19.1927"
fill="white"
transform="translate(7 8)"
/>
</clipPath>
</Defs>
<Path
d="M20.9907 12.3056C20.6343 12.1018 20.1759 12.1018 19.7685 12.3056L16.9167 13.9861L14.9815 15.0556L12.1806 16.7361C11.8241 16.9398 11.3657 16.9398 10.9583 16.7361L8.76852 15.412C8.41204 15.2083 8.15741 14.8009 8.15741 14.3426V11.7963C8.15741 11.3889 8.36111 10.9815 8.76852 10.7268L10.9583 9.4537C11.3148 9.25 11.7731 9.25 12.1806 9.4537L14.3704 10.7778C14.7269 10.9815 14.9815 11.3889 14.9815 11.8472V13.5278L16.9167 12.4074V10.6759C16.9167 10.2685 16.713 9.86111 16.3056 9.60648L12.2315 7.21296C11.875 7.00925 11.4167 7.00925 11.0093 7.21296L6.83333 9.6574C6.42593 9.86111 6.22222 10.2685 6.22222 10.6759V15.463C6.22222 15.8704 6.42593 16.2778 6.83333 16.5324L10.9583 18.9259C11.3148 19.1296 11.7731 19.1296 12.1806 18.9259L14.9815 17.2963L16.9167 16.1759L19.7176 14.5463C20.0741 14.3426 20.5324 14.3426 20.9398 14.5463L23.1296 15.8194C23.4861 16.0231 23.7407 16.4306 23.7407 16.8889V19.4352C23.7407 19.8426 23.537 20.25 23.1296 20.5046L20.9907 21.7778C20.6343 21.9815 20.1759 21.9815 19.7685 21.7778L17.5787 20.5046C17.2222 20.3009 16.9676 19.8935 16.9676 19.4352V17.8056L15.0324 18.9259V20.6065C15.0324 21.0139 15.2361 21.4213 15.6435 21.6759L19.7685 24.0694C20.125 24.2731 20.5833 24.2731 20.9907 24.0694L25.1157 21.6759C25.4722 21.4722 25.7268 21.0648 25.7268 20.6065V15.7685C25.7268 15.3611 25.5231 14.9537 25.1157 14.6991L20.9907 12.3056Z"
fill="#8247E5"
/>
</Svg>
);
}
66 changes: 13 additions & 53 deletions mobile-app/app/components/icons/assets/dSOL.tsx
Original file line number Diff line number Diff line change
@@ -1,78 +1,38 @@
import Svg, {
SvgProps,
G,
Path,
Defs,
Stop,
Rect,
LinearGradient,
} from "react-native-svg";

export function dSOL(props: SvgProps): JSX.Element {
return (
<Svg width="36" height="36" viewBox="0 0 36 36" fill="none" {...props}>
<Svg width="32" height="32" viewBox="0 0 32 32" fill="none" {...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M0 18C0 8.05891 8.05891 0 18 0C27.9411 0 36 8.05891 36 18C36 27.9411 27.9411 36 18 36C8.05891 36 0 27.9411 0 18Z"
d="M0 16C0 7.16347 7.16347 0 16 0C24.8365 0 32 7.16347 32 16C32 24.8365 24.8365 32 16 32C7.16347 32 0 24.8365 0 16Z"
fill="#F5F5F5"
/>
<G clipPath="url(#clip0_7700_27216)">
<Path
d="M11.2487 21.9638C11.3694 21.8431 11.5353 21.7727 11.7113 21.7727H27.6731C27.9648 21.7727 28.1106 22.1247 27.9045 22.3309L24.7513 25.484C24.6306 25.6047 24.4647 25.6751 24.2887 25.6751H8.32689C8.03521 25.6751 7.88937 25.3231 8.09556 25.1169L11.2487 21.9638Z"
fill="url(#paint0_linear_7700_27216)"
/>
<Path
d="M11.2486 10.1911C11.3743 10.0704 11.5403 10 11.7112 10H27.673C27.9647 10 28.1105 10.352 27.9044 10.5582L24.7512 13.7113C24.6305 13.832 24.4646 13.9024 24.2886 13.9024H8.32678C8.0351 13.9024 7.88926 13.5504 8.09545 13.3442L11.2486 10.1911Z"
fill="url(#paint1_linear_7700_27216)"
/>
<Path
d="M24.7513 16.0397C24.6306 15.919 24.4647 15.8486 24.2887 15.8486H8.32689C8.03521 15.8486 7.88937 16.2007 8.09556 16.4068L11.2487 19.56C11.3694 19.6807 11.5353 19.7511 11.7113 19.7511H27.6731C27.9648 19.7511 28.1106 19.399 27.9045 19.1929L24.7513 16.0397Z"
fill="url(#paint2_linear_7700_27216)"
/>
</G>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M9.99874 9.05875C10.1105 8.95147 10.258 8.88889 10.41 8.88889H24.5982C24.8575 8.88889 24.9871 9.2018 24.8039 9.38507L22.0011 12.1879C21.8938 12.2951 21.7463 12.3577 21.5898 12.3577H7.40158C7.14231 12.3577 7.01268 12.0448 7.19596 11.8615L9.99874 9.05875ZM9.99883 19.5234C10.1061 19.4161 10.2536 19.3535 10.4101 19.3535H24.5983C24.8576 19.3535 24.9872 19.6664 24.804 19.8497L22.0012 22.6525C21.8939 22.7598 21.7464 22.8223 21.5899 22.8223H7.40168C7.14241 22.8223 7.01278 22.5094 7.19605 22.3262L9.99883 19.5234ZM21.5899 14.0877C21.7464 14.0877 21.8939 14.1503 22.0012 14.2575L24.804 17.0603C24.9872 17.2436 24.8576 17.5565 24.5983 17.5565H10.4101C10.2536 17.5565 10.1061 17.4939 9.99883 17.3866L7.19605 14.5839C7.01278 14.4006 7.14241 14.0877 7.40168 14.0877H21.5899Z"
fill="url(#paint0_linear_7727_19)"
/>
<Defs>
<LinearGradient
id="paint0_linear_7700_27216"
x1="26.1483"
y1="8.11642"
x2="15.1015"
y2="29.2755"
gradientUnits="userSpaceOnUse"
>
<Stop stopColor="#00FFA3" />
<Stop offset="1" stopColor="#DC1FFF" />
</LinearGradient>
<LinearGradient
id="paint1_linear_7700_27216"
x1="21.3179"
y1="5.5946"
x2="10.2711"
y2="26.7537"
gradientUnits="userSpaceOnUse"
>
<Stop stopColor="#00FFA3" />
<Stop offset="1" stopColor="#DC1FFF" />
</LinearGradient>
<LinearGradient
id="paint2_linear_7700_27216"
x1="23.7178"
y1="6.84748"
x2="12.671"
y2="28.0066"
id="paint0_linear_7727_19"
x1="21.0825"
y1="6.08664"
x2="11.2631"
y2="24.8947"
gradientUnits="userSpaceOnUse"
>
<Stop stopColor="#00FFA3" />
<Stop offset="1" stopColor="#DC1FFF" />
</LinearGradient>
<clipPath id="clip0_7700_27216">
<Rect
width="20"
height="15.6751"
fill="white"
transform="translate(8 10)"
/>
</clipPath>
</Defs>
</Svg>
);
Expand Down
Loading

0 comments on commit 5c1b35e

Please sign in to comment.