@manifoldxyz/marketplace-sdk 3.2.0 → 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
|
|
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.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"typings": "dist/index.d.ts",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@manifoldxyz/contract-abis": "^1.0.0",
|
|
50
50
|
"@manifoldxyz/ens-batch-lookup-ethers": "^0.0.2",
|
|
51
51
|
"@manifoldxyz/frontend-provider-types": "^2.1.0",
|
|
52
|
-
"@manifoldxyz/manifold-provider-client": "^0.
|
|
52
|
+
"@manifoldxyz/manifold-provider-client": "^0.2.0",
|
|
53
53
|
"keccak256": "^1.0.6",
|
|
54
54
|
"merkletreejs": "^0.2.32"
|
|
55
55
|
}
|