Skip to content

Commit

Permalink
fix swaps SA
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvoskamp committed Dec 13, 2024
2 parents b9aa271 + a9d7686 commit afb6578
Show file tree
Hide file tree
Showing 355 changed files with 17,940 additions and 3,698 deletions.
9 changes: 2 additions & 7 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"@examples/*",
"@apps/demo",
"@examples/*",
"@apps/*",
"@apps/gallery",
"@apps/gallery-new",
"@apps/laboratory",
"@apps/laboratory-new",
"@reown/appkit-new",
"@reown/appkit-scaffold-ui-new",
"@reown/appkit-ui-new",
"@reown/appkit-adapter-bitcoin",
"@reown/appkit-adapter-polkadot"
]
Expand Down
20 changes: 0 additions & 20 deletions .changeset/giant-rings-whisper.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
'@reown/appkit-scaffold-ui': patch
'@reown/appkit': patch
'@reown/appkit-core': patch
'@reown/appkit-adapter-ethers': patch
'@reown/appkit-adapter-ethers5': patch
'@reown/appkit-adapter-solana': patch
'@reown/appkit-adapter-wagmi': patch
'@reown/appkit': patch
'@reown/appkit-utils': patch
'@reown/appkit-cdn': patch
'@reown/appkit-cli': patch
'@reown/appkit-common': patch
'@reown/appkit-core': patch
'@reown/appkit-experimental': patch
'@reown/appkit-polyfills': patch
'@reown/appkit-siwe': patch
'@reown/appkit-siwx': patch
'@reown/appkit-ui': patch
'@reown/appkit-wallet': patch
'@reown/appkit-wallet-button': patch
---

Edited wallet guide text
Fix allowUnsupportedChain param to work correctly
20 changes: 0 additions & 20 deletions .changeset/spicy-singers-serve.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
---
'@reown/appkit-siwx': patch
'@reown/appkit-adapter-ethers': patch
'@reown/appkit-adapter-ethers5': patch
'@reown/appkit-adapter-solana': patch
'@reown/appkit-adapter-wagmi': patch
'@reown/appkit': patch
'@reown/appkit-utils': patch
'@reown/appkit-cdn': patch
'@reown/appkit-cli': patch
'@reown/appkit-common': patch
'@reown/appkit-core': patch
'@reown/appkit-experimental': patch
'@reown/appkit-polyfills': patch
'@reown/appkit-scaffold-ui': patch
'@reown/appkit-siwe': patch
'@reown/appkit-siwx': patch
'@reown/appkit-ui': patch
'@reown/appkit-wallet': patch
'@reown/appkit-wallet-button': patch
---

Fix BIP122Verifier replacing the library used for one with a wider range of signature verifiations
Fix the chainId response when connecting to bitcoin with multichain adapters
20 changes: 0 additions & 20 deletions .changeset/twelve-moles-leave.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
---
'@reown/appkit-adapter-ethers5': patch
'@reown/appkit-scaffold-ui': patch
'@apps/builder': patch
'@reown/appkit-adapter-ethers': patch
'@reown/appkit-adapter-ethers5': patch
'@reown/appkit-adapter-solana': patch
'@reown/appkit-adapter-wagmi': patch
'@reown/appkit-utils': patch
'@reown/appkit-experimental': patch
'@reown/appkit-scaffold-ui': patch
'@reown/appkit-polyfills': patch
'@reown/appkit': patch
'@reown/appkit-utils': patch
'@reown/appkit-cdn': patch
'@reown/appkit-cli': patch
'@reown/appkit-common': patch
'@reown/appkit-wallet': patch
'@reown/appkit-core': patch
'@reown/appkit-experimental': patch
'@reown/appkit-polyfills': patch
'@reown/appkit-siwe': patch
'@reown/appkit-siwx': patch
'@reown/appkit-cdn': patch
'@reown/appkit-ui': patch
'@reown/appkit-wallet': patch
'@reown/appkit-wallet-button': patch
---

