@manifoldxyz/marketplace-sdk 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -745,7 +745,11 @@ class MarketplaceListing {
745
745
  const network = window.ManifoldEthereumProvider.network();
746
746
  // @ts-expect-error TS2532: Object is possibly 'undefined'.
747
747
  if (!this.listing.erc20)
748
- return network == frontend_provider_types_1.EthereumNetwork.OPTIMISM ? 'OETH' : 'ETH';
748
+ return network == frontend_provider_types_1.EthereumNetwork.OPTIMISM
749
+ ? 'OETH'
750
+ : network == frontend_provider_types_1.EthereumNetwork.APECHAIN
751
+ ? 'APE'
752
+ : 'ETH';
749
753
  return (0, Web3Protocol_1.callWeb3)(this._getERC20Contract(false, false),
750
754
  //@ts-expect-error TS2345: Argument of type 'Contract | undefined' is not assignable to parameter of type 'Contract'.
751
755
  this._getERC20Contract(false, false, true), 'symbol', []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manifoldxyz/marketplace-sdk",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "typings": "dist/index.d.ts",
5
5
  "description": "",
6
6
  "main": "dist/index.js",