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: 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); } }), ) 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, }; 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(),