Skip to content

Commit

Permalink
chore: Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
perryrare committed Jul 17, 2023
1 parent 415475c commit e7e027c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions doc/interfaces/types.ChainInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ ___
### rpcUrl

**rpcUrl**: `string`

___

### wsUrl

**wsUrl**: `string`
4 changes: 4 additions & 0 deletions doc/modules/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ ___

Ƭ **Signer**: `ethers.Signer`

**`See`**

[Ethers Signer](https://docs.ethers.org/v6/api/providers/#Signer)

___

### SolidityType
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/looksrare/createTaker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe("Create takers", () => {
);

expect(taker.recipient).to.be.equal(signers.user2.address);
expect(Number(BigInt(itemId))).to.be.equal(1);
expect(BigInt(itemId)).to.be.equal(1n);
});

it("throw when quote type is wrong", async () => {
Expand Down Expand Up @@ -95,7 +95,7 @@ describe("Create takers", () => {
taker.additionalParameters
);
expect(taker.recipient).to.be.equal(signers.user2.address);
expect(Number(BigInt(itemId))).to.be.equal(1);
expect(BigInt(itemId)).to.be.equal(1n);
});

it("throw when quote type is wrong", async () => {
Expand Down
3 changes: 3 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ export interface BatchTransferItem {
amounts: BigNumberish[];
}

/**
* @see {@link https://docs.ethers.org/v6/api/providers/#Signer Ethers Signer}
*/
export type Signer = ethers.Signer;

/** Return type for any on chain call */
Expand Down

0 comments on commit e7e027c

Please sign in to comment.