Skip to content

Commit

Permalink
replace Zora Testnet (goerli, deprecated) with Zora Sepolia (#1334)
Browse files Browse the repository at this point in the history
* replace Zora Testnet (goerli, deprecated) with Zora Sepolia

* bump version
  • Loading branch information
ryanio authored Jan 3, 2024
1 parent 8ca95c8 commit a34bb0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensea-js",
"version": "7.0.6",
"version": "7.0.7",
"description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data",
"license": "MIT",
"author": "OpenSea Developers",
Expand Down
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ export enum Chain {
OptimismSepolia = "optimism_sepolia",
/** Solana Devnet */
SolanaDevnet = "soldev",
/** Zora Testnet */
ZoraTestnet = "zora_testnet",
/** Zora Sepolia */
ZoraSepolia = "zora_sepolia",
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export const getWETHAddress = (chain: Chain) => {
case Chain.Optimism:
case Chain.OptimismSepolia:
case Chain.Zora:
case Chain.ZoraTestnet:
case Chain.ZoraSepolia:
return "0x4200000000000000000000000000000000000006";
default:
throw new Error(`Unknown WETH address for ${chain}`);
Expand Down Expand Up @@ -267,7 +267,7 @@ export const isTestChain = (chain: Chain): boolean => {
case Chain.Fuji:
case Chain.OptimismSepolia:
case Chain.SolanaDevnet:
case Chain.ZoraTestnet:
case Chain.ZoraSepolia:
return true;
default:
return false;
Expand Down

0 comments on commit a34bb0d

Please sign in to comment.