@hypercerts-org/marketplace-sdk 0.3.37 → 0.4.1-alpha.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.
Files changed (28) hide show
  1. package/{LICENSE → LICENSE.md} +1 -0
  2. package/README.md +117 -85
  3. package/dist/HypercertExchangeClient.d.ts +19 -88
  4. package/dist/abis/IERC20.json +13 -0
  5. package/dist/abis/OrderValidatorV2A.json +13 -0
  6. package/dist/index.cjs.js +274 -399
  7. package/dist/index.d.ts +0 -2
  8. package/dist/index.esm.js +275 -400
  9. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +5 -1
  10. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +5 -1
  11. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +1 -1
  12. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1 -1
  13. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +1 -1
  14. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +1 -1
  15. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +11 -1
  16. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +1 -1
  17. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +10 -0
  18. package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +1 -1
  19. package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +1 -1
  20. package/dist/types.d.ts +57 -28
  21. package/dist/utils/api.d.ts +55 -26
  22. package/dist/utils/calls/nonces.d.ts +0 -1
  23. package/dist/utils/calls/transferManager.d.ts +1 -2
  24. package/dist/utils/graphl.d.ts +4 -3
  25. package/package.json +9 -9
  26. package/LICENSE-APACHE +0 -10
  27. package/LICENSE-MIT +0 -21
  28. package/dist/utils/hypercerts-database-types.d.ts +0 -568
package/dist/index.d.ts CHANGED
@@ -15,13 +15,11 @@ declare const utils: {
15
15
  hasUserApprovedOperator: (signerOrProvider: import("ethers").Signer | import("ethers").Provider, address: string, user: string, operator: string, overrides?: import("ethers").Overrides | undefined) => Promise<boolean>;
16
16
  grantApprovals: (signer: import("ethers").Signer, address: string, operators: string[], overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
17
17
  revokeApprovals: (signer: import("ethers").Signer, address: string, operators: string[], overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
18
- transferBatchItemsAcrossCollections: (signer: import("ethers").Signer, address: string, items: import("./types").BatchTransferItem[], from: string, to: string, overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
19
18
  viewUserBidAskNonces: (signerOrProvider: import("ethers").Signer | import("ethers").Provider, address: string, account: string, overrides?: import("ethers").Overrides | undefined) => Promise<{
20
19
  bidNonce: bigint;
21
20
  askNonce: bigint;
22
21
  }>;
23
22
  cancelOrderNonces: (signer: import("ethers").Signer, address: string, nonces: import("ethers").BigNumberish[], overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
24
- cancelSubsetNonces: (signer: import("ethers").Signer, address: string, nonces: import("ethers").BigNumberish[], overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
25
23
  incrementBidAskNonces: (signer: import("ethers").Signer, address: string, bid: boolean, ask: boolean, overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
26
24
  executeTakerBid: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides | undefined) => import("./types").ContractMethods;
27
25
  executeTakerAsk: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides | undefined) => import("./types").ContractMethods;