Add SIWX BIP122Verifier
Filter out when there is duplicate wallet items in recents and injected wallets
12 changes: 10 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
Expand All @@ -97,6 +96,15 @@
"@typescript-eslint/prefer-nullish-coalescing": "off",
"@typescript-eslint/no-unnecessary-condition": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/non-nullable-type-assertion-style": "off"
"@typescript-eslint/non-nullable-type-assertion-style": "off",
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"types": ["boolean"],
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
"prefix": ["is", "has", "can", "should", "will", "did"]
}
]
}
}
3 changes: 3 additions & 0 deletions apps/builder/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
File renamed without changes.
36 changes: 36 additions & 0 deletions apps/builder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
Binary file added apps/builder/app/fonts/KHTeka-Light.woff
Binary file not shown.
Binary file added apps/builder/app/fonts/KHTeka-Medium.woff
Binary file not shown.
Binary file added apps/builder/app/fonts/KHTeka-Regular.woff
Binary file not shown.
Binary file added apps/builder/app/fonts/KHTekaMono-Regular.woff
Binary file not shown.
127 changes: 127 additions & 0 deletions apps/builder/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: transparent;

::selection {
background-color: hsl(var(--apkt-background-accent-primary) / 0.1);
}
}

@layer base {
:root {
--apkt-background-primary: 0 0% 100%;
--apkt-background-invert: 0 0% 13%;
--apkt-background-accent-primary: 207 93% 49%;

--apkt-foreground-primary: 0 0% 95%;
--apkt-foreground-secondary: 0 0% 91%;
--apkt-foreground-tertiary: 0 0% 82%;
--apkt-foreground-accent: 231 100% 70%;

--apkt-border: 0 0% 91%;
--apkt-border-secondary: 0 0% 82%;
--apkt-border-accent: 207 93% 49%;
--apkt-border-accent-certified: 44 31% 68%;
--apkt-border-success: 0.42 55% 42%;
--apkt-border-error: 0.02 73% 54%;
--apkt-border-warning: 0.09 88% 60%;

--apkt-text-primary: 0 0% 13%;
--apkt-text-secondary: 0 0% 60%;
--apkt-text-tertiary: 0 0% 42%;
--apkt-text-invert: 0 0% 100%;

--background: 0 0% 100%;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
--primary: 0 0% 9%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96.1%;
--secondary-foreground: 0 0% 9%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 89.8%;
--input: 0 0% 89.8%;
--ring: 0 0% 3.9%;
--radius: 0.5rem;

--apkt-border-sm: 8px;
--apkt-border-md: 12px;
--apkt-border-lg: 16px;

--box-shadow-picked-up: 0px 2px 8px 2px hsl(var(--apkt-background-primary) / 0.5);
}
.dark {
--apkt-background-primary: 0 0% 13%;
--apkt-background-invert: 0 0% 100%;
--apkt-background-accent-primary: 207 93% 49%;

--apkt-foreground-primary: 0 0% 15%;
--apkt-foreground-secondary: 0 0% 16%;
--apkt-foreground-tertiary: 0 0% 21%;
--apkt-foreground-accent: 207 92.8% 48.8%;

--apkt-border: 0 0% 16%;
--apkt-border-secondary: 0 0% 31%;
--apkt-border-accent: 207 93% 49%;
--apkt-border-accent-certified: 0.12 31% 68%;
--apkt-border-success: 0.42 55% 42%;
--apkt-border-error: 0.02 73% 54%;
--apkt-border-warning: 0.09 88% 60%;

--apkt-text-primary: 0 0% 100%;
--apkt-text-secondary: 0 0% 60%;
--apkt-text-tertiary: 0 0% 73%;
--apkt-text-invert: 0 0% 13%;

--background: 0 0% 3.9%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
}
}

@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground h-[100svh];
}
.inset-shadow {
box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}
wui-card {
box-shadow: 0 0 24px 0px rgba(0, 0, 0, 0.15);
}
.ease {
transition-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
}
}
Loading

0 comments on commit afb6578

Please sign in to comment.