@xoxno/sdk-js 0.1.334 → 0.1.336

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.
@@ -1,4 +1,4 @@
1
- import type { NftData } from '../types/nft';
1
+ import type { ActivityChain, NftData } from '../types/nft';
2
2
  import type { TradincActivityArgs, TradingActivityResponse } from '../types/trading';
3
3
  import type { UserOffers } from '../types/user';
4
4
  /**
@@ -49,6 +49,13 @@ export declare class NFTModule {
49
49
  * @throws Throws an error when the collection ticker is invalid.
50
50
  */
51
51
  getNFTByCollectionAndNonce: (collection: string, nonce: number) => Promise<NftData>;
52
+ /**
53
+ * @public
54
+ * @async
55
+ * @function getPinnedNFTs
56
+ * @returns {Promise<NftData[]>} A promise that resolves to the fetched pinned collections.
57
+ */
58
+ getPinnedNFTs: (chain?: ActivityChain) => Promise<NftData[]>;
52
59
  /**
53
60
  * Get NFT by collection and nonce hex
54
61
  *
@@ -712,6 +712,7 @@ export type CollectionStatsResults = {
712
712
  };
713
713
  export type GetCollectionStatsArgs = {
714
714
  filters?: {
715
+ chain?: ActivityChain;
715
716
  collection?: string[];
716
717
  verifiedOnly?: boolean;
717
718
  range?: RangeFilter[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "0.1.334",
3
+ "version": "0.1.336",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {