Skip to content

Commit 5dda4dc

Browse files
authored
Merge pull request #38 from stellarcarbon/develop
Release small fixes v2
2 parents 6bde592 + 198fee5 commit 5dda4dc

File tree

17 files changed

+4443
-3961
lines changed

17 files changed

+4443
-3961
lines changed

cypress/e2e/dashboard.cy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ describe("Anonymous user visiting dashboard", () => {
1414
type: "HOT_WALLET",
1515
icon: "https://stellar.creit.tech/wallet-icons/freighter.png",
1616
isAvailable: true,
17+
isPlatformWrapper: false,
1718
url: "https://freighter.app",
1819
},
1920
isAnonymous: true,
@@ -45,6 +46,7 @@ describe("User with personal details visiting dashboard", () => {
4546
type: "HOT_WALLET",
4647
icon: "https://stellar.creit.tech/wallet-icons/freighter.png",
4748
isAvailable: true,
49+
isPlatformWrapper: false,
4850
url: "https://freighter.app",
4951
},
5052
isAnonymous: false,

package-lock.json

Lines changed: 4349 additions & 3880 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -19,50 +19,50 @@
1919
"npm": "11.5.1"
2020
},
2121
"dependencies": {
22-
"@creit.tech/stellar-wallets-kit": "^1.7.7",
23-
"@fortawesome/fontawesome-svg-core": "^6.5.2",
24-
"@fortawesome/free-brands-svg-icons": "^6.5.2",
25-
"@fortawesome/free-regular-svg-icons": "^6.5.2",
26-
"@fortawesome/free-solid-svg-icons": "^6.5.2",
27-
"@fortawesome/react-fontawesome": "^0.2.0",
22+
"@creit.tech/stellar-wallets-kit": "^1.9.5",
23+
"@fortawesome/fontawesome-svg-core": "^6.7.2",
24+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
25+
"@fortawesome/free-regular-svg-icons": "^6.7.2",
26+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
27+
"@fortawesome/react-fontawesome": "^0.2.6",
2828
"@hookform/error-message": "^2.0.1",
29-
"@stellar/stellar-sdk": "^12.2.0",
30-
"@stellarcarbon/sc-sdk": "0.20.0",
31-
"@types/validator": "^13.15.2",
32-
"framer-motion": "^12.4.7",
29+
"@stellar/stellar-sdk": "^14.1.1",
30+
"@stellarcarbon/sc-sdk": "0.21.1",
31+
"@types/validator": "^13.15.3",
32+
"framer-motion": "^12.23.12",
3333
"i": "^0.3.7",
3434
"lodash": "^4.17.21",
3535
"next": "15.4.5",
3636
"next-plausible": "^3.12.4",
37-
"posthog-js": "^1.236.1",
38-
"posthog-node": "^4.11.6",
39-
"react": "^18",
40-
"react-dom": "^18",
41-
"react-hook-form": "^7.49.2",
37+
"posthog-js": "^1.265.0",
38+
"posthog-node": "^4.18.0",
39+
"react": "^18.3.1",
40+
"react-dom": "^18.3.1",
41+
"react-hook-form": "^7.62.0",
4242
"react-loader-spinner": "^6.1.6",
43-
"react-select": "^5.8.1",
43+
"react-select": "^5.10.2",
4444
"validator": "^13.15.15"
4545
},
4646
"devDependencies": {
47-
"@jest/globals": "^30.0.5",
48-
"@testing-library/react": "^14.1.2",
49-
"@types/node": "^24.1.0",
50-
"@types/react": "^18",
51-
"@types/react-dom": "^18",
52-
"autoprefixer": "^10.0.1",
47+
"@jest/globals": "^30.1.2",
48+
"@testing-library/react": "^14.3.1",
49+
"@types/node": "^24.3.3",
50+
"@types/react": "^18.3.24",
51+
"@types/react-dom": "^18.3.7",
52+
"autoprefixer": "^10.4.21",
5353
"cross-env": "^7.0.3",
54-
"cypress": "^13.6.2",
55-
"eslint": "^9.32.0",
54+
"cypress": "^13.17.0",
55+
"eslint": "^9.35.0",
5656
"eslint-config-next": "15.4.5",
5757
"fake-indexeddb": "^5.0.2",
58-
"form-data": "^4.0.0",
58+
"form-data": "^4.0.4",
5959
"openapi-typescript-codegen": "^0.27.0",
6060
"pino-pretty": "^10.3.1",
61-
"postcss": "^8",
62-
"start-server-and-test": "^2.0.3",
63-
"tailwindcss": "^3.3.0",
61+
"postcss": "^8.5.6",
62+
"start-server-and-test": "^2.1.0",
63+
"tailwindcss": "^3.4.17",
6464
"ts-node": "^10.9.2",
65-
"typescript": "^5",
65+
"typescript": "^5.9.2",
6666
"vitest": "^3.2.4"
6767
}
6868
}

