@manifoldxyz/marketplace-sdk 3.0.7-beta.2 → 3.0.8

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.
@@ -55,6 +55,7 @@ var APIEndpoints;
55
55
  APIEndpoints["GOERLI"] = "https://goerli.marketplace.api.manifoldxyz.dev";
56
56
  APIEndpoints["MAINNET"] = "https://marketplace.api.manifoldxyz.dev";
57
57
  APIEndpoints["OPTIMISM"] = "https://optimism.marketplace.api.manifoldxyz.dev";
58
+ APIEndpoints["BASE"] = "https://base.marketplace.api.manifoldxyz.dev";
58
59
  APIEndpoints["CAMPAIGN"] = "https://redeem.api.manifoldxyz.dev";
59
60
  })(APIEndpoints || (APIEndpoints = {}));
60
61
  const NULL_ADDRESS = "0x0000000000000000000000000000000000000000";
@@ -1149,6 +1150,9 @@ class MarketplaceListing {
1149
1150
  else if (network == frontend_provider_types_1.EthereumNetwork.OPTIMISM) {
1150
1151
  return APIEndpoints.OPTIMISM;
1151
1152
  }
1153
+ else if (network === frontend_provider_types_1.EthereumNetwork.BASE) {
1154
+ return APIEndpoints.BASE;
1155
+ }
1152
1156
  else if (network == frontend_provider_types_1.EthereumNetwork.GOERLI) {
1153
1157
  return APIEndpoints.GOERLI;
1154
1158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manifoldxyz/marketplace-sdk",
3
- "version": "3.0.7-beta.2",
3
+ "version": "3.0.8",
4
4
  "typings": "dist/index.d.ts",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
@@ -44,6 +44,7 @@ enum APIEndpoints {
44
44
  GOERLI = 'https://goerli.marketplace.api.manifoldxyz.dev',
45
45
  MAINNET = 'https://marketplace.api.manifoldxyz.dev',
46
46
  OPTIMISM = 'https://optimism.marketplace.api.manifoldxyz.dev',
47
+ BASE = 'https://base.marketplace.api.manifoldxyz.dev',
47
48
  CAMPAIGN = 'https://redeem.api.manifoldxyz.dev',
48
49
  }
49
50
 
@@ -1118,6 +1119,8 @@ class MarketplaceListing {
1118
1119
  return APIEndpoints.MAINNET
1119
1120
  } else if (network == EthereumNetwork.OPTIMISM) {
1120
1121
  return APIEndpoints.OPTIMISM
1122
+ } else if (network === EthereumNetwork.BASE) {
1123
+ return APIEndpoints.BASE
1121
1124
  } else if (network == EthereumNetwork.GOERLI) {
1122
1125
  return APIEndpoints.GOERLI
1123
1126
  } else {