@xoxno/sdk-js 0.1.129-alpha → 0.1.131-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.
@@ -0,0 +1,100 @@
1
+ /*!
2
+ * The buffer module from node.js, for the browser.
3
+ *
4
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
5
+ * @license MIT
6
+ */
7
+
8
+ /*!
9
+ * The buffer module from node.js, for the browser.
10
+ *
11
+ * @author Feross Aboukhadijeh <https://feross.org>
12
+ * @license MIT
13
+ */
14
+
15
+ /*!
16
+ * fill-range <https://github.com/jonschlinkert/fill-range>
17
+ *
18
+ * Copyright (c) 2014-present, Jon Schlinkert.
19
+ * Licensed under the MIT License.
20
+ */
21
+
22
+ /*!
23
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
24
+ *
25
+ * Copyright (c) 2014-2016, Jon Schlinkert.
26
+ * Licensed under the MIT License.
27
+ */
28
+
29
+ /*!
30
+ * is-number <https://github.com/jonschlinkert/is-number>
31
+ *
32
+ * Copyright (c) 2014-present, Jon Schlinkert.
33
+ * Released under the MIT License.
34
+ */
35
+
36
+ /*!
37
+ * normalize-path <https://github.com/jonschlinkert/normalize-path>
38
+ *
39
+ * Copyright (c) 2014-2018, Jon Schlinkert.
40
+ * Released under the MIT License.
41
+ */
42
+
43
+ /*!
44
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
45
+ *
46
+ * Copyright (c) 2015-present, Jon Schlinkert.
47
+ * Released under the MIT License.
48
+ */
49
+
50
+ /*! https://mths.be/cssesc v3.0.0 by @mathias */
51
+
52
+ /*! https://mths.be/punycode v1.4.1 by @mathias */
53
+
54
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
55
+
56
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
57
+
58
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
59
+
60
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
61
+
62
+ /**
63
+ * @license React
64
+ * react-dom-server-legacy.browser.production.min.js
65
+ *
66
+ * Copyright (c) Facebook, Inc. and its affiliates.
67
+ *
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ */
71
+
72
+ /**
73
+ * @license React
74
+ * react-dom-server.browser.production.min.js
75
+ *
76
+ * Copyright (c) Facebook, Inc. and its affiliates.
77
+ *
78
+ * This source code is licensed under the MIT license found in the
79
+ * LICENSE file in the root directory of this source tree.
80
+ */
81
+
82
+ /**
83
+ * @license React
84
+ * react-jsx-runtime.production.min.js
85
+ *
86
+ * Copyright (c) Facebook, Inc. and its affiliates.
87
+ *
88
+ * This source code is licensed under the MIT license found in the
89
+ * LICENSE file in the root directory of this source tree.
90
+ */
91
+
92
+ /**
93
+ * @license React
94
+ * react.production.min.js
95
+ *
96
+ * Copyright (c) Facebook, Inc. and its affiliates.
97
+ *
98
+ * This source code is licensed under the MIT license found in the
99
+ * LICENSE file in the root directory of this source tree.
100
+ */
@@ -0,0 +1 @@
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 ADDED
@@ -0,0 +1 @@
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()}}}}]);