@opensea/sdk 11.4.7 → 11.4.8

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.
@@ -69,7 +69,7 @@ export declare class WalletAuthAPI {
69
69
  symbol: string;
70
70
  imageUrl?: string | undefined;
71
71
  description?: string | undefined;
72
- createdAt?: string | undefined;
72
+ createdAt?: number | undefined;
73
73
  chain: string;
74
74
  contractAddress: string;
75
75
  maxLeverage: number;
package/lib/scopes.d.ts CHANGED
@@ -11,7 +11,9 @@ import type { AuthScope } from "@opensea/api-types";
11
11
  export declare const OPENSEA_SCOPES: {
12
12
  readonly READ_ELIGIBILITY: "read:eligibility";
13
13
  readonly READ_FAVORITES: "read:favorites";
14
+ readonly READ_SOCIAL: "read:social";
14
15
  readonly WRITE_FAVORITES: "write:favorites";
16
+ readonly WRITE_SOCIAL: "write:social";
15
17
  readonly WRITE_ORDERS: "write:orders";
16
18
  readonly WRITE_DROPS: "write:drops";
17
19
  readonly WRITE_COLLECTIONS: "write:collections";
package/lib/scopes.js CHANGED
@@ -13,7 +13,9 @@ exports.ALL_SCOPES = exports.OPENSEA_SCOPES = void 0;
13
13
  exports.OPENSEA_SCOPES = {
14
14
  READ_ELIGIBILITY: "read:eligibility",
15
15
  READ_FAVORITES: "read:favorites",
16
+ READ_SOCIAL: "read:social",
16
17
  WRITE_FAVORITES: "write:favorites",
18
+ WRITE_SOCIAL: "write:social",
17
19
  WRITE_ORDERS: "write:orders",
18
20
  WRITE_DROPS: "write:drops",
19
21
  WRITE_COLLECTIONS: "write:collections",
package/lib/scopes.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;GAQG;AACU,QAAA,cAAc,GAAG;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;CACc,CAAA;AAc9C,MAAM,2BAA2B,GAAgC,IAAI,CAAA;AAErE;;;GAGG;AACU,QAAA,UAAU,GAA4B,MAAM,CAAC,MAAM,CAAC,sBAAc,CAAC,CAAA"}
1
+ {"version":3,"file":"scopes.js","sourceRoot":"","sources":["../src/scopes.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;GAQG;AACU,QAAA,cAAc,GAAG;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;CACc,CAAA;AAc9C,MAAM,2BAA2B,GAAgC,IAAI,CAAA;AAErE;;;GAGG;AACU,QAAA,UAAU,GAA4B,MAAM,CAAC,MAAM,CAAC,sBAAc,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensea/sdk",
3
- "version": "11.4.7",
3
+ "version": "11.4.8",
4
4
  "description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs, tokens, and our marketplace data",
5
5
  "license": "MIT",
6
6
  "author": "OpenSea Developers",
@@ -45,7 +45,7 @@
45
45
  "types": "lib/index.d.ts",
46
46
  "dependencies": {
47
47
  "@noble/hashes": "^2.0.1",
48
- "@opensea/api-types": "^0.8.0",
48
+ "@opensea/api-types": "^0.8.1",
49
49
  "@opensea/seaport-js": "^4.1.1",
50
50
  "ethers": "^6.16.0"
51
51
  },
package/src/scopes.ts CHANGED
@@ -12,7 +12,9 @@ import type { AuthScope } from "@opensea/api-types"
12
12
  export const OPENSEA_SCOPES = {
13
13
  READ_ELIGIBILITY: "read:eligibility",
14
14
  READ_FAVORITES: "read:favorites",
15
+ READ_SOCIAL: "read:social",
15
16
  WRITE_FAVORITES: "write:favorites",
17
+ WRITE_SOCIAL: "write:social",
16
18
  WRITE_ORDERS: "write:orders",
17
19
  WRITE_DROPS: "write:drops",
18
20
  WRITE_COLLECTIONS: "write:collections",