You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,12 @@
1
-
# opensea-js
1
+
# @opensea/sdk
2
+
3
+
## 9.0.0
4
+
5
+
### Major Changes
6
+
7
+
- Rename package from `opensea-js` to `@opensea/sdk`
8
+
9
+
The API is unchanged — only the package name. The old `opensea-js` package will be deprecated with a stub that directs users to install `@opensea/sdk` instead.
> **Note:** This package was previously published as `opensea-js`. The API is unchanged.
14
16
15
17
This is the TypeScript SDK for [OpenSea](https://opensea.io), the largest marketplace for NFTs.
16
18
17
19
It allows developers to access the official orderbook, filter it, create listings and offers, and complete trades programmatically.
18
20
19
21
Get started by [requesting an API key](https://docs.opensea.io/reference/api-keys) and instantiating your own OpenSea SDK instance. Then you can create orders off-chain or fulfill orders onchain, and listen to events in the process.
20
22
21
-
Happy seafaring! ⛵️
23
+
Happy seafaring!
22
24
23
25
## Documentation
24
26
@@ -32,7 +34,7 @@ Happy seafaring! ⛵️
32
34
33
35
### Security Warning
34
36
35
-
**⚠️ Do not use this SDK directly in client-side/frontend applications.**
37
+
**Do not use this SDK directly in client-side/frontend applications.**
36
38
37
39
The OpenSea SDK requires an API key for initialization. If you embed your API key in frontend code (e.g., browser applications, mobile apps), it will be publicly exposed and could be extracted by anyone, leading to potential abuse and rate limit issues.
38
40
@@ -41,28 +43,28 @@ The OpenSea SDK requires an API key for initialization. If you embed your API ke
41
43
For frontend applications that need to interact with OpenSea functionality:
42
44
43
45
1.**Create a backend API wrapper**: Set up your own backend server that securely stores your OpenSea API key
44
-
2.**Call OpenSea SDK server-side**: Use opensea-js on your backend to interact with OpenSea's APIs
46
+
2.**Call OpenSea SDK server-side**: Use `@opensea/sdk` on your backend to interact with OpenSea's APIs
45
47
3.**Return data to your frontend**: Send the necessary data (like transaction parameters) back to your frontend
46
48
4.**Execute transactions in the browser**: Have users sign transactions with their own wallets (e.g., MetaMask) in the browser
47
49
48
50
## Changelog
49
51
50
52
The changelog for recent versions can be found at:
Copy file name to clipboardExpand all lines: developerDocs/api-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ hidden: false
9
9
10
10
# OpenSea API Reference
11
11
12
-
This comprehensive reference documents all OpenSea API endpoints available through the opensea-js SDK. The SDK provides convenient TypeScript methods to interact with the OpenSea API v2.
12
+
This comprehensive reference documents all OpenSea API endpoints available through the @opensea/sdk. The SDK provides convenient TypeScript methods to interact with the OpenSea API v2.
13
13
14
14
> **Note:** Your API key should only be used on a secure backend server. Never expose it in client-side code, public repositories, or browser environments. See the [Security Warning](../README.md#security-warning) in the README for more details.
0 commit comments