From ea14a5388c450dcd16e6048295236d9b99759184 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 28 Jun 2026 22:06:24 +0000 Subject: [PATCH 1/2] Bump prettier from 3.8.4 to 3.9.1 in the linting-tools group Bumps the linting-tools group with 1 update: [prettier](https://github.com/prettier/prettier). Updates `prettier` from 3.8.4 to 3.9.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.4...3.9.1) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.9.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: linting-tools ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b3c570276ac..828a21f6645 100644 --- a/package-lock.json +++ b/package-lock.json @@ -100,7 +100,7 @@ "lint-staged": "^15.5.2", "openapi-types": "^12.1.3", "pino-pretty": "^13.1.3", - "prettier": "^3.8.4", + "prettier": "^3.9.1", "prettier-plugin-astro": "^0.14.1", "remark-gfm": "^4.0.0", "remark-mdx": "^3.1.0", @@ -31980,9 +31980,9 @@ } }, "node_modules/prettier": { - "version": "3.8.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.8.4.tgz", - "integrity": "sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==", + "version": "3.9.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.1.tgz", + "integrity": "sha512-ppiDo2CSwexck1eyZUwJHg/N3nf1+6IRCv7W/VJ5vaLnVCmB7+3CdRfMwoCHBBX6xTrREDTksZ4OZl5SSf4zXA==", "dev": true, "license": "MIT", "bin": { diff --git a/package.json b/package.json index 34677fac421..70462c64b44 100644 --- a/package.json +++ b/package.json @@ -146,7 +146,7 @@ "lint-staged": "^15.5.2", "openapi-types": "^12.1.3", "pino-pretty": "^13.1.3", - "prettier": "^3.8.4", + "prettier": "^3.9.1", "prettier-plugin-astro": "^0.14.1", "remark-gfm": "^4.0.0", "remark-mdx": "^3.1.0", From 6062ff330dd60f14f2a66276f157250af2e3e9ac Mon Sep 17 00:00:00 2001 From: devin distefano Date: Mon, 29 Jun 2026 12:25:08 -0500 Subject: [PATCH 2/2] formatting fixes for bumped linter mismatches --- src/content/cre/llms-full-ts.txt | 20 +++++++++++-------- .../cre/reference/clf-migration-ts.mdx | 8 ++------ .../cre/reference/sdk/http-client-ts.mdx | 12 +++++++++-- src/content/data-streams/llms-full.txt | 4 +--- .../reference/data-streams-api/ts-sdk.mdx | 4 +--- .../ccip/components/NetworkDropdown.tsx | 6 +++--- src/pages/[...path].md.ts | 4 +--- src/scripts/chains-metadata.ts | 3 +-- 8 files changed, 31 insertions(+), 30 deletions(-) diff --git a/src/content/cre/llms-full-ts.txt b/src/content/cre/llms-full-ts.txt index e8f8ac19636..2f92f5958de 100644 --- a/src/content/cre/llms-full-ts.txt +++ b/src/content/cre/llms-full-ts.txt @@ -17796,12 +17796,8 @@ Directly replaces the on-chain entry path of `_sendRequest()`. Instead of your c ```ts const evmClient = new cre.evm.EVMClient(CHAIN_SELECTOR) const trigger = evmClient.logTrigger({ - addresses: [ - /* base64-encoded contract address */ - ], - topics: [ - /* base64-encoded event signature hash */ - ], + addresses: [/* base64-encoded contract address */], + topics: [/* base64-encoded event signature hash */], }) ``` @@ -20727,7 +20723,11 @@ const workflow = (runtime: Runtime) => { // Call the high-level sendRequest with your custom function const price = httpClient - .sendRequest(runtime, fetchPrice, consensusMedianAggregation())(runtime.config.apiUrl) + .sendRequest( + runtime, + fetchPrice, + consensusMedianAggregation() + )(runtime.config.apiUrl) .result() runtime.log(`Aggregated price: ${price}`) @@ -21249,7 +21249,11 @@ const createResource = (sendRequester: HTTPSendRequester, payload: { name: strin // In your workflow const httpClient = new HTTPClient() const resource = httpClient - .sendRequest(runtime, createResource, consensusIdenticalAggregation<{ id: string }>())({ name: "My Resource" }) + .sendRequest( + runtime, + createResource, + consensusIdenticalAggregation<{ id: string }>() + )({ name: "My Resource" }) .result() ``` diff --git a/src/content/cre/reference/clf-migration-ts.mdx b/src/content/cre/reference/clf-migration-ts.mdx index 1fcdd00bd06..7b609fc1e96 100644 --- a/src/content/cre/reference/clf-migration-ts.mdx +++ b/src/content/cre/reference/clf-migration-ts.mdx @@ -94,12 +94,8 @@ Directly replaces the on-chain entry path of `_sendRequest()`. Instead of your c ```ts const evmClient = new cre.evm.EVMClient(CHAIN_SELECTOR) const trigger = evmClient.logTrigger({ - addresses: [ - /* base64-encoded contract address */ - ], - topics: [ - /* base64-encoded event signature hash */ - ], + addresses: [/* base64-encoded contract address */], + topics: [/* base64-encoded event signature hash */], }) ``` diff --git a/src/content/cre/reference/sdk/http-client-ts.mdx b/src/content/cre/reference/sdk/http-client-ts.mdx index 17c5401733d..da02857cbd6 100644 --- a/src/content/cre/reference/sdk/http-client-ts.mdx +++ b/src/content/cre/reference/sdk/http-client-ts.mdx @@ -76,7 +76,11 @@ const workflow = (runtime: Runtime) => { // Call the high-level sendRequest with your custom function const price = httpClient - .sendRequest(runtime, fetchPrice, consensusMedianAggregation())(runtime.config.apiUrl) + .sendRequest( + runtime, + fetchPrice, + consensusMedianAggregation() + )(runtime.config.apiUrl) .result() runtime.log(`Aggregated price: ${price}`) @@ -598,7 +602,11 @@ const createResource = (sendRequester: HTTPSendRequester, payload: { name: strin // In your workflow const httpClient = new HTTPClient() const resource = httpClient - .sendRequest(runtime, createResource, consensusIdenticalAggregation<{ id: string }>())({ name: "My Resource" }) + .sendRequest( + runtime, + createResource, + consensusIdenticalAggregation<{ id: string }>() + )({ name: "My Resource" }) .result() ``` diff --git a/src/content/data-streams/llms-full.txt b/src/content/data-streams/llms-full.txt index 6ebf51d7014..de96549baaf 100644 --- a/src/content/data-streams/llms-full.txt +++ b/src/content/data-streams/llms-full.txt @@ -5187,9 +5187,7 @@ Pass your logger to the SDK and choose a verbosity level. For deep WS diagnostic import { createClient, LogLevel } from "@chainlink/data-streams-sdk" // Silent mode (default) - Zero overhead -const client = createClient({ - /* ... config without logging */ -}) +const client = createClient({/* ... config without logging */}) // Basic console logging const client = createClient({ diff --git a/src/content/data-streams/reference/data-streams-api/ts-sdk.mdx b/src/content/data-streams/reference/data-streams-api/ts-sdk.mdx index 8163c14c426..ac7eb303801 100644 --- a/src/content/data-streams/reference/data-streams-api/ts-sdk.mdx +++ b/src/content/data-streams/reference/data-streams-api/ts-sdk.mdx @@ -362,9 +362,7 @@ Pass your logger to the SDK and choose a verbosity level. For deep WS diagnostic import { createClient, LogLevel } from "@chainlink/data-streams-sdk" // Silent mode (default) - Zero overhead -const client = createClient({ - /* ... config without logging */ -}) +const client = createClient({/* ... config without logging */}) // Basic console logging const client = createClient({ diff --git a/src/features/ccip/components/NetworkDropdown.tsx b/src/features/ccip/components/NetworkDropdown.tsx index d14b6e7b84e..a66df885b25 100644 --- a/src/features/ccip/components/NetworkDropdown.tsx +++ b/src/features/ccip/components/NetworkDropdown.tsx @@ -30,10 +30,10 @@ import { import { ErrorBoundary } from "../../../components/ErrorBoundary.tsx" enum LoadingState { - "START", + START, "LOADING...", - "ERROR", - "END", + ERROR, + END, } interface Props { diff --git a/src/pages/[...path].md.ts b/src/pages/[...path].md.ts index 93be892199a..1b4d916d93d 100644 --- a/src/pages/[...path].md.ts +++ b/src/pages/[...path].md.ts @@ -80,9 +80,7 @@ async function resolveSpecialCanonicalMarkdownPath(cleanPath: string): Promise { if (!cleanPath.startsWith("cre/")) { diff --git a/src/scripts/chains-metadata.ts b/src/scripts/chains-metadata.ts index ac015aa5202..bb53b20793c 100644 --- a/src/scripts/chains-metadata.ts +++ b/src/scripts/chains-metadata.ts @@ -87,8 +87,7 @@ function normalizeChainName(name: string): string { } type ChainMatchResult = - | { matched: true; reason: "name" | "nativeCurrency" } - | { matched: false; existingName: string | undefined } + { matched: true; reason: "name" | "nativeCurrency" } | { matched: false; existingName: string | undefined } /** * When chainid.network flags a chain as reusedChainId, determines whether the incoming