@xoxno/sdk-js 0.1.134-alpha → 0.1.136-alpha

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.
Files changed (43) hide show
  1. package/dist/collection/index.d.ts.map +1 -1
  2. package/dist/common/index.d.ts.map +1 -1
  3. package/dist/email/email.d.ts.map +1 -1
  4. package/dist/email-node.cjs.js +1854 -0
  5. package/dist/email-node.esm.js +1854 -0
  6. package/dist/email.cjs.js +1854 -0
  7. package/dist/email.esm.js +7 -7
  8. package/dist/index.cjs.js +1 -0
  9. package/dist/index.esm.js +1 -1
  10. package/dist/interactions/index.d.ts.map +1 -1
  11. package/dist/interactor.cjs.js +2 -0
  12. package/dist/interactor.esm.js +1 -1
  13. package/dist/launchpad/index.d.ts.map +1 -1
  14. package/dist/nft/index.d.ts.map +1 -1
  15. package/dist/staking/index.d.ts.map +1 -1
  16. package/dist/types/collection.d.ts +12 -0
  17. package/dist/types/collection.d.ts.map +1 -1
  18. package/dist/types/staking.d.ts +1 -0
  19. package/dist/types/staking.d.ts.map +1 -1
  20. package/dist/types/user.d.ts +3 -0
  21. package/dist/types/user.d.ts.map +1 -1
  22. package/dist/users/index.d.ts.map +1 -1
  23. package/dist/utils/api.d.ts.map +1 -1
  24. package/dist/utils/getActivity.d.ts.map +1 -1
  25. package/dist/utils/helpers.d.ts +0 -1
  26. package/dist/utils/helpers.d.ts.map +1 -1
  27. package/package.json +22 -14
  28. package/dist/252.esm.js +0 -1854
  29. package/dist/252.js +0 -1854
  30. package/dist/496.esm.js +0 -1
  31. package/dist/496.js +0 -1
  32. package/dist/956.esm.js +0 -2
  33. package/dist/956.js +0 -2
  34. package/dist/956.js.LICENSE.txt +0 -10
  35. package/dist/email.js +0 -1854
  36. package/dist/index.js +0 -1
  37. package/dist/interactor.js +0 -2
  38. package/dist/interactor.js.LICENSE.txt +0 -10
  39. package/dist/report.html +0 -39
  40. /package/dist/{252.esm.js.LICENSE.txt → email-node.cjs.js.LICENSE.txt} +0 -0
  41. /package/dist/{252.js.LICENSE.txt → email-node.esm.js.LICENSE.txt} +0 -0
  42. /package/dist/{email.js.LICENSE.txt → email.cjs.js.LICENSE.txt} +0 -0
  43. /package/dist/{956.esm.js.LICENSE.txt → interactor.cjs.js.LICENSE.txt} +0 -0
