diff --git a/src/sdk.ts b/src/sdk.ts index e3006d75f..42a7cb23f 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -2796,8 +2796,10 @@ export class OpenSeaSDK { public async approveOrder(order: OrderV2, domain?: string) { if ( !( - order.protocolAddress in - [CROSS_CHAIN_SEAPORT_ADDRESS, CROSS_CHAIN_SEAPORT_V1_4_ADDRESS] + order.protocolAddress.toLowerCase() === + CROSS_CHAIN_SEAPORT_ADDRESS.toLowerCase() || + order.protocolAddress.toLowerCase() === + CROSS_CHAIN_SEAPORT_V1_4_ADDRESS.toLowerCase() ) ) { throw new Error("Unsupported protocol");