Skip to content

Commit 1d3136b

Browse files
committed
lint
1 parent a7c82d4 commit 1d3136b

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

packages/thirdweb/src/bridge/Buy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { Address as ox__Address } from "ox";
2+
import { defineChain } from "../chains/utils.js";
23
import type { ThirdwebClient } from "../client/client.js";
34
import { getClientFetch } from "../utils/fetch.js";
45
import { UNIVERSAL_BRIDGE_URL } from "./constants.js";
56
import type { PreparedQuote, Quote } from "./types/Quote.js";
6-
import { defineChain } from "../chains/utils.js";
77

88
/**
99
* Retrieves a Universal Bridge quote for the provided buy intent. The quote will specify the necessary `originAmount` to receive the desired `destinationAmount`, which is specified with the `buyAmountWei` option.

packages/thirdweb/src/bridge/Sell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { Address as ox__Address } from "ox";
2+
import { defineChain } from "../chains/utils.js";
23
import type { ThirdwebClient } from "../client/client.js";
34
import { getClientFetch } from "../utils/fetch.js";
45
import { UNIVERSAL_BRIDGE_URL } from "./constants.js";
56
import type { PreparedQuote, Quote } from "./types/Quote.js";
6-
import { defineChain } from "../chains/utils.js";
77

88
/**
99
* Retrieves a Universal Bridge quote for the provided sell intent. The quote will specify the expected `destinationAmount` that will be received in exchange for the specified `originAmount`, which is specified with the `sellAmountWei` option.

packages/thirdweb/src/bridge/Status.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { describe, expect, it } from "vitest";
22
import { TEST_CLIENT } from "~test/test-clients.js";
3-
import { status } from "./Status.js";
43
import { defineChain } from "../chains/utils.js";
4+
import { status } from "./Status.js";
55

66
describe.runIf(process.env.TW_SECRET_KEY)("Bridge.status", () => {
77
it("should handle successful status", async () => {

packages/thirdweb/src/bridge/Status.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { Hex as ox__Hex } from "ox";
2+
import type { Chain } from "../chains/types.js";
23
import type { ThirdwebClient } from "../client/client.js";
34
import { getClientFetch } from "../utils/fetch.js";
45
import { UNIVERSAL_BRIDGE_URL } from "./constants.js";
56
import type { Status } from "./types/Status.js";
6-
import type { Chain } from "../chains/types.js";
77

88
/**
99
* Retrieves a Universal Bridge quote for the provided sell intent. The quote will specify the expected `destinationAmount` that will be received in exchange for the specified `originAmount`, which is specified with the `sellAmountWei` option.
@@ -157,15 +157,15 @@ export async function status(options: status.Options): Promise<status.Result> {
157157
export declare namespace status {
158158
type Options =
159159
| {
160-
transactionHash: ox__Hex.Hex;
161-
chainId: number;
162-
client: ThirdwebClient;
163-
}
160+
transactionHash: ox__Hex.Hex;
161+
chainId: number;
162+
client: ThirdwebClient;
163+
}
164164
| {
165-
transactionHash: ox__Hex.Hex;
166-
chain: Chain;
167-
client: ThirdwebClient;
168-
};
165+
transactionHash: ox__Hex.Hex;
166+
chain: Chain;
167+
client: ThirdwebClient;
168+
};
169169

170170
type Result = Status;
171171
}

0 commit comments

Comments
 (0)