@xoxno/sdk-js 0.1.328 → 0.1.330

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.
@@ -81,7 +81,7 @@ export interface ICollectionProfile {
81
81
  id: string;
82
82
  socials: ISocials;
83
83
  type: string;
84
- chain: ActivityChain;
84
+ chain?: ActivityChain;
85
85
  transferPolicies: TransferPolicy[];
86
86
  royalty?: number;
87
87
  minSalePrice?: string;
@@ -449,6 +449,7 @@ export type TradingActivity = {
449
449
  from: Owner;
450
450
  to: Owner;
451
451
  activityData: ActivityData;
452
+ chain?: ActivityChain;
452
453
  };
453
454
  export interface GetCollectionsArgs {
454
455
  /** The collections to fetch the profile */
@@ -629,52 +630,6 @@ export type HoldedDetails = {
629
630
  export interface AvgHolder extends HoldedDetails {
630
631
  avgPerHodler: number;
631
632
  }
632
- export type CollectionsSummary = {
633
- data: CollectionsSummaryItem[];
634
- count: number;
635
- };
636
- export type CollectionsSummaryItem = {
637
- Collection: string;
638
- TotalVolume: number;
639
- TotalTrades: number;
640
- DailyVolume: number | null;
641
- Last2DaysVolume: number | null;
642
- DailyTrades: number | null;
643
- Last2DaysTrades: number | null;
644
- WeekTrades: number;
645
- LastWeekTrades: number | null;
646
- WeekVolume: number;
647
- LastWeekVolume: number | null;
648
- WeeklyTradesMargin: number | null;
649
- DailyTradesMargin: number | null;
650
- WeeklyVolumeMargin: number | null;
651
- DailyVolumeEgldMargin: number | null;
652
- CollectionAthTrade: number;
653
- CollectionAthTxHash: string;
654
- Name: string;
655
- AthHash: string;
656
- Profile: string;
657
- Banner: string;
658
- isVerified: boolean;
659
- FloorPrice: number;
660
- };
661
- export declare enum CollectionsSummaryFilter {
662
- TotalVolume = "TotalVolume",
663
- TotalTrades = "TotalTrades",
664
- DailyVolume = "DailyVolume",
665
- Last2DaysVolume = "Last2DaysVolume",
666
- DailyTrades = "DailyTrades",
667
- Last2DaysTrades = "Last2DaysTrades",
668
- WeekTrades = "WeekTrades",
669
- LastWeekTrades = "LastWeekTrades",
670
- WeekVolume = "WeekVolume",
671
- LastWeekVolume = "LastWeekVolume",
672
- WeeklyTradesMargin = "WeeklyTradesMargin",
673
- DailyTradesMargin = "DailyTradesMargin",
674
- WeeklyVolumeMargin = "WeeklyVolumeMargin",
675
- DailyVolumeEgldMargin = "DailyVolumeEgldMargin",
676
- CollectionAthTrade = "CollectionAthTrade"
677
- }
678
633
  export type GlobalOffersResult = {
679
634
  resources: GlobalOffers[];
680
635
  hasMoreResults: boolean;
@@ -697,6 +652,7 @@ export type GlobalOffers = {
697
652
  isActive: boolean;
698
653
  floorPrice: number;
699
654
  floorPriceMargin: number | null;
655
+ chain?: ActivityChain;
700
656
  };
701
657
  export type GlobalOfferOwner = {
702
658
  address: string;
@@ -119,6 +119,7 @@ export interface CollectionInfo {
119
119
  holdersCount?: number;
120
120
  volume?: number;
121
121
  owner?: string;
122
+ chain?: ActivityChain;
122
123
  customConfig?: ICollectionProfile['customConfig'];
123
124
  }
124
125
  export interface Owner {
@@ -266,16 +266,6 @@ export interface PriceData {
266
266
  usdValue: number;
267
267
  nftInfo: Pick<NftData, 'identifier' | 'collection' | 'name' | 'metadata' | 'url' | 'wasProcessed' | 'media'>;
268
268
  }
269
- export interface Wallet {
270
- address: string;
271
- profile: string;
272
- username: string;
273
- isVerified: boolean;
274
- isCreator: boolean;
275
- owned: number;
276
- listed: number;
277
- followCount: number;
278
- }
279
269
  export interface StakingCreatorInfo {
280
270
  address: string;
281
271
  ownedPools: number[];
@@ -295,6 +285,7 @@ export interface Wallet {
295
285
  profile: string;
296
286
  username: string;
297
287
  isVerified: boolean;
288
+ chain?: ActivityChain;
298
289
  }
299
290
  export interface IOwnerInfo {
300
291
  registered: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "0.1.328",
3
+ "version": "0.1.330",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {