@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.
@@ -1,5 +1,5 @@
1
1
  import type { IEventDoc } from './event';
2
- import type { ChainID, CollectionInfo, Media, NftData, NFTMetadata, Owner, SaleInfo } from './nft';
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: ChainID;
84
+ chain: ActivityChain;
85
85
  transferPolicies: TransferPolicy[];
86
86
  royalty?: number;
87
87
  minSalePrice?: string;
@@ -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?: ChainID;
78
+ chain?: ActivityChain;
79
79
  attributes?: string;
80
80
  creator?: Owner;
81
81
  hasOffers?: boolean;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "0.1.325",
3
+ "version": "0.1.327",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {