From 1a52a5159ba282b98ae1bea0e8f3c7374690dda9 Mon Sep 17 00:00:00 2001 From: jaredvu Date: Fri, 22 Dec 2023 14:39:25 -0800 Subject: [PATCH] Add CCTP transfer limit error --- config/localization/en/app.json | 1 + package-lock.json | 4 ++-- package.json | 2 +- scripts/generated/app.ts | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/localization/en/app.json b/config/localization/en/app.json index 05fe15553..082ba14b1 100644 --- a/config/localization/en/app.json +++ b/config/localization/en/app.json @@ -1711,6 +1711,7 @@ "REGION_NOT_PERMITTED_SUBTITLE": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, or have engaged in activity that violates our terms of use, you have been blocked. You may withdraw your funds from the protocol at any time.", "BANNED_USER": "Because you appear to be a resident of, or trading from, a jurisdiction that violates our terms of use, you have been permanently blocked from performing transfers within the protocol, making fast withdrawals to remove funds from the protocol, and placing orders other than market orders that reduce your positions. You may withdraw your funds from the protocol at any time.", "COULD_NOT_CONNECT": "Couldn't connect to {WALLET}", + "MAX_CCTP_TRANSFER_LIMIT_EXCEEDED": "Please try a smaller amount. The maximum CCTP transfer limit is currently {MAX_CCTP_TRANSFER_AMOUNT}.", "INDETERMINISTIC_SIGNING": "Your wallet does not support deterministic signing. Please switch to a different wallet provider.", "INVALID_EMAIL": "Please enter a valid email address.", "INVALID_USERNAME": "Usernames must start with a letter, be less than 24 characters long, and contain only letters, numbers, and underscores.", diff --git a/package-lock.json b/package-lock.json index 43e202481..49eab835c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.2", + "version": "1.1.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-localization", - "version": "1.1.2", + "version": "1.1.4", "license": "AGPL-3.0", "devDependencies": { "@types/node": "^20.1.7" diff --git a/package.json b/package.json index 9092963f0..d624dca97 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-localization", - "version": "1.1.3", + "version": "1.1.4", "description": "v4 localization", "main": "index.ts", "scripts": { diff --git a/scripts/generated/app.ts b/scripts/generated/app.ts index 417a14192..04e4d819a 100644 --- a/scripts/generated/app.ts +++ b/scripts/generated/app.ts @@ -1398,6 +1398,7 @@ export const ERRORS_STRING_KEYS = { INVALID_USERNAME: 'ERRORS.ONBOARDING.INVALID_USERNAME', KEY_RECOVERY_FAILED: 'ERRORS.ONBOARDING.KEY_RECOVERY_FAILED', LEDGER_U2F_REQUIRED: 'ERRORS.ONBOARDING.LEDGER_U2F_REQUIRED', + MAX_CCTP_TRANSFER_LIMIT_EXCEEDED: 'ERRORS.ONBOARDING.MAX_CCTP_TRANSFER_LIMIT_EXCEEDED', REGION_NOT_PERMITTED_SUBTITLE: 'ERRORS.ONBOARDING.REGION_NOT_PERMITTED_SUBTITLE', REGION_NOT_PERMITTED_TITLE: 'ERRORS.ONBOARDING.REGION_NOT_PERMITTED_TITLE', USERNAME_TAKEN: 'ERRORS.ONBOARDING.USERNAME_TAKEN',