@hypercerts-org/marketplace-sdk 0.0.4 → 0.0.6

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.
@@ -1,10 +1,10 @@
1
1
  import { Signer } from "ethers";
2
2
  import { Maker, MerkleTree, Taker, ContractMethods } from "../../types";
3
3
  import { PayableOverrides } from "../../typechain/common";
4
- export declare const executeTakerBid: (signer: Signer, address: string, taker: Taker, maker: Maker, makerSignature: string, merkleTree: MerkleTree, affiliate: string, overrides?: PayableOverrides) => ContractMethods;
5
- export declare const executeTakerAsk: (signer: Signer, address: string, taker: Taker, maker: Maker, makerSignature: string, merkleTree: MerkleTree, affiliate: string, overrides?: PayableOverrides) => ContractMethods;
6
- export declare const executeMultipleTakerBids: (signer: Signer, address: string, taker: Taker[], maker: Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: MerkleTree[], affiliate: string, overrides?: PayableOverrides) => {
7
- call: (additionalOverrides?: PayableOverrides) => Promise<import("ethers").ContractTransactionResponse>;
8
- estimateGas: (additionalOverrides?: PayableOverrides) => Promise<bigint>;
9
- callStatic: (additionalOverrides?: PayableOverrides) => Promise<void>;
4
+ export declare const executeTakerBid: (signer: Signer, address: string, taker: Taker, maker: Maker, makerSignature: string, merkleTree: MerkleTree, overrides?: PayableOverrides) => ContractMethods;
5
+ export declare const executeTakerAsk: (signer: Signer, address: string, taker: Taker, maker: Maker, makerSignature: string, merkleTree: MerkleTree, overrides?: PayableOverrides) => ContractMethods;
6
+ export declare const executeMultipleTakerBids: (signer: Signer, address: string, taker: Taker[], maker: Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: MerkleTree[], overrides?: PayableOverrides) => {
7
+ call: (additionalOverrides?: PayableOverrides) => any;
8
+ estimateGas: (additionalOverrides?: PayableOverrides) => any;
9
+ callStatic: (additionalOverrides?: PayableOverrides) => any;
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -26,7 +26,6 @@
26
26
  },
27
27
  "scripts": {
28
28
  "prebuild": "rm -rf ./src/typechain ./src/artifacts cache dist",
29
- "prepublishOnly": "yarn build",
30
29
  "dev": "rollup -c --bundleConfigAsCjs -w",
31
30
  "build:ts": "rollup -c --bundleConfigAsCjs",
32
31
  "build:sc": "hardhat compile",
@@ -47,7 +46,7 @@
47
46
  "devDependencies": {
48
47
  "@commitlint/cli": "^17.0.2",
49
48
  "@commitlint/config-conventional": "^17.0.2",
50
- "@hypercerts-org/contracts": "^0.10.0",
49
+ "@hypercerts-org/contracts": "1.0.0-alpha.6",
51
50
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
52
51
  "@looksrare/contracts-exchange-v1": "^1.2.0",
53
52
  "@looksrare/contracts-exchange-v2": "^0.1.2",
package/LICENSE-APACHE DELETED
@@ -1,10 +0,0 @@
1
- Copyright 2023 Hypercerts Foundation
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
4
- License. You may obtain a copy of the License at
5
-
6
- http://www.apache.org/licenses/LICENSE-2.0
7
-
8
- Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
10
- language governing permissions and limitations under the License.
package/LICENSE-MIT DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Hypercerts Foundation
4
-
5
- Copyright (c) 2022 LooksRare for portions of marketplace: https://github.com/LooksRare/contracts-exchange-v2 commit:
6
- 7fca565
7
-
8
- Copyright (c) 2022 Paul Razvan Berg for inital template: https://github.com/paulrberg/foundry-template
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
11
- documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
12
- rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
13
- persons to whom the Software is furnished to do so, subject to the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
16
- Software.
17
-
18
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
19
- WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
20
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.