Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from ProjectOpenSea:master #7

Open
wants to merge 58 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
fa8b573
Upgrade dependency (#883)
JoshuaSchmidt-OpenSea Mar 13, 2023
a00089c
Remove some usage of wyvern-js (#884)
JoshuaSchmidt-OpenSea Mar 27, 2023
99d0b81
Remove wyvern usage for validating signatures and converting to base …
JoshuaSchmidt-OpenSea Mar 29, 2023
2cd17a4
Removes fulfillOrderLegacyWyvern, getCurrentPriceLegacyWyvern, isOrde…
JoshuaSchmidt-OpenSea Mar 30, 2023
15892f2
Build and Test Supported Node Versions (#893)
montasaurus Mar 30, 2023
ecd58a0
Update dependency chai to v4.3.7 (#896)
renovate[bot] Mar 30, 2023
4800c4f
Update dependency @types/lodash to v4.14.192 (#895)
renovate[bot] Mar 30, 2023
d2ff1c4
Remove Wyvern Specific Functions (#894)
JoshuaSchmidt-OpenSea Mar 31, 2023
a9629d8
Update Node.js to v16.20.0 (#898)
renovate[bot] Mar 31, 2023
a50d700
Update dependency ts-node to v10.9.1 (#907)
renovate[bot] Mar 31, 2023
6ad8d6e
Update dependency prettier-package-json to v2.8.0 (#905)
renovate[bot] Mar 31, 2023
ba424b0
Update dependency lint-staged to v12.5.0 (#903)
renovate[bot] Mar 31, 2023
7f936e8
Update dependency eslint to v8.37.0 (#901)
renovate[bot] Mar 31, 2023
c2b2453
Fix Order Test Side (#911)
montasaurus Mar 31, 2023
2cc1564
Update dependency typescript to v4.9.5 (#909)
renovate[bot] Mar 31, 2023
9b54281
Update typescript-eslint monorepo to v5.57.0 (#914)
renovate[bot] Mar 31, 2023
aef1946
Update JamesIves/github-pages-deploy-action action to v4.4.1 (#897)
renovate[bot] Mar 31, 2023
04ed7be
Update styfle/cancel-workflow-action action to v0.11.0 (#913)
renovate[bot] Mar 31, 2023
6a9d37e
Update Node.js to v18 (#915)
renovate[bot] Mar 31, 2023
515cf7e
Update dependency prettier to v2.8.7 (#904)
renovate[bot] Mar 31, 2023
5a797c8
Update dependency eslint-config-prettier to v8.8.0 (#902)
renovate[bot] Mar 31, 2023
099853b
Bump CodeQL (#917)
montasaurus Mar 31, 2023
05e1aa4
Update dependency concurrently to v8 (#918)
renovate[bot] Mar 31, 2023
98b5e9c
Update dependency husky to v8 (#922)
renovate[bot] Apr 2, 2023
ca64179
Update dependency eslint-plugin-jest to v27 (#920)
renovate[bot] Apr 2, 2023
6879001
Update dependency lint-staged to v13 (#924)
renovate[bot] Apr 2, 2023
45768a6
Update dependency mocha to v10 (#925)
renovate[bot] Apr 2, 2023
de5dae8
Update dependency eslint-import-resolver-typescript to v3 (#919)
renovate[bot] Apr 2, 2023
bf1954a
Update dependency typescript to v5 (#928)
renovate[bot] Apr 3, 2023
efc194d
Use Seaport v1.5 for Listings and Offers (#935)
JoshuaSchmidt-OpenSea May 2, 2023
f6b5739
Add more badges to README (#939)
ryanio May 3, 2023
6b07083
add stale workflow (#946)
ryanio May 8, 2023
15dd367
Add integration test for createBuyOrder (#949)
JoshuaSchmidt-OpenSea May 12, 2023
fbf5964
Update homepage and description (#953)
JoshuaSchmidt-OpenSea May 15, 2023
49c8cc8
Remove seaport 1.4 from package (#954)
JoshuaSchmidt-OpenSea May 15, 2023
c77083f
Update package-lock
thenerdassassin May 15, 2023
df17e6c
Add x-app-id header to API calls (#955)
JoshuaSchmidt-OpenSea May 16, 2023
48bc6d6
Add createSellOrder integration test (#956)
JoshuaSchmidt-OpenSea May 16, 2023
48e3c61
Update dependency @types/node to v18.16.12 (#938)
renovate[bot] May 17, 2023
eed2448
Update dependency @types/chai to v4.3.5 (#937)
renovate[bot] May 17, 2023
2c85697
Update typescript-eslint monorepo to v5.59.6 (#929)
renovate[bot] May 17, 2023
0df121b
Update dependency typechain to v8 (#927)
renovate[bot] May 17, 2023
6e5a557
Update dependency isomorphic-unfetch to v4 (#923)
renovate[bot] May 17, 2023
4934fbb
Update dependency prettier to v2.8.8 (#958)
renovate[bot] May 17, 2023
e907685
Update dependency lint-staged to v13.2.2 (#957)
renovate[bot] May 17, 2023
683506f
Update dependency ethereumjs-util to v7 (#906)
renovate[bot] May 17, 2023
4c3a1ad
Update Node.js to v18.16.0 (#961)
renovate[bot] May 17, 2023
9e19fa0
Remove dependency on QueryString (#959)
JoshuaSchmidt-OpenSea May 17, 2023
e57ffab
Update dependency typedoc to ^0.24.0 (#963)
renovate[bot] May 17, 2023
abe5e95
Update dependency @types/node to v18.16.13 (#967)
renovate[bot] May 18, 2023
56b51da
Added Collection verification status to api.getAsset (#729) (#965)
JoshuaSchmidt-OpenSea May 18, 2023
939136a
Add animation URLS to Opensea Asset (#968)
JoshuaSchmidt-OpenSea May 18, 2023
c54f76b
Add interface for the OpenSeaCollectionStats (#971)
JoshuaSchmidt-OpenSea May 19, 2023
ef823ee
Update dependency eslint to v8.41.0 (#975)
renovate[bot] May 21, 2023
4782833
Update dependency @types/node to v18.16.14 (#977)
renovate[bot] May 22, 2023
68d4f64
Update typescript-eslint monorepo to v5.59.7 (#981)
renovate[bot] May 23, 2023
b5b159f
Update stale.yml (#984)
ryanio May 23, 2023
6a002ab
Update stale.yml (#988)
ryanio May 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @ProjectOpenSea/developer-api
* @ProjectOpenSea/protocol
25 changes: 25 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!--
Borrowed from foundry.

Thank you for your Pull Request. Please provide a description above and review
the requirements below.

Bug fixes and new features should include tests.
-->

## Motivation

<!--
Explain the context and why you're making that change. What is the problem
you're trying to solve? In some cases there is not a problem and this can be
thought of as being the motivation for your change.

If your PR solves a particular issue, tag that issue.
-->

## Solution

<!--
Summarize the solution and provide any necessary context needed to understand
the code change.
-->
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 2

steps:
- uses: styfle/cancel-workflow-action@0.9.1
- uses: styfle/cancel-workflow-action@0.11.0
with:
all_but_latest: true
workflow_id: code-quality.yml, codeql-analysis.yml, docs.yml
Expand Down
40 changes: 30 additions & 10 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.13.0"
node-version-file: .nvmrc
cache: npm

- name: Upgrade npm
Expand All @@ -33,10 +33,10 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.13.0"
node-version-file: .nvmrc
cache: npm

- name: Upgrade npm
Expand All @@ -51,7 +51,27 @@ jobs:
- name: Run tests
env:
API_KEY: ${{ secrets.API_KEY }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
npm run test
npm run coverage-report
run: npm run test

test-earliest-node-engine-support:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.0.0" # specified in the package.json engines.node field
cache: npm

- name: Upgrade npm
run: npm install -g npm

- name: Install dependencies
run: npm install --immutable --ignore-scripts

- name: Gen ABI
run: npm run abi-type-gen

- name: Run tests
env:
API_KEY: ${{ secrets.API_KEY }}
run: npm run test
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.13.0"
node-version-file: .nvmrc
cache: npm

- name: Upgrade npm
Expand All @@ -30,7 +30,7 @@ jobs:

- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@4.1.7
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: docs
8 changes: 6 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.11.0
node-version-file: .nvmrc
- name: Upgrade npm
run: npm install -g npm
- run: npm ci
- run: npm test
- run: npm run build
Expand All @@ -28,8 +30,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.11.0
node-version-file: .nvmrc
registry-url: https://registry.npmjs.org/
- name: Upgrade npm
run: npm install -g npm
- run: npm ci
- run: npm run build
- run: npm publish
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Close stale issues"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
stale-pr-message: "This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment."
days-before-stale: 60
days-before-close: 14
operations-per-run: 1000
exempt-pr-labels: "work-in-progress"
exempt-issue-labels: "work-in-progress"
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.0
18.16.0
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

[![Version][version-badge]][version-link]
[![npm][npm-badge]][npm-link]
[![License][license-badge]][license-link]
[![Test CI][ci-badge]][ci-link]
[![Coverage Status][coverage-badge]][coverage-link]
[![styled with prettier][prettier-badge]][prettier-link]
[![License][license-badge]][license-link]
[![Docs][docs-badge]][docs-link]
[![Discussions][discussions-badge]][discussions-link]

A JavaScript library for crypto-native ecommerce: buying, selling, and bidding on any cryptogood. With OpenSea.js, you can easily build your own native marketplace for your non-fungible tokens, or NFTs. These can be ERC-721 or ERC-1155 (semi-fungible) items. You don't have to deploy your own smart contracts or backend orderbooks.

Expand Down Expand Up @@ -664,9 +666,13 @@ yarn link opensea-js # in repo you're working on
[version-link]: https://github.com/ProjectOpenSea/opensea-js/releases
[npm-badge]: https://img.shields.io/npm/v/opensea-js?color=red
[npm-link]: https://www.npmjs.com/package/opensea-js
[license-badge]: https://img.shields.io/github/license/ProjectOpenSea/opensea-js
[license-link]: https://github.com/ProjectOpenSea/opensea-js/blob/main/LICENSE
[ci-badge]: https://github.com/ProjectOpenSea/opensea-js/actions/workflows/code-quality.yml/badge.svg
[ci-link]: https://github.com/ProjectOpenSea/opensea-js/actions/workflows/code-quality.yml
[coverage-badge]: https://coveralls.io/repos/github/ProjectOpenSea/opensea-js/badge.svg?branch=master
[coverage-link]: https://coveralls.io/github/ProjectOpenSea/opensea-js?branch=master
[prettier-badge]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg
[prettier-link]: https://github.com/prettier/prettier
[license-badge]: https://img.shields.io/github/license/ProjectOpenSea/opensea-js
[license-link]: https://github.com/ProjectOpenSea/opensea-js/blob/main/LICENSE
[docs-badge]: https://img.shields.io/badge/OpenSea.js-documentation-informational
[docs-link]: https://github.com/ProjectOpenSea/opensea-js#getting-started
[discussions-badge]: https://img.shields.io/badge/OpenSea.js-discussions-blueviolet
[discussions-link]: https://github.com/ProjectOpenSea/opensea-js/discussions
Loading