package/dist/496.esm.js DELETED
@@ -1 +0,0 @@
1
- (this.webpackChunk_xoxno_sdk_js=this.webpackChunk_xoxno_sdk_js||[]).push([[496],{1028:(e,t,a)=>{var i,s,r,n,o,d,l,c,g,q,u,T,m,S;a.d(t,{$C:()=>u,Gq:()=>n,I_:()=>o,JA:()=>S,JM:()=>l,LU:()=>q,O8:()=>i,cO:()=>c,g6:()=>r,h4:()=>s,he:()=>m,iQ:()=>T,t7:()=>d,wT:()=>g}),function(e){e.XO="xoxno",e.FM="frameit",e.DR="deadrare",e.KG="krogan"}(i||(i={})),function(e){e.Rank="metadata.rarity.rank",e.Attributes="metadata.attributes",e.Description="metadata.description",e.Name="name",e.OnSale="onSale",e.SaleInfo="saleInfo",e.Royalties="royalties",e.Identifier="identifier",e.Collection="collection",e.OriginalURL="url",e.Nonce="nonce",e.ContentType="originalMedia.contentType",e.WasProcessed="wasProcessed",e.AvifURL="avifUrl",e.WebpURL="webpUrl",e.Type="type"}(s||(s={})),function(e){e.PriceHighToLow="saleInfo.minBidShort desc",e.PriceLowToHigh="saleInfo.minBidShort asc",e.MaxPriceHighToLow="saleInfo.maxBidShort desc",e.MaxPriceLowToHigh="saleInfo.maxBidShort asc",e.BidPriceHighToLow="saleInfo.currentBidShort desc",e.BidPriceLowToHigh="saleInfo.currentBidShort asc",e.RarityHighToLow="metadata.rarity.rank desc",e.RarityLowToHigh="metadata.rarity.rank asc",e.NonceHighToLow="nonce desc",e.NonceLowToHigh="nonce asc",e.RecentListed="saleInfo.timestamp desc",e.OldestListed="saleInfo.timestamp asc",e.EndingLate="saleInfo.deadline desc",e.EndingSoon="saleInfo.deadline asc"}(r||(r={})),function(e){e.EndingLate="startTime desc",e.EndingSoon="startTime asc"}(n||(n={})),function(e){e.TotalVolumeHighToLow="statistics/tradeData/totalEgldVolume desc",e.FollowersHighToLow="statistics/other/followCount desc",e.IsVerifiedTrueToFalse="isVerified desc",e.HasImageTrueToFalse="profile desc",e.HasBannerTrueToFalse="banner desc"}(o||(o={})),function(e){e.WeekVolumeHighToLow="statistics.tradeData.weekEgldVolume desc",e.WeekVolumeLowToHigh="statistics.tradeData.weekEgldVolume asc",e.DailyVolumeHighToLow="statistics.tradeData.dayEgldVolume desc",e.DailyVolumeLowToHigh="statistics.tradeData.dayEgldVolume asc",e.TotalVolumeHighToLow="statistics.tradeData.totalEgldVolume desc",e.TotalVolumeLowToHigh="statistics.tradeData.totalEgldVolume asc",e.AvgVolumePriceHighToLow="statistics.tradeData.averageEgldPrice desc",e.AvgVolumePriceLowToHigh="statistics.tradeData.averageEgldPrice asc",e.ATHHighToLow="statistics.tradeData.athEgldPrice desc",e.ATHLowToHigh="statistics.tradeData.athEgldPrice asc",e.TotalTradesHighToLow="statistics.tradeData.totalTrades desc",e.TotalTradesLowToHigh="statistics.tradeData.totalTrades asc",e.SupplyHighToLow="statistics.other.nftCount desc",e.SupplyLowToHigh="statistics.other.nftCount asc",e.FollowersHighToLow="statistics.other.followCount desc",e.FollowersLowToHigh="statistics.other.followCount asc"}(d||(d={})),function(e){e.PriceHighToLow="priceShort desc",e.PriceLowToHigh="priceShort asc",e.OfferIdHighToLow="offerIddesc",e.OfferIdLowToHigh="offerId asc",e.RecentListed="timestamp desc",e.OldestListed="timestamp asc"}(l||(l={})),function(e){e.Profile="profile",e.Description="description",e.Creator="creator",e.Owner="owner",e.Socials="socials",e.Type="type",e.HasStaking="hasStaking",e.Name="name",e.Banner="banner",e.IsVerified="isVerified",e.IsMintable="isMintable",e.Statistics="statistics",e.Collection="collection"}(c||(c={})),function(e){e.Attributes="attributes",e.Collection="collection",e.Marketplace="marketplace",e.PaymentToken="paymentToken",e.LongPrice="price",e.ShortPrice="priceShort"}(g||(g={})),function(e){e.FixedPrice="FixedPrice",e.Auctions="Auctions",e.All="All",e.AllListed="AllListed"}(q||(q={})),function(e){e.ALL="all",e.Trade="trade",e.P2P="p2p",e.Staking="staking",e.Minting="minting"}(u||(u={})),function(e){e.TotalVolume="TotalVolume",e.TotalTrades="TotalTrades",e.DailyVolume="DailyVolume",e.Last2DaysVolume="Last2DaysVolume",e.DailyTrades="DailyTrades",e.Last2DaysTrades="Last2DaysTrades",e.WeekTrades="WeekTrades",e.LastWeekTrades="LastWeekTrades",e.WeekVolume="WeekVolume",e.LastWeekVolume="LastWeekVolume",e.WeeklyTradesMargin="WeeklyTradesMargin",e.DailyTradesMargin="DailyTradesMargin",e.WeeklyVolumeMargin="WeeklyVolumeMargin",e.DailyVolumeEgldMargin="DailyVolumeEgldMargin",e.CollectionAthTrade="CollectionAthTrade"}(T||(T={})),function(e){e.TradingStats="tradingStats"}(m||(m={})),function(e){e.ListedCountDesc="tradingStats.listedCount DESC",e.ListedCountAsc="tradingStats.listedCount ASC",e.FloorPriceDesc="tradingStats.floorPrice DESC",e.FloorPriceAsc="tradingStats.floorPrice ASC",e.TotalVolumeDesc="tradingStats.totalVolume DESC",e.TotalVolumeAsc="tradingStats.totalVolume ASC",e.TotalTradesDesc="tradingStats.totalTrades DESC",e.TotalTradesAsc="tradingStats.totalTrades ASC",e.AllTimeHighDesc="tradingStats.allTimeHigh.price DESC",e.AllTimeHighAsc="tradingStats.allTimeHigh.price ASC",e.DayVolumeDesc="tradingStats.day.volume DESC",e.DayVolumeAsc="tradingStats.day.volume ASC",e.DayVolumeMarginDesc="tradingStats.day.volumeMargin DESC",e.DayVolumeMarginAsc="tradingStats.day.volumeMargin ASC",e.DayTradesDesc="tradingStats.day.trades DESC",e.DayTradesAsc="tradingStats.day.trades ASC",e.DayTradesMarginDesc="tradingStats.day.tradesMargin DESC",e.DayTradesMarginAsc="tradingStats.day.tradesMargin ASC",e.WeekVolumeDesc="tradingStats.week.volume DESC",e.WeekVolumeAsc="tradingStats.week.volume ASC",e.WeekVolumeMarginDesc="tradingStats.week.volumeMargin DESC",e.WeekVolumeMarginAsc="tradingStats.week.volumeMargin ASC",e.WeekTradesDesc="tradingStats.week.trades DESC",e.WeekTradesAsc="tradingStats.week.trades ASC",e.WeekTradesMarginDesc="tradingStats.week.tradesMargin DESC",e.WeekTradesMarginAsc="tradingStats.week.tradesMargin ASC",e.MonthVolumeDesc="tradingStats.month.volume DESC",e.MonthVolumeAsc="tradingStats.month.volume ASC",e.MonthVolumeMarginDesc="tradingStats.month.volumeMargin DESC",e.MonthVolumeMarginAsc="tradingStats.month.volumeMargin ASC",e.MonthTradesDesc="tradingStats.month.trades DESC",e.MonthTradesAsc="tradingStats.month.trades ASC",e.MonthTradesMarginDesc="tradingStats.month.tradesMargin DESC",e.MonthTradesMarginAsc="tradingStats.month.tradesMargin ASC",e.YearVolumeDesc="tradingStats.year.volume DESC",e.YearVolumeAsc="tradingStats.year.volume ASC",e.YearVolumeMarginDesc="tradingStats.year.volumeMargin DESC",e.YearVolumeMarginAsc="tradingStats.year.volumeMargin ASC",e.YearTradesDesc="tradingStats.year.trades DESC",e.YearTradesAsc="tradingStats.year.trades ASC",e.YearTradesMarginDesc="tradingStats.year.tradesMargin DESC",e.YearTradesMarginAsc="tradingStats.year.tradesMargin ASC"}(S||(S={}))},3693:(e,t,a)=>{var i;a.d(t,{Y:()=>i}),function(e){e[e.NftBid=0]="NftBid",e[e.Nft=1]="Nft",e[e.SftAll=2]="SftAll",e[e.SftOnePerPayment=3]="SftOnePerPayment"}(i||(i={}))},3383:(e,t,a)=>{var i,s,r;a.d(t,{J1:()=>s,Vx:()=>i,iE:()=>r}),function(e){e.Dynamic="Dynamic",e.Fixed="Fixed"}(i||(i={})),function(e){e.Duo="Duo",e.Single="Single",e.Perk="Perk"}(s||(s={})),function(e){e.Staked="staked",e.Unbounding="unStaked",e.Available="available"}(r||(r={}))},9823:(e,t,a)=>{var i,s,r;a.d(t,{AQ:()=>s,cB:()=>r,o:()=>i}),function(e){e.NFT_CREATE="nftCreate",e.NFT_BURN="nftBurn",e.NFT_UPDATE="nftUpdate",e.NFT_TRANSFER="nftTransfer",e.LISTING_CREATE="listingCreate",e.LISTING_WITHDRAW="listingWithdraw",e.LISTING_UPDATE="listingUpdate",e.AUCTION_BID="auctionBid",e.AUCTION_OUT_BID="auctionOutBid",e.OFFER_CREATE="offerCreate",e.OFFER_WITHDRAW="offerWithdraw",e.OFFER_REJECT="offerReject",e.GLOBAL_OFFER_CREATE="globalOfferCreate",e.GLOBAL_OFFER_WITHDRAW="globalOfferWithdraw",e.TRADE="trade",e.BULK_TRADE="bulkTrade",e.AUCTION_TRADE="auctionTrade",e.OTHER_TRADE="otherTrade",e.OFFER_TRADE="offerTrade",e.GLOBAL_OFFER_TRADE="globalOfferTrade",e.STAKE="stake",e.UN_STAKE="unStake"}(i||(i={})),function(e){e.PriceHighToLow="activityData.egldValue desc",e.PriceLowToHigh="activityData.egldValue asc",e.RecentPlaced="timestamp desc",e.OldestPlaced="timestamp asc"}(s||(s={})),function(e){e[e.attributes=0]="attributes",e[e.collection=1]="collection",e[e.offer_id=2]="offer_id",e[e.owner=3]="owner",e[e.short_price=4]="short_price",e[e.price=5]="price",e[e.id=6]="id",e[e.dataType=7]="dataType",e[e.marketplace=8]="marketplace",e[e.payment_token=9]="payment_token"}(r||(r={}))},9695:(e,t,a)=>{var i,s;a.d(t,{Z:()=>s,p:()=>i}),function(e){e.Received="received",e.Placed="placed"}(i||(i={})),function(e){e.NonFungibleESDT="NonFungibleESDT"}(s||(s={}))},3359:(e,t,a)=>{a.d(t,{s:()=>o,G:()=>d});const i="https://api.xoxno.com",s="erd1qqqqqqqqqqqqqpgq705fxpfrjne0tl3ece0rrspykq88mynn4kxs2cg43s",r="erd1qqqqqqqqqqqqqpgqd9rvv2n378e27jcts8vfwynpx0gfl5ufz6hqhfy0u0",n="erd1qqqqqqqqqqqqqpgq8xwzu82v8ex3h4ayl5lsvxqxnhecpwyvwe0sf2qj4e";var o;!function(e){e.MAINNET="1",e.DEVNET="D"}(o||(o={}));class d{static instance;apiUrl;apiKey;chain;config;constructor(e=i,t="",a){this.apiUrl=e,this.apiKey=t,this.chain=a,this.config=a==o.MAINNET?{mediaUrl:"https://media.xoxno.com",gatewayUrl:"https://gateway.xoxno.com",XO_SC:"erd1qqqqqqqqqqqqqpgq6wegs2xkypfpync8mn2sa5cmpqjlvrhwz5nqgepyg8",FM_SC:s,DR_SC:r,KG_SC:n,Staking_SC:"erd1qqqqqqqqqqqqqpgqvpkd3g3uwludduv3797j54qt6c888wa59w2shntt6z",Manager_SC:"erd1qqqqqqqqqqqqqpgqg9fa0dmpn8fu3fnleeqn5zt8rl8mdqjkys5s2gtas7",P2P_SC:"erd1qqqqqqqqqqqqqpgq47y8hnct68v6asjv6gxem6h9rumn9frzah0skhxxt6"}:{mediaUrl:"https://devnet-media.xoxno.com",gatewayUrl:"https://devnet-gateway.xoxno.com",XO_SC:"erd1qqqqqqqqqqqqqpgql0dnz6n5hpuw8cptlt00khd0nn4ja8eadsfq2xrqw4",FM_SC:s,DR_SC:r,KG_SC:n,Staking_SC:"erd1qqqqqqqqqqqqqpgqsc5hnewwpep8qq0d7kjjzrquapuucrygah0s85zres",Manager_SC:"erd1qqqqqqqqqqqqqpgqluclyhfsa2uw7q9cjwd8knk989hg57u8ah0slq2nlr",P2P_SC:"erd1qqqqqqqqqqqqqpgqfja7ukpngrun78ueq583l0vd6aj4ekhrah0sa9wyrv"}}static init({apiUrl:e=i,apiKey:t="",chain:a=o.MAINNET}={}){if(null==d.instance||null==d.instance){if(a==o.DEVNET)return d.instance=new d(e??"https://devnet-api.xoxno.com",t,a),d.instance;d.instance=new d(e,t,a)}return d.instance}static getInstance(){if(null==d.instance||null==d.instance)throw new Error("XOXNOClient is not initialized");return d.instance}fetchWithTimeout=async(e,t={},a=4e4)=>{const i={"Accept-Encoding":"gzip,deflate,br",Referer:"https://xoxno.sdk","User-Agent":"XOXNO/1.0/SDK",..."POST"===t.method?{"Content-Type":"application/json"}:{},...t.headers??{}},s=`${"string"==typeof e&&e.startsWith("/")?`${this.apiUrl}${e}`:e}${t.params?"?"+Object.keys(t.params).map((e=>`${e}=${encodeURIComponent(t.params[e])}`)).join("&"):""}`,r=new AbortController;setTimeout((()=>r.abort()),a);const n=await fetch(s,{...t,...t?.next&&t.next.revalidate?{}:{cache:"no-store"},signal:r.signal,...Object.keys(i).length?{headers:i}:{},method:t.method??"GET"});if(!n.ok)throw new Error((await n.json()).message.toString());return n.json()}}}}]);
package/dist/496.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(this.webpackChunk_xoxno_sdk_js=this.webpackChunk_xoxno_sdk_js||[]).push([[496],{1028:(e,t,a)=>{var i,s,r,n,o,d,l,c,g,q,u,T,m,S;a.d(t,{$C:()=>u,Gq:()=>n,I_:()=>o,JA:()=>S,JM:()=>l,LU:()=>q,O8:()=>i,cO:()=>c,g6:()=>r,h4:()=>s,he:()=>m,iQ:()=>T,t7:()=>d,wT:()=>g}),function(e){e.XO="xoxno",e.FM="frameit",e.DR="deadrare",e.KG="krogan"}(i||(i={})),function(e){e.Rank="metadata.rarity.rank",e.Attributes="metadata.attributes",e.Description="metadata.description",e.Name="name",e.OnSale="onSale",e.SaleInfo="saleInfo",e.Royalties="royalties",e.Identifier="identifier",e.Collection="collection",e.OriginalURL="url",e.Nonce="nonce",e.ContentType="originalMedia.contentType",e.WasProcessed="wasProcessed",e.AvifURL="avifUrl",e.WebpURL="webpUrl",e.Type="type"}(s||(s={})),function(e){e.PriceHighToLow="saleInfo.minBidShort desc",e.PriceLowToHigh="saleInfo.minBidShort asc",e.MaxPriceHighToLow="saleInfo.maxBidShort desc",e.MaxPriceLowToHigh="saleInfo.maxBidShort asc",e.BidPriceHighToLow="saleInfo.currentBidShort desc",e.BidPriceLowToHigh="saleInfo.currentBidShort asc",e.RarityHighToLow="metadata.rarity.rank desc",e.RarityLowToHigh="metadata.rarity.rank asc",e.NonceHighToLow="nonce desc",e.NonceLowToHigh="nonce asc",e.RecentListed="saleInfo.timestamp desc",e.OldestListed="saleInfo.timestamp asc",e.EndingLate="saleInfo.deadline desc",e.EndingSoon="saleInfo.deadline asc"}(r||(r={})),function(e){e.EndingLate="startTime desc",e.EndingSoon="startTime asc"}(n||(n={})),function(e){e.TotalVolumeHighToLow="statistics/tradeData/totalEgldVolume desc",e.FollowersHighToLow="statistics/other/followCount desc",e.IsVerifiedTrueToFalse="isVerified desc",e.HasImageTrueToFalse="profile desc",e.HasBannerTrueToFalse="banner desc"}(o||(o={})),function(e){e.WeekVolumeHighToLow="statistics.tradeData.weekEgldVolume desc",e.WeekVolumeLowToHigh="statistics.tradeData.weekEgldVolume asc",e.DailyVolumeHighToLow="statistics.tradeData.dayEgldVolume desc",e.DailyVolumeLowToHigh="statistics.tradeData.dayEgldVolume asc",e.TotalVolumeHighToLow="statistics.tradeData.totalEgldVolume desc",e.TotalVolumeLowToHigh="statistics.tradeData.totalEgldVolume asc",e.AvgVolumePriceHighToLow="statistics.tradeData.averageEgldPrice desc",e.AvgVolumePriceLowToHigh="statistics.tradeData.averageEgldPrice asc",e.ATHHighToLow="statistics.tradeData.athEgldPrice desc",e.ATHLowToHigh="statistics.tradeData.athEgldPrice asc",e.TotalTradesHighToLow="statistics.tradeData.totalTrades desc",e.TotalTradesLowToHigh="statistics.tradeData.totalTrades asc",e.SupplyHighToLow="statistics.other.nftCount desc",e.SupplyLowToHigh="statistics.other.nftCount asc",e.FollowersHighToLow="statistics.other.followCount desc",e.FollowersLowToHigh="statistics.other.followCount asc"}(d||(d={})),function(e){e.PriceHighToLow="priceShort desc",e.PriceLowToHigh="priceShort asc",e.OfferIdHighToLow="offerIddesc",e.OfferIdLowToHigh="offerId asc",e.RecentListed="timestamp desc",e.OldestListed="timestamp asc"}(l||(l={})),function(e){e.Profile="profile",e.Description="description",e.Creator="creator",e.Owner="owner",e.Socials="socials",e.Type="type",e.HasStaking="hasStaking",e.Name="name",e.Banner="banner",e.IsVerified="isVerified",e.IsMintable="isMintable",e.Statistics="statistics",e.Collection="collection"}(c||(c={})),function(e){e.Attributes="attributes",e.Collection="collection",e.Marketplace="marketplace",e.PaymentToken="paymentToken",e.LongPrice="price",e.ShortPrice="priceShort"}(g||(g={})),function(e){e.FixedPrice="FixedPrice",e.Auctions="Auctions",e.All="All",e.AllListed="AllListed"}(q||(q={})),function(e){e.ALL="all",e.Trade="trade",e.P2P="p2p",e.Staking="staking",e.Minting="minting"}(u||(u={})),function(e){e.TotalVolume="TotalVolume",e.TotalTrades="TotalTrades",e.DailyVolume="DailyVolume",e.Last2DaysVolume="Last2DaysVolume",e.DailyTrades="DailyTrades",e.Last2DaysTrades="Last2DaysTrades",e.WeekTrades="WeekTrades",e.LastWeekTrades="LastWeekTrades",e.WeekVolume="WeekVolume",e.LastWeekVolume="LastWeekVolume",e.WeeklyTradesMargin="WeeklyTradesMargin",e.DailyTradesMargin="DailyTradesMargin",e.WeeklyVolumeMargin="WeeklyVolumeMargin",e.DailyVolumeEgldMargin="DailyVolumeEgldMargin",e.CollectionAthTrade="CollectionAthTrade"}(T||(T={})),function(e){e.TradingStats="tradingStats"}(m||(m={})),function(e){e.ListedCountDesc="tradingStats.listedCount DESC",e.ListedCountAsc="tradingStats.listedCount ASC",e.FloorPriceDesc="tradingStats.floorPrice DESC",e.FloorPriceAsc="tradingStats.floorPrice ASC",e.TotalVolumeDesc="tradingStats.totalVolume DESC",e.TotalVolumeAsc="tradingStats.totalVolume ASC",e.TotalTradesDesc="tradingStats.totalTrades DESC",e.TotalTradesAsc="tradingStats.totalTrades ASC",e.AllTimeHighDesc="tradingStats.allTimeHigh.price DESC",e.AllTimeHighAsc="tradingStats.allTimeHigh.price ASC",e.DayVolumeDesc="tradingStats.day.volume DESC",e.DayVolumeAsc="tradingStats.day.volume ASC",e.DayVolumeMarginDesc="tradingStats.day.volumeMargin DESC",e.DayVolumeMarginAsc="tradingStats.day.volumeMargin ASC",e.DayTradesDesc="tradingStats.day.trades DESC",e.DayTradesAsc="tradingStats.day.trades ASC",e.DayTradesMarginDesc="tradingStats.day.tradesMargin DESC",e.DayTradesMarginAsc="tradingStats.day.tradesMargin ASC",e.WeekVolumeDesc="tradingStats.week.volume DESC",e.WeekVolumeAsc="tradingStats.week.volume ASC",e.WeekVolumeMarginDesc="tradingStats.week.volumeMargin DESC",e.WeekVolumeMarginAsc="tradingStats.week.volumeMargin ASC",e.WeekTradesDesc="tradingStats.week.trades DESC",e.WeekTradesAsc="tradingStats.week.trades ASC",e.WeekTradesMarginDesc="tradingStats.week.tradesMargin DESC",e.WeekTradesMarginAsc="tradingStats.week.tradesMargin ASC",e.MonthVolumeDesc="tradingStats.month.volume DESC",e.MonthVolumeAsc="tradingStats.month.volume ASC",e.MonthVolumeMarginDesc="tradingStats.month.volumeMargin DESC",e.MonthVolumeMarginAsc="tradingStats.month.volumeMargin ASC",e.MonthTradesDesc="tradingStats.month.trades DESC",e.MonthTradesAsc="tradingStats.month.trades ASC",e.MonthTradesMarginDesc="tradingStats.month.tradesMargin DESC",e.MonthTradesMarginAsc="tradingStats.month.tradesMargin ASC",e.YearVolumeDesc="tradingStats.year.volume DESC",e.YearVolumeAsc="tradingStats.year.volume ASC",e.YearVolumeMarginDesc="tradingStats.year.volumeMargin DESC",e.YearVolumeMarginAsc="tradingStats.year.volumeMargin ASC",e.YearTradesDesc="tradingStats.year.trades DESC",e.YearTradesAsc="tradingStats.year.trades ASC",e.YearTradesMarginDesc="tradingStats.year.tradesMargin DESC",e.YearTradesMarginAsc="tradingStats.year.tradesMargin ASC"}(S||(S={}))},3693:(e,t,a)=>{var i;a.d(t,{Y:()=>i}),function(e){e[e.NftBid=0]="NftBid",e[e.Nft=1]="Nft",e[e.SftAll=2]="SftAll",e[e.SftOnePerPayment=3]="SftOnePerPayment"}(i||(i={}))},3383:(e,t,a)=>{var i,s,r;a.d(t,{J1:()=>s,Vx:()=>i,iE:()=>r}),function(e){e.Dynamic="Dynamic",e.Fixed="Fixed"}(i||(i={})),function(e){e.Duo="Duo",e.Single="Single",e.Perk="Perk"}(s||(s={})),function(e){e.Staked="staked",e.Unbounding="unStaked",e.Available="available"}(r||(r={}))},9823:(e,t,a)=>{var i,s,r;a.d(t,{AQ:()=>s,cB:()=>r,o:()=>i}),function(e){e.NFT_CREATE="nftCreate",e.NFT_BURN="nftBurn",e.NFT_UPDATE="nftUpdate",e.NFT_TRANSFER="nftTransfer",e.LISTING_CREATE="listingCreate",e.LISTING_WITHDRAW="listingWithdraw",e.LISTING_UPDATE="listingUpdate",e.AUCTION_BID="auctionBid",e.AUCTION_OUT_BID="auctionOutBid",e.OFFER_CREATE="offerCreate",e.OFFER_WITHDRAW="offerWithdraw",e.OFFER_REJECT="offerReject",e.GLOBAL_OFFER_CREATE="globalOfferCreate",e.GLOBAL_OFFER_WITHDRAW="globalOfferWithdraw",e.TRADE="trade",e.BULK_TRADE="bulkTrade",e.AUCTION_TRADE="auctionTrade",e.OTHER_TRADE="otherTrade",e.OFFER_TRADE="offerTrade",e.GLOBAL_OFFER_TRADE="globalOfferTrade",e.STAKE="stake",e.UN_STAKE="unStake"}(i||(i={})),function(e){e.PriceHighToLow="activityData.egldValue desc",e.PriceLowToHigh="activityData.egldValue asc",e.RecentPlaced="timestamp desc",e.OldestPlaced="timestamp asc"}(s||(s={})),function(e){e[e.attributes=0]="attributes",e[e.collection=1]="collection",e[e.offer_id=2]="offer_id",e[e.owner=3]="owner",e[e.short_price=4]="short_price",e[e.price=5]="price",e[e.id=6]="id",e[e.dataType=7]="dataType",e[e.marketplace=8]="marketplace",e[e.payment_token=9]="payment_token"}(r||(r={}))},9695:(e,t,a)=>{var i,s;a.d(t,{Z:()=>s,p:()=>i}),function(e){e.Received="received",e.Placed="placed"}(i||(i={})),function(e){e.NonFungibleESDT="NonFungibleESDT"}(s||(s={}))},3359:(e,t,a)=>{a.d(t,{s:()=>o,G:()=>d});const i="https://api.xoxno.com",s="erd1qqqqqqqqqqqqqpgq705fxpfrjne0tl3ece0rrspykq88mynn4kxs2cg43s",r="erd1qqqqqqqqqqqqqpgqd9rvv2n378e27jcts8vfwynpx0gfl5ufz6hqhfy0u0",n="erd1qqqqqqqqqqqqqpgq8xwzu82v8ex3h4ayl5lsvxqxnhecpwyvwe0sf2qj4e";var o;!function(e){e.MAINNET="1",e.DEVNET="D"}(o||(o={}));class d{static instance;apiUrl;apiKey;chain;config;constructor(e=i,t="",a){this.apiUrl=e,this.apiKey=t,this.chain=a,this.config=a==o.MAINNET?{mediaUrl:"https://media.xoxno.com",gatewayUrl:"https://gateway.xoxno.com",XO_SC:"erd1qqqqqqqqqqqqqpgq6wegs2xkypfpync8mn2sa5cmpqjlvrhwz5nqgepyg8",FM_SC:s,DR_SC:r,KG_SC:n,Staking_SC:"erd1qqqqqqqqqqqqqpgqvpkd3g3uwludduv3797j54qt6c888wa59w2shntt6z",Manager_SC:"erd1qqqqqqqqqqqqqpgqg9fa0dmpn8fu3fnleeqn5zt8rl8mdqjkys5s2gtas7",P2P_SC:"erd1qqqqqqqqqqqqqpgq47y8hnct68v6asjv6gxem6h9rumn9frzah0skhxxt6"}:{mediaUrl:"https://devnet-media.xoxno.com",gatewayUrl:"https://devnet-gateway.xoxno.com",XO_SC:"erd1qqqqqqqqqqqqqpgql0dnz6n5hpuw8cptlt00khd0nn4ja8eadsfq2xrqw4",FM_SC:s,DR_SC:r,KG_SC:n,Staking_SC:"erd1qqqqqqqqqqqqqpgqsc5hnewwpep8qq0d7kjjzrquapuucrygah0s85zres",Manager_SC:"erd1qqqqqqqqqqqqqpgqluclyhfsa2uw7q9cjwd8knk989hg57u8ah0slq2nlr",P2P_SC:"erd1qqqqqqqqqqqqqpgqfja7ukpngrun78ueq583l0vd6aj4ekhrah0sa9wyrv"}}static init({apiUrl:e=i,apiKey:t="",chain:a=o.MAINNET}={}){if(null==d.instance||null==d.instance){if(a==o.DEVNET)return d.instance=new d(e??"https://devnet-api.xoxno.com",t,a),d.instance;d.instance=new d(e,t,a)}return d.instance}static getInstance(){if(null==d.instance||null==d.instance)throw new Error("XOXNOClient is not initialized");return d.instance}fetchWithTimeout=async(e,t={},a=4e4)=>{const i={"Accept-Encoding":"gzip,deflate,br",Referer:"https://xoxno.sdk","User-Agent":"XOXNO/1.0/SDK",..."POST"===t.method?{"Content-Type":"application/json"}:{},...t.headers??{}},s=`${"string"==typeof e&&e.startsWith("/")?`${this.apiUrl}${e}`:e}${t.params?"?"+Object.keys(t.params).map((e=>`${e}=${encodeURIComponent(t.params[e])}`)).join("&"):""}`,r=new AbortController;setTimeout((()=>r.abort()),a);const n=await fetch(s,{...t,...t?.next&&t.next.revalidate?{}:{cache:"no-store"},signal:r.signal,...Object.keys(i).length?{headers:i}:{},method:t.method??"GET"});if(!n.ok)throw new Error((await n.json()).message.toString());return n.json()}}}}]);