@manifoldxyz/marketplace-sdk 3.0.17 → 3.1.0

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.
@@ -56,6 +56,7 @@ var APIEndpoints;
56
56
  APIEndpoints["OPTIMISM"] = "https://optimism.marketplace.api.manifoldxyz.dev";
57
57
  APIEndpoints["BASE"] = "https://base.marketplace.api.manifoldxyz.dev";
58
58
  APIEndpoints["SEPOLIA"] = "https://sepolia.marketplace.api.manifoldxyz.dev";
59
+ APIEndpoints["SHAPE"] = "https://shape.marketplace.api.manifoldxyz.dev";
59
60
  APIEndpoints["CAMPAIGN"] = "https://redeem.api.manifoldxyz.dev";
60
61
  })(APIEndpoints || (APIEndpoints = {}));
61
62
  const NULL_ADDRESS = '0x0000000000000000000000000000000000000000';
@@ -1390,6 +1391,9 @@ class MarketplaceListing {
1390
1391
  else if (network === frontend_provider_types_1.EthereumNetwork.SEPOLIA) {
1391
1392
  return APIEndpoints.SEPOLIA;
1392
1393
  }
1394
+ else if (network === frontend_provider_types_1.EthereumNetwork.SHAPE) {
1395
+ return APIEndpoints.SHAPE;
1396
+ }
1393
1397
  else {
1394
1398
  throw new Error(`Network not supported: ${network}`);
1395
1399
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manifoldxyz/marketplace-sdk",
3
- "version": "3.0.17",
3
+ "version": "3.1.0",
4
4
  "typings": "dist/index.d.ts",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
@@ -48,8 +48,8 @@
48
48
  "@ethersproject/units": "^5.7.0",
49
49
  "@manifoldxyz/contract-abis": "^1.0.0",
50
50
  "@manifoldxyz/ens-batch-lookup-ethers": "^0.0.2",
51
- "@manifoldxyz/frontend-provider-types": "^1.1.2",
52
- "@manifoldxyz/manifold-provider-client": "^0.0.6",
51
+ "@manifoldxyz/frontend-provider-types": "^2.1.0",
52
+ "@manifoldxyz/manifold-provider-client": "^0.1.0",
53
53
  "keccak256": "^1.0.6",
54
54
  "merkletreejs": "^0.2.32"
55
55
  }