Skip to content

Commit d510c71

Browse files
Bump prettier from 3.8.4 to 3.9.1 in the linting-tools group (#3912)
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](prettier/prettier@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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent b19be56 commit d510c71

10 files changed

Lines changed: 36 additions & 35 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"lint-staged": "^15.5.2",
147147
"openapi-types": "^12.1.3",
148148
"pino-pretty": "^13.1.3",
149-
"prettier": "^3.8.4",
149+
"prettier": "^3.9.1",
150150
"prettier-plugin-astro": "^0.14.1",
151151
"remark-gfm": "^4.0.0",
152152
"remark-mdx": "^3.1.0",

src/content/cre/llms-full-ts.txt

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17796,12 +17796,8 @@ Directly replaces the on-chain entry path of `_sendRequest()`. Instead of your c
1779617796
```ts
1779717797
const evmClient = new cre.evm.EVMClient(CHAIN_SELECTOR)
1779817798
const trigger = evmClient.logTrigger({
17799-
addresses: [
17800-
/* base64-encoded contract address */
17801-
],
17802-
topics: [
17803-
/* base64-encoded event signature hash */
17804-
],
17799+
addresses: [/* base64-encoded contract address */],
17800+
topics: [/* base64-encoded event signature hash */],
1780517801
})
1780617802
```
1780717803

@@ -20727,7 +20723,11 @@ const workflow = (runtime: Runtime<Config>) => {
2072720723

2072820724
// Call the high-level sendRequest with your custom function
2072920725
const price = httpClient
20730-
.sendRequest(runtime, fetchPrice, consensusMedianAggregation<number>())(runtime.config.apiUrl)
20726+
.sendRequest(
20727+
runtime,
20728+
fetchPrice,
20729+
consensusMedianAggregation<number>()
20730+
)(runtime.config.apiUrl)
2073120731
.result()
2073220732

2073320733
runtime.log(`Aggregated price: ${price}`)
@@ -21249,7 +21249,11 @@ const createResource = (sendRequester: HTTPSendRequester, payload: { name: strin
2124921249
// In your workflow
2125021250
const httpClient = new HTTPClient()
2125121251
const resource = httpClient
21252-
.sendRequest(runtime, createResource, consensusIdenticalAggregation<{ id: string }>())({ name: "My Resource" })
21252+
.sendRequest(
21253+
runtime,
21254+
createResource,
21255+
consensusIdenticalAggregation<{ id: string }>()
21256+
)({ name: "My Resource" })
2125321257
.result()
2125421258
```
2125521259

src/content/cre/reference/clf-migration-ts.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,8 @@ Directly replaces the on-chain entry path of `_sendRequest()`. Instead of your c
9494
```ts
9595
const evmClient = new cre.evm.EVMClient(CHAIN_SELECTOR)
9696
const trigger = evmClient.logTrigger({
97-
addresses: [
98-
/* base64-encoded contract address */
99-
],
100-
topics: [
101-
/* base64-encoded event signature hash */
102-
],
97+
addresses: [/* base64-encoded contract address */],
98+
topics: [/* base64-encoded event signature hash */],
10399
})
104100
```
105101

src/content/cre/reference/sdk/http-client-ts.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ const workflow = (runtime: Runtime<Config>) => {
7676

7777
// Call the high-level sendRequest with your custom function
7878
const price = httpClient
79-
.sendRequest(runtime, fetchPrice, consensusMedianAggregation<number>())(runtime.config.apiUrl)
79+
.sendRequest(
80+
runtime,
81+
fetchPrice,
82+
consensusMedianAggregation<number>()
83+
)(runtime.config.apiUrl)
8084
.result()
8185

8286
runtime.log(`Aggregated price: ${price}`)
@@ -598,7 +602,11 @@ const createResource = (sendRequester: HTTPSendRequester, payload: { name: strin
598602
// In your workflow
599603
const httpClient = new HTTPClient()
600604
const resource = httpClient
601-
.sendRequest(runtime, createResource, consensusIdenticalAggregation<{ id: string }>())({ name: "My Resource" })
605+
.sendRequest(
606+
runtime,
607+
createResource,
608+
consensusIdenticalAggregation<{ id: string }>()
609+
)({ name: "My Resource" })
602610
.result()
603611
```
604612

src/content/data-streams/llms-full.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5187,9 +5187,7 @@ Pass your logger to the SDK and choose a verbosity level. For deep WS diagnostic
51875187
import { createClient, LogLevel } from "@chainlink/data-streams-sdk"
51885188

51895189
// Silent mode (default) - Zero overhead
5190-
const client = createClient({
5191-
/* ... config without logging */
5192-
})
5190+
const client = createClient({/* ... config without logging */})
51935191

51945192
// Basic console logging
51955193
const client = createClient({

src/content/data-streams/reference/data-streams-api/ts-sdk.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,7 @@ Pass your logger to the SDK and choose a verbosity level. For deep WS diagnostic
362362
import { createClient, LogLevel } from "@chainlink/data-streams-sdk"
363363

364364
// Silent mode (default) - Zero overhead
365-
const client = createClient({
366-
/* ... config without logging */
367-
})
365+
const client = createClient({/* ... config without logging */})
368366

369367
// Basic console logging
370368
const client = createClient({

src/features/ccip/components/NetworkDropdown.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ import {
3030
import { ErrorBoundary } from "../../../components/ErrorBoundary.tsx"
3131

3232
enum LoadingState {
33-
"START",
33+
START,
3434
"LOADING...",
35-
"ERROR",
36-
"END",
35+
ERROR,
36+
END,
3737
}
3838

3939
interface Props {

src/pages/[...path].md.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ async function resolveSpecialCanonicalMarkdownPath(cleanPath: string): Promise<S
8080
}
8181

8282
type CreResolution =
83-
| { kind: "none" }
84-
| { kind: "resolved"; path: string }
85-
| { kind: "selector"; goPath: string; tsPath: string }
83+
{ kind: "none" } | { kind: "resolved"; path: string } | { kind: "selector"; goPath: string; tsPath: string }
8684

8785
async function resolveCreCanonicalMarkdownPath(cleanPath: string): Promise<CreResolution> {
8886
if (!cleanPath.startsWith("cre/")) {

src/scripts/chains-metadata.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ function normalizeChainName(name: string): string {
8787
}
8888

8989
type ChainMatchResult =
90-
| { matched: true; reason: "name" | "nativeCurrency" }
91-
| { matched: false; existingName: string | undefined }
90+
{ matched: true; reason: "name" | "nativeCurrency" } | { matched: false; existingName: string | undefined }
9291

9392
/**
9493
* When chainid.network flags a chain as reusedChainId, determines whether the incoming

0 commit comments

Comments
 (0)