@xoxno/sdk-js 0.1.325 → 0.1.327
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 +2 -2
- package/dist/types/nft.d.ts +5 -5
- package/dist/types/user.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IEventDoc } from './event';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ActivityChain, CollectionInfo, Media, NftData, NFTMetadata, Owner, SaleInfo } from './nft';
|
|
3
3
|
import type { NftActivityType } from './trading';
|
|
4
4
|
import type { CreatorProfile, IUserProfileSearch, OfferBody } from './user';
|
|
5
5
|
export interface ISocials {
|
|
@@ -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;
|
package/dist/types/nft.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { GlobalOffers, ICollectionProfile, ISocials, MetadataAttribute } from './collection';
|
|
2
|
+
export declare enum ActivityChain {
|
|
3
|
+
MVX = "MVX",
|
|
4
|
+
SUI = "SUI"
|
|
5
|
+
}
|
|
2
6
|
export interface NFTAttribute extends MetadataAttribute {
|
|
3
7
|
occurance: number;
|
|
4
8
|
frequency: number;
|
|
@@ -56,10 +60,6 @@ export interface GameData {
|
|
|
56
60
|
name: string;
|
|
57
61
|
value: number;
|
|
58
62
|
}
|
|
59
|
-
export declare enum ChainID {
|
|
60
|
-
MVX = "MVX",
|
|
61
|
-
SUI = "SUI"
|
|
62
|
-
}
|
|
63
63
|
export interface NftData {
|
|
64
64
|
id: string;
|
|
65
65
|
name: string;
|
|
@@ -75,7 +75,7 @@ export interface NftData {
|
|
|
75
75
|
onSale: boolean;
|
|
76
76
|
metadata: NFTMetadata;
|
|
77
77
|
media: Media;
|
|
78
|
-
chain?:
|
|
78
|
+
chain?: ActivityChain;
|
|
79
79
|
attributes?: string;
|
|
80
80
|
creator?: Owner;
|
|
81
81
|
hasOffers?: boolean;
|
package/dist/types/user.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ISocials } from './collection';
|
|
2
|
-
import type { NftData, Owner } from './nft';
|
|
2
|
+
import type { ActivityChain, NftData, Owner } from './nft';
|
|
3
3
|
import type { StakingSummaryPools } from './staking';
|
|
4
4
|
export interface BulkAccount {
|
|
5
5
|
address: string;
|
|
@@ -138,6 +138,7 @@ export type UserTokenInventory = {
|
|
|
138
138
|
esdts: TokenWorth;
|
|
139
139
|
stables: TokenWorth;
|
|
140
140
|
wallet: TokenWorth;
|
|
141
|
+
chain?: ActivityChain;
|
|
141
142
|
};
|
|
142
143
|
export type TokenWorth = {
|
|
143
144
|
usdValue: number;
|
|
@@ -192,6 +193,7 @@ export type CreatorProfile = {
|
|
|
192
193
|
followCount: number;
|
|
193
194
|
creatorTag: string;
|
|
194
195
|
_ts: number;
|
|
196
|
+
chain?: ActivityChain;
|
|
195
197
|
};
|
|
196
198
|
export interface RewardStakinSummary {
|
|
197
199
|
tokenIdentifier: string;
|