Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/dashboard/src/@/api/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ const cached_getUniversalBridgeUsage = unstable_cache(
if (res?.status !== 200) {
const reason = await res?.text();
console.error(
`Failed to fetch universal bridge stats: ${res?.status} - ${res.statusText} - ${reason}`,
`Failed to fetch bridge stats: ${res?.status} - ${res.statusText} - ${reason}`,
);
return [];
}
Expand Down Expand Up @@ -636,7 +636,7 @@ const cached_getUniversalBridgeWalletUsage = unstable_cache(
if (res?.status !== 200) {
const reason = await res?.text();
console.error(
`Failed to fetch universal bridge wallet stats: ${res?.status} - ${res.statusText} - ${reason}`,
`Failed to fetch bridge wallet stats: ${res?.status} - ${res.statusText} - ${reason}`,
);
return [];
}
Expand Down
4 changes: 2 additions & 2 deletions packages/thirdweb/src/bridge/Buy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ApiError } from "./types/Errors.js";
import type { PreparedQuote, Quote } from "./types/Quote.js";

/**
* 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.
* Retrieves a 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.
*
* @example
* ```typescript
Expand Down Expand Up @@ -209,7 +209,7 @@ export declare namespace quote {
}

/**
* Prepares a **finalized** Universal Bridge quote for the provided buy request with transaction data. This function will return everything `quote` does, with the addition of a series of prepared transactions and the associated expiration timestamp.
* Prepares a **finalized** Bridge quote for the provided buy request with transaction data. This function will return everything `quote` does, with the addition of a series of prepared transactions and the associated expiration timestamp.
*
* @example
* ```typescript
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/bridge/Chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Chain } from "./types/Chain.js";
import { ApiError } from "./types/Errors.js";

/**
* Retrieves supported Universal Bridge chains.
* Retrieves supported Bridge chains.
*
* @example
* ```typescript
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/bridge/Routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ApiError } from "./types/Errors.js";
import type { Route } from "./types/Route.js";

/**
* Retrieves supported Universal Bridge routes based on the provided filters.
* Retrieves supported Bridge routes based on the provided filters.
*
* When multiple filters are specified, a route must satisfy all filters to be included (it acts as an AND operator).
*
Expand Down
4 changes: 2 additions & 2 deletions packages/thirdweb/src/bridge/Sell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ApiError } from "./types/Errors.js";
import type { PreparedQuote, Quote } from "./types/Quote.js";

/**
* 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.
* Retrieves a 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.
*
* @example
* ```typescript
Expand Down Expand Up @@ -200,7 +200,7 @@ export declare namespace quote {
}

/**
* Prepares a **finalized** Universal Bridge quote for the provided sell request with transaction data. This function will return everything `quote` does, with the addition of a series of prepared transactions and the associated expiration timestamp.
* Prepares a **finalized** Bridge quote for the provided sell request with transaction data. This function will return everything `quote` does, with the addition of a series of prepared transactions and the associated expiration timestamp.
*
* @example
* ```typescript
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/bridge/Status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ApiError } from "./types/Errors.js";
import type { Status } from "./types/Status.js";

/**
* 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.
* Retrieves a 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.
*
* The returned status will include both the origin and destination transactions and any finalized amounts for the route.
*
Expand Down
6 changes: 3 additions & 3 deletions packages/thirdweb/src/bridge/Token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiError } from "./types/Errors.js";
import type { Token, TokenWithPrices } from "./types/Token.js";

/**
* Retrieves supported Universal Bridge tokens based on the provided filters.
* Retrieves supported Bridge tokens based on the provided filters.
*
* When multiple filters are specified, a token must satisfy all filters to be included (it acts as an AND operator).
*
Expand Down Expand Up @@ -226,9 +226,9 @@ export declare namespace tokens {
}

/**
* Adds a token to the Universal Bridge for indexing.
* Adds a token to the Bridge for indexing.
*
* This function requests the Universal Bridge to index a specific token on a given chain.
* This function requests the Bridge to index a specific token on a given chain.
* Once indexed, the token will be available for cross-chain operations.
*
* @example
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/bridge/Transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { ApiError } from "./types/Errors.js";
import type { PreparedQuote } from "./types/Quote.js";

/**
* Prepares a **finalized** Universal Bridge quote for the provided transfer request with transaction data.
* Prepares a **finalized** Bridge quote for the provided transfer request with transaction data.
*
* @example
* ```typescript
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/bridge/Webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export type WebhookPayload = Exclude<
>;

/**
* Parses an incoming Universal Bridge webhook payload.
* Parses an incoming Bridge webhook payload.
*
* @param payload - The raw text body received from thirdweb.
* @param headers - The webhook headers received from thirdweb.
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/bridge/types/Chain.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Represents a blockchain chain in the Universal Bridge.
* Represents a blockchain chain in the Bridge.
* @public
*/
export interface Chain {
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/exports/thirdweb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare module "abitype" {
}

/**
* UNIVERSAL BRIDGE
* BRIDGE
*/
export * as Bridge from "../bridge/index.js";
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const TokenNotSupported: Story = {
docs: {
description: {
story:
"Shows the loading state when a token is being indexed by the Universal Bridge on a mainnet chain.",
"Shows the loading state when a token is being indexed by the Bridge on a mainnet chain.",
},
},
},
Expand All @@ -85,7 +85,7 @@ export const TokenNotSupportedLight: Story = {
docs: {
description: {
story:
"Shows the loading state when a token is being indexed by the Universal Bridge on a mainnet chain (light theme).",
"Shows the loading state when a token is being indexed by the Bridge on a mainnet chain (light theme).",
},
},
},
Expand All @@ -102,7 +102,7 @@ export const TestnetNotSupported: Story = {
docs: {
description: {
story:
"Shows the error state when trying to use the Universal Bridge on a testnet chain (Sepolia in this example).",
"Shows the error state when trying to use the Bridge on a testnet chain (Sepolia in this example).",
},
},
},
Expand All @@ -119,7 +119,7 @@ export const TestnetNotSupportedLight: Story = {
docs: {
description: {
story:
"Shows the error state when trying to use the Universal Bridge on a testnet chain (Sepolia in this example, light theme).",
"Shows the error state when trying to use the Bridge on a testnet chain (Sepolia in this example, light theme).",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/src/utils/domains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type DomainOverrides = {
*/
engineCloud?: string;
/**
* The base URL for the universal bridge service.
* The base URL for the bridge service.
* @default "bridge.thirdweb.com"
*/
bridge?: string;
Expand Down
Loading