Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from kenryu42/node-18-form-data
Browse files Browse the repository at this point in the history
Node 18 form data
  • Loading branch information
kenryu42 authored Feb 26, 2023
2 parents 6460271 + d63e055 commit 7036977
Show file tree
Hide file tree
Showing 19 changed files with 81 additions and 68 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x]

name: Build with ${{ matrix.node-version }}
runs-on: ubuntu-latest
Expand All @@ -27,7 +27,7 @@ jobs:
lint:
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x]

name: Check style with ${{ matrix.node-version }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
test:
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x]

name: Run all tests
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ npm install enft

## Prerequisites

- Support [Node.js](https://nodejs.org) version >= 16
- Support [Node.js](https://nodejs.org) version >= 18
- Alchemy API Key - [apply here](https://auth.alchemyapi.io/signup) (**Recommended**)
- **OR**
- Infura NFT (Open Beta) API Key and API Key Secret - [apply here](https://www.infura.io/resources/apis/nft-api-beta-signup)
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ npm install enft

## Prerequisites

- Support [Node.js](https://nodejs.org) version >= 16
- Support [Node.js](https://nodejs.org) version >= 18
- Alchemy API Key - [apply here](https://auth.alchemyapi.io/signup) (**Recommended**)
- **OR**
- Infura NFT (Open Beta) API Key and API Key Secret - [apply here](https://www.infura.io/resources/apis/nft-api-beta-signup)
Expand Down
6 changes: 3 additions & 3 deletions docs/classes/Auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The main class for the Auth library.

#### Defined in

[Auth/Auth.ts:29](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/Auth/Auth.ts#L29)
[Auth/Auth.ts:29](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/Auth/Auth.ts#L29)

## Methods

Expand All @@ -54,7 +54,7 @@ Retrieves the API authentication data for the Ethereum API providers.

#### Defined in

[Auth/Auth.ts:58](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/Auth/Auth.ts#L58)
[Auth/Auth.ts:58](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/Auth/Auth.ts#L58)

___

Expand All @@ -74,4 +74,4 @@ Retrieves the Ethereum provider.

#### Defined in

[Auth/Auth.ts:49](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/Auth/Auth.ts#L49)
[Auth/Auth.ts:49](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/Auth/Auth.ts#L49)
6 changes: 3 additions & 3 deletions docs/classes/ENFT.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#### Defined in

[ENFT/ENFT.ts:29](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/ENFT/ENFT.ts#L29)
[ENFT/ENFT.ts:29](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/ENFT/ENFT.ts#L29)

## Methods

Expand Down Expand Up @@ -64,7 +64,7 @@ A promise that resolves with the transaction data if available, otherwise null o

#### Defined in

[ENFT/ENFT.ts:96](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/ENFT/ENFT.ts#L96)
[ENFT/ENFT.ts:96](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/ENFT/ENFT.ts#L96)

___

Expand Down Expand Up @@ -97,4 +97,4 @@ Returns a promise that resolves to a function.

#### Defined in

[ENFT/ENFT.ts:54](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/ENFT/ENFT.ts#L54)
[ENFT/ENFT.ts:54](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/ENFT/ENFT.ts#L54)
12 changes: 6 additions & 6 deletions docs/enums/ItemType.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#### Defined in

[types/enums/seaport.enum.ts:12](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/enums/seaport.enum.ts#L12)
[types/enums/seaport.enum.ts:12](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/enums/seaport.enum.ts#L12)

___

Expand All @@ -31,7 +31,7 @@ ___

#### Defined in

[types/enums/seaport.enum.ts:18](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/enums/seaport.enum.ts#L18)
[types/enums/seaport.enum.ts:18](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/enums/seaport.enum.ts#L18)

___

Expand All @@ -41,7 +41,7 @@ ___

#### Defined in

[types/enums/seaport.enum.ts:6](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/enums/seaport.enum.ts#L6)
[types/enums/seaport.enum.ts:6](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/enums/seaport.enum.ts#L6)

___

Expand All @@ -51,7 +51,7 @@ ___

#### Defined in

[types/enums/seaport.enum.ts:9](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/enums/seaport.enum.ts#L9)
[types/enums/seaport.enum.ts:9](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/enums/seaport.enum.ts#L9)

___

Expand All @@ -61,7 +61,7 @@ ___

#### Defined in

[types/enums/seaport.enum.ts:15](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/enums/seaport.enum.ts#L15)
[types/enums/seaport.enum.ts:15](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/enums/seaport.enum.ts#L15)

___

Expand All @@ -71,4 +71,4 @@ ___

#### Defined in

[types/enums/seaport.enum.ts:3](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/enums/seaport.enum.ts#L3)
[types/enums/seaport.enum.ts:3](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/enums/seaport.enum.ts#L3)
4 changes: 2 additions & 2 deletions docs/interfaces/ApiOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Alchemy object with API key (required if no Infura key is provided)

#### Defined in

[types/interfaces/auth.interface.ts:26](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/auth.interface.ts#L26)
[types/interfaces/auth.interface.ts:26](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/auth.interface.ts#L26)

___

Expand All @@ -46,4 +46,4 @@ Infura object with API key and secret (required if no Alchemy key is provided)

#### Defined in

[types/interfaces/auth.interface.ts:31](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/auth.interface.ts#L31)
[types/interfaces/auth.interface.ts:31](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/auth.interface.ts#L31)
14 changes: 7 additions & 7 deletions docs/interfaces/ClientOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NFT contract address (required)

#### Defined in

[types/interfaces/enft.interface.ts:10](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L10)
[types/interfaces/enft.interface.ts:10](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L10)

___

Expand All @@ -36,7 +36,7 @@ Discord webhook for built-in notification (optional)

#### Defined in

[types/interfaces/enft.interface.ts:16](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L16)
[types/interfaces/enft.interface.ts:16](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L16)

___

Expand All @@ -48,7 +48,7 @@ Etherscan api key for eth to usd conversion (optional)

#### Defined in

[types/interfaces/enft.interface.ts:20](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L20)
[types/interfaces/enft.interface.ts:20](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L20)

___

Expand All @@ -60,7 +60,7 @@ Test mode (optional)

#### Defined in

[types/interfaces/enft.interface.ts:22](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L22)
[types/interfaces/enft.interface.ts:22](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L22)

___

Expand All @@ -72,7 +72,7 @@ Token type <ERC721, ERC1155> (optional)

#### Defined in

[types/interfaces/enft.interface.ts:14](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L14)
[types/interfaces/enft.interface.ts:14](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L14)

___

Expand All @@ -84,7 +84,7 @@ Transaction hash (only required for debugTransaction)

#### Defined in

[types/interfaces/enft.interface.ts:12](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L12)
[types/interfaces/enft.interface.ts:12](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L12)

___

Expand All @@ -96,4 +96,4 @@ Twitter api config for built-in notification (optional)

#### Defined in

[types/interfaces/enft.interface.ts:18](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L18)
[types/interfaces/enft.interface.ts:18](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L18)
8 changes: 4 additions & 4 deletions docs/interfaces/Config.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Defined in

[types/interfaces/enft.interface.ts:26](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L26)
[types/interfaces/enft.interface.ts:26](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L26)

___

Expand All @@ -29,7 +29,7 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:28](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L28)
[types/interfaces/enft.interface.ts:28](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L28)

___

Expand All @@ -39,7 +39,7 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:29](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L29)
[types/interfaces/enft.interface.ts:29](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L29)

___

Expand All @@ -49,4 +49,4 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:27](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L27)
[types/interfaces/enft.interface.ts:27](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L27)
8 changes: 4 additions & 4 deletions docs/interfaces/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Defined in

[types/interfaces/enft.interface.ts:33](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L33)
[types/interfaces/enft.interface.ts:33](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L33)

___

Expand All @@ -29,7 +29,7 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:35](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L35)
[types/interfaces/enft.interface.ts:35](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L35)

___

Expand All @@ -39,7 +39,7 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:36](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L36)
[types/interfaces/enft.interface.ts:36](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L36)

___

Expand All @@ -49,4 +49,4 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:34](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L34)
[types/interfaces/enft.interface.ts:34](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L34)
4 changes: 2 additions & 2 deletions docs/interfaces/Swap.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[types/contracts/swap.contract.ts:4](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/contracts/swap.contract.ts#L4)
[types/contracts/swap.contract.ts:4](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/contracts/swap.contract.ts#L4)

___

Expand All @@ -27,4 +27,4 @@ ___

#### Defined in

[types/contracts/swap.contract.ts:5](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/contracts/swap.contract.ts#L5)
[types/contracts/swap.contract.ts:5](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/contracts/swap.contract.ts#L5)
8 changes: 4 additions & 4 deletions docs/interfaces/SwapData.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Defined in

[types/contracts/swap.contract.ts:10](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/contracts/swap.contract.ts#L10)
[types/contracts/swap.contract.ts:10](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/contracts/swap.contract.ts#L10)

___

Expand All @@ -29,7 +29,7 @@ ___

#### Defined in

[types/contracts/swap.contract.ts:9](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/contracts/swap.contract.ts#L9)
[types/contracts/swap.contract.ts:9](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/contracts/swap.contract.ts#L9)

___

Expand All @@ -39,7 +39,7 @@ ___

#### Defined in

[types/contracts/swap.contract.ts:12](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/contracts/swap.contract.ts#L12)
[types/contracts/swap.contract.ts:12](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/contracts/swap.contract.ts#L12)

___

Expand All @@ -49,4 +49,4 @@ ___

#### Defined in

[types/contracts/swap.contract.ts:11](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/contracts/swap.contract.ts#L11)
[types/contracts/swap.contract.ts:11](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/contracts/swap.contract.ts#L11)
8 changes: 4 additions & 4 deletions docs/interfaces/TwitterConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Defined in

[types/interfaces/enft.interface.ts:43](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L43)
[types/interfaces/enft.interface.ts:43](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L43)

___

Expand All @@ -29,7 +29,7 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:42](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L42)
[types/interfaces/enft.interface.ts:42](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L42)

___

Expand All @@ -39,7 +39,7 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:40](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L40)
[types/interfaces/enft.interface.ts:40](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L40)

___

Expand All @@ -49,4 +49,4 @@ ___

#### Defined in

[types/interfaces/enft.interface.ts:41](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/a276033/src/types/interfaces/enft.interface.ts#L41)
[types/interfaces/enft.interface.ts:41](https://github.com/kenryu42/ethereum-nft-sales-bot/blob/d8d9fbf/src/types/interfaces/enft.interface.ts#L41)
Loading

0 comments on commit 7036977

Please sign in to comment.