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

v0.5.1 prod release #795

Merged
merged 3 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.mutinywallet.mutinywallet"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 42
versionName "0.5.0"
versionCode 43
versionName "0.5.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mutiny-wallet",
"version": "0.5.0",
"version": "0.5.1",
"license": "MIT",
"packageManager": "[email protected]",
"scripts": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"@kobalte/core": "^0.9.8",
"@kobalte/tailwindcss": "^0.5.0",
"@modular-forms/solid": "^0.18.1",
"@mutinywallet/mutiny-wasm": "0.5.0",
"@mutinywallet/mutiny-wasm": "0.5.1",
"@mutinywallet/waila-wasm": "^0.2.6",
"@solid-primitives/upload": "^0.0.111",
"@solid-primitives/websocket": "^1.2.0",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

8 changes: 5 additions & 3 deletions src/components/KitchenSink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type RefetchPeersType = (
info?: unknown
) => MutinyPeer[] | Promise<MutinyPeer[] | undefined> | null | undefined;

function PeerItem(props: { peer: MutinyPeer }) {
function PeerItem(props: { peer: MutinyPeer; refetchPeers: RefetchPeersType }) {
const i18n = useI18n();
const [state, _] = useMegaStore();

Expand All @@ -52,6 +52,7 @@ function PeerItem(props: { peer: MutinyPeer }) {
} else {
await state.mutiny_wallet?.delete_peer(props.peer.pubkey);
}
await props.refetchPeers();
};

return (
Expand Down Expand Up @@ -108,7 +109,9 @@ function PeersList() {
</code>
}
>
{(peer) => <PeerItem peer={peer} />}
{(peer) => (
<PeerItem peer={peer} refetchPeers={refetch} />
)}
</For>
</VStack>
</Suspense>
Expand Down Expand Up @@ -145,7 +148,6 @@ function ConnectPeer(props: { refetchPeers: RefetchPeersType }) {
<TextField.Root
value={value()}
onChange={setValue}
validationState={value() == "" ? "valid" : "invalid"}
class="flex flex-col gap-4"
>
<TextField.Label class="text-sm font-semibold uppercase">
Expand Down
Loading