From d9ada684fac0e6172714a45a344aa845ae2a530c Mon Sep 17 00:00:00 2001 From: benthecarman Date: Wed, 17 Jan 2024 22:11:16 +0000 Subject: [PATCH] 0.5.5 --- android/app/build.gradle | 4 ++-- ios/App/App.xcodeproj/project.pbxproj | 4 ++-- package.json | 4 ++-- pnpm-lock.yaml | 8 ++++---- src/logic/errorDispatch.ts | 5 +++++ 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c34b866f..4fcdfa28 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.mutinywallet.mutinywallet" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 45 - versionName "0.5.3" + versionCode 46 + versionName "0.5.5" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/ios/App/App.xcodeproj/project.pbxproj b/ios/App/App.xcodeproj/project.pbxproj index 2fb89eb8..5b7ad2e1 100644 --- a/ios/App/App.xcodeproj/project.pbxproj +++ b/ios/App/App.xcodeproj/project.pbxproj @@ -360,7 +360,7 @@ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MARKETING_VERSION = 1.5.3; + MARKETING_VERSION = 1.5.5; OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\""; PRODUCT_BUNDLE_IDENTIFIER = com.mutinywallet.mutiny; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -387,7 +387,7 @@ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - MARKETING_VERSION = 1.5.3; + MARKETING_VERSION = 1.5.5; PRODUCT_BUNDLE_IDENTIFIER = com.mutinywallet.mutiny; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/package.json b/package.json index b5c1c96c..ebbda979 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mutiny-wallet", - "version": "0.5.3", + "version": "0.5.5", "license": "MIT", "packageManager": "pnpm@8.6.6", "scripts": { @@ -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.3", + "@mutinywallet/mutiny-wasm": "0.5.5", "@mutinywallet/waila-wasm": "^0.2.6", "@solid-primitives/upload": "^0.0.111", "@solidjs/meta": "^0.29.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 18ba86b4..ff757297 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: ^0.18.1 version: 0.18.1(solid-js@1.8.5) '@mutinywallet/mutiny-wasm': - specifier: 0.5.3 - version: 0.5.3 + specifier: 0.5.5 + version: 0.5.5 '@mutinywallet/waila-wasm': specifier: ^0.2.6 version: 0.2.6 @@ -2570,8 +2570,8 @@ packages: solid-js: 1.8.5 dev: false - /@mutinywallet/mutiny-wasm@0.5.3: - resolution: {integrity: sha512-zbawC8rnKzRDw0uoMjdfzxtk89/Vfu/s+X+o5xPk69jZ5WjZFWBahBPJseJwB28+A1ZfNnHZQl+/brCkaDo+aA==} + /@mutinywallet/mutiny-wasm@0.5.5: + resolution: {integrity: sha512-+8+Qq5GQL612WKpX39ruUXqQJAgNGV+TwqSzz0w0/T6pxP09Fj8wt27Q2O7FpAdbqoxGHfbgNULsIDYRYPtkMA==} dev: false /@mutinywallet/waila-wasm@0.2.6: diff --git a/src/logic/errorDispatch.ts b/src/logic/errorDispatch.ts index 7c86ea5a..f9002cdc 100644 --- a/src/logic/errorDispatch.ts +++ b/src/logic/errorDispatch.ts @@ -14,6 +14,7 @@ type MutinyError = | "An invoice must not get payed twice." | "Payment timed out." | "The given invoice is invalid." + | "The given invoice is expired." | "Failed to create invoice." | "Channel reserve amount is too high." | "We do not have enough balance to pay the given amount." @@ -22,6 +23,7 @@ type MutinyError = | "Failed to request channel from LSP due to funding error." | "Failed to request channel from LSP due to amount being too high." | "Failed to have a connection to the LSP node." + | "Failed to provide an invoice to the LSP." | "Subscription Client Not Configured" | "Invalid Parameter" | "Called incorrect lnurl function." @@ -49,6 +51,9 @@ type MutinyError = | "Invalid Arguments were given" | "Incorrect password entered." | "Cannot change password to the same password." + | "Failed to create payjoin request." + | "Payjoin response error: {0}" + | "Payjoin configuration failed." | "Unknown Error"; export function matchError(e: unknown): Error {