Skip to content

Commit

Permalink
Merge pull request #132 from Consensys/dependabot/npm_and_yarn/packag…
Browse files Browse the repository at this point in the history
…es/ens-app-v3/next-14.1.1

chore(deps): bump next from 13.5.6 to 14.1.1 in /packages/ens-app-v3
  • Loading branch information
Julink-eth authored Jun 27, 2024
2 parents 9495e8b + 5a3f367 commit 9fd1dfd
Show file tree
Hide file tree
Showing 10 changed files with 5,566 additions and 5,953 deletions.
1 change: 1 addition & 0 deletions packages/ens-app-v3/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ if (process.env.ANALYZE) {

if (process.env.CI && process.env.NODE_ENV === 'production' && !process.env.NEXT_PUBLIC_IPFS) {
plugins.push((config) =>
// @ts-ignore
withSentryConfig(config, {
silent: false,
}),
Expand Down
2 changes: 1 addition & 1 deletion packages/ens-app-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"iso-639-1": "^2.1.15",
"lodash": "^4.17.21",
"markdown-to-jsx": "^7.1.7",
"next": "13.5.6",
"next": "14.1.1",
"p-memoize": "^7.1.1",
"pino-pretty": "^10.3.1",
"react": "^18.2.0",
Expand Down
11,381 changes: 5,494 additions & 5,887 deletions packages/ens-app-v3/pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const AdvancedEditorContent = ({
`advancedEditor.tabs.text.placeholder.default`,
])}
showDot
// @ts-ignore
error={getFieldState(`text.${key}`, formState).error?.message}
validated={getFieldState(`text.${key}`, formState).isDirty}
onDelete={() => {
Expand All @@ -92,6 +93,7 @@ const AdvancedEditorContent = ({
`advancedEditor.tabs.text.placeholder.${convertFormSafeKey(key)}`,
`advancedEditor.tabs.text.placeholder.default`,
])}
// @ts-ignore
error={getFieldState(`text.${key}`, formState).error?.message}
validated={getFieldState(`text.${key}`, formState).isDirty}
autoComplete="off"
Expand Down Expand Up @@ -121,6 +123,7 @@ const AdvancedEditorContent = ({
`advancedEditor.tabs.address.placeholder.${convertFormSafeKey(key)}`,
`advancedEditor.tabs.address.placeholder.default`,
])}
// @ts-ignore
error={getFieldState(`address.${key}`, formState).error?.message}
validated={getFieldState(`address.${key}`, formState).isDirty}
onDelete={() => {
Expand All @@ -145,6 +148,7 @@ const AdvancedEditorContent = ({
`advancedEditor.tabs.address.placeholder.${convertFormSafeKey(key)}`,
`advancedEditor.tabs.address.placeholder.default`,
])}
// @ts-ignore
error={getFieldState(`address.${key}`, formState).error?.message}
validated={getFieldState(`address.${key}`, formState).isDirty}
showDot
Expand Down Expand Up @@ -179,6 +183,7 @@ const AdvancedEditorContent = ({
placeholder={t('advancedEditor.tabs.other.contentHash.placeholder')}
showDot
validated={getFieldState('other.contentHash', formState).isDirty}
// @ts-ignore
error={getFieldState('other.contentHash', formState).error?.message}
autoComplete="off"
onClear={() => {
Expand All @@ -197,6 +202,7 @@ const AdvancedEditorContent = ({
placeholder={t('advancedEditor.tabs.other.abi.placeholder')}
showDot
validated={getFieldState('other.abi.data', formState).isDirty}
// @ts-ignore
error={getFieldState('other.abi.data', formState).error?.message}
autoComplete="off"
onClear={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,12 @@ export const TransactionStageModal = ({
} = useSendTransaction({
mutation: {
onSuccess: transactionSuccessHandler({
// @ts-ignore
client,
connectorClient: connectorClient!,
actionName,
txKey,
// @ts-ignore
request,
addRecentTransaction,
dispatch,
Expand Down Expand Up @@ -394,6 +396,7 @@ export const TransactionStageModal = ({
if (stage === 'failed') {
return (
<Button
// @ts-ignore
onClick={() => sendTransaction(request!)}
disabled={!canEnableTransactionRequest || requestLoading || !request}
colorStyle="redSecondary"
Expand Down Expand Up @@ -430,6 +433,7 @@ export const TransactionStageModal = ({
!!requestError ||
isTransactionRequestCachedData
}
// @ts-ignore
onClick={() => sendTransaction(request!)}
data-testid="transaction-modal-confirm-button"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export const getTransactionErrorQueryFn =
const client = config.getClient({ chainId })
const failedTransactionData = await getTransaction(client, { hash })
try {
// @ts-ignore
await call(client, failedTransactionData as CallParameters<ConfigWithEns>)
// TODO: better errors for this
return 'transaction.dialog.error.gasLimit'
Expand Down
1 change: 1 addition & 0 deletions packages/ens-app-v3/src/hooks/useProfileEditorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export const useProfileEditorForm = (existingRecords: ProfileRecord[]) => {
}

const errorForRecordAtIndex = (index: number, keyOrValue: 'value' | 'key' = 'value') => {
// @ts-ignore
return getFieldState(`records.${index}.${keyOrValue}`, formState)?.error?.message
}

Expand Down
1 change: 1 addition & 0 deletions packages/ens-app-v3/src/test-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const client = createClient({
const wagmiConfig = {
...createConfig({
connectors: [
// @ts-ignore
mock({
accounts: [privateKeyAccount.address],
features: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export const UnknownLabelsForm = forwardRef<HTMLFormElement, Props>(
suffix={inx === labels.length - 1 ? `.${getValues(`unknownLabels.tld`)}` : '.'}
disabled={disabled}
defaultValue={value}
// @ts-ignore
error={getFieldState(`unknownLabels.labels.${inx}.value`).error?.message}
spellCheck={false}
autoCorrect="off"
Expand Down
Loading

0 comments on commit 9fd1dfd

Please sign in to comment.