src/app/layout.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ export default function RootLayout({
2828
}: {
2929
children: React.ReactNode;
3030
}) {
31-
console.log(analyticsConfig.plausibleDataDomain);
32-
console.log(analyticsConfig.plausibleProps);
33-
3431
return (
3532
<html lang="en">
3633
<head></head>

src/components/SCLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function SCLink({
1212
<Link
1313
href={href}
1414
target={target}
15-
className={`underline text-alternateMedium hover:text-alternateLight ${className}`}
15+
className={`underline text-stellarYellow hover:text-alternateLight ${className}`}
1616
>
1717
{children}
1818
</Link>

src/components/dashboard/overview/OverviewContactInfo.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ export default function OverviewContactInfo() {
4343
}, [setShowForm]);
4444

4545
const onClickConfirmRegistration = useCallback(() => {
46-
updateAccount(
47-
walletConnection!.recipient!.email,
48-
walletConnection?.recipient?.name ?? undefined
49-
);
46+
if (jwt) {
47+
updateAccount(
48+
walletConnection!.recipient!.email,
49+
walletConnection?.recipient?.name ?? undefined
50+
);
51+
} else {
52+
router.push("/sep10");
53+
}
5054
}, [walletConnection, updateAccount]);
5155

5256
const handleDelete = useCallback(() => {

src/components/dashboard/transactions/PendingRetirementsInfo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default function PendingRetirementsInfo() {
3939
} else if (totalPending % 1 === 0) {
4040
body = (
4141
<div className="text-center p-4">
42-
Your pending balance is a round number, so it is automatically
43-
contributed to a personal certificate. This process should nevers take
44-
more than a couple days.
42+
Your pending balance is a whole number, so it will be automatically
43+
retired into a personal certificate. This should be finalized within
44+
an hour.
4545
</div>
4646
);
4747
} else {

src/components/icons/SignIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ interface SignIconProps {
55
export default function SignIcon({ large }: SignIconProps) {
66
return (
77
<svg
8-
width={"64px"}
9-
height={"64px"}
8+
width={"92px"}
9+
height={"92px"}
1010
viewBox="0 0 24 24"
1111
fill="none"
1212
xmlns="http://www.w3.org/2000/svg"

src/containers/connect_wallet/AcceptTnC.tsx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,24 @@ export default function AcceptTnC() {
1010
<div className="flex flex-col gap-4">
1111
<div className="flex flex-col">
1212
<DashboardHeader>Fine print</DashboardHeader>
13-
<span>
14-
Read our <Link href="/terms-of-use" target="_blank" className="underline">
13+
<span className="mt-2">
14+
Read our{" "}
15+
<Link href="/terms-of-use" target="_blank" className="underline">
1516
Terms of Use
16-
</Link> and <Link href="/privacy-policy" target="_blank" className="underline">
17+
</Link>{" "}
18+
and{" "}
19+
<Link href="/privacy-policy" target="_blank" className="underline">
1720
Privacy Policy
18-
</Link> before you continue.
21+
</Link>{" "}
22+
before you continue.
1923
</span>
2024
</div>
2125

2226
{tncError && (
2327
<ConnectWalletFormError
24-
message={"You have to accept the terms, as they are part of your contract with Stellarcarbon."}
28+
message={
29+
"You have to accept the terms, as they are part of your contract with Stellarcarbon."
30+
}
2531
/>
2632
)}
2733

@@ -45,8 +51,7 @@ export default function AcceptTnC() {
4551
className="p-2 cursor-pointer text-sm "
4652
htmlFor="checkbox_policy"
4753
>
48-
I have read and agree with the Terms of Use and the Privacy
49-
Policy.
54+
I have read and agree with the Terms of Use and the Privacy Policy.
5055
</label>
5156
</div>
5257
</div>

src/containers/connect_wallet/SelectWallet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function SelectWallet() {
2828
<div ref={containerRef} className="flex flex-col gap-4">
2929
<div className="flex flex-col w-full">
3030
<DashboardHeader>Wallet selection</DashboardHeader>
31-
<span className="hidden md:block">
31+
<span className="hidden md:block mt-2">
3232
Select your wallet. You’ll connect it when you submit the form.
3333
</span>
3434

0 commit comments

Comments
 (0)