@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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/interactor.cjs.js +1 -1
- package/dist/interactor.esm.js +1 -1
- package/dist/types/collection.d.ts +3 -47
- package/dist/types/nft.d.ts +1 -0
- package/dist/types/user.d.ts +1 -10
- package/package.json +1 -1
|
@@ -81,7 +81,7 @@ export interface ICollectionProfile {
|
|
|
81
81
|
id: string;
|
|
82
82
|
socials: ISocials;
|
|
83
83
|
type: string;
|
|
84
|
-
chain
|
|
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;
|
package/dist/types/nft.d.ts
CHANGED
package/dist/types/user.d.ts
CHANGED
|
@@ -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[];
|