@hypercerts-org/marketplace-sdk 0.7.0 → 0.8.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.
package/dist/index.cjs.js CHANGED
@@ -672,7 +672,7 @@ var strategies = /*#__PURE__*/Object.freeze({
672
672
  });
673
673
 
674
674
  /** All possible supported currencies */
675
- const SUPPORTED_CURRENCIES = ["ETH", "WETH", "DAI", "CELO", "cUSD", "USDT", "USDC"];
675
+ const SUPPORTED_CURRENCIES = ["ETH", "WETH", "DAI", "CELO", "cUSD", "USDT", "USDC", "USDGLO"];
676
676
  /** List of supported chains */
677
677
  exports.ChainId = void 0;
678
678
  (function (ChainId) {
@@ -1150,6 +1150,7 @@ const currencyAddressesPerChain = {
1150
1150
  cUSD: "0x765DE816845861e75A25fCA122bb6898B8B1282a",
1151
1151
  USDC: "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
1152
1152
  USDT: "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
1153
+ USDGLO: "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3",
1153
1154
  },
1154
1155
  [exports.ChainId.ARBITRUM]: {
1155
1156
  ETH: ethers.ZeroAddress,
@@ -1205,6 +1206,11 @@ const getCurrencies = (chainId) => {
1205
1206
  address: currenciesForChain.USDT,
1206
1207
  decimals: 6,
1207
1208
  },
1209
+ USDGLO: {
1210
+ symbol: "USDGLO",
1211
+ address: currenciesForChain.USDGLO,
1212
+ decimals: 18,
1213
+ },
1208
1214
  };
1209
1215
  };
1210
1216
  const currenciesByNetwork = {
package/dist/index.esm.js CHANGED
@@ -670,7 +670,7 @@ var strategies = /*#__PURE__*/Object.freeze({
670
670
  });
671
671
 
672
672
  /** All possible supported currencies */
673
- const SUPPORTED_CURRENCIES = ["ETH", "WETH", "DAI", "CELO", "cUSD", "USDT", "USDC"];
673
+ const SUPPORTED_CURRENCIES = ["ETH", "WETH", "DAI", "CELO", "cUSD", "USDT", "USDC", "USDGLO"];
674
674
  /** List of supported chains */
675
675
  var ChainId;
676
676
  (function (ChainId) {
@@ -1148,6 +1148,7 @@ const currencyAddressesPerChain = {
1148
1148
  cUSD: "0x765DE816845861e75A25fCA122bb6898B8B1282a",
1149
1149
  USDC: "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
1150
1150
  USDT: "0x48065fbBE25f71C9282ddf5e1cD6D6A887483D5e",
1151
+ USDGLO: "0x4F604735c1cF31399C6E711D5962b2B3E0225AD3",
1151
1152
  },
1152
1153
  [ChainId.ARBITRUM]: {
1153
1154
  ETH: ZeroAddress,
@@ -1203,6 +1204,11 @@ const getCurrencies = (chainId) => {
1203
1204
  address: currenciesForChain.USDT,
1204
1205
  decimals: 6,
1205
1206
  },
1207
+ USDGLO: {
1208
+ symbol: "USDGLO",
1209
+ address: currenciesForChain.USDGLO,
1210
+ decimals: 18,
1211
+ },
1206
1212
  };
1207
1213
  };
1208
1214
  const currenciesByNetwork = {
package/dist/types.d.ts CHANGED
@@ -14,7 +14,7 @@ export interface Currency {
14
14
  decimals: number;
15
15
  }
16
16
  /** All possible supported currencies */
17
- export declare const SUPPORTED_CURRENCIES: readonly ["ETH", "WETH", "DAI", "CELO", "cUSD", "USDT", "USDC"];
17
+ export declare const SUPPORTED_CURRENCIES: readonly ["ETH", "WETH", "DAI", "CELO", "cUSD", "USDT", "USDC", "USDGLO"];
18
18
  export type SupportedCurrencySymbol = (typeof SUPPORTED_CURRENCIES)[number];
19
19
  /** Type for currency configuration */
20
20
  export type Currencies = Partial<Record<SupportedCurrencySymbol, Currency>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",