From 0bba0b5281245e994397459294b3ecf2e3d0c4ec Mon Sep 17 00:00:00 2001 From: Tuditi Date: Wed, 15 Nov 2023 13:32:28 +0100 Subject: [PATCH 1/4] fix: always set targetAmount --- .../components/wallet-deeplink/wallet-deeplink.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/components/wallet-deeplink/wallet-deeplink.component.ts b/src/app/components/wallet-deeplink/wallet-deeplink.component.ts index 402b506..0a4d70d 100644 --- a/src/app/components/wallet-deeplink/wallet-deeplink.component.ts +++ b/src/app/components/wallet-deeplink/wallet-deeplink.component.ts @@ -97,8 +97,7 @@ export class WalletDeeplinkComponent { // Shimmer Network const parameters = { address: this.targetAddress, - baseCoinAmount: - this.tokenId && this.surplus ? Number(this.targetAmount).toFixed(0) : undefined, + baseCoinAmount: Number(this.targetAmount ?? 0).toFixed(0), tokenId: this.tokenId, tokenAmount: this.tokenId ? this.tokenAmount : undefined, tag: WEN_NAME.toLowerCase(), From 98cedefd1041ed5a3bb860e907483b388ce08e43 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 16 Nov 2023 08:57:14 -0800 Subject: [PATCH 2/4] remove :prod as it breaks deployments (need check) --- .github/workflows/deploy-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index fe06bd7..b515cc6 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -21,7 +21,7 @@ jobs: - name: Install Dependencies run: npm install - name: Build project - run: npm run build:prod + run: npm run build - name: Publish to Cloudflare Pages uses: cloudflare/pages-action@v1 with: From 08760b7bbcac40e8ba74e311d3c9d7b8058f8a0b Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 16 Nov 2023 11:52:22 -0800 Subject: [PATCH 3/4] fix: File api for file uploads --- src/app/@api/file.api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/@api/file.api.ts b/src/app/@api/file.api.ts index cbfeeac..5762611 100644 --- a/src/app/@api/file.api.ts +++ b/src/app/@api/file.api.ts @@ -54,7 +54,7 @@ export class FileApi { .pipe( map((b: any) => { if (item.onSuccess) { - item.onSuccess(b.url, item.file, b.url); + item.onSuccess(b.data.url, item.file, b.data.url); } }), ) From ae2490c39baed79c06997d97c6fddc436eb69f03 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 16 Nov 2023 20:28:44 -0800 Subject: [PATCH 4/4] fixed tanglepay support through legacy iota.js --- src/app/components/auth/services/auth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/auth/services/auth.service.ts b/src/app/components/auth/services/auth.service.ts index 7009625..d9e88b5 100644 --- a/src/app/components/auth/services/auth.service.ts +++ b/src/app/components/auth/services/auth.service.ts @@ -399,7 +399,7 @@ export class AuthService { // Add public key if it's provided for non ETH address. if (publicKey && network) { - returnObj.publicKey = { + returnObj.legacyPublicKey = { hex: publicKey, network: network, };