@xoxno/sdk-js 1.0.18 → 1.0.20

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 { AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, ArdaSwapResultDto, BageQRData, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, DiscountCodeValidationResponse, EditUserCreatorProfileDto, EventCheckInQR, EventCountGroupedByCountry, EventGuestApproveDto, EventGuestExport, EventGuestFilter, EventGuestProfile, EventGuestProfileQuery, EventGuestRegistrationDto, EventInvitation, EventInvitationCreateDto, EventInvitationDoc, EventInvitationFilter, EventInvitationQuery, EventNotificationDto, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventQuestionCreateDto, EventQuestionDoc, EventQuestionEditDto, EventReferralConfigCreateDto, EventReferralConfigDoc, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralCreateDto, EventReferralDoc, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, EventRegistrationResponseDto, EventStageProfileCreateDto, EventStageProfileDoc, EventStageProfileEditDto, EventTicketProfileCreateDto, EventTicketProfileDoc, EventTicketProfileEditDto, EventUserRole, EventUserRoleCreateDto, EventUserRoleDoc, EventVoucherDoc, EventVoucherFilter, EventVoucherQuery, FetchSwapRoutesResponseDto, FilterQueryDto, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, IMetrics, InventorySummaryDtoHydrated, LendingAccountProfile, LendingEModeCategoryProfile, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingOverallStats, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MobileDeviceDoc, MobileDeviceRegistrationDto, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDocFilter, NftDocFull, NftDocHydrated, NftOfferDocFilter, NftOfferDocHydrated, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OwnedCollectionsDto, OwnedServicesDto, PinnedCollectionDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, SendChatMessageDto, SetEmailDto, SetPhoneDto, ShareholderDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, StakingCreatorDoc, StakingExploreDtoHydrated, StakingPoolDoc, StakingPostDTO, StakingSummary, StakingUserPoolNfts, SuccessDto, SuccessWithMessageDto, SwitchWalletDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenDataDocHydrated, TradesilvaniaSignature, TraitInfo, TransactionCreate, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserNetworkInfoDto, UserProfileDoc, UserProfileDto, UserProfileEditDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, VolumeGraph, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
2
- import type { ActivityChain, KustoOrderDirection, LendingPositionOrderByColumn, TokenCategory, UserStatsOrderByColumn } from '@xoxno/types/enums';
2
+ import type { ActivityChain, KustoOrderDirection, LendingPositionOrderByColumn, OfferType, StakingStatus, TokenCategory, UserStatsOrderByColumn } from '@xoxno/types/enums';
3
3
  export declare const endpoints: {
4
4
  readonly '/user/:address/network-account': {
5
5
  readonly input: {};
@@ -232,7 +232,7 @@ export declare const endpoints: {
232
232
  readonly '/tokens': {
233
233
  readonly input: {
234
234
  identifier?: string[];
235
- category?: TokenCategory;
235
+ category?: TokenCategory[];
236
236
  chain?: ActivityChain[];
237
237
  };
238
238
  readonly output: TokenDataDocHydrated[];
@@ -243,7 +243,7 @@ export declare const endpoints: {
243
243
  };
244
244
  readonly '/tokens/usd-price': {
245
245
  readonly input: {
246
- identifier?: string;
246
+ identifier?: string[];
247
247
  cache?: boolean;
248
248
  };
249
249
  readonly output: Record<string, number>;
@@ -251,7 +251,7 @@ export declare const endpoints: {
251
251
  readonly '/tokens/egld/fiat-price': {
252
252
  readonly input: {
253
253
  value?: number;
254
- fiatCurrencies?: string;
254
+ fiatCurrencies?: string[];
255
255
  };
256
256
  readonly output: Record<string, number>;
257
257
  };
@@ -403,7 +403,7 @@ export declare const endpoints: {
403
403
  };
404
404
  readonly '/lending/market/emode-categories': {
405
405
  readonly input: {
406
- categoryIds: string;
406
+ categoryIds?: string[];
407
407
  };
408
408
  readonly output: LendingEModeCategoryProfile[];
409
409
  };
@@ -463,7 +463,7 @@ export declare const endpoints: {
463
463
  };
464
464
  readonly '/user/:address/offers': {
465
465
  readonly input: {
466
- type?: string;
466
+ type?: OfferType;
467
467
  top?: number;
468
468
  skip?: number;
469
469
  };
@@ -820,7 +820,7 @@ export declare const endpoints: {
820
820
  };
821
821
  readonly '/user/:address/staking/pool/:poolId/nfts': {
822
822
  readonly input: {
823
- status?: string;
823
+ status?: StakingStatus;
824
824
  };
825
825
  readonly output: StakingUserPoolNfts;
826
826
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {