@xoxno/sdk-js 1.0.36 → 1.0.38

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/README.md CHANGED
@@ -205,7 +205,7 @@ sdk.ash.minTokenQuantity(...); // FetchSwapRoutesResponseDto
205
205
  sdk.ash.maxTokenQuantity(...); // FetchSwapRoutesResponseDto
206
206
 
207
207
  // GET /collection/:collection/attributes
208
- sdk.collection.collection("...").attributes(...); // Record<string
208
+ sdk.collection.collection("...").attributes(...); // Record<string, ValueFp & Record<string, TraitInfo>>
209
209
 
210
210
  // GET /collection/:collection/ranks
211
211
  sdk.collection.collection("...").ranks(...); // CollectionRanksDTO[]
@@ -229,7 +229,7 @@ sdk.collection.collection("...").profile.PATCH(...); // CollectionProfileDoc
229
229
  sdk.collection.collection("...").floorPrice(...); // FloorPriceDto
230
230
 
231
231
  // GET /collection/floor-price
232
- sdk.collection.floorPrice(...); // Record<string
232
+ sdk.collection.floorPrice(...); // Record<string, number>
233
233
 
234
234
  // GET /collection/pinned
235
235
  sdk.collection.pinned(...); // PinnedCollectionDto[]
@@ -523,7 +523,7 @@ sdk.lending.market.token("...").profile(...); // LendingMarketProfile
523
523
  sdk.lending.market.query(...); // LendingMarketProfileQuery
524
524
 
525
525
  // GET /lending/market/indexes
526
- sdk.lending.market.indexes(...); // Record<string
526
+ sdk.lending.market.indexes(...); // Record<string, LendingIndexesDto>
527
527
 
528
528
  // GET /lending/market/emode-categories
529
529
  sdk.lending.market.emodeCategories(...); // LendingEModeCategoryProfile[]
@@ -541,7 +541,7 @@ sdk.lending.leaderboard(...); // LendingPositionStatus[]
541
541
  sdk.lending.stats(...); // LendingOverallStats
542
542
 
543
543
  // GET /lending/market/prices
544
- sdk.lending.market.prices(...); // Record<string
544
+ sdk.lending.market.prices(...); // Record<string, number>
545
545
 
546
546
  // GET /lending/market-sc
547
547
  sdk.lending.marketSc(...); // string[]
@@ -673,10 +673,10 @@ sdk.tokens(...); // TokenDataDocHydrated[]
673
673
  sdk.tokens.swap(...); // TokenDataDocHydrated[]
674
674
 
675
675
  // GET /tokens/usd-price
676
- sdk.tokens.usdPrice(...); // Record<string
676
+ sdk.tokens.usdPrice(...); // Record<string, number>
677
677
 
678
678
  // GET /tokens/egld/fiat-price
679
- sdk.tokens.egld.fiatPrice(...); // Record<string
679
+ sdk.tokens.egld.fiatPrice(...); // Record<string, number>
680
680
 
681
681
  // GET /tokens/xoxno
682
682
  sdk.tokens.xoxno(...); // IMetrics
@@ -1,4 +1,4 @@
1
- import type { AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, ArdaSwapResultDto, BageQRData, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileEditDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, DelegationDataOutput, 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, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, 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, TransactionDetailed, 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';
1
+ import type { AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, ArdaSwapResultDto, BageQRData, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileEditDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, DelegationDataOutput, 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, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, 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, StakingEditDto, StakingExploreDtoHydrated, StakingPoolDoc, StakingSummary, StakingUserPoolNfts, SuccessDto, SuccessWithMessageDto, SwitchWalletDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenDataDocHydrated, TradesilvaniaSignature, TraitInfo, TransactionCreate, TransactionDetailed, 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
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': {
@@ -780,7 +780,7 @@ export declare const endpoints: {
780
780
  readonly PATCH: {
781
781
  readonly input: {};
782
782
  readonly output: StakingPoolDoc;
783
- readonly body: StakingPostDTO;
783
+ readonly body: StakingEditDto;
784
784
  readonly securityMode: "requiredAny";
785
785
  };
786
786
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {
@@ -104,6 +104,6 @@
104
104
  "dependencies": {
105
105
  "@multiversx/sdk-core": "^13.17.2",
106
106
  "@multiversx/sdk-network-providers": "^2.9.3",
107
- "@xoxno/types": "^1.0.168"
107
+ "@xoxno/types": "^1.0.187"
108
108
  }
109
109
  }