Skip to content

Commit 329a439

Browse files
committed
fix: bridge jsdoc to not mention ox
1 parent 77938c4 commit 329a439

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

apps/dashboard/src/app/(app)/(dashboard)/(bridge)/routes/components/server/routes-table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async function getRoutesToRender(params: SearchParams) {
5757
}
5858
}
5959
// Temporary, will update this after the /routes endpoint
60-
let routes = await getRoutes({ limit: 100_000 });
60+
let routes = await getRoutes({ limit: 500_000 });
6161

6262
const totalCount = routes.length;
6363

packages/thirdweb/src/bridge/Buy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ export declare namespace quote {
160160
client: ThirdwebClient;
161161
maxSteps?: number;
162162
} & (
163-
| {
163+
| {
164164
buyAmountWei: bigint;
165165
}
166-
| {
166+
| {
167167
amount: bigint;
168168
}
169-
);
169+
);
170170

171171
type Result = Quote & {
172172
intent: {
@@ -260,7 +260,7 @@ export declare namespace quote {
260260
* ```
261261
*
262262
* ## Sending the transactions
263-
* The `transactions` array is a series of [ox](https://oxlib.sh) EIP-1559 transactions that must be executed one after the other in order to fulfill the complete route. There are a few things to keep in mind when executing these transactions:
263+
* The `transactions` array is a series of transactions ready to be executed (with `sendTransaction`) one after the other in order to fulfill the complete route. There are a few things to keep in mind when executing these transactions:
264264
* - Approvals will have the `approval` action specified. You can perform approvals with `sendAndConfirmTransaction`, then proceed to the next transaction.
265265
* - All transactions are assumed to be executed by the `sender` address, regardless of which chain they are on. The final transaction will use the `receiver` as the recipient address.
266266
* - If an `expiration` timestamp is provided, all transactions must be executed before that time to guarantee successful execution at the specified price.

packages/thirdweb/src/bridge/Sell.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export declare namespace quote {
251251
* ```
252252
*
253253
* ## Sending the transactions
254-
* The `transactions` array is a series of [ox](https://oxlib.sh) EIP-1559 transactions that must be executed one after the other in order to fulfill the complete route. There are a few things to keep in mind when executing these transactions:
254+
* The `transactions` array is a series of transactions ready to be executed (with `sendTransaction`) must be executed one after the other in order to fulfill the complete route. There are a few things to keep in mind when executing these transactions:
255255
* - Approvals will have the `approval` action specified. You can perform approvals with `sendAndConfirmTransaction`, then proceed to the next transaction.
256256
* - All transactions are assumed to be executed by the `sender` address, regardless of which chain they are on. The final transaction will use the `receiver` as the recipient address.
257257
* - If an `expiration` timestamp is provided, all transactions must be executed before that time to guarantee successful execution at the specified price.

0 commit comments

Comments
 (0)