@hypercerts-org/marketplace-sdk 0.4.1-alpha.0 → 0.4.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.
package/dist/errors.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { OrderValidatorCode } from "./types";
1
2
  /** Invalid timestamp format */
2
3
  export declare class ErrorTimestamp extends Error {
3
4
  readonly name = "ErrorTimestamp";
@@ -33,3 +34,4 @@ export declare class ErrorCurrency extends Error {
33
34
  readonly name = "ErrorCurrency";
34
35
  constructor();
35
36
  }
37
+ export declare const ACCEPTED_ERROR_CODES: OrderValidatorCode[];
package/dist/index.cjs.js CHANGED
@@ -1330,6 +1330,10 @@ class ErrorCurrency extends Error {
1330
1330
  this.name = "ErrorCurrency";
1331
1331
  }
1332
1332
  }
1333
+ const ACCEPTED_ERROR_CODES = [
1334
+ exports.OrderValidatorCode.ORDER_EXPECTED_TO_BE_VALID,
1335
+ exports.OrderValidatorCode.TOO_EARLY_TO_EXECUTE_ORDER,
1336
+ ];
1333
1337
 
1334
1338
  var IERC1155 = [
1335
1339
  {
@@ -7670,10 +7674,6 @@ class ApiClient {
7670
7674
  }
7671
7675
  }
7672
7676
 
7673
- const ACCEPTED_ERROR_CODES = [
7674
- exports.OrderValidatorCode.ORDER_EXPECTED_TO_BE_VALID,
7675
- exports.OrderValidatorCode.TOO_EARLY_TO_EXECUTE_ORDER,
7676
- ];
7677
7677
  /**
7678
7678
  * HypercertExchange
7679
7679
  * This class provides helpers to interact with the HypercertExchange V2 contracts
@@ -8157,6 +8157,7 @@ const utils = {
8157
8157
  ...asDeployedChain$1,
8158
8158
  };
8159
8159
 
8160
+ exports.ACCEPTED_ERROR_CODES = ACCEPTED_ERROR_CODES;
8160
8161
  exports.ApiClient = ApiClient;
8161
8162
  exports.Eip712MakerMerkleTree = Eip712MakerMerkleTree;
8162
8163
  exports.Eip712MerkleTree = Eip712MerkleTree;
package/dist/index.esm.js CHANGED
@@ -1328,6 +1328,10 @@ class ErrorCurrency extends Error {
1328
1328
  this.name = "ErrorCurrency";
1329
1329
  }
1330
1330
  }
1331
+ const ACCEPTED_ERROR_CODES = [
1332
+ OrderValidatorCode.ORDER_EXPECTED_TO_BE_VALID,
1333
+ OrderValidatorCode.TOO_EARLY_TO_EXECUTE_ORDER,
1334
+ ];
1331
1335
 
1332
1336
  var IERC1155 = [
1333
1337
  {
@@ -7668,10 +7672,6 @@ class ApiClient {
7668
7672
  }
7669
7673
  }
7670
7674
 
7671
- const ACCEPTED_ERROR_CODES = [
7672
- OrderValidatorCode.ORDER_EXPECTED_TO_BE_VALID,
7673
- OrderValidatorCode.TOO_EARLY_TO_EXECUTE_ORDER,
7674
- ];
7675
7675
  /**
7676
7676
  * HypercertExchange
7677
7677
  * This class provides helpers to interact with the HypercertExchange V2 contracts
@@ -8155,4 +8155,4 @@ const utils = {
8155
8155
  ...asDeployedChain$1,
8156
8156
  };
8157
8157
 
8158
- export { ApiClient, ChainId, CollectionType, Eip712MakerMerkleTree, Eip712MerkleTree, ErrorCurrency, ErrorItemId, ErrorMerkleTreeDepth, ErrorQuoteType, ErrorSigner, ErrorStrategyType, ErrorTimestamp, HypercertExchangeClient, IERC1155 as IERC1155Abi, abiIERC20 as IERC20Abi, abiIERC721 as IERC721Abi, LooksRareProtocol as LooksRareProtocolAbi, MAX_ORDERS_PER_TREE, MerkleTreeNodePosition, OrderValidatorCode, OrderValidatorV2A as OrderValidatorV2AAbi, QuoteType, SUPPORTED_CURRENCIES, StrategyType, TransferManager as TransferManagerAbi, WETH as WETHAbi, addressesByNetwork, chainInfo, currenciesByNetwork, defaultMerkleTree, utils };
8158
+ export { ACCEPTED_ERROR_CODES, ApiClient, ChainId, CollectionType, Eip712MakerMerkleTree, Eip712MerkleTree, ErrorCurrency, ErrorItemId, ErrorMerkleTreeDepth, ErrorQuoteType, ErrorSigner, ErrorStrategyType, ErrorTimestamp, HypercertExchangeClient, IERC1155 as IERC1155Abi, abiIERC20 as IERC20Abi, abiIERC721 as IERC721Abi, LooksRareProtocol as LooksRareProtocolAbi, MAX_ORDERS_PER_TREE, MerkleTreeNodePosition, OrderValidatorCode, OrderValidatorV2A as OrderValidatorV2AAbi, QuoteType, SUPPORTED_CURRENCIES, StrategyType, TransferManager as TransferManagerAbi, WETH as WETHAbi, addressesByNetwork, chainInfo, currenciesByNetwork, defaultMerkleTree, utils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.4.1-alpha.0",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",