diff --git a/dist/components/AutoConnectHandler.d.ts b/dist/components/AutoConnectHandler.d.ts index 75e5eb7..4b6aad4 100644 --- a/dist/components/AutoConnectHandler.d.ts +++ b/dist/components/AutoConnectHandler.d.ts @@ -1,4 +1,4 @@ -import { WalletConnection } from "@delphi-labs/shuttle"; +import { WalletConnection } from "@delphi-labs/shuttle-react"; import { ChainInfoID } from "src/enums"; interface Props { setConnected: () => void; diff --git a/dist/components/AutoConnectHandler.d.ts.map b/dist/components/AutoConnectHandler.d.ts.map index 65d7f8a..6f60967 100644 --- a/dist/components/AutoConnectHandler.d.ts.map +++ b/dist/components/AutoConnectHandler.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"AutoConnectHandler.d.ts","sourceRoot":"","sources":["../../src/components/AutoConnectHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,UAAU,KAAK;IACb,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,kBAAkB,EAAE,CAAC,YAAY,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC5D,OAAO,EAAE,WAAW,CAAA;CACrB;AAED,QAAA,MAAM,kBAAkB,mDAIrB,KAAK,SAuBP,CAAA;AAED,eAAe,kBAAkB,CAAA"} \ No newline at end of file +{"version":3,"file":"AutoConnectHandler.d.ts","sourceRoot":"","sources":["../../src/components/AutoConnectHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,UAAU,KAAK;IACb,YAAY,EAAE,MAAM,IAAI,CAAA;IACxB,kBAAkB,EAAE,CAAC,YAAY,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAC5D,OAAO,EAAE,WAAW,CAAA;CACrB;AAED,QAAA,MAAM,kBAAkB,mDAIrB,KAAK,SA8BP,CAAA;AAED,eAAe,kBAAkB,CAAA"} \ No newline at end of file diff --git a/dist/components/ConnectedHandler.d.ts b/dist/components/ConnectedHandler.d.ts index 3e4a3a2..05aedbf 100644 --- a/dist/components/ConnectedHandler.d.ts +++ b/dist/components/ConnectedHandler.d.ts @@ -1,4 +1,4 @@ -import { WalletConnection } from "@delphi-labs/shuttle"; +import { WalletConnection } from "@delphi-labs/shuttle-react"; import { ChainInfoID } from "src/enums"; interface Props { setConnectedWallet: (recentWallet: WalletConnection | undefined) => void; diff --git a/dist/components/ConnectedHandler.d.ts.map b/dist/components/ConnectedHandler.d.ts.map index 81d2ee5..60865c9 100644 --- a/dist/components/ConnectedHandler.d.ts.map +++ b/dist/components/ConnectedHandler.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ConnectedHandler.d.ts","sourceRoot":"","sources":["../../src/components/ConnectedHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,UAAU,KAAK;IACb,kBAAkB,EAAE,CAAC,YAAY,EAAE,gBAAgB,GAAG,SAAS,KAAK,IAAI,CAAA;IACxE,OAAO,EAAE,WAAW,CAAA;IACpB,eAAe,CAAC,EAAE,gBAAgB,CAAA;CACnC;AAED,QAAA,MAAM,gBAAgB,sDAInB,KAAK,SAeP,CAAA;AAED,eAAe,gBAAgB,CAAA"} \ No newline at end of file +{"version":3,"file":"ConnectedHandler.d.ts","sourceRoot":"","sources":["../../src/components/ConnectedHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,UAAU,KAAK;IACb,kBAAkB,EAAE,CAAC,YAAY,EAAE,gBAAgB,GAAG,SAAS,KAAK,IAAI,CAAA;IACxE,OAAO,EAAE,WAAW,CAAA;IACpB,eAAe,CAAC,EAAE,gBAAgB,CAAA;CACnC;AAED,QAAA,MAAM,gBAAgB,sDAInB,KAAK,SAeP,CAAA;AAED,eAAe,gBAAgB,CAAA"} \ No newline at end of file diff --git a/dist/components/WalletManagerContext.d.ts b/dist/components/WalletManagerContext.d.ts index 29198b0..4548cda 100644 --- a/dist/components/WalletManagerContext.d.ts +++ b/dist/components/WalletManagerContext.d.ts @@ -1,59 +1,12 @@ /// import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate"; -import { MsgExecuteContract } from "@delphi-labs/shuttle"; +import { MsgExecuteContract, useShuttle } from "@delphi-labs/shuttle-react"; import { ChainInfoID } from "../enums"; import { BalancesResponse, IWalletManagerContext } from "../types"; declare const fetchBalances: (address: string, chainId: ChainInfoID) => Promise; declare const WalletManagerContext: import("react").Context; declare const useWalletManager: () => IWalletManagerContext; -declare const useWallet: () => { - providers: import("@delphi-labs/shuttle").WalletProvider[]; - mobileProviders: import("@delphi-labs/shuttle").MobileWalletProvider[]; - mobileConnect: (options: { - mobileProviderId: string; - chainId: string; - callback?: ((walletConnection: import("@delphi-labs/shuttle").WalletConnection) => void) | undefined; - }) => Promise; - connect: (options: { - providerId: string; - chainId: string; - }) => Promise; - wallets: import("@delphi-labs/shuttle").WalletConnection[]; - getWallets: (filters?: { - providerId?: string | undefined; - chainId?: string | undefined; - } | undefined) => import("@delphi-labs/shuttle").WalletConnection[]; - recentWallet: import("@delphi-labs/shuttle").WalletConnection | null; - disconnect: (filters?: { - providerId?: string | undefined; - chainId?: string | undefined; - } | undefined) => void; - disconnectWallet: (wallet: import("@delphi-labs/shuttle").WalletConnection) => void; - simulate: (options: { - messages: import("@delphi-labs/shuttle").TransactionMsg[]; - wallet?: import("@delphi-labs/shuttle").WalletConnection | null | undefined; - }) => Promise; - broadcast: (options: { - messages: import("@delphi-labs/shuttle").TransactionMsg[]; - wallet?: import("@delphi-labs/shuttle").WalletConnection | null | undefined; - feeAmount?: string | null | undefined; - gasLimit?: string | null | undefined; - memo?: string | null | undefined; - mobile?: boolean | undefined; - overrides?: { - rpc?: string | undefined; - rest?: string | undefined; - } | undefined; - }) => Promise; - sign: (options: { - messages: import("@delphi-labs/shuttle").TransactionMsg[]; - feeAmount?: string | null | undefined; - gasLimit?: string | null | undefined; - memo?: string | null | undefined; - wallet?: import("@delphi-labs/shuttle").WalletConnection | null | undefined; - mobile?: boolean | undefined; - }) => Promise; -}; +declare const useWallet: typeof useShuttle; declare const getClient: (rpc: string) => Promise; export { fetchBalances, getClient, MsgExecuteContract, useWallet, useWalletManager, WalletManagerContext, }; //# sourceMappingURL=WalletManagerContext.d.ts.map \ No newline at end of file diff --git a/dist/components/WalletManagerContext.d.ts.map b/dist/components/WalletManagerContext.d.ts.map index edb9f2d..0794c12 100644 --- a/dist/components/WalletManagerContext.d.ts.map +++ b/dist/components/WalletManagerContext.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"WalletManagerContext.d.ts","sourceRoot":"","sources":["../../src/components/WalletManagerContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAc,MAAM,sBAAsB,CAAA;AAGrE,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAGlE,QAAA,MAAM,aAAa,YACR,MAAM,WACN,WAAW,KACnB,QAAQ,gBAAgB,GAAG,SAAS,CAEtC,CAAA;AAED,QAAA,MAAM,oBAAoB,uDAAoD,CAAA;AAE9E,QAAA,MAAM,gBAAgB,6BAOrB,CAAA;AAED,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAA;AAE5B,QAAA,MAAM,SAAS,QAAe,MAAM,4BAKnC,CAAA;AAED,OAAO,EACL,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,oBAAoB,GACrB,CAAA"} \ No newline at end of file +{"version":3,"file":"WalletManagerContext.d.ts","sourceRoot":"","sources":["../../src/components/WalletManagerContext.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAG3E,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAGlE,QAAA,MAAM,aAAa,YACR,MAAM,WACN,WAAW,KACnB,QAAQ,gBAAgB,GAAG,SAAS,CAEtC,CAAA;AAED,QAAA,MAAM,oBAAoB,uDAAoD,CAAA;AAE9E,QAAA,MAAM,gBAAgB,6BAOrB,CAAA;AAED,QAAA,MAAM,SAAS,mBAAa,CAAA;AAE5B,QAAA,MAAM,SAAS,QAAe,MAAM,4BAKnC,CAAA;AAED,OAAO,EACL,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,oBAAoB,GACrB,CAAA"} \ No newline at end of file diff --git a/dist/components/ui/SelectWalletModal.d.ts.map b/dist/components/ui/SelectWalletModal.d.ts.map index e59f113..ac73ce3 100644 --- a/dist/components/ui/SelectWalletModal.d.ts.map +++ b/dist/components/ui/SelectWalletModal.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SelectWalletModal.d.ts","sourceRoot":"","sources":["../../../src/components/ui/SelectWalletModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAA;AAIvE,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAY,MAAM,aAAa,CAAA;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAA;AAGvD,UAAU,KAAM,SAAQ,cAAc;IACpC,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE,WAAW,CAAA;IACpB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAA;IACnD,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,MAAM,EAAE,sBAAsB,CAAA;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,KAAK,CAiRtD,CAAA"} \ No newline at end of file +{"version":3,"file":"SelectWalletModal.d.ts","sourceRoot":"","sources":["../../../src/components/ui/SelectWalletModal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAA;AAIvE,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAY,MAAM,aAAa,CAAA;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAA;AAGvD,UAAU,KAAM,SAAQ,cAAc;IACpC,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE,WAAW,CAAA;IACpB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,CAAC,MAAM,EAAE,sBAAsB,KAAK,IAAI,CAAA;IACnD,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,MAAM,EAAE,sBAAsB,CAAA;CAC/B;AAED,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,CAAC,KAAK,CAwRtD,CAAA"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 22780c0..0375209 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("@marsprotocol/wallet-connector",[],t):"object"==typeof exports?exports["@marsprotocol/wallet-connector"]=t():e["@marsprotocol/wallet-connector"]=t()}(this,(()=>(()=>{"use strict";var e={838:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=n(857),l=n(689);t.default=({setConnected:e,setConnectedWallet:t,chainId:n})=>{const{connect:a,providers:i,wallets:s}=(0,o.useShuttle)();return(0,l.useEffect)((()=>{if(null===s)return;const o=s.find((e=>e.network.chainId===n));if(!o)return;const l=i.find((e=>e.id===o.providerId));(null==l?void 0:l.initialized)&&l.connect({chainId:o.network.chainId}).then((()=>{e(),t(o)}))}),[a,s,i,e,t,n]),null}},650:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=n(857),l=n(689);t.default=({setConnectedWallet:e,chainId:t,connectedWallet:n})=>{const{wallets:a,recentWallet:i}=(0,o.useShuttle)();return(0,l.useEffect)((()=>{if(null===a||!i)return;if((null==n?void 0:n.account.address)===i.account.address)return;const o=i.network.chainId===t?i:a.find((e=>e.network.chainId===t));e(o)}),[a,i,e,t,n]),null}},200:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=n(857);t.default=({setDisconnected:e,setConnectedWallet:t,chainId:n})=>{const{disconnectWallet:l,disconnect:a,wallets:i}=(0,o.useShuttle)(),s=null==i?void 0:i.find((e=>e.network.chainId===n));return s?l(s):a(),t(),e(),null}},310:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalletManagerContext=t.useWalletManager=t.useWallet=t.MsgExecuteContract=t.getClient=t.fetchBalances=void 0;const o=n(799),l=n(857);Object.defineProperty(t,"MsgExecuteContract",{enumerable:!0,get:function(){return l.MsgExecuteContract}});const a=n(689),i=n(928);t.fetchBalances=async(e,t)=>await(0,i.getWalletBalances)(e,t);const s=(0,a.createContext)(null);t.WalletManagerContext=s,t.useWalletManager=()=>{const e=(0,a.useContext)(s);if(!e)throw new Error("You forgot to use WalletManagerProvider.");return e};const r=l.useShuttle;t.useWallet=r,t.getClient=async e=>{const t="/"===e.slice(-1)?e:`${e}/`;return await o.CosmWasmClient.connect(t)}},461:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WalletManagerProvider=void 0;const l=n(997),a=n(857),i=n(689),s=n(900),r=n(928),c=o(n(838)),d=o(n(650)),p=o(n(200)),u=n(788),m=n(24),h=n(302),f=n(310);t.WalletManagerProvider=({children:e,chainInfoOverrides:t,classNames:n,closeIcon:o,chainIds:g,defaultChainId:b,enabledWallets:C,enablingStringOverride:v,persistent:I=!1,renderLoader:y,selectWalletOverride:x,noWalletsOverride:w,scanQRCodeOverride:W,stationWalletTutorial:S,walletMetaOverride:O})=>{const[j,D]=(0,i.useState)(!1),[M,P]=(0,i.useState)([]),[_,k]=(0,i.useState)(s.WalletConnectionStatus.Unconnected),[N,E]=(0,i.useState)(),[T,B]=(0,i.useState)(),[A,R]=(0,i.useState)(),U=g.map((e=>(0,r.getChainInfo)(e,t))),L=(0,r.getEnabledWallets)(r.wallets,C,O),F=(e=>{const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e})),t.current})(b);(0,i.useEffect)((()=>{!T&&L&&U&&B((0,r.getWalletProviders)(L,U))}),[L,U,T]),(0,i.useEffect)((()=>{!A&&L&&U&&R((0,r.getMobileProviders)(L,U))}),[L,U,A]),(0,i.useEffect)((()=>{k(N?s.WalletConnectionStatus.Connected:I?s.WalletConnectionStatus.AutoConnect:s.WalletConnectionStatus.Unconnected)}),[b,I,N]),(0,i.useEffect)((()=>{if(_!==s.WalletConnectionStatus.Unconnected&&_!==s.WalletConnectionStatus.AutoConnect||!I)return;const e=localStorage.getItem("shuttle");null!==e&&"[]"!==e&&k(s.WalletConnectionStatus.AutoConnect)}),[]),(0,i.useEffect)((()=>{if(!T||F===b&&M.length>0)return;const e=[];L.forEach((t=>{const n=T.find((e=>e.id===t.id));t.supportedChains.includes(b)&&e.push(Object.assign(Object.assign({},t),{installed:(null==n?void 0:n.initialized)||(null==n?void 0:n.initializing)}))})),P(e),I&&k(s.WalletConnectionStatus.AutoConnect)}),[T,L,I,M.length,b,F]);const z=(0,i.useCallback)((()=>{D(!0)}),[]),K=(0,i.useCallback)((()=>k(s.WalletConnectionStatus.Disconnecting)),[]),H=(0,i.useCallback)((e=>k(e)),[]),G=(0,i.useMemo)((()=>({connect:z,disconnect:K,connectedWallet:N,status:_})),[z,K,N,_]),q=()=>{k(s.WalletConnectionStatus.Retry)};return T?(0,l.jsx)(a.ShuttleProvider,Object.assign({mobileProviders:null!=A?A:[],persistent:I,providers:T},{children:(0,l.jsxs)(f.WalletManagerContext.Provider,Object.assign({value:G},{children:[_===s.WalletConnectionStatus.AutoConnect&&(0,l.jsx)(c.default,{chainId:b,setConnected:()=>k(s.WalletConnectionStatus.Connected),setConnectedWallet:E}),_===s.WalletConnectionStatus.Disconnecting&&(0,l.jsx)(p.default,{chainId:b,setConnectedWallet:()=>E(void 0),setDisconnected:()=>k(s.WalletConnectionStatus.Unconnected)}),_===s.WalletConnectionStatus.Connected&&(0,l.jsx)(d.default,{chainId:b,connectedWallet:N,setConnectedWallet:E}),e,(0,l.jsx)(u.SelectWalletModal,{chainId:b,classNames:n,closeIcon:o,closeModal:()=>{_===s.WalletConnectionStatus.WalletConnect&&k(s.WalletConnectionStatus.Unconnected),D(!1)},isOpen:j,noWalletsOverride:w,onClose:()=>D(!1),scanQRCodeOverride:W,selectWalletOverride:x,setStatus:H,status:_,wallets:M}),(0,l.jsx)(m.EnablingWalletModal,{classNames:n,closeIcon:o,enablingStringOverride:v,isOpen:_===s.WalletConnectionStatus.Connecting,onClose:()=>{k(s.WalletConnectionStatus.Unconnected),D(!0)},renderLoader:y,reset:q}),(0,l.jsx)(h.StationWalletErrorModal,{classNames:n,closeIcon:o,isOpen:_===s.WalletConnectionStatus.StationWalletError,onClose:()=>{k(s.WalletConnectionStatus.Unconnected),D(!0)},renderLoader:y,reset:q,stationWalletTutorial:S})]}))})):null}},740:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),l(n(788),t),l(n(310),t),l(n(461),t)},950:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseModal=void 0;const l=n(997),a=n(689),i=o(n(931)),s=n(590),r=n(794);t.BaseModal=({isOpen:e,onClose:t,title:n,classNames:o,closeIcon:c,children:d})=>{var p,u;return(0,a.useEffect)((()=>{i.default.setAppElement("body")}),[]),(0,l.jsx)(i.default,Object.assign({ariaHideApp:!1,className:null!==(p=null==o?void 0:o.modalContent)&&void 0!==p?p:"_",contentElement:(e,t)=>(0,l.jsx)("div",Object.assign({style:r.baseModalStyles.modalContent},e,{children:t})),isOpen:e,onRequestClose:e=>{e.preventDefault(),null==t||t()},overlayClassName:null!==(u=null==o?void 0:o.modalOverlay)&&void 0!==u?u:"_",overlayElement:(e,t)=>(0,l.jsx)("div",Object.assign({style:r.baseModalStyles.modalOverlay},e,{children:t})),style:{overlay:(null==o?void 0:o.modalOverlay)?void 0:r.baseModalStyles.modalOverlay,content:(null==o?void 0:o.modalContent)?void 0:r.baseModalStyles.modalContent}},{children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",Object.assign({className:null==o?void 0:o.modalHeader,style:(null==o?void 0:o.modalHeader)?void 0:r.baseModalStyles.modalHeader},{children:n})),t&&(0,l.jsx)("div",Object.assign({className:null==o?void 0:o.modalCloseButton,onClick:t,style:(null==o?void 0:o.modalCloseButton)?void 0:r.baseModalStyles.modalCloseButton},{children:c||(0,l.jsx)(s.CloseIcon,{height:26,width:26})})),d]})}))}},590:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;const o=n(997);t.CloseIcon=e=>(0,o.jsx)("svg",Object.assign({fill:"none",height:e.width||24,style:{display:"block"},viewBox:"0 0 16 16",width:e.width||24,xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,o.jsx)("path",{clipRule:"evenodd",d:"m9.893 11.674-1.9-1.9-1.902 1.902c-.451.451-1.176.452-1.627.002a1.16 1.16 0 0 1-.01-1.638l1.903-1.902L4.47 6.249a1.16 1.16 0 0 1-.01-1.637 1.164 1.164 0 0 1 1.648-.001l1.889 1.888 1.902-1.902a1.16 1.16 0 0 1 1.638.01c.45.45.45 1.175-.002 1.626L9.632 8.135l1.9 1.9c.45.45.46 1.186-.002 1.648a1.16 1.16 0 0 1-1.637-.01Z",fill:"currentColor",fillOpacity:.95,fillRule:"evenodd"})}))},24:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l{var{isOpen:t,classNames:n,renderLoader:r,enablingStringOverride:c,reset:d}=e,p=o(e,["isOpen","classNames","renderLoader","enablingStringOverride","reset"]);const[u,m]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{if(!t)return void m(!1);const e=setTimeout((()=>m(!0)),8e3);return()=>clearTimeout(e)}),[t,m]),(0,l.jsx)(i.BaseModal,Object.assign({classNames:n,isOpen:t,maxWidth:"540px",title:c||"Enabling Wallet..."},p,{children:(0,l.jsxs)("div",Object.assign({style:s.modalStyles.body},{children:[r&&r(),u&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",Object.assign({style:s.modalStyles.text},{children:"If nothing shows up in your wallet try to connect again, by clicking on the button below. Refresh the page if the problem persists."})),(0,l.jsx)("button",Object.assign({onClick:d,style:s.modalStyles.button},{children:"Reset Connection"}))]})]}))}))}},157:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l{var{wallets:t,chainId:n,closeModal:l,classNames:m,noWalletsOverride:h,selectWalletOverride:f,scanQRCodeOverride:g,setStatus:b,status:C}=e,v=o(e,["wallets","chainId","closeModal","classNames","noWalletsOverride","selectWalletOverride","scanQRCodeOverride","setStatus","status"]);const{connect:I,mobileConnect:y}=(0,i.useShuttle)(),[x,w]=(0,s.useState)(),[W,S]=(0,s.useState)(),[O,j]=(0,s.useState)(),D=C===d.WalletConnectionStatus.Connecting,M=C===d.WalletConnectionStatus.Connected,P=C===d.WalletConnectionStatus.AutoConnect,_=C===d.WalletConnectionStatus.WalletConnect,k=C===d.WalletConnectionStatus.Retry,N=()=>{w(void 0)},E=async(e,t,n)=>{S(e);let o=!0;if("app"!==n){const n=setTimeout((()=>b(d.WalletConnectionStatus.Connecting)),500);try{l(),await I({providerId:e,chainId:t})}catch(n){n&&(console.error("Connecting with:",{providerId:e,chainId:t}),console.error("Wallet Connector: ",n),o=!1)}clearTimeout(n),b(o?d.WalletConnectionStatus.Connected:e===d.WalletID.StationWallet?d.WalletConnectionStatus.StationWalletError:d.WalletConnectionStatus.Errored)}else try{const n=await y({mobileProviderId:e,chainId:t,callback:()=>{l()}});r.isDesktop?(b(d.WalletConnectionStatus.WalletConnect),j(n.walletconnectUrl)):(b(d.WalletConnectionStatus.Connecting),r.isAndroid?window.location.href=n.androidUrl:r.isIOS?window.location.href=n.iosUrl:window.location.href=n.androidUrl)}catch(n){n&&(console.error("Connecting with:",{providerId:e,chainId:t}),console.error("Wallet Connector: ",n),o=!1)}};(0,s.useEffect)((()=>{M||P||D||k&&W&&E(W,n,"extension")}),[n,M,D,P,k,W]);const T=e=>{const t="app"===e.type,o=t&&r.isDesktop;return(0,a.jsx)("div",{children:(0,a.jsxs)("div",Object.assign({className:null==m?void 0:m.wallet,onClick:t=>{t.preventDefault(),w(void 0),e.installed||"app"===e.type?E(e.id,n,e.type):(window.open(e.installURL,"_blank"),l())},onMouseEnter:()=>{var t;t=e.id,w(t)},onMouseLeave:N,style:(null==m?void 0:m.wallet)?void 0:x===e.id?Object.assign(Object.assign({},u.selectWalletStyles.wallet),u.selectWalletStyles.walletHover):u.selectWalletStyles.wallet},{children:[(0,a.jsx)("img",{alt:`${e.name} logo`,className:null==m?void 0:m.walletImage,src:o?e.mobileImageUrl:e.imageUrl,style:(null==m?void 0:m.walletImage)?void 0:u.selectWalletStyles.walletIconImg}),(0,a.jsxs)("div",Object.assign({className:null==m?void 0:m.walletInfo,style:(null==m?void 0:m.walletInfo)?void 0:u.selectWalletStyles.walletInfo},{children:[(0,a.jsx)("div",Object.assign({className:null==m?void 0:m.walletName,style:(null==m?void 0:m.walletName)?void 0:u.selectWalletStyles.walletName},{children:o?e.walletConnect:t||e.installed?e.name:e.install})),(0,a.jsx)("div",Object.assign({className:null==m?void 0:m.walletDescription,style:(null==m?void 0:m.walletDescription)?void 0:u.selectWalletStyles.walletDescription},{children:t||e.installed?e.description:e.installURL}))]}))]}),e.id)},e.id)},B=(0,s.useMemo)((()=>t.filter((e=>r.isDesktop||"app"===e.type)).sort(((e,t)=>e.installed===t.installed?0:e.installed?-1:1))),[t]),A=(0,s.useMemo)((()=>t.filter((e=>e.installed))),[t]);return B.length?(0,a.jsx)(p.BaseModal,Object.assign({classNames:m,title:_?g||"Scan QR Code to Connect":f||"Select a wallet"},v,{children:_?(0,a.jsx)("div",Object.assign({className:null==m?void 0:m.walletConnect,style:(null==m?void 0:m.walletConnect)?void 0:u.selectWalletStyles.walletConnect},{children:O&&(0,a.jsx)(c.default,{bgColor:"transparent",className:null==m?void 0:m.walletConnectQR,fgColor:"##fff",style:(null==m?void 0:m.walletConnectQR)?void 0:u.selectWalletStyles.walletConnectQR,value:O})})):(0,a.jsx)("div",Object.assign({className:null==m?void 0:m.walletList,style:(null==m?void 0:m.walletList)?void 0:u.selectWalletStyles.walletList},{children:r.isMobile&&A.length?A.map((e=>T(e))):B.map((e=>T(e)))}))})):(0,a.jsx)(p.BaseModal,Object.assign({classNames:m,title:f||"Select a wallet"},v,{children:(0,a.jsx)("p",Object.assign({className:null==m?void 0:m.noneAvailableText,style:(null==m?void 0:m.noneAvailableText)?void 0:u.selectWalletStyles.noneAvailableText},{children:h||"There are currently no wallets supported for your device"}))}))}},302:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l{var{isOpen:t,classNames:n,stationWalletTutorial:s,reset:r}=e,c=o(e,["isOpen","classNames","stationWalletTutorial","reset"]);return(0,l.jsx)(a.BaseModal,Object.assign({classNames:n,isOpen:t,maxWidth:"540px",title:(null==s?void 0:s.headline)?null==s?void 0:s.headline:"Connection Failed"},c,{children:(0,l.jsxs)("div",Object.assign({style:i.modalStyles.body},{children:[(0,l.jsx)("p",Object.assign({style:i.modalStyles.text},{children:(null==s?void 0:s.intro)?null==s?void 0:s.intro:"Connecting to your Station Wallet failed. Potential reasons include:"})),(0,l.jsx)("p",Object.assign({style:i.modalStyles.textSmall},{children:(null==s?void 0:s.wrongNetwork)?null==s?void 0:s.wrongNetwork:"1. You have the wrong network selected. Please make sure to select 'Mainnets' or 'Testnets' by clicking on the gear icon in your Station Wallet interface."})),(0,l.jsx)("p",Object.assign({style:i.modalStyles.textSmall},{children:(null==s?void 0:s.reimportWallet)?null==s?void 0:s.reimportWallet:"2. Your wallet address may use a legacy derivation path. Removing and reimporting it into Station Wallet will add support for BIP44 paths in addition to the 330 cointype without impacting your balances. If you are using a Ledger, remove your Ledger from your Station Wallet and import it again (making sure to click 'yes' on the 'Import Cosmos accounts' page). If you are not using a Ledger, make sure you've backed up your mnemonic phrase. Then, remove your wallet from the extension and re-add it by importing your mnemonic phrase."})),(0,l.jsx)("p",Object.assign({style:i.modalStyles.textSubInfo},{children:(null==s?void 0:s.ready)?null==s?void 0:s.ready:"After trying the suggestions above, please retry the connection."})),(0,l.jsx)("button",Object.assign({onClick:r,style:i.modalStyles.button},{children:(null==s?void 0:s.retry)?null==s?void 0:s.retry:"Retry Connection"}))]}))}))}},794:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.modalStyles=t.selectWalletStyles=t.baseModalStyles=void 0,t.baseModalStyles={modalOverlay:{backgroundColor:"rgba(0, 0, 0, 0.6)",position:"fixed",top:0,left:0,right:0,bottom:0,width:"100vw",height:"100vh",zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",margin:0},modalContent:{width:"540px",maxWidth:"calc(100% - 40px)",position:"absolute",left:"50%",transform:"translateX(-50%)",padding:"16px",border:"7px solid #421f32",borderRadius:"16px",display:"flex",flexDirection:"column",background:"linear-gradient(99.79deg, rgba(8, 11, 30, 0.79) 8.17%, rgba(52, 20, 33, 0.9) 94.54%)",outline:"none",cursor:"auto",maxHeight:"100vh",overflowY:"auto",justifyContent:"center"},modalHeader:{fontSize:"21px",lineHeight:"32px",fontWeight:400,textTransform:"uppercase",letterSpacing:"3px",color:"#FFF",margin:"0 0 16px",width:"100%",textAlign:"center",padding:"0 30px",zIndex:1,position:"relative"},modalCloseButton:{position:"absolute",top:"16px",right:"16px",cursor:"pointer",height:"24px",width:"24px",zIndex:2}},t.selectWalletStyles={walletList:{display:"flex",flexDirection:"column",gap:"16px",padding:"8px 0"},wallet:{background:"rgba(255, 255, 255, 0)",padding:"8px",boxShadow:"none",display:"flex",alignItems:"center",appearance:"none",border:"none",width:"100%",textDecoration:"none",borderRadius:"8px",cursor:"pointer",transition:"all .5s"},walletHover:{background:"rgba(255, 255, 255, 0.1)"},walletDisabled:{pointerEvents:"none",opacity:"0.5"},walletIconImg:{width:"60px",height:"60px"},walletInfo:{display:"flex",flexDirection:"column",marginLeft:"20px",fontWeight:"400"},walletName:{color:"#FFF",lineHeight:"24px",fontSize:"17px",fontWeight:"600",textTransform:"uppercase",letterSpacing:"3px"},walletDescription:{margin:"4px 0 0",color:"rgba(255, 255, 255, 0.4)",textAlign:"left",fontSize:"15px",lineHeight:"20px"},walletConnect:{display:"flex",flex:"0 0 100%",justifyContent:"center",padding:"16px"},walletConnectQR:{backgroundColor:"#FFF",border:"6px solid #FFF",display:"block",height:"265px",width:"265px"},noneAvailableText:{textAlign:"center"}},t.modalStyles={body:{flex:"0 0 100%",display:"flex",justifyContent:"center",flexWrap:"wrap"},text:{width:"100%",textAlign:"center",margin:"0 0 16px"},textSmall:{width:"100%",textAlign:"left",fontSize:"14px",margin:"0 0 16px"},textSubInfo:{width:"100%",textAlign:"center",opacity:".6",fontSize:"14px",margin:"0 0 16px"},button:{appearance:"none",height:"32px",lineHeight:"18px",fontSize:"15px",color:"#FFF",padding:"6px 20px",borderRadius:"30px",outline:"none",border:"none",background:"#14a693",cursor:"pointer"}}},788:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),l(n(950),t),l(n(590),t),l(n(157),t),l(n(794),t)},900:(e,t)=>{var n,o,l;Object.defineProperty(t,"__esModule",{value:!0}),t.ChainInfoID=t.WalletID=t.WalletConnectionStatus=void 0,(l=t.WalletConnectionStatus||(t.WalletConnectionStatus={}))[l.Unconnected=0]="Unconnected",l[l.Connecting=1]="Connecting",l[l.AutoConnect=2]="AutoConnect",l[l.WalletConnect=3]="WalletConnect",l[l.Connected=4]="Connected",l[l.Disconnecting=5]="Disconnecting",l[l.Errored=6]="Errored",l[l.Retry=7]="Retry",l[l.StationWalletError=8]="StationWalletError",(o=t.WalletID||(t.WalletID={})).Cosmostation="cosmostation",o.CosmostationMobile="mobile-cosmostation",o.Falcon="falcon",o.Keplr="keplr",o.KeplrMobile="mobile-keplr",o.Leap="leap-cosmos",o.StationWallet="terra-station",o.StationWalletMobile="mobile-terra-station",o.Xdefi="xfi-cosmos",(n=t.ChainInfoID||(t.ChainInfoID={})).Cosmoshub4="cosmoshub-4",n.Injective1="injective-1",n.Juno1="juno-1",n.Mars1="mars-1",n.MarsAres1="ares-1",n.Neutron="neutron-1",n.NeutronTestnet="pion-1",n.Osmosis1="osmosis-1",n.OsmosisDevnet="devnet",n.OsmosisTestnet="osmo-test-5",n.Stargaze1="stargaze-1"},607:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!=typeof window&&"undefined"!=typeof browser&&void 0===browser.storage&&(browser.storage={local:{get:void 0,set:void 0}}),l(n(740),t),l(n(900),t),l(n(699),t),l(n(928),t)},699:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},287:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getChainInfo=t.SimpleChainInfoList=void 0;const o=n(418),l=n(900);t.SimpleChainInfoList={[l.ChainInfoID.Cosmoshub4]:{rpc:"https://rpc-cosmoshub.keplr.app",rest:"https://lcd-cosmoshub.keplr.app",explorer:"https://www.mintscan.io/cosmos",explorerName:"Mintscan",chainId:l.ChainInfoID.Cosmoshub4,name:"Cosmos Hub",bip44:{coinType:118},bech32Config:o.Bech32Address.defaultBech32Config("cosmos"),feeCurrencies:[{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"}],features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Injective1]:{rpc:"https://public.api.injective.network",rest:"https://public.lcd.injective.network",explorer:"https://mintscan.io/injective",explorerName:"Mintscan",chainId:l.ChainInfoID.Injective1,name:"Injective",bip44:{coinType:60},bech32Config:o.Bech32Address.defaultBech32Config("inj"),gasPrice:"0.0005inj",feeCurrencies:[{coinDenom:"INJ",coinMinimalDenom:"inj",coinDecimals:18,coinGeckoId:"injective-protocol",gasPriceStep:{low:5e-4,average:7e-4,high:9e-4}}],features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Juno1]:{rpc:"https://rpc-juno.itastakers.com",rest:"https://lcd-juno.itastakers.com",explorer:"https://www.mintscan.io/juno",explorerName:"Mintscan",chainId:l.ChainInfoID.Juno1,name:"Juno",bip44:{coinType:118},bech32Config:o.Bech32Address.defaultBech32Config("juno"),feeCurrencies:[{coinDenom:"JUNO",coinMinimalDenom:"ujuno",coinDecimals:6,coinGeckoId:"juno-network",gasPriceStep:{low:.03,average:.04,high:.05}}],features:["ibc-transfer","ibc-go","wasmd_0.24+","cosmwasm"]},[l.ChainInfoID.Mars1]:{rpc:"https://rpc.marsprotocol.io",rest:"https://rest.marsprotocol.io",explorer:"https://explorer.marsprotocol.io",explorerName:"Mars Explorer",chainId:l.ChainInfoID.Mars1,name:"Mars Hub",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],bech32Config:o.Bech32Address.defaultBech32Config("mars"),gasPrice:"0umars",defaultCurrency:{coinDenom:"MARS",coinMinimalDenom:"umars",coinDecimals:6,coinGeckoId:"marsprotocol",gasPriceStep:{low:0,average:.00625,high:.01}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.MarsAres1]:{rpc:"https://testnet-rpc.marsprotocol.io",rest:"https://testnet-rest.marsprotocol.io",explorer:"https://testnet-explorer.marsprotocol.io",explorerName:"Mars Explorer",chainId:l.ChainInfoID.MarsAres1,name:"Mars Hub Testnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],bech32Config:o.Bech32Address.defaultBech32Config("mars"),gasPrice:"0umars",defaultCurrency:{coinDenom:"MARS",coinMinimalDenom:"umars",coinDecimals:6,coinGeckoId:"marsprotocol",gasPriceStep:{low:0,average:.00625,high:.01}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Neutron]:{rpc:"https://rpc-neutron.keplr.app/",rest:"https://lcd-neutron.keplr.app/",explorer:"https://neutron.explorers.guru",explorerName:"Explorer",chainId:l.ChainInfoID.Neutron,name:"Neutron",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025untrn",bech32Config:o.Bech32Address.defaultBech32Config("neutron"),defaultCurrency:{coinDenom:"NTRN",coinMinimalDenom:"untrn",coinDecimals:6,coinGeckoId:"neutron",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.NeutronTestnet]:{rpc:"https://rpc-palvus.pion-1.ntrn.tech/",rest:"https://rest-palvus.pion-1.ntrn.tech/",explorer:"https://explorer.rs-testnet.polypore.xyz/pion-1",explorerName:"PING.PUB",chainId:l.ChainInfoID.NeutronTestnet,name:"Neutron Testnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025untrn",bech32Config:o.Bech32Address.defaultBech32Config("neutron"),defaultCurrency:{coinDenom:"NTRN",coinMinimalDenom:"untrn",coinDecimals:6,coinGeckoId:"neutron",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Osmosis1]:{rpc:"https://rpc-osmosis.blockapsis.com",rest:"https://lcd-osmosis.blockapsis.com",explorer:"https://www.mintscan.io/osmosis",explorerName:"Mintscan",chainId:l.ChainInfoID.Osmosis1,name:"Osmosis",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025uosmo",bech32Config:o.Bech32Address.defaultBech32Config("osmo"),defaultCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.OsmosisDevnet]:{rpc:"https://rpc.devnet.osmosis.zone",rest:"\thttps://lcd.devnet.osmosis.zone",explorer:"https://www.mintscan.io/osmosis",explorerName:"Mintscan",chainId:l.ChainInfoID.OsmosisDevnet,name:"Osmosis Devnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025uosmo",bech32Config:o.Bech32Address.defaultBech32Config("osmo"),defaultCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.OsmosisTestnet]:{rpc:"https://rpc.osmotest5.osmosis.zone",rest:"https://lcd.osmotest5.osmosis.zone",explorer:"https://testnet.mintscan.io/osmosis-testnet",explorerName:"Mintscan",chainId:l.ChainInfoID.OsmosisTestnet,name:"Osmosis Testnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025uosmo",bech32Config:o.Bech32Address.defaultBech32Config("osmo"),defaultCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Stargaze1]:{rpc:"https://rpc.stargaze-apis.com",rest:"https://rest.stargaze-apis.com",explorer:"https://mintscan.io/stargaze",explorerName:"Mintscan",chainId:l.ChainInfoID.Stargaze1,name:"Stargaze",bip44:{coinType:118},bech32Config:o.Bech32Address.defaultBech32Config("stars"),feeCurrencies:[{coinDenom:"STARS",coinMinimalDenom:"ustars",coinDecimals:6,coinGeckoId:"pool:ustars"}],features:["ibc-transfer"]}},t.getChainInfo=(e,n)=>{const o=t.SimpleChainInfoList[e];return n&&o&&Object.keys(n).map((function(e){o[e]=n[e]})),o}},442:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getWalletBalances=void 0;const l=o(n(167)),a=n(928);t.getWalletBalances=async(e,t)=>{const n=(0,a.getChainInfo)(t),o="/"===n.rest.slice(-1)?"cosmos/bank/v1beta1/balances/":"/cosmos/bank/v1beta1/balances/",i=`${n.rest}${o}${e}`;return await(0,l.default)({url:i,method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}}).then((e=>e.data)).catch((e=>console.error(e)))}},823:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ensure=void 0,t.ensure=function(e,t="Can not find value"){if(null==e)throw new TypeError(t);return e}},928:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),l(n(287),t),l(n(442),t),l(n(28),t)},28:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMobileProviders=t.getWalletProviders=t.getEnabledWallets=t.wallets=t.XdefiWallet=t.StationMobileWallet=t.StationWallet=t.LeapWallet=t.KeplrMobileWallet=t.KeplrWallet=t.FalconWallet=t.CosmostationMobileWallet=t.CosmostationWallet=void 0;const o=n(857),l=n(900),a=n(823);t.CosmostationWallet={id:l.WalletID.Cosmostation,name:"Cosmostation Wallet",install:"Install Cosmostation Wallet",installURL:"https://chrome.google.com/webstore/detail/cosmostation-wallet/fpkhgmpbidmiogeglndfbkegfdlnajnf",description:"Cosmostation Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png",provider:o.CosmostationProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.NeutronTestnet,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisDevnet,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.CosmostationMobileWallet={id:l.WalletID.CosmostationMobile,name:"Cosmostation Wallet",walletConnect:"Cosmostation WalletConnect",description:"Cosmostation Mobile App",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png",mobileImageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-connect.png",provider:o.MobileCosmostationProvider,type:"app",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.FalconWallet={id:l.WalletID.Falcon,name:"Falcon Wallet",install:"Install Falcon Wallet",installURL:"https://chrome.google.com/webstore/detail/falcon-wallet/gkhnjcpkikkkfhhdhhphcbhmkikoicgn",description:"Falcon Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/falcon-wallet-extension.png",provider:o.FalconProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Osmosis1]},t.KeplrWallet={id:l.WalletID.Keplr,name:"Keplr Wallet",install:"Install Keplr Wallet",installURL:"https://www.keplr.app/download",description:"Keplr Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png",provider:o.KeplrProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.NeutronTestnet,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisDevnet,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.KeplrMobileWallet={id:l.WalletID.KeplrMobile,name:"Keplr Wallet",walletConnect:"Keplr WalletConnect",description:"Keplr Mobile App",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png",mobileImageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-connect.png",provider:o.MobileKeplrProvider,type:"app",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.Stargaze1]},t.LeapWallet={id:l.WalletID.Leap,name:"Leap Wallet",install:"Install Leap Wallet",installURL:"https://chrome.google.com/webstore/detail/leap-cosmos-wallet/fcfcfllfndlomdhbehjjcoimbgofdncg",description:"Leap Extension",imageUrl:"https://assets.leapwallet.io/logos/leap-cosmos-logo.png",provider:o.LeapCosmosProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.NeutronTestnet,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.StationWallet={id:l.WalletID.StationWallet,name:"Station Wallet",install:"Install Station Wallet",installURL:"https://chrome.google.com/webstore/detail/station-wallet/aiifbnbfobpmeekipheeijimdpnlpgpp",description:"Station Wallet Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png",provider:o.TerraStationProvider,type:"extension",supportedChains:[l.ChainInfoID.Mars1,l.ChainInfoID.Osmosis1]},t.StationMobileWallet={id:l.WalletID.StationWalletMobile,name:"Station Wallet",walletConnect:"Station Wallet WalletConnect",description:"Station Wallet Mobile App",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png",mobileImageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/wallet-connect.png",provider:o.MobileTerraStationProvider,type:"app",supportedChains:[]},t.XdefiWallet={id:l.WalletID.Xdefi,name:"XDEFI Wallet",install:"Install XDEFI Wallet",installURL:"https://go.xdefi.io/mars",description:"XDEFI Extension",imageUrl:"https://xdefi-static.s3.eu-west-1.amazonaws.com/xdefi.png",provider:o.XDEFICosmosProvider,type:"extension",supportedChains:[l.ChainInfoID.Mars1,l.ChainInfoID.Osmosis1]},t.wallets=[t.CosmostationWallet,t.CosmostationMobileWallet,t.FalconWallet,t.KeplrWallet,t.KeplrMobileWallet,t.LeapWallet,t.StationWallet,t.StationMobileWallet,t.XdefiWallet],t.getEnabledWallets=(e,t,n)=>{const o=t.map((t=>(0,a.ensure)(e.find((e=>e.id===t)))));return n&&Object.entries(n).forEach((([e,t])=>{Object.entries(t).forEach((([t,n])=>{o.forEach(((o,l)=>{(null==o?void 0:o.id)===e&&(enabledWalletsFiltered[l][t]=n)}))}))})),o},t.getWalletProviders=(e,t)=>{if(!t)return;const n=[];return e.forEach((e=>{if("extension"===e.type){const o=new e.provider({networks:t});n.push(o)}})),n},t.getMobileProviders=(e,t)=>{if(!t)return;const n=[];return e.forEach((e=>{if("app"===e.type){const o=new e.provider({networks:t});n.push(o)}})),n}},799:e=>{e.exports=require("@cosmjs/cosmwasm-stargate")},857:e=>{e.exports=require("@delphi-labs/shuttle")},418:e=>{e.exports=require("@keplr-wallet/cosmos")},167:e=>{e.exports=require("axios")},689:e=>{e.exports=require("react")},599:e=>{e.exports=require("react-device-detect")},931:e=>{e.exports=require("react-modal")},267:e=>{e.exports=require("react-qr-code")},997:e=>{e.exports=require("react/jsx-runtime")}},t={};return function n(o){var l=t[o];if(void 0!==l)return l.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}(607)})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("@marsprotocol/wallet-connector",[],t):"object"==typeof exports?exports["@marsprotocol/wallet-connector"]=t():e["@marsprotocol/wallet-connector"]=t()}(this,(()=>(()=>{"use strict";var e={838:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=n(736),l=n(689);t.default=({setConnected:e,setConnectedWallet:t,chainId:n})=>{const{connect:a,extensionProviders:i,wallets:s}=(0,o.useShuttle)();return(0,l.useEffect)((()=>{if(null===s)return;const o=s.find((e=>e.network.chainId===n));if(!o)return;const l=i.find((e=>e.id===o.providerId));(null==l?void 0:l.initialized)&&l.connect({chainId:o.network.chainId}).then((()=>{e(),t(o)}))}),[a,s,i,e,t,n]),null}},650:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=n(736),l=n(689);t.default=({setConnectedWallet:e,chainId:t,connectedWallet:n})=>{const{wallets:a,recentWallet:i}=(0,o.useShuttle)();return(0,l.useEffect)((()=>{if(null===a||!i)return;if((null==n?void 0:n.account.address)===i.account.address)return;const o=i.network.chainId===t?i:a.find((e=>e.network.chainId===t));e(o)}),[a,i,e,t,n]),null}},200:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=n(736);t.default=({setDisconnected:e,setConnectedWallet:t,chainId:n})=>{const{disconnectWallet:l,disconnect:a,wallets:i}=(0,o.useShuttle)(),s=null==i?void 0:i.find((e=>e.network.chainId===n));return s?l(s):a(),t(),e(),null}},310:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WalletManagerContext=t.useWalletManager=t.useWallet=t.MsgExecuteContract=t.getClient=t.fetchBalances=void 0;const o=n(799),l=n(736);Object.defineProperty(t,"MsgExecuteContract",{enumerable:!0,get:function(){return l.MsgExecuteContract}});const a=n(689),i=n(928);t.fetchBalances=async(e,t)=>await(0,i.getWalletBalances)(e,t);const s=(0,a.createContext)(null);t.WalletManagerContext=s,t.useWalletManager=()=>{const e=(0,a.useContext)(s);if(!e)throw new Error("You forgot to use WalletManagerProvider.");return e};const r=l.useShuttle;t.useWallet=r,t.getClient=async e=>{const t="/"===e.slice(-1)?e:`${e}/`;return await o.CosmWasmClient.connect(t)}},461:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WalletManagerProvider=void 0;const l=n(997),a=n(736),i=n(689),s=n(900),r=n(928),c=o(n(838)),d=o(n(650)),u=o(n(200)),p=n(788),m=n(24),h=n(302),f=n(310);t.WalletManagerProvider=({children:e,chainInfoOverrides:t,classNames:n,closeIcon:o,chainIds:g,defaultChainId:C,enabledWallets:v,enablingStringOverride:b,persistent:I=!1,renderLoader:y,selectWalletOverride:x,noWalletsOverride:w,scanQRCodeOverride:W,stationWalletTutorial:S,walletMetaOverride:D})=>{const[O,j]=(0,i.useState)(!1),[M,P]=(0,i.useState)([]),[_,k]=(0,i.useState)(s.WalletConnectionStatus.Unconnected),[N,E]=(0,i.useState)(),[T,B]=(0,i.useState)(),[A,R]=(0,i.useState)(),L=g.map((e=>(0,r.getChainInfo)(e,t))),U=(0,r.getEnabledWallets)(r.wallets,v,D),z=(e=>{const t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e})),t.current})(C);(0,i.useEffect)((()=>{!T&&U&&L&&B((0,r.getWalletProviders)(U,L))}),[U,L,T]),(0,i.useEffect)((()=>{!A&&U&&L&&R((0,r.getMobileProviders)(U,L))}),[U,L,A]),(0,i.useEffect)((()=>{k(N?s.WalletConnectionStatus.Connected:I?s.WalletConnectionStatus.AutoConnect:s.WalletConnectionStatus.Unconnected)}),[C,I,N]),(0,i.useEffect)((()=>{if(_!==s.WalletConnectionStatus.Unconnected&&_!==s.WalletConnectionStatus.AutoConnect||!I)return;const e=localStorage.getItem("shuttle-react");null!==e&&"[]"!==e&&k(s.WalletConnectionStatus.AutoConnect)}),[]),(0,i.useEffect)((()=>{if(!T||z===C&&M.length>0)return;const e=[];U.forEach((t=>{const n=T.find((e=>e.id===t.id));t.supportedChains.includes(C)&&e.push(Object.assign(Object.assign({},t),{installed:(null==n?void 0:n.initialized)||(null==n?void 0:n.initializing)}))})),P(e),I&&k(s.WalletConnectionStatus.AutoConnect)}),[T,U,I,M.length,C,z]);const F=(0,i.useCallback)((()=>{j(!0)}),[]),K=(0,i.useCallback)((()=>k(s.WalletConnectionStatus.Disconnecting)),[]),H=(0,i.useCallback)((e=>k(e)),[]),G=(0,i.useMemo)((()=>({connect:F,disconnect:K,connectedWallet:N,status:_})),[F,K,N,_]),q=()=>{k(s.WalletConnectionStatus.Retry)};return T?(0,l.jsx)(a.ShuttleProvider,{extensionProviders:T,mobileProviders:null!=A?A:[],persistent:I,children:(0,l.jsxs)(f.WalletManagerContext.Provider,{value:G,children:[_===s.WalletConnectionStatus.AutoConnect&&(0,l.jsx)(c.default,{chainId:C,setConnected:()=>k(s.WalletConnectionStatus.Connected),setConnectedWallet:E}),_===s.WalletConnectionStatus.Disconnecting&&(0,l.jsx)(u.default,{chainId:C,setConnectedWallet:()=>E(void 0),setDisconnected:()=>k(s.WalletConnectionStatus.Unconnected)}),_===s.WalletConnectionStatus.Connected&&(0,l.jsx)(d.default,{chainId:C,connectedWallet:N,setConnectedWallet:E}),e,(0,l.jsx)(p.SelectWalletModal,{chainId:C,classNames:n,closeIcon:o,closeModal:()=>{_===s.WalletConnectionStatus.WalletConnect&&k(s.WalletConnectionStatus.Unconnected),j(!1)},isOpen:O,noWalletsOverride:w,onClose:()=>j(!1),scanQRCodeOverride:W,selectWalletOverride:x,setStatus:H,status:_,wallets:M}),(0,l.jsx)(m.EnablingWalletModal,{classNames:n,closeIcon:o,enablingStringOverride:b,isOpen:_===s.WalletConnectionStatus.Connecting,onClose:()=>{k(s.WalletConnectionStatus.Unconnected),j(!0)},renderLoader:y,reset:q}),(0,l.jsx)(h.StationWalletErrorModal,{classNames:n,closeIcon:o,isOpen:_===s.WalletConnectionStatus.StationWalletError,onClose:()=>{k(s.WalletConnectionStatus.Unconnected),j(!0)},renderLoader:y,reset:q,stationWalletTutorial:S})]})}):null}},740:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),l(n(788),t),l(n(310),t),l(n(461),t)},950:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseModal=void 0;const l=n(997),a=n(689),i=o(n(931)),s=n(590),r=n(794);t.BaseModal=({isOpen:e,onClose:t,title:n,classNames:o,closeIcon:c,children:d})=>{var u,p;return(0,a.useEffect)((()=>{i.default.setAppElement("body")}),[]),(0,l.jsx)(i.default,{ariaHideApp:!1,className:null!==(u=null==o?void 0:o.modalContent)&&void 0!==u?u:"_",contentElement:(e,t)=>(0,l.jsx)("div",Object.assign({style:r.baseModalStyles.modalContent},e,{children:t})),isOpen:e,onRequestClose:e=>{e.preventDefault(),null==t||t()},overlayClassName:null!==(p=null==o?void 0:o.modalOverlay)&&void 0!==p?p:"_",overlayElement:(e,t)=>(0,l.jsx)("div",Object.assign({style:r.baseModalStyles.modalOverlay},e,{children:t})),style:{overlay:(null==o?void 0:o.modalOverlay)?void 0:r.baseModalStyles.modalOverlay,content:(null==o?void 0:o.modalContent)?void 0:r.baseModalStyles.modalContent},children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:null==o?void 0:o.modalHeader,style:(null==o?void 0:o.modalHeader)?void 0:r.baseModalStyles.modalHeader,children:n}),t&&(0,l.jsx)("div",{className:null==o?void 0:o.modalCloseButton,onClick:t,style:(null==o?void 0:o.modalCloseButton)?void 0:r.baseModalStyles.modalCloseButton,children:c||(0,l.jsx)(s.CloseIcon,{height:26,width:26})}),d]})})}},590:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CloseIcon=void 0;const o=n(997);t.CloseIcon=e=>(0,o.jsx)("svg",Object.assign({fill:"none",height:e.width||24,style:{display:"block"},viewBox:"0 0 16 16",width:e.width||24,xmlns:"http://www.w3.org/2000/svg"},e,{children:(0,o.jsx)("path",{clipRule:"evenodd",d:"m9.893 11.674-1.9-1.9-1.902 1.902c-.451.451-1.176.452-1.627.002a1.16 1.16 0 0 1-.01-1.638l1.903-1.902L4.47 6.249a1.16 1.16 0 0 1-.01-1.637 1.164 1.164 0 0 1 1.648-.001l1.889 1.888 1.902-1.902a1.16 1.16 0 0 1 1.638.01c.45.45.45 1.175-.002 1.626L9.632 8.135l1.9 1.9c.45.45.46 1.186-.002 1.648a1.16 1.16 0 0 1-1.637-.01Z",fill:"currentColor",fillOpacity:.95,fillRule:"evenodd"})}))},24:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l{var{isOpen:t,classNames:n,renderLoader:r,enablingStringOverride:c,reset:d}=e,u=o(e,["isOpen","classNames","renderLoader","enablingStringOverride","reset"]);const[p,m]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{if(!t)return void m(!1);const e=setTimeout((()=>m(!0)),8e3);return()=>clearTimeout(e)}),[t,m]),(0,l.jsx)(i.BaseModal,Object.assign({classNames:n,isOpen:t,maxWidth:"540px",title:c||"Enabling Wallet..."},u,{children:(0,l.jsxs)("div",{style:s.modalStyles.body,children:[r&&r(),p&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{style:s.modalStyles.text,children:"If nothing shows up in your wallet try to connect again, by clicking on the button below. Refresh the page if the problem persists."}),(0,l.jsx)("button",{onClick:d,style:s.modalStyles.button,children:"Reset Connection"})]})]})}))}},157:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l{var{wallets:t,chainId:n,closeModal:l,classNames:m,noWalletsOverride:h,selectWalletOverride:f,scanQRCodeOverride:g,setStatus:C,status:v}=e,b=o(e,["wallets","chainId","closeModal","classNames","noWalletsOverride","selectWalletOverride","scanQRCodeOverride","setStatus","status"]);const{connect:I,mobileConnect:y}=(0,i.useShuttle)(),[x,w]=(0,s.useState)(),[W,S]=(0,s.useState)(),[D,O]=(0,s.useState)(),j=v===d.WalletConnectionStatus.Connecting,M=v===d.WalletConnectionStatus.Connected,P=v===d.WalletConnectionStatus.AutoConnect,_=v===d.WalletConnectionStatus.WalletConnect,k=v===d.WalletConnectionStatus.Retry,N=()=>{w(void 0)},E=async(e,t,n)=>{S(e);let o=!0;if("app"!==n){const n=setTimeout((()=>C(d.WalletConnectionStatus.Connecting)),500);try{l(),await I({extensionProviderId:e,chainId:t})}catch(n){n&&(console.error("Connecting with:",{providerId:e,chainId:t}),console.error("Wallet Connector: ",n),o=!1)}clearTimeout(n),C(o?d.WalletConnectionStatus.Connected:e===d.WalletID.StationWallet?d.WalletConnectionStatus.StationWalletError:d.WalletConnectionStatus.Errored)}else try{const n=await y({mobileProviderId:e,chainId:t,callback:()=>{l()}});r.isDesktop?(C(d.WalletConnectionStatus.WalletConnect),O(n.qrCodeUrl)):(C(d.WalletConnectionStatus.Connecting),r.isAndroid?window.location.href=n.androidUrl:r.isIOS?window.location.href=n.iosUrl:window.location.href=n.androidUrl)}catch(n){n&&(console.error("Connecting with:",{providerId:e,chainId:t}),console.error("Wallet Connector: ",n),o=!1)}};(0,s.useEffect)((()=>{M||P||j||k&&W&&E(W,n,"extension")}),[n,M,j,P,k,W]);const T=e=>{const t="app"===e.type,o=t&&r.isDesktop;return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:null==m?void 0:m.wallet,onClick:t=>{t.preventDefault(),w(void 0),e.installed||"app"===e.type?E(e.id,n,e.type):(window.open(e.installURL,"_blank"),l())},onMouseEnter:()=>{var t;t=e.id,w(t)},onMouseLeave:N,style:(null==m?void 0:m.wallet)?void 0:x===e.id?Object.assign(Object.assign({},p.selectWalletStyles.wallet),p.selectWalletStyles.walletHover):p.selectWalletStyles.wallet,children:[(0,a.jsx)("img",{alt:`${e.name} logo`,className:null==m?void 0:m.walletImage,src:o?e.mobileImageUrl:e.imageUrl,style:(null==m?void 0:m.walletImage)?void 0:p.selectWalletStyles.walletIconImg}),(0,a.jsxs)("div",{className:null==m?void 0:m.walletInfo,style:(null==m?void 0:m.walletInfo)?void 0:p.selectWalletStyles.walletInfo,children:[(0,a.jsx)("div",{className:null==m?void 0:m.walletName,style:(null==m?void 0:m.walletName)?void 0:p.selectWalletStyles.walletName,children:o?e.walletConnect:t||e.installed?e.name:e.install}),(0,a.jsx)("div",{className:null==m?void 0:m.walletDescription,style:(null==m?void 0:m.walletDescription)?void 0:p.selectWalletStyles.walletDescription,children:t||e.installed?e.description:e.installURL})]})]},e.id)},e.id)},B=(0,s.useMemo)((()=>t.filter((e=>r.isDesktop||"app"===e.type)).sort(((e,t)=>e.installed===t.installed?0:e.installed?-1:1))),[t]),A=(0,s.useMemo)((()=>t.filter((e=>e.installed))),[t]);return B.length?(0,a.jsx)(u.BaseModal,Object.assign({classNames:m,title:_?g||"Scan QR Code to Connect":f||"Select a wallet"},b,{children:_?(0,a.jsx)("div",{className:null==m?void 0:m.walletConnect,style:(null==m?void 0:m.walletConnect)?void 0:p.selectWalletStyles.walletConnect,children:D&&(0,a.jsx)(c.default,{bgColor:"transparent",className:null==m?void 0:m.walletConnectQR,fgColor:"##fff",style:(null==m?void 0:m.walletConnectQR)?void 0:p.selectWalletStyles.walletConnectQR,value:D})}):(0,a.jsx)("div",{className:null==m?void 0:m.walletList,style:(null==m?void 0:m.walletList)?void 0:p.selectWalletStyles.walletList,children:r.isMobile&&A.length?A.map((e=>T(e))):B.map((e=>T(e)))})})):(0,a.jsx)(u.BaseModal,Object.assign({classNames:m,title:f||"Select a wallet"},b,{children:(0,a.jsx)("p",{className:null==m?void 0:m.noneAvailableText,style:(null==m?void 0:m.noneAvailableText)?void 0:p.selectWalletStyles.noneAvailableText,children:h||"There are currently no wallets supported for your device"})}))}},302:function(e,t,n){var o=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(o=Object.getOwnPropertySymbols(e);l{var{isOpen:t,classNames:n,stationWalletTutorial:s,reset:r}=e,c=o(e,["isOpen","classNames","stationWalletTutorial","reset"]);return(0,l.jsx)(a.BaseModal,Object.assign({classNames:n,isOpen:t,maxWidth:"540px",title:(null==s?void 0:s.headline)?null==s?void 0:s.headline:"Connection Failed"},c,{children:(0,l.jsxs)("div",{style:i.modalStyles.body,children:[(0,l.jsx)("p",{style:i.modalStyles.text,children:(null==s?void 0:s.intro)?null==s?void 0:s.intro:"Connecting to your Station Wallet failed. Potential reasons include:"}),(0,l.jsx)("p",{style:i.modalStyles.textSmall,children:(null==s?void 0:s.wrongNetwork)?null==s?void 0:s.wrongNetwork:"1. You have the wrong network selected. Please make sure to select 'Mainnets' or 'Testnets' by clicking on the gear icon in your Station Wallet interface."}),(0,l.jsx)("p",{style:i.modalStyles.textSmall,children:(null==s?void 0:s.reimportWallet)?null==s?void 0:s.reimportWallet:"2. Your wallet address may use a legacy derivation path. Removing and reimporting it into Station Wallet will add support for BIP44 paths in addition to the 330 cointype without impacting your balances. If you are using a Ledger, remove your Ledger from your Station Wallet and import it again (making sure to click 'yes' on the 'Import Cosmos accounts' page). If you are not using a Ledger, make sure you've backed up your mnemonic phrase. Then, remove your wallet from the extension and re-add it by importing your mnemonic phrase."}),(0,l.jsx)("p",{style:i.modalStyles.textSubInfo,children:(null==s?void 0:s.ready)?null==s?void 0:s.ready:"After trying the suggestions above, please retry the connection."}),(0,l.jsx)("button",{onClick:r,style:i.modalStyles.button,children:(null==s?void 0:s.retry)?null==s?void 0:s.retry:"Retry Connection"})]})}))}},794:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.modalStyles=t.selectWalletStyles=t.baseModalStyles=void 0,t.baseModalStyles={modalOverlay:{backgroundColor:"rgba(0, 0, 0, 0.6)",position:"fixed",top:0,left:0,right:0,bottom:0,width:"100vw",height:"100vh",zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",margin:0},modalContent:{width:"540px",maxWidth:"calc(100% - 40px)",position:"absolute",left:"50%",transform:"translateX(-50%)",padding:"16px",border:"7px solid #421f32",borderRadius:"16px",display:"flex",flexDirection:"column",background:"linear-gradient(99.79deg, rgba(8, 11, 30, 0.79) 8.17%, rgba(52, 20, 33, 0.9) 94.54%)",outline:"none",cursor:"auto",maxHeight:"100vh",overflowY:"auto",justifyContent:"center"},modalHeader:{fontSize:"21px",lineHeight:"32px",fontWeight:400,textTransform:"uppercase",letterSpacing:"3px",color:"#FFF",margin:"0 0 16px",width:"100%",textAlign:"center",padding:"0 30px",zIndex:1,position:"relative"},modalCloseButton:{position:"absolute",top:"16px",right:"16px",cursor:"pointer",height:"24px",width:"24px",zIndex:2}},t.selectWalletStyles={walletList:{display:"flex",flexDirection:"column",gap:"16px",padding:"8px 0"},wallet:{background:"rgba(255, 255, 255, 0)",padding:"8px",boxShadow:"none",display:"flex",alignItems:"center",appearance:"none",border:"none",width:"100%",textDecoration:"none",borderRadius:"8px",cursor:"pointer",transition:"all .5s"},walletHover:{background:"rgba(255, 255, 255, 0.1)"},walletDisabled:{pointerEvents:"none",opacity:"0.5"},walletIconImg:{width:"60px",height:"60px"},walletInfo:{display:"flex",flexDirection:"column",marginLeft:"20px",fontWeight:"400"},walletName:{color:"#FFF",lineHeight:"24px",fontSize:"17px",fontWeight:"600",textTransform:"uppercase",letterSpacing:"3px"},walletDescription:{margin:"4px 0 0",color:"rgba(255, 255, 255, 0.4)",textAlign:"left",fontSize:"15px",lineHeight:"20px"},walletConnect:{display:"flex",flex:"0 0 100%",justifyContent:"center",padding:"16px"},walletConnectQR:{backgroundColor:"#FFF",border:"6px solid #FFF",display:"block",height:"265px",width:"265px"},noneAvailableText:{textAlign:"center"}},t.modalStyles={body:{flex:"0 0 100%",display:"flex",justifyContent:"center",flexWrap:"wrap"},text:{width:"100%",textAlign:"center",margin:"0 0 16px"},textSmall:{width:"100%",textAlign:"left",fontSize:"14px",margin:"0 0 16px"},textSubInfo:{width:"100%",textAlign:"center",opacity:".6",fontSize:"14px",margin:"0 0 16px"},button:{appearance:"none",height:"32px",lineHeight:"18px",fontSize:"15px",color:"#FFF",padding:"6px 20px",borderRadius:"30px",outline:"none",border:"none",background:"#14a693",cursor:"pointer"}}},788:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),l(n(950),t),l(n(590),t),l(n(157),t),l(n(794),t)},900:(e,t)=>{var n,o,l;Object.defineProperty(t,"__esModule",{value:!0}),t.ChainInfoID=t.WalletID=t.WalletConnectionStatus=void 0,function(e){e[e.Unconnected=0]="Unconnected",e[e.Connecting=1]="Connecting",e[e.AutoConnect=2]="AutoConnect",e[e.WalletConnect=3]="WalletConnect",e[e.Connected=4]="Connected",e[e.Disconnecting=5]="Disconnecting",e[e.Errored=6]="Errored",e[e.Retry=7]="Retry",e[e.StationWalletError=8]="StationWalletError"}(n||(t.WalletConnectionStatus=n={})),function(e){e.Cosmostation="cosmostation",e.CosmostationMobile="mobile-cosmostation",e.Falcon="falcon",e.Keplr="keplr",e.KeplrMobile="mobile-keplr",e.Leap="leap-cosmos",e.StationWallet="terra-station",e.StationWalletMobile="mobile-terra-station",e.Xdefi="xfi-cosmos"}(o||(t.WalletID=o={})),function(e){e.Cosmoshub4="cosmoshub-4",e.Injective1="injective-1",e.Juno1="juno-1",e.Mars1="mars-1",e.MarsAres1="ares-1",e.Neutron="neutron-1",e.NeutronTestnet="pion-1",e.Osmosis1="osmosis-1",e.OsmosisDevnet="devnet",e.OsmosisTestnet="osmo-test-5",e.Stargaze1="stargaze-1"}(l||(t.ChainInfoID=l={}))},607:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),"undefined"!=typeof window&&"undefined"!=typeof browser&&void 0===browser.storage&&(browser.storage={local:{get:void 0,set:void 0}}),l(n(740),t),l(n(900),t),l(n(699),t),l(n(928),t)},699:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},287:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getChainInfo=t.SimpleChainInfoList=void 0;const o=n(418),l=n(900);t.SimpleChainInfoList={[l.ChainInfoID.Cosmoshub4]:{rpc:"https://rpc-cosmoshub.keplr.app",rest:"https://lcd-cosmoshub.keplr.app",explorer:"https://www.mintscan.io/cosmos",explorerName:"Mintscan",chainId:l.ChainInfoID.Cosmoshub4,name:"Cosmos Hub",bip44:{coinType:118},bech32Config:o.Bech32Address.defaultBech32Config("cosmos"),feeCurrencies:[{coinDenom:"ATOM",coinMinimalDenom:"uatom",coinDecimals:6,coinGeckoId:"cosmos"}],features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Injective1]:{rpc:"https://public.api.injective.network",rest:"https://public.lcd.injective.network",explorer:"https://mintscan.io/injective",explorerName:"Mintscan",chainId:l.ChainInfoID.Injective1,name:"Injective",bip44:{coinType:60},bech32Config:o.Bech32Address.defaultBech32Config("inj"),gasPrice:"0.0005inj",feeCurrencies:[{coinDenom:"INJ",coinMinimalDenom:"inj",coinDecimals:18,coinGeckoId:"injective-protocol",gasPriceStep:{low:5e-4,average:7e-4,high:9e-4}}],features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Juno1]:{rpc:"https://rpc-juno.itastakers.com",rest:"https://lcd-juno.itastakers.com",explorer:"https://www.mintscan.io/juno",explorerName:"Mintscan",chainId:l.ChainInfoID.Juno1,name:"Juno",bip44:{coinType:118},bech32Config:o.Bech32Address.defaultBech32Config("juno"),feeCurrencies:[{coinDenom:"JUNO",coinMinimalDenom:"ujuno",coinDecimals:6,coinGeckoId:"juno-network",gasPriceStep:{low:.03,average:.04,high:.05}}],features:["ibc-transfer","ibc-go","wasmd_0.24+","cosmwasm"]},[l.ChainInfoID.Mars1]:{rpc:"https://rpc.marsprotocol.io",rest:"https://rest.marsprotocol.io",explorer:"https://explorer.marsprotocol.io",explorerName:"Mars Explorer",chainId:l.ChainInfoID.Mars1,name:"Mars Hub",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],bech32Config:o.Bech32Address.defaultBech32Config("mars"),gasPrice:"0umars",defaultCurrency:{coinDenom:"MARS",coinMinimalDenom:"umars",coinDecimals:6,coinGeckoId:"marsprotocol",gasPriceStep:{low:0,average:.00625,high:.01}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.MarsAres1]:{rpc:"https://testnet-rpc.marsprotocol.io",rest:"https://testnet-rest.marsprotocol.io",explorer:"https://testnet-explorer.marsprotocol.io",explorerName:"Mars Explorer",chainId:l.ChainInfoID.MarsAres1,name:"Mars Hub Testnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],bech32Config:o.Bech32Address.defaultBech32Config("mars"),gasPrice:"0umars",defaultCurrency:{coinDenom:"MARS",coinMinimalDenom:"umars",coinDecimals:6,coinGeckoId:"marsprotocol",gasPriceStep:{low:0,average:.00625,high:.01}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Neutron]:{rpc:"https://rpc-neutron.keplr.app/",rest:"https://lcd-neutron.keplr.app/",explorer:"https://neutron.explorers.guru",explorerName:"Explorer",chainId:l.ChainInfoID.Neutron,name:"Neutron",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025untrn",bech32Config:o.Bech32Address.defaultBech32Config("neutron"),defaultCurrency:{coinDenom:"NTRN",coinMinimalDenom:"untrn",coinDecimals:6,coinGeckoId:"neutron",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.NeutronTestnet]:{rpc:"https://rpc-palvus.pion-1.ntrn.tech/",rest:"https://rest-palvus.pion-1.ntrn.tech/",explorer:"https://explorer.rs-testnet.polypore.xyz/pion-1",explorerName:"PING.PUB",chainId:l.ChainInfoID.NeutronTestnet,name:"Neutron Testnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025untrn",bech32Config:o.Bech32Address.defaultBech32Config("neutron"),defaultCurrency:{coinDenom:"NTRN",coinMinimalDenom:"untrn",coinDecimals:6,coinGeckoId:"neutron",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Osmosis1]:{rpc:"https://rpc-osmosis.blockapsis.com",rest:"https://lcd-osmosis.blockapsis.com",explorer:"https://www.mintscan.io/osmosis",explorerName:"Mintscan",chainId:l.ChainInfoID.Osmosis1,name:"Osmosis",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025uosmo",bech32Config:o.Bech32Address.defaultBech32Config("osmo"),defaultCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.OsmosisDevnet]:{rpc:"https://rpc.devnet.osmosis.zone",rest:"\thttps://lcd.devnet.osmosis.zone",explorer:"https://www.mintscan.io/osmosis",explorerName:"Mintscan",chainId:l.ChainInfoID.OsmosisDevnet,name:"Osmosis Devnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025uosmo",bech32Config:o.Bech32Address.defaultBech32Config("osmo"),defaultCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.OsmosisTestnet]:{rpc:"https://rpc.osmotest5.osmosis.zone",rest:"https://lcd.osmotest5.osmosis.zone",explorer:"https://testnet.mintscan.io/osmosis-testnet",explorerName:"Mintscan",chainId:l.ChainInfoID.OsmosisTestnet,name:"Osmosis Testnet",bip44:{coinType:118},alternativeBIP44s:[{coinType:330}],gasPrice:"0.025uosmo",bech32Config:o.Bech32Address.defaultBech32Config("osmo"),defaultCurrency:{coinDenom:"OSMO",coinMinimalDenom:"uosmo",coinDecimals:6,coinGeckoId:"osmosis",gasPriceStep:{low:0,average:.025,high:.04}},features:["ibc-transfer","ibc-go"]},[l.ChainInfoID.Stargaze1]:{rpc:"https://rpc.stargaze-apis.com",rest:"https://rest.stargaze-apis.com",explorer:"https://mintscan.io/stargaze",explorerName:"Mintscan",chainId:l.ChainInfoID.Stargaze1,name:"Stargaze",bip44:{coinType:118},bech32Config:o.Bech32Address.defaultBech32Config("stars"),feeCurrencies:[{coinDenom:"STARS",coinMinimalDenom:"ustars",coinDecimals:6,coinGeckoId:"pool:ustars"}],features:["ibc-transfer"]}},t.getChainInfo=(e,n)=>{const o=t.SimpleChainInfoList[e];return n&&o&&Object.keys(n).map((function(e){o[e]=n[e]})),o}},442:function(e,t,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getWalletBalances=void 0;const l=o(n(167)),a=n(928);t.getWalletBalances=async(e,t)=>{const n=(0,a.getChainInfo)(t),o="/"===n.rest.slice(-1)?"cosmos/bank/v1beta1/balances/":"/cosmos/bank/v1beta1/balances/",i=`${n.rest}${o}${e}`;return await(0,l.default)({url:i,method:"GET",headers:{Accept:"application/json","Content-Type":"application/json"}}).then((e=>e.data)).catch((e=>console.error(e)))}},823:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ensure=void 0,t.ensure=function(e,t="Can not find value"){if(null==e)throw new TypeError(t);return e}},928:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var l=Object.getOwnPropertyDescriptor(t,n);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,l)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),l=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),l(n(287),t),l(n(442),t),l(n(28),t)},28:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getMobileProviders=t.getWalletProviders=t.getEnabledWallets=t.wallets=t.XdefiWallet=t.StationWallet=t.LeapWallet=t.KeplrMobileWallet=t.KeplrWallet=t.CosmostationMobileWallet=t.CosmostationWallet=void 0;const o=n(736),l=n(900),a=n(823);t.CosmostationWallet={id:l.WalletID.Cosmostation,name:"Cosmostation Wallet",install:"Install Cosmostation Wallet",installURL:"https://chrome.google.com/webstore/detail/cosmostation-wallet/fpkhgmpbidmiogeglndfbkegfdlnajnf",description:"Cosmostation Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png",provider:o.CosmostationExtensionProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.NeutronTestnet,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisDevnet,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.CosmostationMobileWallet={id:l.WalletID.CosmostationMobile,name:"Cosmostation Wallet",walletConnect:"Cosmostation WalletConnect",description:"Cosmostation Mobile App",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png",mobileImageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-connect.png",provider:o.CosmostationMobileProvider,type:"app",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.KeplrWallet={id:l.WalletID.Keplr,name:"Keplr Wallet",install:"Install Keplr Wallet",installURL:"https://www.keplr.app/download",description:"Keplr Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png",provider:o.KeplrExtensionProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.NeutronTestnet,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisDevnet,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.KeplrMobileWallet={id:l.WalletID.KeplrMobile,name:"Keplr Wallet",walletConnect:"Keplr WalletConnect",description:"Keplr Mobile App",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png",mobileImageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-connect.png",provider:o.KeplrMobileProvider,type:"app",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.Stargaze1]},t.LeapWallet={id:l.WalletID.Leap,name:"Leap Wallet",install:"Install Leap Wallet",installURL:"https://chrome.google.com/webstore/detail/leap-cosmos-wallet/fcfcfllfndlomdhbehjjcoimbgofdncg",description:"Leap Extension",imageUrl:"https://assets.leapwallet.io/logos/leap-cosmos-logo.png",provider:o.LeapCosmosExtensionProvider,type:"extension",supportedChains:[l.ChainInfoID.Cosmoshub4,l.ChainInfoID.Injective1,l.ChainInfoID.Juno1,l.ChainInfoID.Mars1,l.ChainInfoID.MarsAres1,l.ChainInfoID.NeutronTestnet,l.ChainInfoID.Neutron,l.ChainInfoID.Osmosis1,l.ChainInfoID.OsmosisTestnet,l.ChainInfoID.Stargaze1]},t.StationWallet={id:l.WalletID.StationWallet,name:"Station Wallet",install:"Install Station Wallet",installURL:"https://chrome.google.com/webstore/detail/station-wallet/aiifbnbfobpmeekipheeijimdpnlpgpp",description:"Station Wallet Extension",imageUrl:"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png",provider:o.StationExtensionProvider,type:"extension",supportedChains:[l.ChainInfoID.Mars1,l.ChainInfoID.Osmosis1]},t.XdefiWallet={id:l.WalletID.Xdefi,name:"XDEFI Wallet",install:"Install XDEFI Wallet",installURL:"https://go.xdefi.io/mars",description:"XDEFI Extension",imageUrl:"https://xdefi-static.s3.eu-west-1.amazonaws.com/xdefi.png",provider:o.XDEFICosmosExtensionProvider,type:"extension",supportedChains:[l.ChainInfoID.Mars1,l.ChainInfoID.Osmosis1]},t.wallets=[t.CosmostationWallet,t.CosmostationMobileWallet,t.KeplrWallet,t.KeplrMobileWallet,t.LeapWallet,t.StationWallet,t.XdefiWallet],t.getEnabledWallets=(e,t,n)=>{const o=t.map((t=>(0,a.ensure)(e.find((e=>e.id===t)))));return n&&Object.entries(n).forEach((([e,t])=>{Object.entries(t).forEach((([t,n])=>{o.forEach(((o,l)=>{(null==o?void 0:o.id)===e&&(enabledWalletsFiltered[l][t]=n)}))}))})),o},t.getWalletProviders=(e,t)=>{if(!t)return;const n=[];return e.forEach((e=>{if("extension"===e.type){const o=new e.provider({networks:t});n.push(o)}})),n},t.getMobileProviders=(e,t)=>{if(!t)return;const n=[];return e.forEach((e=>{if("app"===e.type){const o=new e.provider({networks:t});n.push(o)}})),n}},799:e=>{e.exports=require("@cosmjs/cosmwasm-stargate")},736:e=>{e.exports=require("@delphi-labs/shuttle-react")},418:e=>{e.exports=require("@keplr-wallet/cosmos")},167:e=>{e.exports=require("axios")},689:e=>{e.exports=require("react")},599:e=>{e.exports=require("react-device-detect")},931:e=>{e.exports=require("react-modal")},267:e=>{e.exports=require("react-qr-code")},997:e=>{e.exports=require("react/jsx-runtime")}},t={};return function n(o){var l=t[o];if(void 0!==l)return l.exports;var a=t[o]={exports:{}};return e[o].call(a.exports,a,a.exports,n),a.exports}(607)})())); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index 326d0b8..82355ec 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,iCAAkC,GAAIH,GACnB,iBAAZC,QACdA,QAAQ,kCAAoCD,IAE5CD,EAAK,kCAAoCC,GAC1C,CATD,CASGK,MAAM,I,yFCTT,eACA,SAsCA,UA7B2B,EACzBC,eACAC,qBACAC,cAEA,MAAM,QAAEC,EAAO,UAAEC,EAAS,QAAEC,IAAY,IAAAC,cAqBxC,OAnBA,IAAAC,YAAU,KACR,GAAgB,OAAZF,EAAkB,OACtB,MAAMG,EAAeH,EAAQI,MAAMC,GAAMA,EAAEC,QAAQT,UAAYA,IAE/D,IAAKM,EAAc,OACnB,MAAMI,EAAiBR,EAAUK,MAC9BI,GAAMA,EAAEC,KAAON,EAAaO,cAG3BH,aAAc,EAAdA,EAAgBI,cAClBJ,EACGT,QAAQ,CAAED,QAASM,EAAaG,QAAQT,UACxCe,MAAK,KACJjB,IACAC,EAAmBO,EAAa,G,GAGrC,CAACL,EAASE,EAASD,EAAWJ,EAAcC,EAAoBC,IAE5D,IAAI,C,iECpCb,eACA,SA8BA,UArByB,EACvBD,qBACAC,UACAgB,sBAEA,MAAM,QAAEb,EAAO,aAAEG,IAAiB,IAAAF,cAalC,OAXA,IAAAC,YAAU,K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GAAoB,cAAhBA,EAAO4G,KAAsB,CAC/B,MAAMqK,EAAc,IAAIjR,EAAOE,SAAS,CAAEvB,aAC1CjE,EAAU2F,KAAK4Q,E,KAGZvW,CAAS,EAGL,EAAA6E,mBAAqB,CAChC5E,EACAgE,KAEA,IAAKA,EAAU,OAEf,MAAMjE,EAAoC,GAQ1C,OANAC,EAAQoF,SAASC,IACf,GAAoB,QAAhBA,EAAO4G,KAAgB,CACzB,MAAMqK,EAAc,IAAIjR,EAAOE,SAAS,CAAEvB,aAC1CjE,EAAU2F,KAAK4Q,E,KAGZvW,CAAS,C,UCrQlBR,EAAOD,QAAUiX,QAAQ,4B,UCAzBhX,EAAOD,QAAUiX,QAAQ,uB,UCAzBhX,EAAOD,QAAUiX,QAAQ,uB,UCAzBhX,EAAOD,QAAUiX,QAAQ,Q,UCAzBhX,EAAOD,QAAUiX,QAAQ,Q,UCAzBhX,EAAOD,QAAUiX,QAAQ,sB,UCAzBhX,EAAOD,QAAUiX,QAAQ,c,UCAzBhX,EAAOD,QAAUiX,QAAQ,gB,UCAzBhX,EAAOD,QAAUiX,QAAQ,oB,GCCrBC,EAA2B,CAAC,E,OAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBlQ,IAAjBmQ,EACH,OAAOA,EAAarX,QAGrB,IAAIC,EAASiX,EAAyBE,GAAY,CAGjDpX,QAAS,CAAC,GAOX,OAHAsX,EAAoBF,GAAUG,KAAKtX,EAAOD,QAASC,EAAQA,EAAOD,QAASmX,GAGpElX,EAAOD,OACf,CCnB0BmX,CAAoB,I","sources":["webpack://@marsprotocol/wallet-connector/webpack/universalModuleDefinition","webpack://@marsprotocol/wallet-connector/./src/components/AutoConnectHandler.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ConnectedHandler.tsx","webpack://@marsprotocol/wallet-connector/./src/components/DisconnectHandler.tsx","webpack://@marsprotocol/wallet-connector/./src/components/WalletManagerContext.tsx","webpack://@marsprotocol/wallet-connector/./src/components/WalletManagerProvider.tsx","webpack://@marsprotocol/wallet-connector/./src/components/index.ts","webpack://@marsprotocol/wallet-connector/./src/components/ui/BaseModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/CloseIcon.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/EnablingWalletModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/SelectWalletModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/StationWalletErrorModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/Styles.ts","webpack://@marsprotocol/wallet-connector/./src/components/ui/index.ts","webpack://@marsprotocol/wallet-connector/./src/enums.ts","webpack://@marsprotocol/wallet-connector/./src/index.ts","webpack://@marsprotocol/wallet-connector/./src/utils/chainInfo.ts","webpack://@marsprotocol/wallet-connector/./src/utils/getWalletBalances.ts","webpack://@marsprotocol/wallet-connector/./src/utils/helpers.ts","webpack://@marsprotocol/wallet-connector/./src/utils/index.ts","webpack://@marsprotocol/wallet-connector/./src/utils/wallets.ts","webpack://@marsprotocol/wallet-connector/external commonjs \"@cosmjs/cosmwasm-stargate\"","webpack://@marsprotocol/wallet-connector/external commonjs \"@delphi-labs/shuttle\"","webpack://@marsprotocol/wallet-connector/external commonjs \"@keplr-wallet/cosmos\"","webpack://@marsprotocol/wallet-connector/external commonjs \"axios\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react-device-detect\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react-modal\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react-qr-code\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react/jsx-runtime\"","webpack://@marsprotocol/wallet-connector/webpack/bootstrap","webpack://@marsprotocol/wallet-connector/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"@marsprotocol/wallet-connector\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"@marsprotocol/wallet-connector\"] = factory();\n\telse\n\t\troot[\"@marsprotocol/wallet-connector\"] = factory();\n})(this, () => {\nreturn ","import { useShuttle, WalletConnection } from \"@delphi-labs/shuttle\"\nimport { useEffect } from \"react\"\nimport { ChainInfoID } from \"src/enums\"\n\ninterface Props {\n setConnected: () => void\n setConnectedWallet: (recentWallet: WalletConnection) => void\n chainId: ChainInfoID\n}\n\nconst AutoConnectHandler = ({\n setConnected,\n setConnectedWallet,\n chainId,\n}: Props) => {\n const { connect, providers, wallets } = useShuttle()\n\n useEffect(() => {\n if (wallets === null) return\n const recentWallet = wallets.find((w) => w.network.chainId === chainId)\n\n if (!recentWallet) return\n const recentProvider = providers.find(\n (p) => p.id === recentWallet.providerId\n )\n\n if (recentProvider?.initialized) {\n recentProvider\n .connect({ chainId: recentWallet.network.chainId })\n .then(() => {\n setConnected()\n setConnectedWallet(recentWallet)\n })\n }\n }, [connect, wallets, providers, setConnected, setConnectedWallet, chainId])\n\n return null\n}\n\nexport default AutoConnectHandler\n","import { useShuttle, WalletConnection } from \"@delphi-labs/shuttle\"\nimport { useEffect } from \"react\"\nimport { ChainInfoID } from \"src/enums\"\n\ninterface Props {\n setConnectedWallet: (recentWallet: WalletConnection | undefined) => void\n chainId: ChainInfoID\n connectedWallet?: WalletConnection\n}\n\nconst ConnectedHandler = ({\n setConnectedWallet,\n chainId,\n connectedWallet,\n}: Props) => {\n const { wallets, recentWallet } = useShuttle()\n\n useEffect(() => {\n if (wallets === null || !recentWallet) return\n if (connectedWallet?.account.address === recentWallet.account.address)\n return\n const currentWallet =\n recentWallet.network.chainId === chainId\n ? recentWallet\n : wallets.find((w) => w.network.chainId === chainId)\n setConnectedWallet(currentWallet)\n }, [wallets, recentWallet, setConnectedWallet, chainId, connectedWallet])\n\n return null\n}\n\nexport default ConnectedHandler\n","import { useShuttle } from \"@delphi-labs/shuttle\"\nimport { ChainInfoID } from \"src/enums\"\n\ninterface Props {\n setDisconnected: () => void\n setConnectedWallet: () => void\n chainId: ChainInfoID\n}\n\nconst DisconnectHandler = ({\n setDisconnected,\n setConnectedWallet,\n chainId,\n}: Props) => {\n const { disconnectWallet, disconnect, wallets } = useShuttle()\n\n const recentWallet = wallets?.find((w) => w.network.chainId === chainId)\n if (recentWallet) {\n disconnectWallet(recentWallet)\n } else {\n disconnect()\n }\n\n setConnectedWallet()\n setDisconnected()\n\n return null\n}\n\nexport default DisconnectHandler\n","import { CosmWasmClient } from \"@cosmjs/cosmwasm-stargate\"\nimport { MsgExecuteContract, useShuttle } from \"@delphi-labs/shuttle\"\nimport { createContext, useContext } from \"react\"\n\nimport { ChainInfoID } from \"../enums\"\nimport { BalancesResponse, IWalletManagerContext } from \"../types\"\nimport { getWalletBalances } from \"../utils\"\n\nconst fetchBalances = async (\n address: string,\n chainId: ChainInfoID\n): Promise => {\n return await getWalletBalances(address, chainId)\n}\n\nconst WalletManagerContext = createContext(null)\n\nconst useWalletManager = () => {\n const context = useContext(WalletManagerContext)\n if (!context) {\n throw new Error(\"You forgot to use WalletManagerProvider.\")\n }\n\n return context\n}\n\nconst useWallet = useShuttle\n\nconst getClient = async (rpc: string) => {\n const rpcURL = rpc.slice(-1) === \"/\" ? rpc : `${rpc}/`\n const queryClient = await CosmWasmClient.connect(rpcURL)\n\n return queryClient\n}\n\nexport {\n fetchBalances,\n getClient,\n MsgExecuteContract,\n useWallet,\n useWalletManager,\n WalletManagerContext,\n}\n","import {\n MobileWalletProvider,\n ShuttleProvider,\n WalletConnection,\n WalletProvider,\n} from \"@delphi-labs/shuttle\"\nimport {\n FunctionComponent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\"\n\nimport { WalletConnectionStatus } from \"../enums\"\nimport { Wallet, WalletManagerProviderProps } from \"../types\"\nimport {\n getChainInfo,\n getEnabledWallets,\n getMobileProviders,\n getWalletProviders,\n wallets,\n} from \"../utils\"\nimport AutoConnectHandler from \"./AutoConnectHandler\"\nimport ConnectedHandler from \"./ConnectedHandler\"\nimport DisconnectHandler from \"./DisconnectHandler\"\nimport { SelectWalletModal } from \"./ui\"\nimport { EnablingWalletModal } from \"./ui/EnablingWalletModal\"\nimport { StationWalletErrorModal } from \"./ui/StationWalletErrorModal\"\nimport { WalletManagerContext } from \"./WalletManagerContext\"\n\nexport const WalletManagerProvider: FunctionComponent<\n WalletManagerProviderProps\n> = ({\n children,\n chainInfoOverrides,\n classNames,\n closeIcon,\n chainIds,\n defaultChainId,\n enabledWallets,\n enablingStringOverride,\n persistent = false,\n renderLoader,\n selectWalletOverride,\n noWalletsOverride,\n scanQRCodeOverride,\n stationWalletTutorial,\n walletMetaOverride,\n}) => {\n const [pickerModalOpen, setPickerModalOpen] = useState(false)\n const [selectableWallets, setSelectableWallets] = useState([])\n const [status, setStatus] = useState(\n WalletConnectionStatus.Unconnected\n )\n const [connectedWallet, setConnectedWallet] = useState<\n WalletConnection | undefined\n >()\n const [providers, setProviders] = useState()\n const [mobileProviders, setMobileProviders] =\n useState()\n\n const networks = chainIds.map((chainId) => {\n return getChainInfo(chainId, chainInfoOverrides)\n })\n\n const filteredWallets = getEnabledWallets(\n wallets,\n enabledWallets,\n walletMetaOverride\n )\n\n const usePrevious = (value: any) => {\n const ref = useRef()\n useEffect(() => {\n ref.current = value\n })\n return ref.current\n }\n\n const prevDefaultChainId = usePrevious(defaultChainId)\n\n useEffect(() => {\n if (providers || !filteredWallets || !networks) return\n //@ts-ignore\n setProviders(getWalletProviders(filteredWallets, networks))\n }, [filteredWallets, networks, providers])\n\n useEffect(() => {\n if (mobileProviders || !filteredWallets || !networks) return\n setMobileProviders(getMobileProviders(filteredWallets, networks))\n }, [filteredWallets, networks, mobileProviders])\n\n useEffect(() => {\n if (connectedWallet) {\n setStatus(WalletConnectionStatus.Connected)\n return\n }\n\n setStatus(\n persistent\n ? WalletConnectionStatus.AutoConnect\n : WalletConnectionStatus.Unconnected\n )\n }, [defaultChainId, persistent, connectedWallet])\n\n useEffect(\n () => {\n if (\n (status !== WalletConnectionStatus.Unconnected &&\n status !== WalletConnectionStatus.AutoConnect) ||\n !persistent\n )\n return\n\n const shuttleStorage = localStorage.getItem(\"shuttle\")\n if (shuttleStorage !== null && shuttleStorage !== \"[]\")\n setStatus(WalletConnectionStatus.AutoConnect)\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n []\n )\n\n const closePickerModal = () => {\n if (status === WalletConnectionStatus.WalletConnect) {\n setStatus(WalletConnectionStatus.Unconnected)\n }\n\n setPickerModalOpen(false)\n }\n\n useEffect(() => {\n if (\n !providers ||\n (prevDefaultChainId === defaultChainId && selectableWallets.length > 0)\n )\n return\n const walletState: Wallet[] = []\n filteredWallets.forEach((wallet) => {\n //@ts-ignore\n const walletProvider = providers.find((provider) => {\n return provider.id === wallet.id\n })\n if (wallet.supportedChains.includes(defaultChainId)) {\n walletState.push({\n ...wallet,\n installed:\n walletProvider?.initialized || walletProvider?.initializing,\n })\n }\n })\n setSelectableWallets(walletState)\n if (persistent) setStatus(WalletConnectionStatus.AutoConnect)\n }, [\n providers,\n filteredWallets,\n persistent,\n selectableWallets.length,\n defaultChainId,\n prevDefaultChainId,\n ])\n\n const beginConnection = useCallback(() => {\n setPickerModalOpen(true)\n }, [])\n\n const terminateConnection = useCallback(\n () => setStatus(WalletConnectionStatus.Disconnecting),\n []\n )\n\n const statusChange = useCallback(\n (newStatus: WalletConnectionStatus) => setStatus(newStatus),\n []\n )\n\n const value = useMemo(\n () => ({\n connect: beginConnection,\n disconnect: terminateConnection,\n connectedWallet,\n status,\n }),\n [beginConnection, terminateConnection, connectedWallet, status]\n )\n\n const resetConnection = () => {\n setStatus(WalletConnectionStatus.Retry)\n }\n\n if (!providers) return null\n\n return (\n \n \n {status === WalletConnectionStatus.AutoConnect && (\n setStatus(WalletConnectionStatus.Connected)}\n setConnectedWallet={setConnectedWallet}\n />\n )}\n {status === WalletConnectionStatus.Disconnecting && (\n setConnectedWallet(undefined)}\n setDisconnected={() =>\n setStatus(WalletConnectionStatus.Unconnected)\n }\n />\n )}\n {status === WalletConnectionStatus.Connected && (\n \n )}\n {children}\n setPickerModalOpen(false)}\n scanQRCodeOverride={scanQRCodeOverride}\n selectWalletOverride={selectWalletOverride}\n setStatus={statusChange}\n status={status}\n wallets={selectableWallets}\n />\n {\n setStatus(WalletConnectionStatus.Unconnected)\n setPickerModalOpen(true)\n }}\n renderLoader={renderLoader}\n reset={resetConnection}\n />\n {\n setStatus(WalletConnectionStatus.Unconnected)\n setPickerModalOpen(true)\n }}\n renderLoader={renderLoader}\n reset={resetConnection}\n stationWalletTutorial={stationWalletTutorial}\n />\n \n \n )\n}\n","export * from \"./ui\"\nexport * from \"./WalletManagerContext\"\nexport * from \"./WalletManagerProvider\"\n","import React, {\n FunctionComponent,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n useEffect,\n} from \"react\"\nimport ReactModal from \"react-modal\"\n\nimport { ModalClassNames } from \"../../types\"\nimport { CloseIcon as DefaultCloseIcon } from \"./CloseIcon\"\nimport { baseModalStyles } from \"./Styles\"\n\nexport type BaseModalProps = PropsWithChildren<{\n isOpen: boolean\n onClose?: () => void\n title?: ReactElement | string\n maxWidth?: string\n classNames?: ModalClassNames\n closeIcon?: ReactNode\n}>\n\nexport const BaseModal: FunctionComponent = ({\n isOpen,\n onClose,\n title,\n classNames,\n closeIcon,\n children,\n}) => {\n useEffect(() => {\n ReactModal.setAppElement(\"body\")\n }, [])\n\n return (\n (\n
\n {children}\n
\n )}\n isOpen={isOpen}\n onRequestClose={(e) => {\n e.preventDefault()\n onClose?.()\n }}\n overlayClassName={classNames?.modalOverlay ?? \"_\"}\n overlayElement={(props, children) => (\n
\n {children}\n
\n )}\n style={{\n overlay: classNames?.modalOverlay\n ? undefined\n : baseModalStyles.modalOverlay,\n content: classNames?.modalContent\n ? undefined\n : baseModalStyles.modalContent,\n }}\n >\n <>\n \n {title}\n \n\n {onClose && (\n \n {closeIcon ? (\n closeIcon\n ) : (\n \n )}\n \n )}\n {children}\n \n \n )\n}\n","import React, { FunctionComponent, SVGProps } from \"react\"\n\nexport const CloseIcon: FunctionComponent> = (\n props\n) => (\n \n \n \n)\n","import React, {\n FunctionComponent,\n ReactElement,\n ReactNode,\n useEffect,\n useState,\n} from \"react\"\n\nimport { BaseModal, BaseModalProps } from \"./BaseModal\"\nimport { modalStyles } from \"./Styles\"\n\ninterface Props extends BaseModalProps {\n enablingStringOverride?: string | ReactElement\n reset: () => void\n renderLoader?: () => ReactNode\n}\n\nexport const EnablingWalletModal: FunctionComponent = ({\n isOpen,\n classNames,\n renderLoader,\n enablingStringOverride,\n reset,\n ...props\n}) => {\n const [showHelp, setShowHelp] = useState(false)\n useEffect(() => {\n if (!isOpen) {\n setShowHelp(false)\n return\n }\n\n const timeout = setTimeout(() => setShowHelp(true), 8000)\n return () => clearTimeout(timeout)\n }, [isOpen, setShowHelp])\n return (\n \n
\n {renderLoader && renderLoader()}\n {showHelp && (\n <>\n

\n If nothing shows up in your wallet try to connect again, by\n clicking on the button below. Refresh the page if the problem\n persists.\n

\n \n \n )}\n
\n \n )\n}\n","import { useShuttle } from \"@delphi-labs/shuttle\"\nimport { FunctionComponent, useEffect, useMemo, useState } from \"react\"\nimport { isAndroid, isDesktop, isIOS, isMobile } from \"react-device-detect\"\nimport QRCode from \"react-qr-code\"\n\nimport { ChainInfoID, WalletConnectionStatus, WalletID } from \"../../enums\"\nimport { Wallet } from \"../../types\"\nimport { BaseModal, BaseModalProps } from \"./BaseModal\"\nimport { selectWalletStyles } from \"./Styles\"\n\ninterface Props extends BaseModalProps {\n wallets: Wallet[]\n chainId: ChainInfoID\n closeModal: () => void\n noWalletsOverride?: string\n setStatus: (status: WalletConnectionStatus) => void\n selectWalletOverride?: string\n scanQRCodeOverride?: string\n status: WalletConnectionStatus\n}\n\nexport const SelectWalletModal: FunctionComponent = ({\n wallets,\n chainId,\n closeModal,\n classNames,\n noWalletsOverride,\n selectWalletOverride,\n scanQRCodeOverride,\n setStatus,\n status,\n ...props\n}) => {\n const { connect, mobileConnect } = useShuttle()\n const [isHover, setIsHover] = useState()\n const [lastClicked, setLastClicked] = useState()\n const [qrCodeUrl, setQRCodeUrl] = useState()\n\n /* STATUS */\n const isConnecting = status === WalletConnectionStatus.Connecting\n const isConnected = status === WalletConnectionStatus.Connected\n const isAutoConnecting = status === WalletConnectionStatus.AutoConnect\n const isWalletConnect = status === WalletConnectionStatus.WalletConnect\n const isRetry = status === WalletConnectionStatus.Retry\n\n const handleMouseEnter = (walletID: WalletID) => {\n setIsHover(walletID)\n }\n\n const handleMouseLeave = () => {\n setIsHover(undefined)\n }\n\n const handleConnect = async (\n providerId: WalletID,\n chainId: ChainInfoID,\n walletType: string\n ) => {\n setLastClicked(providerId)\n let connected = true\n if (walletType !== \"app\") {\n const slightDelay = setTimeout(\n () => setStatus(WalletConnectionStatus.Connecting),\n 500\n )\n try {\n closeModal()\n await connect({ providerId, chainId })\n } catch (error) {\n if (error) {\n console.error(\"Connecting with:\", { providerId, chainId })\n console.error(\"Wallet Connector: \", error)\n connected = false\n }\n }\n clearTimeout(slightDelay)\n setStatus(\n connected\n ? WalletConnectionStatus.Connected\n : providerId === WalletID.StationWallet\n ? WalletConnectionStatus.StationWalletError\n : WalletConnectionStatus.Errored\n )\n } else {\n try {\n const urls = await mobileConnect({\n mobileProviderId: providerId,\n chainId,\n callback: () => {\n closeModal()\n },\n })\n if (!isDesktop) {\n setStatus(WalletConnectionStatus.Connecting)\n if (isAndroid) {\n window.location.href = urls.androidUrl\n } else if (isIOS) {\n window.location.href = urls.iosUrl\n } else {\n window.location.href = urls.androidUrl\n }\n } else {\n setStatus(WalletConnectionStatus.WalletConnect)\n setQRCodeUrl(urls.walletconnectUrl)\n }\n } catch (error) {\n if (error) {\n console.error(\"Connecting with:\", { providerId, chainId })\n console.error(\"Wallet Connector: \", error)\n connected = false\n }\n }\n }\n }\n\n useEffect(\n () => {\n if (isConnected || isAutoConnecting || isConnecting) return\n\n if (isRetry && lastClicked)\n handleConnect(lastClicked, chainId, \"extension\")\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n [chainId, isConnected, isConnecting, isAutoConnecting, isRetry, lastClicked]\n )\n\n const walletItem = (wallet: Wallet) => {\n const isApp = wallet.type === \"app\"\n const isWalletConnect = isApp && isDesktop\n\n return (\n
\n {\n e.preventDefault()\n setIsHover(undefined)\n if (wallet.installed || wallet.type === \"app\") {\n handleConnect(wallet.id, chainId, wallet.type)\n } else {\n window.open(wallet.installURL, \"_blank\")\n closeModal()\n }\n }}\n onMouseEnter={() => {\n handleMouseEnter(wallet.id)\n }}\n onMouseLeave={handleMouseLeave}\n style={\n classNames?.wallet\n ? undefined\n : isHover === wallet.id\n ? {\n ...selectWalletStyles.wallet,\n ...selectWalletStyles.walletHover,\n }\n : selectWalletStyles.wallet\n }\n >\n \n \n \n {isWalletConnect\n ? wallet.walletConnect\n : isApp || wallet.installed\n ? wallet.name\n : wallet.install}\n
\n \n {isApp || wallet.installed\n ? wallet.description\n : wallet.installURL}\n \n \n \n \n )\n }\n\n const sortedWallets = useMemo(() => {\n return wallets\n .filter((wallet) => isDesktop || wallet.type === \"app\")\n .sort((a, b) => {\n if (a.installed === b.installed) return 0\n return a.installed ? -1 : 1\n })\n }, [wallets])\n\n const installedWallets = useMemo(() => {\n return wallets.filter((wallet) => wallet.installed)\n }, [wallets])\n\n if (!sortedWallets.length) {\n return (\n \n \n {noWalletsOverride\n ? noWalletsOverride\n : \"There are currently no wallets supported for your device\"}\n

\n \n )\n }\n\n return (\n \n {isWalletConnect ? (\n \n {qrCodeUrl && (\n \n )}\n \n ) : (\n \n {isMobile && installedWallets.length\n ? installedWallets.map((wallet) => walletItem(wallet))\n : sortedWallets.map((wallet) => walletItem(wallet))}\n \n )}\n \n )\n}\n","import React, { FunctionComponent, ReactNode } from \"react\"\n\nimport { StationWalletTutorial } from \"../../types\"\nimport { BaseModal, BaseModalProps } from \"./BaseModal\"\nimport { modalStyles } from \"./Styles\"\n\ninterface Props extends BaseModalProps {\n stationWalletTutorial?: StationWalletTutorial\n reset: () => void\n renderLoader?: () => ReactNode\n}\n\nexport const StationWalletErrorModal: FunctionComponent = ({\n isOpen,\n classNames,\n stationWalletTutorial,\n reset,\n ...props\n}) => {\n return (\n \n
\n

\n {stationWalletTutorial?.intro\n ? stationWalletTutorial?.intro\n : \"Connecting to your Station Wallet failed. Potential reasons include:\"}\n

\n

\n {stationWalletTutorial?.wrongNetwork\n ? stationWalletTutorial?.wrongNetwork\n : \"1. You have the wrong network selected. Please make sure to select 'Mainnets' or 'Testnets' by clicking on the gear icon in your Station Wallet interface.\"}\n

\n

\n {stationWalletTutorial?.reimportWallet\n ? stationWalletTutorial?.reimportWallet\n : \"2. Your wallet address may use a legacy derivation path. Removing and reimporting it into Station Wallet will add support for BIP44 paths in addition to the 330 cointype without impacting your balances. If you are using a Ledger, remove your Ledger from your Station Wallet and import it again (making sure to click 'yes' on the 'Import Cosmos accounts' page). If you are not using a Ledger, make sure you've backed up your mnemonic phrase. Then, remove your wallet from the extension and re-add it by importing your mnemonic phrase.\"}\n

\n

\n {stationWalletTutorial?.ready\n ? stationWalletTutorial?.ready\n : \"After trying the suggestions above, please retry the connection.\"}\n

\n \n
\n \n )\n}\n","export const baseModalStyles: { [key: string]: React.CSSProperties } = {\n modalOverlay: {\n backgroundColor: \"rgba(0, 0, 0, 0.6)\",\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n width: \"100vw\",\n height: \"100vh\",\n zIndex: 50,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n cursor: \"pointer\",\n margin: 0,\n },\n\n modalContent: {\n width: \"540px\",\n maxWidth: \"calc(100% - 40px)\",\n position: \"absolute\",\n left: \"50%\",\n transform: \"translateX(-50%)\",\n padding: \"16px\",\n border: \"7px solid #421f32\",\n borderRadius: \"16px\",\n display: \"flex\",\n flexDirection: \"column\",\n background:\n \"linear-gradient(99.79deg, rgba(8, 11, 30, 0.79) 8.17%, rgba(52, 20, 33, 0.9) 94.54%)\",\n outline: \"none\",\n cursor: \"auto\",\n maxHeight: \"100vh\",\n overflowY: \"auto\",\n justifyContent: \"center\",\n },\n\n modalHeader: {\n fontSize: \"21px\",\n lineHeight: \"32px\",\n fontWeight: 400,\n textTransform: \"uppercase\",\n letterSpacing: \"3px\",\n color: \"#FFF\",\n margin: \"0 0 16px\",\n width: \"100%\",\n textAlign: \"center\",\n padding: \"0 30px\",\n zIndex: 1,\n position: \"relative\",\n },\n\n modalCloseButton: {\n position: \"absolute\",\n top: \"16px\",\n right: \"16px\",\n cursor: \"pointer\",\n height: \"24px\",\n width: \"24px\",\n zIndex: 2,\n },\n}\n\nexport const selectWalletStyles: { [key: string]: React.CSSProperties } = {\n walletList: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"16px\",\n padding: \"8px 0\",\n },\n\n wallet: {\n background: \"rgba(255, 255, 255, 0)\",\n padding: \"8px\",\n boxShadow: \"none\",\n display: \"flex\",\n alignItems: \"center\",\n appearance: \"none\",\n border: \"none\",\n width: \"100%\",\n textDecoration: \"none\",\n borderRadius: \"8px\",\n cursor: \"pointer\",\n transition: \"all .5s\",\n },\n\n walletHover: {\n background: \"rgba(255, 255, 255, 0.1)\",\n },\n\n walletDisabled: {\n pointerEvents: \"none\",\n opacity: \"0.5\",\n },\n\n walletIconImg: {\n width: \"60px\",\n height: \"60px\",\n },\n\n walletInfo: {\n display: \"flex\",\n flexDirection: \"column\",\n marginLeft: \"20px\",\n fontWeight: \"400\",\n },\n\n walletName: {\n color: \"#FFF\",\n lineHeight: \"24px\",\n fontSize: \"17px\",\n fontWeight: \"600\",\n textTransform: \"uppercase\",\n letterSpacing: \"3px\",\n },\n\n walletDescription: {\n margin: \"4px 0 0\",\n color: \"rgba(255, 255, 255, 0.4)\",\n textAlign: \"left\",\n fontSize: \"15px\",\n lineHeight: \"20px\",\n },\n\n walletConnect: {\n display: \"flex\",\n flex: \"0 0 100%\",\n justifyContent: \"center\",\n padding: \"16px\",\n },\n\n walletConnectQR: {\n backgroundColor: \"#FFF\",\n border: \"6px solid #FFF\",\n display: \"block\",\n height: \"265px\",\n width: \"265px\",\n },\n\n noneAvailableText: {\n textAlign: \"center\",\n },\n}\n\nexport const modalStyles: { [key: string]: React.CSSProperties } = {\n body: {\n flex: \"0 0 100%\",\n display: \"flex\",\n justifyContent: \"center\",\n flexWrap: \"wrap\",\n },\n\n text: {\n width: \"100%\",\n textAlign: \"center\",\n margin: \"0 0 16px\",\n },\n\n textSmall: {\n width: \"100%\",\n textAlign: \"left\",\n fontSize: \"14px\",\n margin: \"0 0 16px\",\n },\n\n textSubInfo: {\n width: \"100%\",\n textAlign: \"center\",\n opacity: \".6\",\n fontSize: \"14px\",\n margin: \"0 0 16px\",\n },\n\n button: {\n appearance: \"none\",\n height: \"32px\",\n lineHeight: \"18px\",\n fontSize: \"15px\",\n color: \"#FFF\",\n padding: \"6px 20px\",\n borderRadius: \"30px\",\n outline: \"none\",\n border: \"none\",\n background: \"#14a693\",\n cursor: \"pointer\",\n },\n}\n","export * from \"./BaseModal\"\nexport * from \"./CloseIcon\"\nexport * from \"./SelectWalletModal\"\nexport * from \"./Styles\"\n","export enum WalletConnectionStatus {\n Unconnected,\n Connecting,\n AutoConnect,\n WalletConnect,\n Connected,\n Disconnecting,\n Errored,\n Retry,\n StationWalletError,\n}\n\nexport enum WalletID {\n Cosmostation = \"cosmostation\",\n CosmostationMobile = \"mobile-cosmostation\",\n Falcon = \"falcon\",\n Keplr = \"keplr\",\n KeplrMobile = \"mobile-keplr\",\n Leap = \"leap-cosmos\",\n StationWallet = \"terra-station\",\n StationWalletMobile = \"mobile-terra-station\",\n Xdefi = \"xfi-cosmos\",\n}\n\nexport enum ChainInfoID {\n Cosmoshub4 = \"cosmoshub-4\",\n Injective1 = \"injective-1\",\n Juno1 = \"juno-1\",\n Mars1 = \"mars-1\",\n MarsAres1 = \"ares-1\",\n Neutron = \"neutron-1\",\n NeutronTestnet = \"pion-1\",\n Osmosis1 = \"osmosis-1\",\n OsmosisDevnet = \"devnet\",\n OsmosisTestnet = \"osmo-test-5\",\n Stargaze1 = \"stargaze-1\",\n}\n","// Fix Safari's nonexistent browser.storage https://github.com/chainapsis/keplr-wallet/blob/4726a96b9663f17b91c5d6b0448bf85ebb4a678a/packages/common/src/kv-store/extension.ts\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\ndeclare namespace browser.storage {\n // eslint-disable-next-line unused-imports/no-unused-vars\n const local: {\n get: undefined\n set: undefined\n }\n}\n\nif (\n typeof window !== \"undefined\" &&\n typeof browser !== \"undefined\" &&\n typeof browser.storage === \"undefined\"\n) {\n browser.storage = { local: { get: undefined, set: undefined } }\n}\n\nexport * from \"./components\"\nexport * from \"./enums\"\nexport * from \"./types\"\nexport * from \"./utils\"\n","import { BIP44, Network } from \"@delphi-labs/shuttle\"\nimport { Bech32Address } from \"@keplr-wallet/cosmos\"\n\nimport { ChainInfoID } from \"../enums\"\nimport { ChainInfoOptions } from \"../types\"\n\nexport interface SimplifiedChainInfo extends Network {\n explorer?: string\n explorerName?: string\n alternativeBIP44s?: BIP44[]\n}\n\nexport const SimpleChainInfoList: Record = {\n [ChainInfoID.Cosmoshub4]: {\n rpc: \"https://rpc-cosmoshub.keplr.app\",\n rest: \"https://lcd-cosmoshub.keplr.app\",\n explorer: \"https://www.mintscan.io/cosmos\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Cosmoshub4,\n name: \"Cosmos Hub\",\n bip44: {\n coinType: 118,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"cosmos\"),\n feeCurrencies: [\n {\n coinDenom: \"ATOM\",\n coinMinimalDenom: \"uatom\",\n coinDecimals: 6,\n coinGeckoId: \"cosmos\",\n },\n ],\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Injective1]: {\n rpc: \"https://public.api.injective.network\",\n rest: \"https://public.lcd.injective.network\",\n explorer: \"https://mintscan.io/injective\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Injective1,\n name: \"Injective\",\n bip44: {\n coinType: 60,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"inj\"),\n gasPrice: \"0.0005inj\",\n feeCurrencies: [\n {\n coinDenom: \"INJ\",\n coinMinimalDenom: \"inj\",\n coinDecimals: 18,\n coinGeckoId: \"injective-protocol\",\n gasPriceStep: {\n low: 0.0005,\n average: 0.0007,\n high: 0.0009,\n },\n },\n ],\n\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Juno1]: {\n rpc: \"https://rpc-juno.itastakers.com\",\n rest: \"https://lcd-juno.itastakers.com\",\n explorer: \"https://www.mintscan.io/juno\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Juno1,\n name: \"Juno\",\n bip44: {\n coinType: 118,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"juno\"),\n feeCurrencies: [\n {\n coinDenom: \"JUNO\",\n coinMinimalDenom: \"ujuno\",\n coinDecimals: 6,\n coinGeckoId: \"juno-network\",\n gasPriceStep: {\n low: 0.03,\n average: 0.04,\n high: 0.05,\n },\n },\n ],\n\n features: [\"ibc-transfer\", \"ibc-go\", \"wasmd_0.24+\", \"cosmwasm\"],\n },\n [ChainInfoID.Mars1]: {\n rpc: \"https://rpc.marsprotocol.io\",\n rest: \"https://rest.marsprotocol.io\",\n explorer: \"https://explorer.marsprotocol.io\",\n explorerName: \"Mars Explorer\",\n chainId: ChainInfoID.Mars1,\n name: \"Mars Hub\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n bech32Config: Bech32Address.defaultBech32Config(\"mars\"),\n gasPrice: \"0umars\",\n defaultCurrency: {\n coinDenom: \"MARS\",\n coinMinimalDenom: \"umars\",\n coinDecimals: 6,\n coinGeckoId: \"marsprotocol\",\n gasPriceStep: {\n low: 0,\n average: 0.00625,\n high: 0.01,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.MarsAres1]: {\n rpc: \"https://testnet-rpc.marsprotocol.io\",\n rest: \"https://testnet-rest.marsprotocol.io\",\n explorer: \"https://testnet-explorer.marsprotocol.io\",\n explorerName: \"Mars Explorer\",\n chainId: ChainInfoID.MarsAres1,\n name: \"Mars Hub Testnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n bech32Config: Bech32Address.defaultBech32Config(\"mars\"),\n gasPrice: \"0umars\",\n defaultCurrency: {\n coinDenom: \"MARS\",\n coinMinimalDenom: \"umars\",\n coinDecimals: 6,\n coinGeckoId: \"marsprotocol\",\n gasPriceStep: {\n low: 0,\n average: 0.00625,\n high: 0.01,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Neutron]: {\n rpc: \"https://rpc-neutron.keplr.app/\",\n rest: \"https://lcd-neutron.keplr.app/\",\n explorer: \"https://neutron.explorers.guru\",\n explorerName: \"Explorer\",\n chainId: ChainInfoID.Neutron,\n name: \"Neutron\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025untrn\",\n bech32Config: Bech32Address.defaultBech32Config(\"neutron\"),\n defaultCurrency: {\n coinDenom: \"NTRN\",\n coinMinimalDenom: \"untrn\",\n coinDecimals: 6,\n coinGeckoId: \"neutron\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.NeutronTestnet]: {\n rpc: \"https://rpc-palvus.pion-1.ntrn.tech/\",\n rest: \"https://rest-palvus.pion-1.ntrn.tech/\",\n explorer: \"https://explorer.rs-testnet.polypore.xyz/pion-1\",\n explorerName: \"PING.PUB\",\n chainId: ChainInfoID.NeutronTestnet,\n name: \"Neutron Testnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025untrn\",\n bech32Config: Bech32Address.defaultBech32Config(\"neutron\"),\n defaultCurrency: {\n coinDenom: \"NTRN\",\n coinMinimalDenom: \"untrn\",\n coinDecimals: 6,\n coinGeckoId: \"neutron\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Osmosis1]: {\n rpc: \"https://rpc-osmosis.blockapsis.com\",\n rest: \"https://lcd-osmosis.blockapsis.com\",\n explorer: \"https://www.mintscan.io/osmosis\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Osmosis1,\n name: \"Osmosis\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025uosmo\",\n bech32Config: Bech32Address.defaultBech32Config(\"osmo\"),\n defaultCurrency: {\n coinDenom: \"OSMO\",\n coinMinimalDenom: \"uosmo\",\n coinDecimals: 6,\n coinGeckoId: \"osmosis\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.OsmosisDevnet]: {\n rpc: \"https://rpc.devnet.osmosis.zone\",\n rest: \"\thttps://lcd.devnet.osmosis.zone\",\n explorer: \"https://www.mintscan.io/osmosis\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.OsmosisDevnet,\n name: \"Osmosis Devnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025uosmo\",\n bech32Config: Bech32Address.defaultBech32Config(\"osmo\"),\n defaultCurrency: {\n coinDenom: \"OSMO\",\n coinMinimalDenom: \"uosmo\",\n coinDecimals: 6,\n coinGeckoId: \"osmosis\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.OsmosisTestnet]: {\n rpc: \"https://rpc.osmotest5.osmosis.zone\",\n rest: \"https://lcd.osmotest5.osmosis.zone\",\n explorer: \"https://testnet.mintscan.io/osmosis-testnet\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.OsmosisTestnet,\n name: \"Osmosis Testnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025uosmo\",\n bech32Config: Bech32Address.defaultBech32Config(\"osmo\"),\n defaultCurrency: {\n coinDenom: \"OSMO\",\n coinMinimalDenom: \"uosmo\",\n coinDecimals: 6,\n coinGeckoId: \"osmosis\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Stargaze1]: {\n rpc: \"https://rpc.stargaze-apis.com\",\n rest: \"https://rest.stargaze-apis.com\",\n explorer: \"https://mintscan.io/stargaze\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Stargaze1,\n name: \"Stargaze\",\n bip44: {\n coinType: 118,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"stars\"),\n feeCurrencies: [\n {\n coinDenom: \"STARS\",\n coinMinimalDenom: \"ustars\",\n coinDecimals: 6,\n coinGeckoId: \"pool:ustars\",\n },\n ],\n features: [\"ibc-transfer\"],\n },\n}\n\nexport const getChainInfo = (\n chainId: ChainInfoID,\n chainInfoOverrides?: ChainInfoOptions\n) => {\n const chainInfo: SimplifiedChainInfo = SimpleChainInfoList[chainId]\n\n if (chainInfoOverrides && chainInfo) {\n Object.keys(chainInfoOverrides).map(function (key) {\n //@ts-ignore\n chainInfo[key as keyof SimplifiedChainInfo] =\n chainInfoOverrides[key as keyof SimplifiedChainInfo]\n })\n }\n\n return chainInfo\n}\n","import axios from \"axios\"\nimport { ChainInfoID } from \"src/enums\"\n\nimport { BalancesResponse } from \"../types\"\nimport { getChainInfo } from \"../utils\"\n\nexport const getWalletBalances = async (\n address: string,\n chainId: ChainInfoID\n): Promise => {\n const chainInfo = getChainInfo(chainId)\n const uri =\n chainInfo.rest.slice(-1) === \"/\"\n ? \"cosmos/bank/v1beta1/balances/\"\n : \"/cosmos/bank/v1beta1/balances/\"\n const url = `${chainInfo.rest}${uri}${address}`\n\n return await axios({\n url: url,\n method: \"GET\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n },\n })\n .then((response) => {\n return response.data\n })\n .catch((err) => console.error(err))\n}\n","export function ensure(\n argument: T | undefined | null,\n message = \"Can not find value\"\n): T {\n if (argument === undefined || argument === null) {\n throw new TypeError(message)\n }\n\n return argument\n}\n","export * from \"./chainInfo\"\nexport * from \"./getWalletBalances\"\nexport * from \"./wallets\"\n","import {\n CosmostationProvider,\n FalconProvider,\n KeplrProvider,\n LeapCosmosProvider,\n MobileCosmostationProvider,\n MobileKeplrProvider,\n MobileTerraStationProvider,\n MobileWalletProvider,\n TerraStationProvider,\n WalletProvider,\n XDEFICosmosProvider,\n} from \"@delphi-labs/shuttle\"\n\nimport { ChainInfoID, WalletID } from \"../enums\"\nimport { IWalletMetaOverride, Wallet } from \"../types\"\nimport { SimplifiedChainInfo } from \"./chainInfo\"\nimport { ensure } from \"./helpers\"\n\nexport const CosmostationWallet: Wallet = {\n id: WalletID.Cosmostation,\n name: \"Cosmostation Wallet\",\n install: \"Install Cosmostation Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/cosmostation-wallet/fpkhgmpbidmiogeglndfbkegfdlnajnf\",\n description: \"Cosmostation Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png\",\n provider: CosmostationProvider,\n type: \"extension\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.NeutronTestnet,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisDevnet,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const CosmostationMobileWallet: Wallet = {\n id: WalletID.CosmostationMobile,\n name: \"Cosmostation Wallet\",\n walletConnect: \"Cosmostation WalletConnect\",\n description: \"Cosmostation Mobile App\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png\",\n mobileImageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-connect.png\",\n provider: MobileCosmostationProvider,\n type: \"app\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const FalconWallet: Wallet = {\n id: WalletID.Falcon,\n name: \"Falcon Wallet\",\n install: \"Install Falcon Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/falcon-wallet/gkhnjcpkikkkfhhdhhphcbhmkikoicgn\",\n description: \"Falcon Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/falcon-wallet-extension.png\",\n provider: FalconProvider,\n type: \"extension\",\n supportedChains: [ChainInfoID.Cosmoshub4, ChainInfoID.Osmosis1],\n}\n\nexport const KeplrWallet: Wallet = {\n id: WalletID.Keplr,\n name: \"Keplr Wallet\",\n install: \"Install Keplr Wallet\",\n installURL: \"https://www.keplr.app/download\",\n description: \"Keplr Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png\",\n provider: KeplrProvider,\n type: \"extension\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.NeutronTestnet,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisDevnet,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const KeplrMobileWallet: Wallet = {\n id: WalletID.KeplrMobile,\n name: \"Keplr Wallet\",\n walletConnect: \"Keplr WalletConnect\",\n description: \"Keplr Mobile App\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png\",\n mobileImageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-connect.png\",\n provider: MobileKeplrProvider,\n type: \"app\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const LeapWallet: Wallet = {\n id: WalletID.Leap,\n name: \"Leap Wallet\",\n install: \"Install Leap Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/leap-cosmos-wallet/fcfcfllfndlomdhbehjjcoimbgofdncg\",\n description: \"Leap Extension\",\n imageUrl: \"https://assets.leapwallet.io/logos/leap-cosmos-logo.png\",\n provider: LeapCosmosProvider,\n type: \"extension\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.NeutronTestnet,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const StationWallet: Wallet = {\n id: WalletID.StationWallet,\n name: \"Station Wallet\",\n install: \"Install Station Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/station-wallet/aiifbnbfobpmeekipheeijimdpnlpgpp\",\n description: \"Station Wallet Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png\",\n provider: TerraStationProvider,\n type: \"extension\",\n supportedChains: [ChainInfoID.Mars1, ChainInfoID.Osmosis1],\n}\n\nexport const StationMobileWallet: Wallet = {\n id: WalletID.StationWalletMobile,\n name: \"Station Wallet\",\n walletConnect: \"Station Wallet WalletConnect\",\n description: \"Station Wallet Mobile App\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png\",\n mobileImageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/wallet-connect.png\",\n provider: MobileTerraStationProvider,\n type: \"app\",\n supportedChains: [],\n}\n\nexport const XdefiWallet: Wallet = {\n id: WalletID.Xdefi,\n name: \"XDEFI Wallet\",\n install: \"Install XDEFI Wallet\",\n installURL: \"https://go.xdefi.io/mars\",\n description: \"XDEFI Extension\",\n imageUrl: \"https://xdefi-static.s3.eu-west-1.amazonaws.com/xdefi.png\",\n provider: XDEFICosmosProvider,\n type: \"extension\",\n supportedChains: [ChainInfoID.Mars1, ChainInfoID.Osmosis1],\n}\n\nexport const wallets: Wallet[] = [\n CosmostationWallet,\n CosmostationMobileWallet,\n FalconWallet,\n KeplrWallet,\n KeplrMobileWallet,\n LeapWallet,\n StationWallet,\n StationMobileWallet,\n XdefiWallet,\n]\n\nexport const getEnabledWallets = (\n wallets: Wallet[],\n enabledWallets: WalletID[keyof WalletID][],\n walletMetaOverride?: IWalletMetaOverride\n): Wallet[] => {\n const updatedWallets = enabledWallets.map((walletID) => {\n return ensure(wallets.find((wallet) => wallet.id === walletID))\n })\n\n if (walletMetaOverride) {\n Object.entries(walletMetaOverride).forEach(([id, override]) => {\n Object.entries(override).forEach(([key, value]) => {\n updatedWallets.forEach((wallet, index) => {\n if (wallet?.id === id) {\n //@ts-ignore\n enabledWalletsFiltered[index][key] = value\n }\n })\n })\n })\n }\n\n return updatedWallets\n}\n\nexport const getWalletProviders = (\n wallets: Wallet[],\n networks?: SimplifiedChainInfo[]\n) => {\n if (!networks) return\n\n const providers: WalletProvider[] = []\n\n wallets.forEach((wallet) => {\n if (wallet.type === \"extension\") {\n const newProvider = new wallet.provider({ networks })\n providers.push(newProvider)\n }\n })\n return providers\n}\n\nexport const getMobileProviders = (\n wallets: Wallet[],\n networks?: SimplifiedChainInfo[]\n) => {\n if (!networks) return\n\n const providers: MobileWalletProvider[] = []\n\n wallets.forEach((wallet) => {\n if (wallet.type === \"app\") {\n const newProvider = new wallet.provider({ networks })\n providers.push(newProvider)\n }\n })\n return providers\n}\n","module.exports = require(\"@cosmjs/cosmwasm-stargate\");","module.exports = require(\"@delphi-labs/shuttle\");","module.exports = require(\"@keplr-wallet/cosmos\");","module.exports = require(\"axios\");","module.exports = require(\"react\");","module.exports = require(\"react-device-detect\");","module.exports = require(\"react-modal\");","module.exports = require(\"react-qr-code\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(607);\n"],"names":["root","factory","exports","module","define","amd","this","setConnected","setConnectedWallet","chainId","connect","providers","wallets","useShuttle","useEffect","recentWallet","find","w","network","recentProvider","p","id","providerId","initialized","then","connectedWallet","account","address","currentWallet","setDisconnected","disconnectWallet","disconnect","MsgExecuteContract","fetchBalances","async","getWalletBalances","WalletManagerContext","createContext","useWalletManager","context","useContext","Error","useWallet","getClient","rpc","rpcURL","slice","CosmWasmClient","WalletManagerProvider","children","chainInfoOverrides","classNames","closeIcon","chainIds","defaultChainId","enabledWallets","enablingStringOverride","persistent","renderLoader","selectWalletOverride","noWalletsOverride","scanQRCodeOverride","stationWalletTutorial","walletMetaOverride","pickerModalOpen","setPickerModalOpen","useState","selectableWallets","setSelectableWallets","status","setStatus","WalletConnectionStatus","Unconnected","setProviders","mobileProviders","setMobileProviders","networks","map","getChainInfo","filteredWallets","getEnabledWallets","prevDefaultChainId","value","ref","useRef","current","usePrevious","getWalletProviders","getMobileProviders","Connected","AutoConnect","shuttleStorage","localStorage","getItem","length","walletState","forEach","wallet","walletProvider","provider","supportedChains","includes","push","installed","initializing","beginConnection","useCallback","terminateConnection","Disconnecting","statusChange","newStatus","useMemo","resetConnection","Retry","ShuttleProvider","Provider","undefined","SelectWalletModal","closeModal","WalletConnect","isOpen","onClose","EnablingWalletModal","Connecting","reset","StationWalletErrorModal","StationWalletError","BaseModal","title","setAppElement","ariaHideApp","className","modalContent","contentElement","props","style","baseModalStyles","onRequestClose","e","preventDefault","overlayClassName","modalOverlay","overlayElement","overlay","content","modalHeader","modalCloseButton","onClick","height","width","CloseIcon","fill","display","viewBox","xmlns","clipRule","d","fillOpacity","fillRule","showHelp","setShowHelp","timeout","setTimeout","clearTimeout","maxWidth","modalStyles","body","text","button","mobileConnect","isHover","setIsHover","lastClicked","setLastClicked","qrCodeUrl","setQRCodeUrl","isConnecting","isConnected","isAutoConnecting","isWalletConnect","isRetry","handleMouseLeave","handleConnect","walletType","connected","slightDelay","error","console","WalletID","StationWallet","Errored","urls","mobileProviderId","callback","isDesktop","walletconnectUrl","isAndroid","window","location","href","androidUrl","isIOS","iosUrl","walletItem","isApp","type","open","installURL","onMouseEnter","walletID","onMouseLeave","selectWalletStyles","walletHover","alt","name","walletImage","src","mobileImageUrl","imageUrl","walletIconImg","walletInfo","walletName","walletConnect","install","walletDescription","description","sortedWallets","filter","sort","a","b","installedWallets","bgColor","walletConnectQR","fgColor","walletList","isMobile","noneAvailableText","headline","intro","textSmall","wrongNetwork","reimportWallet","textSubInfo","ready","retry","backgroundColor","position","top","left","right","bottom","zIndex","alignItems","justifyContent","cursor","margin","transform","padding","border","borderRadius","flexDirection","background","outline","maxHeight","overflowY","fontSize","lineHeight","fontWeight","textTransform","letterSpacing","color","textAlign","gap","boxShadow","appearance","textDecoration","transition","walletDisabled","pointerEvents","opacity","marginLeft","flex","flexWrap","ChainInfoID","browser","storage","local","get","set","SimpleChainInfoList","Cosmoshub4","rest","explorer","explorerName","bip44","coinType","bech32Config","Bech32Address","defaultBech32Config","feeCurrencies","coinDenom","coinMinimalDenom","coinDecimals","coinGeckoId","features","Injective1","gasPrice","gasPriceStep","low","average","high","Juno1","Mars1","alternativeBIP44s","defaultCurrency","MarsAres1","Neutron","NeutronTestnet","Osmosis1","OsmosisDevnet","OsmosisTestnet","Stargaze1","chainInfo","Object","keys","key","uri","url","method","headers","Accept","response","data","catch","err","argument","message","TypeError","CosmostationWallet","Cosmostation","CosmostationProvider","CosmostationMobileWallet","CosmostationMobile","MobileCosmostationProvider","FalconWallet","Falcon","FalconProvider","KeplrWallet","Keplr","KeplrProvider","KeplrMobileWallet","KeplrMobile","MobileKeplrProvider","LeapWallet","Leap","LeapCosmosProvider","TerraStationProvider","StationMobileWallet","StationWalletMobile","MobileTerraStationProvider","XdefiWallet","Xdefi","XDEFICosmosProvider","updatedWallets","ensure","entries","override","index","enabledWalletsFiltered","newProvider","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"index.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,iCAAkC,GAAIH,GACnB,iBAAZC,QACdA,QAAQ,kCAAoCD,IAE5CD,EAA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,CCnB0B8W,CAAoB,I","sources":["webpack://@marsprotocol/wallet-connector/webpack/universalModuleDefinition","webpack://@marsprotocol/wallet-connector/./src/components/AutoConnectHandler.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ConnectedHandler.tsx","webpack://@marsprotocol/wallet-connector/./src/components/DisconnectHandler.tsx","webpack://@marsprotocol/wallet-connector/./src/components/WalletManagerContext.tsx","webpack://@marsprotocol/wallet-connector/./src/components/WalletManagerProvider.tsx","webpack://@marsprotocol/wallet-connector/./src/components/index.ts","webpack://@marsprotocol/wallet-connector/./src/components/ui/BaseModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/CloseIcon.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/EnablingWalletModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/SelectWalletModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/StationWalletErrorModal.tsx","webpack://@marsprotocol/wallet-connector/./src/components/ui/Styles.ts","webpack://@marsprotocol/wallet-connector/./src/components/ui/index.ts","webpack://@marsprotocol/wallet-connector/./src/enums.ts","webpack://@marsprotocol/wallet-connector/./src/index.ts","webpack://@marsprotocol/wallet-connector/./src/utils/chainInfo.ts","webpack://@marsprotocol/wallet-connector/./src/utils/getWalletBalances.ts","webpack://@marsprotocol/wallet-connector/./src/utils/helpers.ts","webpack://@marsprotocol/wallet-connector/./src/utils/index.ts","webpack://@marsprotocol/wallet-connector/./src/utils/wallets.ts","webpack://@marsprotocol/wallet-connector/external commonjs \"@cosmjs/cosmwasm-stargate\"","webpack://@marsprotocol/wallet-connector/external commonjs \"@delphi-labs/shuttle-react\"","webpack://@marsprotocol/wallet-connector/external commonjs \"@keplr-wallet/cosmos\"","webpack://@marsprotocol/wallet-connector/external commonjs \"axios\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react-device-detect\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react-modal\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react-qr-code\"","webpack://@marsprotocol/wallet-connector/external commonjs \"react/jsx-runtime\"","webpack://@marsprotocol/wallet-connector/webpack/bootstrap","webpack://@marsprotocol/wallet-connector/webpack/startup"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"@marsprotocol/wallet-connector\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"@marsprotocol/wallet-connector\"] = factory();\n\telse\n\t\troot[\"@marsprotocol/wallet-connector\"] = factory();\n})(this, () => {\nreturn ","import { useShuttle, WalletConnection } from \"@delphi-labs/shuttle-react\"\nimport { useEffect } from \"react\"\nimport { ChainInfoID } from \"src/enums\"\n\ninterface Props {\n setConnected: () => void\n setConnectedWallet: (recentWallet: WalletConnection) => void\n chainId: ChainInfoID\n}\n\nconst AutoConnectHandler = ({\n setConnected,\n setConnectedWallet,\n chainId,\n}: Props) => {\n const { connect, extensionProviders, wallets } = useShuttle()\n\n useEffect(() => {\n if (wallets === null) return\n const recentWallet = wallets.find((w) => w.network.chainId === chainId)\n\n if (!recentWallet) return\n const recentProvider = extensionProviders.find(\n (p) => p.id === recentWallet.providerId,\n )\n\n if (recentProvider?.initialized) {\n recentProvider\n .connect({ chainId: recentWallet.network.chainId })\n .then(() => {\n setConnected()\n setConnectedWallet(recentWallet)\n })\n }\n }, [\n connect,\n wallets,\n extensionProviders,\n setConnected,\n setConnectedWallet,\n chainId,\n ])\n\n return null\n}\n\nexport default AutoConnectHandler\n","import { useShuttle, WalletConnection } from \"@delphi-labs/shuttle-react\"\nimport { useEffect } from \"react\"\nimport { ChainInfoID } from \"src/enums\"\n\ninterface Props {\n setConnectedWallet: (recentWallet: WalletConnection | undefined) => void\n chainId: ChainInfoID\n connectedWallet?: WalletConnection\n}\n\nconst ConnectedHandler = ({\n setConnectedWallet,\n chainId,\n connectedWallet,\n}: Props) => {\n const { wallets, recentWallet } = useShuttle()\n\n useEffect(() => {\n if (wallets === null || !recentWallet) return\n if (connectedWallet?.account.address === recentWallet.account.address)\n return\n const currentWallet =\n recentWallet.network.chainId === chainId\n ? recentWallet\n : wallets.find((w) => w.network.chainId === chainId)\n setConnectedWallet(currentWallet)\n }, [wallets, recentWallet, setConnectedWallet, chainId, connectedWallet])\n\n return null\n}\n\nexport default ConnectedHandler\n","import { useShuttle } from \"@delphi-labs/shuttle-react\"\nimport { ChainInfoID } from \"src/enums\"\n\ninterface Props {\n setDisconnected: () => void\n setConnectedWallet: () => void\n chainId: ChainInfoID\n}\n\nconst DisconnectHandler = ({\n setDisconnected,\n setConnectedWallet,\n chainId,\n}: Props) => {\n const { disconnectWallet, disconnect, wallets } = useShuttle()\n\n const recentWallet = wallets?.find((w) => w.network.chainId === chainId)\n if (recentWallet) {\n disconnectWallet(recentWallet)\n } else {\n disconnect()\n }\n\n setConnectedWallet()\n setDisconnected()\n\n return null\n}\n\nexport default DisconnectHandler\n","import { CosmWasmClient } from \"@cosmjs/cosmwasm-stargate\"\nimport { MsgExecuteContract, useShuttle } from \"@delphi-labs/shuttle-react\"\nimport { createContext, useContext } from \"react\"\n\nimport { ChainInfoID } from \"../enums\"\nimport { BalancesResponse, IWalletManagerContext } from \"../types\"\nimport { getWalletBalances } from \"../utils\"\n\nconst fetchBalances = async (\n address: string,\n chainId: ChainInfoID,\n): Promise => {\n return await getWalletBalances(address, chainId)\n}\n\nconst WalletManagerContext = createContext(null)\n\nconst useWalletManager = () => {\n const context = useContext(WalletManagerContext)\n if (!context) {\n throw new Error(\"You forgot to use WalletManagerProvider.\")\n }\n\n return context\n}\n\nconst useWallet = useShuttle\n\nconst getClient = async (rpc: string) => {\n const rpcURL = rpc.slice(-1) === \"/\" ? rpc : `${rpc}/`\n const queryClient = await CosmWasmClient.connect(rpcURL)\n\n return queryClient\n}\n\nexport {\n fetchBalances,\n getClient,\n MsgExecuteContract,\n useWallet,\n useWalletManager,\n WalletManagerContext,\n}\n","import {\n ShuttleProvider,\n WalletConnection,\n WalletExtensionProvider,\n WalletMobileProvider,\n} from \"@delphi-labs/shuttle-react\"\nimport {\n FunctionComponent,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\"\n\nimport { WalletConnectionStatus } from \"../enums\"\nimport { Wallet, WalletManagerProviderProps } from \"../types\"\nimport {\n getChainInfo,\n getEnabledWallets,\n getMobileProviders,\n getWalletProviders,\n wallets,\n} from \"../utils\"\nimport AutoConnectHandler from \"./AutoConnectHandler\"\nimport ConnectedHandler from \"./ConnectedHandler\"\nimport DisconnectHandler from \"./DisconnectHandler\"\nimport { SelectWalletModal } from \"./ui\"\nimport { EnablingWalletModal } from \"./ui/EnablingWalletModal\"\nimport { StationWalletErrorModal } from \"./ui/StationWalletErrorModal\"\nimport { WalletManagerContext } from \"./WalletManagerContext\"\n\nexport const WalletManagerProvider: FunctionComponent<\n WalletManagerProviderProps\n> = ({\n children,\n chainInfoOverrides,\n classNames,\n closeIcon,\n chainIds,\n defaultChainId,\n enabledWallets,\n enablingStringOverride,\n persistent = false,\n renderLoader,\n selectWalletOverride,\n noWalletsOverride,\n scanQRCodeOverride,\n stationWalletTutorial,\n walletMetaOverride,\n}) => {\n const [pickerModalOpen, setPickerModalOpen] = useState(false)\n const [selectableWallets, setSelectableWallets] = useState([])\n const [status, setStatus] = useState(\n WalletConnectionStatus.Unconnected,\n )\n const [connectedWallet, setConnectedWallet] = useState<\n WalletConnection | undefined\n >()\n const [providers, setProviders] = useState()\n const [mobileProviders, setMobileProviders] =\n useState()\n\n const networks = chainIds.map((chainId) => {\n return getChainInfo(chainId, chainInfoOverrides)\n })\n\n const filteredWallets = getEnabledWallets(\n wallets,\n enabledWallets,\n walletMetaOverride,\n )\n\n const usePrevious = (value: any) => {\n const ref = useRef()\n useEffect(() => {\n ref.current = value\n })\n return ref.current\n }\n\n const prevDefaultChainId = usePrevious(defaultChainId)\n\n useEffect(() => {\n if (providers || !filteredWallets || !networks) return\n //@ts-ignore\n setProviders(getWalletProviders(filteredWallets, networks))\n }, [filteredWallets, networks, providers])\n\n useEffect(() => {\n if (mobileProviders || !filteredWallets || !networks) return\n setMobileProviders(getMobileProviders(filteredWallets, networks))\n }, [filteredWallets, networks, mobileProviders])\n\n useEffect(() => {\n if (connectedWallet) {\n setStatus(WalletConnectionStatus.Connected)\n return\n }\n\n setStatus(\n persistent\n ? WalletConnectionStatus.AutoConnect\n : WalletConnectionStatus.Unconnected,\n )\n }, [defaultChainId, persistent, connectedWallet])\n\n useEffect(\n () => {\n if (\n (status !== WalletConnectionStatus.Unconnected &&\n status !== WalletConnectionStatus.AutoConnect) ||\n !persistent\n )\n return\n\n const shuttleStorage = localStorage.getItem(\"shuttle-react\")\n if (shuttleStorage !== null && shuttleStorage !== \"[]\")\n setStatus(WalletConnectionStatus.AutoConnect)\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n [],\n )\n\n const closePickerModal = () => {\n if (status === WalletConnectionStatus.WalletConnect) {\n setStatus(WalletConnectionStatus.Unconnected)\n }\n\n setPickerModalOpen(false)\n }\n\n useEffect(() => {\n if (\n !providers ||\n (prevDefaultChainId === defaultChainId && selectableWallets.length > 0)\n )\n return\n const walletState: Wallet[] = []\n filteredWallets.forEach((wallet) => {\n //@ts-ignore\n const walletProvider = providers.find((provider) => {\n return provider.id === wallet.id\n })\n if (wallet.supportedChains.includes(defaultChainId)) {\n walletState.push({\n ...wallet,\n installed:\n walletProvider?.initialized || walletProvider?.initializing,\n })\n }\n })\n setSelectableWallets(walletState)\n if (persistent) setStatus(WalletConnectionStatus.AutoConnect)\n }, [\n providers,\n filteredWallets,\n persistent,\n selectableWallets.length,\n defaultChainId,\n prevDefaultChainId,\n ])\n\n const beginConnection = useCallback(() => {\n setPickerModalOpen(true)\n }, [])\n\n const terminateConnection = useCallback(\n () => setStatus(WalletConnectionStatus.Disconnecting),\n [],\n )\n\n const statusChange = useCallback(\n (newStatus: WalletConnectionStatus) => setStatus(newStatus),\n [],\n )\n\n const value = useMemo(\n () => ({\n connect: beginConnection,\n disconnect: terminateConnection,\n connectedWallet,\n status,\n }),\n [beginConnection, terminateConnection, connectedWallet, status],\n )\n\n const resetConnection = () => {\n setStatus(WalletConnectionStatus.Retry)\n }\n\n if (!providers) return null\n\n return (\n \n \n {status === WalletConnectionStatus.AutoConnect && (\n setStatus(WalletConnectionStatus.Connected)}\n setConnectedWallet={setConnectedWallet}\n />\n )}\n {status === WalletConnectionStatus.Disconnecting && (\n setConnectedWallet(undefined)}\n setDisconnected={() =>\n setStatus(WalletConnectionStatus.Unconnected)\n }\n />\n )}\n {status === WalletConnectionStatus.Connected && (\n \n )}\n {children}\n setPickerModalOpen(false)}\n scanQRCodeOverride={scanQRCodeOverride}\n selectWalletOverride={selectWalletOverride}\n setStatus={statusChange}\n status={status}\n wallets={selectableWallets}\n />\n {\n setStatus(WalletConnectionStatus.Unconnected)\n setPickerModalOpen(true)\n }}\n renderLoader={renderLoader}\n reset={resetConnection}\n />\n {\n setStatus(WalletConnectionStatus.Unconnected)\n setPickerModalOpen(true)\n }}\n renderLoader={renderLoader}\n reset={resetConnection}\n stationWalletTutorial={stationWalletTutorial}\n />\n \n \n )\n}\n","export * from \"./ui\"\nexport * from \"./WalletManagerContext\"\nexport * from \"./WalletManagerProvider\"\n","import React, {\n FunctionComponent,\n PropsWithChildren,\n ReactElement,\n ReactNode,\n useEffect,\n} from \"react\"\nimport ReactModal from \"react-modal\"\n\nimport { ModalClassNames } from \"../../types\"\nimport { CloseIcon as DefaultCloseIcon } from \"./CloseIcon\"\nimport { baseModalStyles } from \"./Styles\"\n\nexport type BaseModalProps = PropsWithChildren<{\n isOpen: boolean\n onClose?: () => void\n title?: ReactElement | string\n maxWidth?: string\n classNames?: ModalClassNames\n closeIcon?: ReactNode\n}>\n\nexport const BaseModal: FunctionComponent = ({\n isOpen,\n onClose,\n title,\n classNames,\n closeIcon,\n children,\n}) => {\n useEffect(() => {\n ReactModal.setAppElement(\"body\")\n }, [])\n\n return (\n (\n
\n {children}\n
\n )}\n isOpen={isOpen}\n onRequestClose={(e) => {\n e.preventDefault()\n onClose?.()\n }}\n overlayClassName={classNames?.modalOverlay ?? \"_\"}\n overlayElement={(props, children) => (\n
\n {children}\n
\n )}\n style={{\n overlay: classNames?.modalOverlay\n ? undefined\n : baseModalStyles.modalOverlay,\n content: classNames?.modalContent\n ? undefined\n : baseModalStyles.modalContent,\n }}\n >\n <>\n \n {title}\n \n\n {onClose && (\n \n {closeIcon ? (\n closeIcon\n ) : (\n \n )}\n \n )}\n {children}\n \n \n )\n}\n","import React, { FunctionComponent, SVGProps } from \"react\"\n\nexport const CloseIcon: FunctionComponent> = (\n props,\n) => (\n \n \n \n)\n","import React, {\n FunctionComponent,\n ReactElement,\n ReactNode,\n useEffect,\n useState,\n} from \"react\"\n\nimport { BaseModal, BaseModalProps } from \"./BaseModal\"\nimport { modalStyles } from \"./Styles\"\n\ninterface Props extends BaseModalProps {\n enablingStringOverride?: string | ReactElement\n reset: () => void\n renderLoader?: () => ReactNode\n}\n\nexport const EnablingWalletModal: FunctionComponent = ({\n isOpen,\n classNames,\n renderLoader,\n enablingStringOverride,\n reset,\n ...props\n}) => {\n const [showHelp, setShowHelp] = useState(false)\n useEffect(() => {\n if (!isOpen) {\n setShowHelp(false)\n return\n }\n\n const timeout = setTimeout(() => setShowHelp(true), 8000)\n return () => clearTimeout(timeout)\n }, [isOpen, setShowHelp])\n return (\n \n
\n {renderLoader && renderLoader()}\n {showHelp && (\n <>\n

\n If nothing shows up in your wallet try to connect again, by\n clicking on the button below. Refresh the page if the problem\n persists.\n

\n \n \n )}\n
\n \n )\n}\n","import { MobileConnectResponse, useShuttle } from \"@delphi-labs/shuttle-react\"\nimport { FunctionComponent, useEffect, useMemo, useState } from \"react\"\nimport { isAndroid, isDesktop, isIOS, isMobile } from \"react-device-detect\"\nimport QRCode from \"react-qr-code\"\n\nimport { ChainInfoID, WalletConnectionStatus, WalletID } from \"../../enums\"\nimport { Wallet } from \"../../types\"\nimport { BaseModal, BaseModalProps } from \"./BaseModal\"\nimport { selectWalletStyles } from \"./Styles\"\n\ninterface Props extends BaseModalProps {\n wallets: Wallet[]\n chainId: ChainInfoID\n closeModal: () => void\n noWalletsOverride?: string\n setStatus: (status: WalletConnectionStatus) => void\n selectWalletOverride?: string\n scanQRCodeOverride?: string\n status: WalletConnectionStatus\n}\n\nexport const SelectWalletModal: FunctionComponent = ({\n wallets,\n chainId,\n closeModal,\n classNames,\n noWalletsOverride,\n selectWalletOverride,\n scanQRCodeOverride,\n setStatus,\n status,\n ...props\n}) => {\n const { connect, mobileConnect } = useShuttle()\n const [isHover, setIsHover] = useState()\n const [lastClicked, setLastClicked] = useState()\n const [qrCodeUrl, setQRCodeUrl] = useState()\n\n /* STATUS */\n const isConnecting = status === WalletConnectionStatus.Connecting\n const isConnected = status === WalletConnectionStatus.Connected\n const isAutoConnecting = status === WalletConnectionStatus.AutoConnect\n const isWalletConnect = status === WalletConnectionStatus.WalletConnect\n const isRetry = status === WalletConnectionStatus.Retry\n\n const handleMouseEnter = (walletID: WalletID) => {\n setIsHover(walletID)\n }\n\n const handleMouseLeave = () => {\n setIsHover(undefined)\n }\n\n const handleConnect = async (\n providerId: WalletID,\n chainId: ChainInfoID,\n walletType: string,\n ) => {\n setLastClicked(providerId)\n let connected = true\n if (walletType !== \"app\") {\n const slightDelay = setTimeout(\n () => setStatus(WalletConnectionStatus.Connecting),\n 500,\n )\n try {\n closeModal()\n await connect({ extensionProviderId: providerId, chainId })\n } catch (error) {\n if (error) {\n console.error(\"Connecting with:\", { providerId, chainId })\n console.error(\"Wallet Connector: \", error)\n connected = false\n }\n }\n clearTimeout(slightDelay)\n setStatus(\n connected\n ? WalletConnectionStatus.Connected\n : providerId === WalletID.StationWallet\n ? WalletConnectionStatus.StationWalletError\n : WalletConnectionStatus.Errored,\n )\n } else {\n try {\n const urls: MobileConnectResponse = await mobileConnect({\n mobileProviderId: providerId,\n chainId,\n callback: () => {\n closeModal()\n },\n })\n if (!isDesktop) {\n setStatus(WalletConnectionStatus.Connecting)\n if (isAndroid) {\n window.location.href = urls.androidUrl\n } else if (isIOS) {\n window.location.href = urls.iosUrl\n } else {\n window.location.href = urls.androidUrl\n }\n } else {\n setStatus(WalletConnectionStatus.WalletConnect)\n setQRCodeUrl(urls.qrCodeUrl)\n }\n } catch (error) {\n if (error) {\n console.error(\"Connecting with:\", { providerId, chainId })\n console.error(\"Wallet Connector: \", error)\n connected = false\n }\n }\n }\n }\n\n useEffect(\n () => {\n if (isConnected || isAutoConnecting || isConnecting) return\n\n if (isRetry && lastClicked)\n handleConnect(lastClicked, chainId, \"extension\")\n }, // eslint-disable-next-line react-hooks/exhaustive-deps\n [\n chainId,\n isConnected,\n isConnecting,\n isAutoConnecting,\n isRetry,\n lastClicked,\n ],\n )\n\n const walletItem = (wallet: Wallet) => {\n const isApp = wallet.type === \"app\"\n const isWalletConnect = isApp && isDesktop\n\n return (\n
\n {\n e.preventDefault()\n setIsHover(undefined)\n if (wallet.installed || wallet.type === \"app\") {\n handleConnect(wallet.id, chainId, wallet.type)\n } else {\n window.open(wallet.installURL, \"_blank\")\n closeModal()\n }\n }}\n onMouseEnter={() => {\n handleMouseEnter(wallet.id)\n }}\n onMouseLeave={handleMouseLeave}\n style={\n classNames?.wallet\n ? undefined\n : isHover === wallet.id\n ? {\n ...selectWalletStyles.wallet,\n ...selectWalletStyles.walletHover,\n }\n : selectWalletStyles.wallet\n }\n >\n \n \n \n {isWalletConnect\n ? wallet.walletConnect\n : isApp || wallet.installed\n ? wallet.name\n : wallet.install}\n
\n \n {isApp || wallet.installed\n ? wallet.description\n : wallet.installURL}\n \n \n \n \n )\n }\n\n const sortedWallets = useMemo(() => {\n return wallets\n .filter((wallet) => isDesktop || wallet.type === \"app\")\n .sort((a, b) => {\n if (a.installed === b.installed) return 0\n return a.installed ? -1 : 1\n })\n }, [wallets])\n\n const installedWallets = useMemo(() => {\n return wallets.filter((wallet) => wallet.installed)\n }, [wallets])\n\n if (!sortedWallets.length) {\n return (\n \n \n {noWalletsOverride\n ? noWalletsOverride\n : \"There are currently no wallets supported for your device\"}\n

\n \n )\n }\n\n return (\n \n {isWalletConnect ? (\n \n {qrCodeUrl && (\n \n )}\n \n ) : (\n \n {isMobile && installedWallets.length\n ? installedWallets.map((wallet) => walletItem(wallet))\n : sortedWallets.map((wallet) => walletItem(wallet))}\n \n )}\n \n )\n}\n","import React, { FunctionComponent, ReactNode } from \"react\"\n\nimport { StationWalletTutorial } from \"../../types\"\nimport { BaseModal, BaseModalProps } from \"./BaseModal\"\nimport { modalStyles } from \"./Styles\"\n\ninterface Props extends BaseModalProps {\n stationWalletTutorial?: StationWalletTutorial\n reset: () => void\n renderLoader?: () => ReactNode\n}\n\nexport const StationWalletErrorModal: FunctionComponent = ({\n isOpen,\n classNames,\n stationWalletTutorial,\n reset,\n ...props\n}) => {\n return (\n \n
\n

\n {stationWalletTutorial?.intro\n ? stationWalletTutorial?.intro\n : \"Connecting to your Station Wallet failed. Potential reasons include:\"}\n

\n

\n {stationWalletTutorial?.wrongNetwork\n ? stationWalletTutorial?.wrongNetwork\n : \"1. You have the wrong network selected. Please make sure to select 'Mainnets' or 'Testnets' by clicking on the gear icon in your Station Wallet interface.\"}\n

\n

\n {stationWalletTutorial?.reimportWallet\n ? stationWalletTutorial?.reimportWallet\n : \"2. Your wallet address may use a legacy derivation path. Removing and reimporting it into Station Wallet will add support for BIP44 paths in addition to the 330 cointype without impacting your balances. If you are using a Ledger, remove your Ledger from your Station Wallet and import it again (making sure to click 'yes' on the 'Import Cosmos accounts' page). If you are not using a Ledger, make sure you've backed up your mnemonic phrase. Then, remove your wallet from the extension and re-add it by importing your mnemonic phrase.\"}\n

\n

\n {stationWalletTutorial?.ready\n ? stationWalletTutorial?.ready\n : \"After trying the suggestions above, please retry the connection.\"}\n

\n \n
\n \n )\n}\n","export const baseModalStyles: { [key: string]: React.CSSProperties } = {\n modalOverlay: {\n backgroundColor: \"rgba(0, 0, 0, 0.6)\",\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n width: \"100vw\",\n height: \"100vh\",\n zIndex: 50,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n cursor: \"pointer\",\n margin: 0,\n },\n\n modalContent: {\n width: \"540px\",\n maxWidth: \"calc(100% - 40px)\",\n position: \"absolute\",\n left: \"50%\",\n transform: \"translateX(-50%)\",\n padding: \"16px\",\n border: \"7px solid #421f32\",\n borderRadius: \"16px\",\n display: \"flex\",\n flexDirection: \"column\",\n background:\n \"linear-gradient(99.79deg, rgba(8, 11, 30, 0.79) 8.17%, rgba(52, 20, 33, 0.9) 94.54%)\",\n outline: \"none\",\n cursor: \"auto\",\n maxHeight: \"100vh\",\n overflowY: \"auto\",\n justifyContent: \"center\",\n },\n\n modalHeader: {\n fontSize: \"21px\",\n lineHeight: \"32px\",\n fontWeight: 400,\n textTransform: \"uppercase\",\n letterSpacing: \"3px\",\n color: \"#FFF\",\n margin: \"0 0 16px\",\n width: \"100%\",\n textAlign: \"center\",\n padding: \"0 30px\",\n zIndex: 1,\n position: \"relative\",\n },\n\n modalCloseButton: {\n position: \"absolute\",\n top: \"16px\",\n right: \"16px\",\n cursor: \"pointer\",\n height: \"24px\",\n width: \"24px\",\n zIndex: 2,\n },\n}\n\nexport const selectWalletStyles: { [key: string]: React.CSSProperties } = {\n walletList: {\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"16px\",\n padding: \"8px 0\",\n },\n\n wallet: {\n background: \"rgba(255, 255, 255, 0)\",\n padding: \"8px\",\n boxShadow: \"none\",\n display: \"flex\",\n alignItems: \"center\",\n appearance: \"none\",\n border: \"none\",\n width: \"100%\",\n textDecoration: \"none\",\n borderRadius: \"8px\",\n cursor: \"pointer\",\n transition: \"all .5s\",\n },\n\n walletHover: {\n background: \"rgba(255, 255, 255, 0.1)\",\n },\n\n walletDisabled: {\n pointerEvents: \"none\",\n opacity: \"0.5\",\n },\n\n walletIconImg: {\n width: \"60px\",\n height: \"60px\",\n },\n\n walletInfo: {\n display: \"flex\",\n flexDirection: \"column\",\n marginLeft: \"20px\",\n fontWeight: \"400\",\n },\n\n walletName: {\n color: \"#FFF\",\n lineHeight: \"24px\",\n fontSize: \"17px\",\n fontWeight: \"600\",\n textTransform: \"uppercase\",\n letterSpacing: \"3px\",\n },\n\n walletDescription: {\n margin: \"4px 0 0\",\n color: \"rgba(255, 255, 255, 0.4)\",\n textAlign: \"left\",\n fontSize: \"15px\",\n lineHeight: \"20px\",\n },\n\n walletConnect: {\n display: \"flex\",\n flex: \"0 0 100%\",\n justifyContent: \"center\",\n padding: \"16px\",\n },\n\n walletConnectQR: {\n backgroundColor: \"#FFF\",\n border: \"6px solid #FFF\",\n display: \"block\",\n height: \"265px\",\n width: \"265px\",\n },\n\n noneAvailableText: {\n textAlign: \"center\",\n },\n}\n\nexport const modalStyles: { [key: string]: React.CSSProperties } = {\n body: {\n flex: \"0 0 100%\",\n display: \"flex\",\n justifyContent: \"center\",\n flexWrap: \"wrap\",\n },\n\n text: {\n width: \"100%\",\n textAlign: \"center\",\n margin: \"0 0 16px\",\n },\n\n textSmall: {\n width: \"100%\",\n textAlign: \"left\",\n fontSize: \"14px\",\n margin: \"0 0 16px\",\n },\n\n textSubInfo: {\n width: \"100%\",\n textAlign: \"center\",\n opacity: \".6\",\n fontSize: \"14px\",\n margin: \"0 0 16px\",\n },\n\n button: {\n appearance: \"none\",\n height: \"32px\",\n lineHeight: \"18px\",\n fontSize: \"15px\",\n color: \"#FFF\",\n padding: \"6px 20px\",\n borderRadius: \"30px\",\n outline: \"none\",\n border: \"none\",\n background: \"#14a693\",\n cursor: \"pointer\",\n },\n}\n","export * from \"./BaseModal\"\nexport * from \"./CloseIcon\"\nexport * from \"./SelectWalletModal\"\nexport * from \"./Styles\"\n","export enum WalletConnectionStatus {\n Unconnected,\n Connecting,\n AutoConnect,\n WalletConnect,\n Connected,\n Disconnecting,\n Errored,\n Retry,\n StationWalletError,\n}\n\nexport enum WalletID {\n Cosmostation = \"cosmostation\",\n CosmostationMobile = \"mobile-cosmostation\",\n Falcon = \"falcon\",\n Keplr = \"keplr\",\n KeplrMobile = \"mobile-keplr\",\n Leap = \"leap-cosmos\",\n StationWallet = \"terra-station\",\n StationWalletMobile = \"mobile-terra-station\",\n Xdefi = \"xfi-cosmos\",\n}\n\nexport enum ChainInfoID {\n Cosmoshub4 = \"cosmoshub-4\",\n Injective1 = \"injective-1\",\n Juno1 = \"juno-1\",\n Mars1 = \"mars-1\",\n MarsAres1 = \"ares-1\",\n Neutron = \"neutron-1\",\n NeutronTestnet = \"pion-1\",\n Osmosis1 = \"osmosis-1\",\n OsmosisDevnet = \"devnet\",\n OsmosisTestnet = \"osmo-test-5\",\n Stargaze1 = \"stargaze-1\",\n}\n","// Fix Safari's nonexistent browser.storage https://github.com/chainapsis/keplr-wallet/blob/4726a96b9663f17b91c5d6b0448bf85ebb4a678a/packages/common/src/kv-store/extension.ts\n\n// eslint-disable-next-line @typescript-eslint/no-namespace\ndeclare namespace browser.storage {\n // eslint-disable-next-line unused-imports/no-unused-vars\n const local: {\n get: undefined\n set: undefined\n }\n}\n\nif (\n typeof window !== \"undefined\" &&\n typeof browser !== \"undefined\" &&\n typeof browser.storage === \"undefined\"\n) {\n browser.storage = { local: { get: undefined, set: undefined } }\n}\n\nexport * from \"./components\"\nexport * from \"./enums\"\nexport * from \"./types\"\nexport * from \"./utils\"\n","import { BIP44, Network } from \"@delphi-labs/shuttle-react\"\nimport { Bech32Address } from \"@keplr-wallet/cosmos\"\n\nimport { ChainInfoID } from \"../enums\"\nimport { ChainInfoOptions } from \"../types\"\n\nexport interface SimplifiedChainInfo extends Network {\n explorer?: string\n explorerName?: string\n alternativeBIP44s?: BIP44[]\n}\n\nexport const SimpleChainInfoList: Record = {\n [ChainInfoID.Cosmoshub4]: {\n rpc: \"https://rpc-cosmoshub.keplr.app\",\n rest: \"https://lcd-cosmoshub.keplr.app\",\n explorer: \"https://www.mintscan.io/cosmos\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Cosmoshub4,\n name: \"Cosmos Hub\",\n bip44: {\n coinType: 118,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"cosmos\"),\n feeCurrencies: [\n {\n coinDenom: \"ATOM\",\n coinMinimalDenom: \"uatom\",\n coinDecimals: 6,\n coinGeckoId: \"cosmos\",\n },\n ],\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Injective1]: {\n rpc: \"https://public.api.injective.network\",\n rest: \"https://public.lcd.injective.network\",\n explorer: \"https://mintscan.io/injective\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Injective1,\n name: \"Injective\",\n bip44: {\n coinType: 60,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"inj\"),\n gasPrice: \"0.0005inj\",\n feeCurrencies: [\n {\n coinDenom: \"INJ\",\n coinMinimalDenom: \"inj\",\n coinDecimals: 18,\n coinGeckoId: \"injective-protocol\",\n gasPriceStep: {\n low: 0.0005,\n average: 0.0007,\n high: 0.0009,\n },\n },\n ],\n\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Juno1]: {\n rpc: \"https://rpc-juno.itastakers.com\",\n rest: \"https://lcd-juno.itastakers.com\",\n explorer: \"https://www.mintscan.io/juno\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Juno1,\n name: \"Juno\",\n bip44: {\n coinType: 118,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"juno\"),\n feeCurrencies: [\n {\n coinDenom: \"JUNO\",\n coinMinimalDenom: \"ujuno\",\n coinDecimals: 6,\n coinGeckoId: \"juno-network\",\n gasPriceStep: {\n low: 0.03,\n average: 0.04,\n high: 0.05,\n },\n },\n ],\n\n features: [\"ibc-transfer\", \"ibc-go\", \"wasmd_0.24+\", \"cosmwasm\"],\n },\n [ChainInfoID.Mars1]: {\n rpc: \"https://rpc.marsprotocol.io\",\n rest: \"https://rest.marsprotocol.io\",\n explorer: \"https://explorer.marsprotocol.io\",\n explorerName: \"Mars Explorer\",\n chainId: ChainInfoID.Mars1,\n name: \"Mars Hub\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n bech32Config: Bech32Address.defaultBech32Config(\"mars\"),\n gasPrice: \"0umars\",\n defaultCurrency: {\n coinDenom: \"MARS\",\n coinMinimalDenom: \"umars\",\n coinDecimals: 6,\n coinGeckoId: \"marsprotocol\",\n gasPriceStep: {\n low: 0,\n average: 0.00625,\n high: 0.01,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.MarsAres1]: {\n rpc: \"https://testnet-rpc.marsprotocol.io\",\n rest: \"https://testnet-rest.marsprotocol.io\",\n explorer: \"https://testnet-explorer.marsprotocol.io\",\n explorerName: \"Mars Explorer\",\n chainId: ChainInfoID.MarsAres1,\n name: \"Mars Hub Testnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n bech32Config: Bech32Address.defaultBech32Config(\"mars\"),\n gasPrice: \"0umars\",\n defaultCurrency: {\n coinDenom: \"MARS\",\n coinMinimalDenom: \"umars\",\n coinDecimals: 6,\n coinGeckoId: \"marsprotocol\",\n gasPriceStep: {\n low: 0,\n average: 0.00625,\n high: 0.01,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Neutron]: {\n rpc: \"https://rpc-neutron.keplr.app/\",\n rest: \"https://lcd-neutron.keplr.app/\",\n explorer: \"https://neutron.explorers.guru\",\n explorerName: \"Explorer\",\n chainId: ChainInfoID.Neutron,\n name: \"Neutron\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025untrn\",\n bech32Config: Bech32Address.defaultBech32Config(\"neutron\"),\n defaultCurrency: {\n coinDenom: \"NTRN\",\n coinMinimalDenom: \"untrn\",\n coinDecimals: 6,\n coinGeckoId: \"neutron\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.NeutronTestnet]: {\n rpc: \"https://rpc-palvus.pion-1.ntrn.tech/\",\n rest: \"https://rest-palvus.pion-1.ntrn.tech/\",\n explorer: \"https://explorer.rs-testnet.polypore.xyz/pion-1\",\n explorerName: \"PING.PUB\",\n chainId: ChainInfoID.NeutronTestnet,\n name: \"Neutron Testnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025untrn\",\n bech32Config: Bech32Address.defaultBech32Config(\"neutron\"),\n defaultCurrency: {\n coinDenom: \"NTRN\",\n coinMinimalDenom: \"untrn\",\n coinDecimals: 6,\n coinGeckoId: \"neutron\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Osmosis1]: {\n rpc: \"https://rpc-osmosis.blockapsis.com\",\n rest: \"https://lcd-osmosis.blockapsis.com\",\n explorer: \"https://www.mintscan.io/osmosis\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Osmosis1,\n name: \"Osmosis\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025uosmo\",\n bech32Config: Bech32Address.defaultBech32Config(\"osmo\"),\n defaultCurrency: {\n coinDenom: \"OSMO\",\n coinMinimalDenom: \"uosmo\",\n coinDecimals: 6,\n coinGeckoId: \"osmosis\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.OsmosisDevnet]: {\n rpc: \"https://rpc.devnet.osmosis.zone\",\n rest: \"\thttps://lcd.devnet.osmosis.zone\",\n explorer: \"https://www.mintscan.io/osmosis\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.OsmosisDevnet,\n name: \"Osmosis Devnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025uosmo\",\n bech32Config: Bech32Address.defaultBech32Config(\"osmo\"),\n defaultCurrency: {\n coinDenom: \"OSMO\",\n coinMinimalDenom: \"uosmo\",\n coinDecimals: 6,\n coinGeckoId: \"osmosis\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.OsmosisTestnet]: {\n rpc: \"https://rpc.osmotest5.osmosis.zone\",\n rest: \"https://lcd.osmotest5.osmosis.zone\",\n explorer: \"https://testnet.mintscan.io/osmosis-testnet\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.OsmosisTestnet,\n name: \"Osmosis Testnet\",\n bip44: {\n coinType: 118,\n },\n alternativeBIP44s: [{ coinType: 330 }],\n gasPrice: \"0.025uosmo\",\n bech32Config: Bech32Address.defaultBech32Config(\"osmo\"),\n defaultCurrency: {\n coinDenom: \"OSMO\",\n coinMinimalDenom: \"uosmo\",\n coinDecimals: 6,\n coinGeckoId: \"osmosis\",\n gasPriceStep: {\n low: 0,\n average: 0.025,\n high: 0.04,\n },\n },\n features: [\"ibc-transfer\", \"ibc-go\"],\n },\n [ChainInfoID.Stargaze1]: {\n rpc: \"https://rpc.stargaze-apis.com\",\n rest: \"https://rest.stargaze-apis.com\",\n explorer: \"https://mintscan.io/stargaze\",\n explorerName: \"Mintscan\",\n chainId: ChainInfoID.Stargaze1,\n name: \"Stargaze\",\n bip44: {\n coinType: 118,\n },\n bech32Config: Bech32Address.defaultBech32Config(\"stars\"),\n feeCurrencies: [\n {\n coinDenom: \"STARS\",\n coinMinimalDenom: \"ustars\",\n coinDecimals: 6,\n coinGeckoId: \"pool:ustars\",\n },\n ],\n features: [\"ibc-transfer\"],\n },\n}\n\nexport const getChainInfo = (\n chainId: ChainInfoID,\n chainInfoOverrides?: ChainInfoOptions,\n) => {\n const chainInfo: SimplifiedChainInfo = SimpleChainInfoList[chainId]\n\n if (chainInfoOverrides && chainInfo) {\n Object.keys(chainInfoOverrides).map(function (key) {\n //@ts-ignore\n chainInfo[key as keyof SimplifiedChainInfo] =\n chainInfoOverrides[key as keyof SimplifiedChainInfo]\n })\n }\n\n return chainInfo\n}\n","import axios from \"axios\"\nimport { ChainInfoID } from \"src/enums\"\n\nimport { BalancesResponse } from \"../types\"\nimport { getChainInfo } from \"../utils\"\n\nexport const getWalletBalances = async (\n address: string,\n chainId: ChainInfoID,\n): Promise => {\n const chainInfo = getChainInfo(chainId)\n const uri =\n chainInfo.rest.slice(-1) === \"/\"\n ? \"cosmos/bank/v1beta1/balances/\"\n : \"/cosmos/bank/v1beta1/balances/\"\n const url = `${chainInfo.rest}${uri}${address}`\n\n return await axios({\n url: url,\n method: \"GET\",\n headers: {\n Accept: \"application/json\",\n \"Content-Type\": \"application/json\",\n },\n })\n .then((response) => {\n return response.data\n })\n .catch((err) => console.error(err))\n}\n","export function ensure(\n argument: T | undefined | null,\n message = \"Can not find value\",\n): T {\n if (argument === undefined || argument === null) {\n throw new TypeError(message)\n }\n\n return argument\n}\n","export * from \"./chainInfo\"\nexport * from \"./getWalletBalances\"\nexport * from \"./wallets\"\n","import {\n CosmostationExtensionProvider,\n CosmostationMobileProvider,\n KeplrExtensionProvider,\n KeplrMobileProvider,\n LeapCosmosExtensionProvider,\n StationExtensionProvider,\n WalletExtensionProvider,\n WalletMobileProvider,\n XDEFICosmosExtensionProvider,\n} from \"@delphi-labs/shuttle-react\"\n\nimport { ChainInfoID, WalletID } from \"../enums\"\nimport { IWalletMetaOverride, Wallet } from \"../types\"\nimport { SimplifiedChainInfo } from \"./chainInfo\"\nimport { ensure } from \"./helpers\"\n\nexport const CosmostationWallet: Wallet = {\n id: WalletID.Cosmostation,\n name: \"Cosmostation Wallet\",\n install: \"Install Cosmostation Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/cosmostation-wallet/fpkhgmpbidmiogeglndfbkegfdlnajnf\",\n description: \"Cosmostation Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png\",\n provider: CosmostationExtensionProvider,\n type: \"extension\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.NeutronTestnet,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisDevnet,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const CosmostationMobileWallet: Wallet = {\n id: WalletID.CosmostationMobile,\n name: \"Cosmostation Wallet\",\n walletConnect: \"Cosmostation WalletConnect\",\n description: \"Cosmostation Mobile App\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png\",\n mobileImageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-connect.png\",\n provider: CosmostationMobileProvider,\n type: \"app\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const KeplrWallet: Wallet = {\n id: WalletID.Keplr,\n name: \"Keplr Wallet\",\n install: \"Install Keplr Wallet\",\n installURL: \"https://www.keplr.app/download\",\n description: \"Keplr Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png\",\n provider: KeplrExtensionProvider,\n type: \"extension\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.NeutronTestnet,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisDevnet,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const KeplrMobileWallet: Wallet = {\n id: WalletID.KeplrMobile,\n name: \"Keplr Wallet\",\n walletConnect: \"Keplr WalletConnect\",\n description: \"Keplr Mobile App\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png\",\n mobileImageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-connect.png\",\n provider: KeplrMobileProvider,\n type: \"app\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const LeapWallet: Wallet = {\n id: WalletID.Leap,\n name: \"Leap Wallet\",\n install: \"Install Leap Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/leap-cosmos-wallet/fcfcfllfndlomdhbehjjcoimbgofdncg\",\n description: \"Leap Extension\",\n imageUrl: \"https://assets.leapwallet.io/logos/leap-cosmos-logo.png\",\n provider: LeapCosmosExtensionProvider,\n type: \"extension\",\n supportedChains: [\n ChainInfoID.Cosmoshub4,\n ChainInfoID.Injective1,\n ChainInfoID.Juno1,\n ChainInfoID.Mars1,\n ChainInfoID.MarsAres1,\n ChainInfoID.NeutronTestnet,\n ChainInfoID.Neutron,\n ChainInfoID.Osmosis1,\n ChainInfoID.OsmosisTestnet,\n ChainInfoID.Stargaze1,\n ],\n}\n\nexport const StationWallet: Wallet = {\n id: WalletID.StationWallet,\n name: \"Station Wallet\",\n install: \"Install Station Wallet\",\n installURL:\n \"https://chrome.google.com/webstore/detail/station-wallet/aiifbnbfobpmeekipheeijimdpnlpgpp\",\n description: \"Station Wallet Extension\",\n imageUrl:\n \"https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png\",\n provider: StationExtensionProvider,\n type: \"extension\",\n supportedChains: [ChainInfoID.Mars1, ChainInfoID.Osmosis1],\n}\n\nexport const XdefiWallet: Wallet = {\n id: WalletID.Xdefi,\n name: \"XDEFI Wallet\",\n install: \"Install XDEFI Wallet\",\n installURL: \"https://go.xdefi.io/mars\",\n description: \"XDEFI Extension\",\n imageUrl: \"https://xdefi-static.s3.eu-west-1.amazonaws.com/xdefi.png\",\n provider: XDEFICosmosExtensionProvider,\n type: \"extension\",\n supportedChains: [ChainInfoID.Mars1, ChainInfoID.Osmosis1],\n}\n\nexport const wallets: Wallet[] = [\n CosmostationWallet,\n CosmostationMobileWallet,\n KeplrWallet,\n KeplrMobileWallet,\n LeapWallet,\n StationWallet,\n XdefiWallet,\n]\n\nexport const getEnabledWallets = (\n wallets: Wallet[],\n enabledWallets: WalletID[keyof WalletID][],\n walletMetaOverride?: IWalletMetaOverride,\n): Wallet[] => {\n const updatedWallets = enabledWallets.map((walletID) => {\n return ensure(wallets.find((wallet) => wallet.id === walletID))\n })\n\n if (walletMetaOverride) {\n Object.entries(walletMetaOverride).forEach(([id, override]) => {\n Object.entries(override).forEach(([key, value]) => {\n updatedWallets.forEach((wallet, index) => {\n if (wallet?.id === id) {\n //@ts-ignore\n enabledWalletsFiltered[index][key] = value\n }\n })\n })\n })\n }\n\n return updatedWallets\n}\n\nexport const getWalletProviders = (\n wallets: Wallet[],\n networks?: SimplifiedChainInfo[],\n) => {\n if (!networks) return\n\n const providers: WalletExtensionProvider[] = []\n\n wallets.forEach((wallet) => {\n if (wallet.type === \"extension\") {\n const newProvider = new wallet.provider({ networks })\n providers.push(newProvider)\n }\n })\n return providers\n}\n\nexport const getMobileProviders = (\n wallets: Wallet[],\n networks?: SimplifiedChainInfo[],\n) => {\n if (!networks) return\n\n const providers: WalletMobileProvider[] = []\n\n wallets.forEach((wallet) => {\n if (wallet.type === \"app\") {\n const newProvider = new wallet.provider({ networks })\n providers.push(newProvider)\n }\n })\n return providers\n}\n","module.exports = require(\"@cosmjs/cosmwasm-stargate\");","module.exports = require(\"@delphi-labs/shuttle-react\");","module.exports = require(\"@keplr-wallet/cosmos\");","module.exports = require(\"axios\");","module.exports = require(\"react\");","module.exports = require(\"react-device-detect\");","module.exports = require(\"react-modal\");","module.exports = require(\"react-qr-code\");","module.exports = require(\"react/jsx-runtime\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(607);\n"],"names":["root","factory","exports","module","define","amd","this","setConnected","setConnectedWallet","chainId","connect","extensionProviders","wallets","useShuttle","useEffect","recentWallet","find","w","network","recentProvider","p","id","providerId","initialized","then","connectedWallet","account","address","currentWallet","setDisconnected","disconnectWallet","disconnect","MsgExecuteContract","fetchBalances","async","getWalletBalances","WalletManagerContext","createContext","useWalletManager","context","useContext","Error","useWallet","getClient","rpc","rpcURL","slice","CosmWasmClient","WalletManagerProvider","children","chainInfoOverrides","classNames","closeIcon","chainIds","defaultChainId","enabledWallets","enablingStringOverride","persistent","renderLoader","selectWalletOverride","noWalletsOverride","scanQRCodeOverride","stationWalletTutorial","walletMetaOverride","pickerModalOpen","setPickerModalOpen","useState","selectableWallets","setSelectableWallets","status","setStatus","WalletConnectionStatus","Unconnected","providers","setProviders","mobileProviders","setMobileProviders","networks","map","getChainInfo","filteredWallets","getEnabledWallets","prevDefaultChainId","value","ref","useRef","current","usePrevious","getWalletProviders","getMobileProviders","Connected","AutoConnect","shuttleStorage","localStorage","getItem","length","walletState","forEach","wallet","walletProvider","provider","supportedChains","includes","push","installed","initializing","beginConnection","useCallback","terminateConnection","Disconnecting","statusChange","newStatus","useMemo","resetConnection","Retry","ShuttleProvider","Provider","undefined","SelectWalletModal","closeModal","WalletConnect","isOpen","onClose","EnablingWalletModal","Connecting","reset","StationWalletErrorModal","StationWalletError","BaseModal","title","setAppElement","ariaHideApp","className","modalContent","contentElement","props","style","baseModalStyles","onRequestClose","e","preventDefault","overlayClassName","modalOverlay","overlayElement","overlay","content","modalHeader","modalCloseButton","onClick","height","width","CloseIcon","fill","display","viewBox","xmlns","clipRule","d","fillOpacity","fillRule","showHelp","setShowHelp","timeout","setTimeout","clearTimeout","maxWidth","modalStyles","body","text","button","mobileConnect","isHover","setIsHover","lastClicked","setLastClicked","qrCodeUrl","setQRCodeUrl","isConnecting","isConnected","isAutoConnecting","isWalletConnect","isRetry","handleMouseLeave","handleConnect","walletType","connected","slightDelay","extensionProviderId","error","console","WalletID","StationWallet","Errored","urls","mobileProviderId","callback","isDesktop","isAndroid","window","location","href","androidUrl","isIOS","iosUrl","walletItem","isApp","type","open","installURL","onMouseEnter","walletID","onMouseLeave","selectWalletStyles","walletHover","alt","name","walletImage","src","mobileImageUrl","imageUrl","walletIconImg","walletInfo","walletName","walletConnect","install","walletDescription","description","sortedWallets","filter","sort","a","b","installedWallets","bgColor","walletConnectQR","fgColor","walletList","isMobile","noneAvailableText","headline","intro","textSmall","wrongNetwork","reimportWallet","textSubInfo","ready","retry","backgroundColor","position","top","left","right","bottom","zIndex","alignItems","justifyContent","cursor","margin","transform","padding","border","borderRadius","flexDirection","background","outline","maxHeight","overflowY","fontSize","lineHeight","fontWeight","textTransform","letterSpacing","color","textAlign","gap","boxShadow","appearance","textDecoration","transition","walletDisabled","pointerEvents","opacity","marginLeft","flex","flexWrap","ChainInfoID","browser","storage","local","get","set","SimpleChainInfoList","Cosmoshub4","rest","explorer","explorerName","bip44","coinType","bech32Config","Bech32Address","defaultBech32Config","feeCurrencies","coinDenom","coinMinimalDenom","coinDecimals","coinGeckoId","features","Injective1","gasPrice","gasPriceStep","low","average","high","Juno1","Mars1","alternativeBIP44s","defaultCurrency","MarsAres1","Neutron","NeutronTestnet","Osmosis1","OsmosisDevnet","OsmosisTestnet","Stargaze1","chainInfo","Object","keys","key","uri","url","method","headers","Accept","response","data","catch","err","argument","message","TypeError","CosmostationWallet","Cosmostation","CosmostationExtensionProvider","CosmostationMobileWallet","CosmostationMobile","CosmostationMobileProvider","KeplrWallet","Keplr","KeplrExtensionProvider","KeplrMobileWallet","KeplrMobile","KeplrMobileProvider","LeapWallet","Leap","LeapCosmosExtensionProvider","StationExtensionProvider","XdefiWallet","Xdefi","XDEFICosmosExtensionProvider","updatedWallets","ensure","entries","override","index","enabledWalletsFiltered","newProvider","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","call"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/types.d.ts b/dist/types.d.ts index fbae336..5bc5c48 100644 --- a/dist/types.d.ts +++ b/dist/types.d.ts @@ -1,5 +1,5 @@ import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate"; -import { Bech32Config, BIP44, BroadcastResult, SigningResult, SimulateResult, TransactionMsg, WalletConnection } from "@delphi-labs/shuttle"; +import { Bech32Config, BIP44, BroadcastResult, SigningResult, SimulateResult, TransactionMsg, WalletConnection } from "@delphi-labs/shuttle-react"; import { AppCurrency, Currency } from "@keplr-wallet/types"; import { AxiosRequestConfig } from "axios"; import { ReactNode } from "react"; diff --git a/dist/types.d.ts.map b/dist/types.d.ts.map index 1278758..048344f 100644 --- a/dist/types.d.ts.map +++ b/dist/types.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"types.d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No newline at end of file diff --git a/dist/utils/chainInfo.d.ts b/dist/utils/chainInfo.d.ts index c6897f7..a49e257 100644 --- a/dist/utils/chainInfo.d.ts +++ b/dist/utils/chainInfo.d.ts @@ -1,4 +1,4 @@ -import { BIP44, Network } from "@delphi-labs/shuttle"; +import { BIP44, Network } from "@delphi-labs/shuttle-react"; import { ChainInfoID } from "../enums"; import { ChainInfoOptions } from "../types"; export interface SimplifiedChainInfo extends Network { diff --git a/dist/utils/chainInfo.d.ts.map b/dist/utils/chainInfo.d.ts.map index 31e28b2..5470c3f 100644 --- a/dist/utils/chainInfo.d.ts.map +++ b/dist/utils/chainInfo.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"chainInfo.d.ts","sourceRoot":"","sources":["../../src/utils/chainInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,WAAW,mBAAoB,SAAQ,OAAO;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,CAAC,EAAE,KAAK,EAAE,CAAA;CAC5B;AAED,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,mBAAmB,CAwRxE,CAAA;AAED,eAAO,MAAM,YAAY,YACd,WAAW,uBACC,gBAAgB,wBAatC,CAAA"} \ No newline at end of file +{"version":3,"file":"chainInfo.d.ts","sourceRoot":"","sources":["../../src/utils/chainInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAE3C,MAAM,WAAW,mBAAoB,SAAQ,OAAO;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,CAAC,EAAE,KAAK,EAAE,CAAA;CAC5B;AAED,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,WAAW,EAAE,mBAAmB,CAwRxE,CAAA;AAED,eAAO,MAAM,YAAY,YACd,WAAW,uBACC,gBAAgB,wBAatC,CAAA"} \ No newline at end of file diff --git a/dist/utils/wallets.d.ts b/dist/utils/wallets.d.ts index 0547461..2babdac 100644 --- a/dist/utils/wallets.d.ts +++ b/dist/utils/wallets.d.ts @@ -1,18 +1,16 @@ -import { MobileWalletProvider, WalletProvider } from "@delphi-labs/shuttle"; +import { WalletExtensionProvider, WalletMobileProvider } from "@delphi-labs/shuttle-react"; import { WalletID } from "../enums"; import { IWalletMetaOverride, Wallet } from "../types"; import { SimplifiedChainInfo } from "./chainInfo"; export declare const CosmostationWallet: Wallet; export declare const CosmostationMobileWallet: Wallet; -export declare const FalconWallet: Wallet; export declare const KeplrWallet: Wallet; export declare const KeplrMobileWallet: Wallet; export declare const LeapWallet: Wallet; export declare const StationWallet: Wallet; -export declare const StationMobileWallet: Wallet; export declare const XdefiWallet: Wallet; export declare const wallets: Wallet[]; export declare const getEnabledWallets: (wallets: Wallet[], enabledWallets: WalletID[keyof WalletID][], walletMetaOverride?: IWalletMetaOverride) => Wallet[]; -export declare const getWalletProviders: (wallets: Wallet[], networks?: SimplifiedChainInfo[]) => WalletProvider[] | undefined; -export declare const getMobileProviders: (wallets: Wallet[], networks?: SimplifiedChainInfo[]) => MobileWalletProvider[] | undefined; +export declare const getWalletProviders: (wallets: Wallet[], networks?: SimplifiedChainInfo[]) => WalletExtensionProvider[] | undefined; +export declare const getMobileProviders: (wallets: Wallet[], networks?: SimplifiedChainInfo[]) => WalletMobileProvider[] | undefined; //# sourceMappingURL=wallets.d.ts.map \ No newline at end of file diff --git a/dist/utils/wallets.d.ts.map b/dist/utils/wallets.d.ts.map index 7943718..a936521 100644 --- a/dist/utils/wallets.d.ts.map +++ b/dist/utils/wallets.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../../src/utils/wallets.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,oBAAoB,EAEpB,cAAc,EAEf,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAe,QAAQ,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAGjD,eAAO,MAAM,kBAAkB,EAAE,MAwBhC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,MAsBtC,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,MAY1B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAuBzB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAmB/B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAsBxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,MAY3B,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,MAYjC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAUzB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,MAAM,EAU3B,CAAA;AAED,eAAO,MAAM,iBAAiB,YACnB,MAAM,EAAE,kBACD,QAAQ,CAAC,MAAM,QAAQ,CAAC,EAAE,uBACrB,mBAAmB,KACvC,MAAM,EAmBR,CAAA;AAED,eAAO,MAAM,kBAAkB,YACpB,MAAM,EAAE,aACN,mBAAmB,EAAE,iCAajC,CAAA;AAED,eAAO,MAAM,kBAAkB,YACpB,MAAM,EAAE,aACN,mBAAmB,EAAE,uCAajC,CAAA"} \ No newline at end of file +{"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../../src/utils/wallets.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,uBAAuB,EACvB,oBAAoB,EAErB,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAe,QAAQ,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAGjD,eAAO,MAAM,kBAAkB,EAAE,MAwBhC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,MAsBtC,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAuBzB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,MAmB/B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,MAsBxB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,MAY3B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,MAUzB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,MAAM,EAQ3B,CAAA;AAED,eAAO,MAAM,iBAAiB,YACnB,MAAM,EAAE,kBACD,QAAQ,CAAC,MAAM,QAAQ,CAAC,EAAE,uBACrB,mBAAmB,KACvC,MAAM,EAmBR,CAAA;AAED,eAAO,MAAM,kBAAkB,YACpB,MAAM,EAAE,aACN,mBAAmB,EAAE,0CAajC,CAAA;AAED,eAAO,MAAM,kBAAkB,YACpB,MAAM,EAAE,aACN,mBAAmB,EAAE,uCAajC,CAAA"} \ No newline at end of file diff --git a/package.json b/package.json index a34ea41..8ca5bf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@marsprotocol/wallet-connector", - "version": "1.8.9", + "version": "1.9.0", "repository": { "type": "git", "url": "git+https://github.com/mars-protocol/wallet-connector.git" @@ -28,9 +28,9 @@ "format": "eslint . --fix" }, "dependencies": { - "@cosmjs/cosmwasm-stargate": "^0.30.1", - "@delphi-labs/shuttle": "^2.14.0", - "@keplr-wallet/cosmos": "^0.11.63", + "@cosmjs/cosmwasm-stargate": "^0.31.0", + "@delphi-labs/shuttle-react": "^3.3.0", + "@keplr-wallet/cosmos": "^0.12.15", "axios": "^1.4.0", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -39,36 +39,36 @@ "react-qr-code": "^2.0.11" }, "devDependencies": { - "webpack": "^5.82.1", - "webpack-cli": "^5.1.1", + "webpack": "^5.88.1", + "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0", - "@keplr-wallet/types": "^0.11.63", - "@types/node": "^20.1.7", - "@types/react": "^18.2.6", - "@types/react-dom": "^18.2.4", + "@keplr-wallet/types": "^0.12.15", + "@types/node": "^20.4.1", + "@types/react": "^18.2.14", + "@types/react-dom": "^18.2.6", "@types/react-modal": "^3.16.0", - "@typescript-eslint/eslint-plugin": "^5.59.6", - "@typescript-eslint/parser": "^5.59.6", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/parser": "^6.0.0", "autoprefixer": "^10.4.14", "buffer": "^6.0.3", "crypto-browserify": "^3.12.0", - "eslint": "^8.40.0", + "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-simple-import-sort": "^10.0.0", - "eslint-plugin-unused-imports": "^2.0.0", + "eslint-plugin-unused-imports": "^3.0.0", "path-browserify": "^1.0.1", - "postcss": "^8.4.23", - "prettier": "^2.8.8", + "postcss": "^8.4.25", + "prettier": "^3.0.0", "process": "^0.11.10", "react": "^18.2.0", "react-dom": "^18.2.0", - "secretjs": "^1.9.0", + "secretjs": "^1.9.3", "stream-browserify": "^3.0.0", - "ts-loader": "^9.4.2", - "typescript": "^5.0.4", + "ts-loader": "^9.4.4", + "typescript": "^5.1.6", "url-loader": "^4.1.1" }, "description": "![mars-banner-1200w](https://marsprotocol.io/banner.png)", diff --git a/src/components/AutoConnectHandler.tsx b/src/components/AutoConnectHandler.tsx index 55efb74..69a30ea 100644 --- a/src/components/AutoConnectHandler.tsx +++ b/src/components/AutoConnectHandler.tsx @@ -1,4 +1,4 @@ -import { useShuttle, WalletConnection } from "@delphi-labs/shuttle" +import { useShuttle, WalletConnection } from "@delphi-labs/shuttle-react" import { useEffect } from "react" import { ChainInfoID } from "src/enums" @@ -13,15 +13,15 @@ const AutoConnectHandler = ({ setConnectedWallet, chainId, }: Props) => { - const { connect, providers, wallets } = useShuttle() + const { connect, extensionProviders, wallets } = useShuttle() useEffect(() => { if (wallets === null) return const recentWallet = wallets.find((w) => w.network.chainId === chainId) if (!recentWallet) return - const recentProvider = providers.find( - (p) => p.id === recentWallet.providerId + const recentProvider = extensionProviders.find( + (p) => p.id === recentWallet.providerId, ) if (recentProvider?.initialized) { @@ -32,7 +32,14 @@ const AutoConnectHandler = ({ setConnectedWallet(recentWallet) }) } - }, [connect, wallets, providers, setConnected, setConnectedWallet, chainId]) + }, [ + connect, + wallets, + extensionProviders, + setConnected, + setConnectedWallet, + chainId, + ]) return null } diff --git a/src/components/ConnectedHandler.tsx b/src/components/ConnectedHandler.tsx index 661fbb8..d7e39a9 100644 --- a/src/components/ConnectedHandler.tsx +++ b/src/components/ConnectedHandler.tsx @@ -1,4 +1,4 @@ -import { useShuttle, WalletConnection } from "@delphi-labs/shuttle" +import { useShuttle, WalletConnection } from "@delphi-labs/shuttle-react" import { useEffect } from "react" import { ChainInfoID } from "src/enums" diff --git a/src/components/DisconnectHandler.tsx b/src/components/DisconnectHandler.tsx index e45c0c0..2f4fc46 100644 --- a/src/components/DisconnectHandler.tsx +++ b/src/components/DisconnectHandler.tsx @@ -1,4 +1,4 @@ -import { useShuttle } from "@delphi-labs/shuttle" +import { useShuttle } from "@delphi-labs/shuttle-react" import { ChainInfoID } from "src/enums" interface Props { diff --git a/src/components/WalletManagerContext.tsx b/src/components/WalletManagerContext.tsx index 9d78ab7..ab94b84 100644 --- a/src/components/WalletManagerContext.tsx +++ b/src/components/WalletManagerContext.tsx @@ -1,5 +1,5 @@ import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate" -import { MsgExecuteContract, useShuttle } from "@delphi-labs/shuttle" +import { MsgExecuteContract, useShuttle } from "@delphi-labs/shuttle-react" import { createContext, useContext } from "react" import { ChainInfoID } from "../enums" @@ -8,7 +8,7 @@ import { getWalletBalances } from "../utils" const fetchBalances = async ( address: string, - chainId: ChainInfoID + chainId: ChainInfoID, ): Promise => { return await getWalletBalances(address, chainId) } diff --git a/src/components/WalletManagerProvider.tsx b/src/components/WalletManagerProvider.tsx index f7a6be5..2c03a27 100644 --- a/src/components/WalletManagerProvider.tsx +++ b/src/components/WalletManagerProvider.tsx @@ -1,9 +1,9 @@ import { - MobileWalletProvider, ShuttleProvider, WalletConnection, - WalletProvider, -} from "@delphi-labs/shuttle" + WalletExtensionProvider, + WalletMobileProvider, +} from "@delphi-labs/shuttle-react" import { FunctionComponent, useCallback, @@ -52,14 +52,14 @@ export const WalletManagerProvider: FunctionComponent< const [pickerModalOpen, setPickerModalOpen] = useState(false) const [selectableWallets, setSelectableWallets] = useState([]) const [status, setStatus] = useState( - WalletConnectionStatus.Unconnected + WalletConnectionStatus.Unconnected, ) const [connectedWallet, setConnectedWallet] = useState< WalletConnection | undefined >() - const [providers, setProviders] = useState() + const [providers, setProviders] = useState() const [mobileProviders, setMobileProviders] = - useState() + useState() const networks = chainIds.map((chainId) => { return getChainInfo(chainId, chainInfoOverrides) @@ -68,7 +68,7 @@ export const WalletManagerProvider: FunctionComponent< const filteredWallets = getEnabledWallets( wallets, enabledWallets, - walletMetaOverride + walletMetaOverride, ) const usePrevious = (value: any) => { @@ -101,7 +101,7 @@ export const WalletManagerProvider: FunctionComponent< setStatus( persistent ? WalletConnectionStatus.AutoConnect - : WalletConnectionStatus.Unconnected + : WalletConnectionStatus.Unconnected, ) }, [defaultChainId, persistent, connectedWallet]) @@ -114,11 +114,11 @@ export const WalletManagerProvider: FunctionComponent< ) return - const shuttleStorage = localStorage.getItem("shuttle") + const shuttleStorage = localStorage.getItem("shuttle-react") if (shuttleStorage !== null && shuttleStorage !== "[]") setStatus(WalletConnectionStatus.AutoConnect) }, // eslint-disable-next-line react-hooks/exhaustive-deps - [] + [], ) const closePickerModal = () => { @@ -166,12 +166,12 @@ export const WalletManagerProvider: FunctionComponent< const terminateConnection = useCallback( () => setStatus(WalletConnectionStatus.Disconnecting), - [] + [], ) const statusChange = useCallback( (newStatus: WalletConnectionStatus) => setStatus(newStatus), - [] + [], ) const value = useMemo( @@ -181,7 +181,7 @@ export const WalletManagerProvider: FunctionComponent< connectedWallet, status, }), - [beginConnection, terminateConnection, connectedWallet, status] + [beginConnection, terminateConnection, connectedWallet, status], ) const resetConnection = () => { @@ -192,9 +192,9 @@ export const WalletManagerProvider: FunctionComponent< return ( {status === WalletConnectionStatus.AutoConnect && ( diff --git a/src/components/ui/CloseIcon.tsx b/src/components/ui/CloseIcon.tsx index c9b64d1..1c3d672 100644 --- a/src/components/ui/CloseIcon.tsx +++ b/src/components/ui/CloseIcon.tsx @@ -1,7 +1,7 @@ import React, { FunctionComponent, SVGProps } from "react" export const CloseIcon: FunctionComponent> = ( - props + props, ) => ( = ({ const handleConnect = async ( providerId: WalletID, chainId: ChainInfoID, - walletType: string + walletType: string, ) => { setLastClicked(providerId) let connected = true if (walletType !== "app") { const slightDelay = setTimeout( () => setStatus(WalletConnectionStatus.Connecting), - 500 + 500, ) try { closeModal() - await connect({ providerId, chainId }) + await connect({ extensionProviderId: providerId, chainId }) } catch (error) { if (error) { console.error("Connecting with:", { providerId, chainId }) @@ -79,11 +79,11 @@ export const SelectWalletModal: FunctionComponent = ({ ? WalletConnectionStatus.Connected : providerId === WalletID.StationWallet ? WalletConnectionStatus.StationWalletError - : WalletConnectionStatus.Errored + : WalletConnectionStatus.Errored, ) } else { try { - const urls = await mobileConnect({ + const urls: MobileConnectResponse = await mobileConnect({ mobileProviderId: providerId, chainId, callback: () => { @@ -101,7 +101,7 @@ export const SelectWalletModal: FunctionComponent = ({ } } else { setStatus(WalletConnectionStatus.WalletConnect) - setQRCodeUrl(urls.walletconnectUrl) + setQRCodeUrl(urls.qrCodeUrl) } } catch (error) { if (error) { @@ -120,7 +120,14 @@ export const SelectWalletModal: FunctionComponent = ({ if (isRetry && lastClicked) handleConnect(lastClicked, chainId, "extension") }, // eslint-disable-next-line react-hooks/exhaustive-deps - [chainId, isConnected, isConnecting, isAutoConnecting, isRetry, lastClicked] + [ + chainId, + isConnected, + isConnecting, + isAutoConnecting, + isRetry, + lastClicked, + ], ) const walletItem = (wallet: Wallet) => { diff --git a/src/types.ts b/src/types.ts index 8714e74..e3280fb 100644 --- a/src/types.ts +++ b/src/types.ts @@ -7,7 +7,7 @@ import { SimulateResult, TransactionMsg, WalletConnection, -} from "@delphi-labs/shuttle" +} from "@delphi-labs/shuttle-react" import { AppCurrency, Currency } from "@keplr-wallet/types" import { AxiosRequestConfig } from "axios" import { ReactNode } from "react" diff --git a/src/utils/chainInfo.ts b/src/utils/chainInfo.ts index 188be49..3e172b2 100644 --- a/src/utils/chainInfo.ts +++ b/src/utils/chainInfo.ts @@ -1,4 +1,4 @@ -import { BIP44, Network } from "@delphi-labs/shuttle" +import { BIP44, Network } from "@delphi-labs/shuttle-react" import { Bech32Address } from "@keplr-wallet/cosmos" import { ChainInfoID } from "../enums" @@ -294,7 +294,7 @@ export const SimpleChainInfoList: Record = { export const getChainInfo = ( chainId: ChainInfoID, - chainInfoOverrides?: ChainInfoOptions + chainInfoOverrides?: ChainInfoOptions, ) => { const chainInfo: SimplifiedChainInfo = SimpleChainInfoList[chainId] diff --git a/src/utils/getWalletBalances.ts b/src/utils/getWalletBalances.ts index cef6ba5..bb15b4e 100644 --- a/src/utils/getWalletBalances.ts +++ b/src/utils/getWalletBalances.ts @@ -6,7 +6,7 @@ import { getChainInfo } from "../utils" export const getWalletBalances = async ( address: string, - chainId: ChainInfoID + chainId: ChainInfoID, ): Promise => { const chainInfo = getChainInfo(chainId) const uri = diff --git a/src/utils/helpers.ts b/src/utils/helpers.ts index e9946f3..a66ff68 100644 --- a/src/utils/helpers.ts +++ b/src/utils/helpers.ts @@ -1,6 +1,6 @@ export function ensure( argument: T | undefined | null, - message = "Can not find value" + message = "Can not find value", ): T { if (argument === undefined || argument === null) { throw new TypeError(message) diff --git a/src/utils/wallets.ts b/src/utils/wallets.ts index 31e0ac0..095d429 100644 --- a/src/utils/wallets.ts +++ b/src/utils/wallets.ts @@ -1,16 +1,14 @@ import { - CosmostationProvider, - FalconProvider, - KeplrProvider, - LeapCosmosProvider, - MobileCosmostationProvider, - MobileKeplrProvider, - MobileTerraStationProvider, - MobileWalletProvider, - TerraStationProvider, - WalletProvider, - XDEFICosmosProvider, -} from "@delphi-labs/shuttle" + CosmostationExtensionProvider, + CosmostationMobileProvider, + KeplrExtensionProvider, + KeplrMobileProvider, + LeapCosmosExtensionProvider, + StationExtensionProvider, + WalletExtensionProvider, + WalletMobileProvider, + XDEFICosmosExtensionProvider, +} from "@delphi-labs/shuttle-react" import { ChainInfoID, WalletID } from "../enums" import { IWalletMetaOverride, Wallet } from "../types" @@ -26,7 +24,7 @@ export const CosmostationWallet: Wallet = { description: "Cosmostation Extension", imageUrl: "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png", - provider: CosmostationProvider, + provider: CosmostationExtensionProvider, type: "extension", supportedChains: [ ChainInfoID.Cosmoshub4, @@ -52,7 +50,7 @@ export const CosmostationMobileWallet: Wallet = { "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-extension.png", mobileImageUrl: "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/cosmostation-wallet-connect.png", - provider: MobileCosmostationProvider, + provider: CosmostationMobileProvider, type: "app", supportedChains: [ ChainInfoID.Cosmoshub4, @@ -67,20 +65,6 @@ export const CosmostationMobileWallet: Wallet = { ], } -export const FalconWallet: Wallet = { - id: WalletID.Falcon, - name: "Falcon Wallet", - install: "Install Falcon Wallet", - installURL: - "https://chrome.google.com/webstore/detail/falcon-wallet/gkhnjcpkikkkfhhdhhphcbhmkikoicgn", - description: "Falcon Extension", - imageUrl: - "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/falcon-wallet-extension.png", - provider: FalconProvider, - type: "extension", - supportedChains: [ChainInfoID.Cosmoshub4, ChainInfoID.Osmosis1], -} - export const KeplrWallet: Wallet = { id: WalletID.Keplr, name: "Keplr Wallet", @@ -89,7 +73,7 @@ export const KeplrWallet: Wallet = { description: "Keplr Extension", imageUrl: "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png", - provider: KeplrProvider, + provider: KeplrExtensionProvider, type: "extension", supportedChains: [ ChainInfoID.Cosmoshub4, @@ -115,7 +99,7 @@ export const KeplrMobileWallet: Wallet = { "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-extension.png", mobileImageUrl: "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/keplr-wallet-connect.png", - provider: MobileKeplrProvider, + provider: KeplrMobileProvider, type: "app", supportedChains: [ ChainInfoID.Cosmoshub4, @@ -135,7 +119,7 @@ export const LeapWallet: Wallet = { "https://chrome.google.com/webstore/detail/leap-cosmos-wallet/fcfcfllfndlomdhbehjjcoimbgofdncg", description: "Leap Extension", imageUrl: "https://assets.leapwallet.io/logos/leap-cosmos-logo.png", - provider: LeapCosmosProvider, + provider: LeapCosmosExtensionProvider, type: "extension", supportedChains: [ ChainInfoID.Cosmoshub4, @@ -160,25 +144,11 @@ export const StationWallet: Wallet = { description: "Station Wallet Extension", imageUrl: "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png", - provider: TerraStationProvider, + provider: StationExtensionProvider, type: "extension", supportedChains: [ChainInfoID.Mars1, ChainInfoID.Osmosis1], } -export const StationMobileWallet: Wallet = { - id: WalletID.StationWalletMobile, - name: "Station Wallet", - walletConnect: "Station Wallet WalletConnect", - description: "Station Wallet Mobile App", - imageUrl: - "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/terra-station-wallet-extension.png", - mobileImageUrl: - "https://raw.githubusercontent.com/mars-protocol/wallet-connector/main/src/components/ui/images/wallet-connect.png", - provider: MobileTerraStationProvider, - type: "app", - supportedChains: [], -} - export const XdefiWallet: Wallet = { id: WalletID.Xdefi, name: "XDEFI Wallet", @@ -186,7 +156,7 @@ export const XdefiWallet: Wallet = { installURL: "https://go.xdefi.io/mars", description: "XDEFI Extension", imageUrl: "https://xdefi-static.s3.eu-west-1.amazonaws.com/xdefi.png", - provider: XDEFICosmosProvider, + provider: XDEFICosmosExtensionProvider, type: "extension", supportedChains: [ChainInfoID.Mars1, ChainInfoID.Osmosis1], } @@ -194,19 +164,17 @@ export const XdefiWallet: Wallet = { export const wallets: Wallet[] = [ CosmostationWallet, CosmostationMobileWallet, - FalconWallet, KeplrWallet, KeplrMobileWallet, LeapWallet, StationWallet, - StationMobileWallet, XdefiWallet, ] export const getEnabledWallets = ( wallets: Wallet[], enabledWallets: WalletID[keyof WalletID][], - walletMetaOverride?: IWalletMetaOverride + walletMetaOverride?: IWalletMetaOverride, ): Wallet[] => { const updatedWallets = enabledWallets.map((walletID) => { return ensure(wallets.find((wallet) => wallet.id === walletID)) @@ -230,11 +198,11 @@ export const getEnabledWallets = ( export const getWalletProviders = ( wallets: Wallet[], - networks?: SimplifiedChainInfo[] + networks?: SimplifiedChainInfo[], ) => { if (!networks) return - const providers: WalletProvider[] = [] + const providers: WalletExtensionProvider[] = [] wallets.forEach((wallet) => { if (wallet.type === "extension") { @@ -247,11 +215,11 @@ export const getWalletProviders = ( export const getMobileProviders = ( wallets: Wallet[], - networks?: SimplifiedChainInfo[] + networks?: SimplifiedChainInfo[], ) => { if (!networks) return - const providers: MobileWalletProvider[] = [] + const providers: WalletMobileProvider[] = [] wallets.forEach((wallet) => { if (wallet.type === "app") { diff --git a/yarn.lock b/yarn.lock index 7c6d7c7..4b6b83e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,11 @@ # yarn lockfile v1 +"@aashutoshrathi/word-wrap@^1.2.3": + version "1.2.6" + resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" + integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== + "@apollo/client@^3.5.8": version "3.7.7" resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.7.7.tgz#5eb6e8af24fb809c97c8f66c3faf9524f83c412b" @@ -36,26 +41,6 @@ "@noble/hashes" "^1.0.0" protobufjs "^6.8.8" -"@cosmjs/amino@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.27.1.tgz#0910256b5aecd794420bb5f7319d98fc63252fa1" - integrity sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA== - dependencies: - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - -"@cosmjs/amino@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.29.5.tgz#053b4739a90b15b9e2b781ccd484faf64bd49aec" - integrity sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw== - dependencies: - "@cosmjs/crypto" "^0.29.5" - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/math" "^0.29.5" - "@cosmjs/utils" "^0.29.5" - "@cosmjs/amino@^0.30.1": version "0.30.1" resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.30.1.tgz#7c18c14627361ba6c88e3495700ceea1f76baace" @@ -66,81 +51,58 @@ "@cosmjs/math" "^0.30.1" "@cosmjs/utils" "^0.30.1" -"@cosmjs/cosmwasm-stargate@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.5.tgz#3f257da682658833e0f4eb9e8ff758e4d927663a" - integrity sha512-TNdSvm2tEE3XMCuxHxquzls56t40hC8qnLeYJWHsY2ECZmRK3KrnpRReEr7N7bLtODToK7X/riYrV0JaYxjrYA== - dependencies: - "@cosmjs/amino" "^0.29.5" - "@cosmjs/crypto" "^0.29.5" - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/math" "^0.29.5" - "@cosmjs/proto-signing" "^0.29.5" - "@cosmjs/stargate" "^0.29.5" - "@cosmjs/tendermint-rpc" "^0.29.5" - "@cosmjs/utils" "^0.29.5" - cosmjs-types "^0.5.2" +"@cosmjs/amino@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.31.0.tgz#49b33047295002804ad51bdf7ec0c2c97f1b553d" + integrity sha512-xJ5CCEK7H79FTpOuEmlpSzVI+ZeYESTVvO3wHDgbnceIyAne3C68SvyaKqLUR4uJB0Z4q4+DZHbqW6itUiv4lA== + dependencies: + "@cosmjs/crypto" "^0.31.0" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/math" "^0.31.0" + "@cosmjs/utils" "^0.31.0" + +"@cosmjs/cosmwasm-stargate@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.31.0.tgz#a9ea82471ca035b8d7f6ae640ad44b5f497be8c6" + integrity sha512-l6aX++3LhaAGZO46qIgrrNF40lYhOrdPfl35Z32ks6Wf3mwgbQEZwaxnoGzwUePY7/yaIiEFJ1JO6MlVPZVuag== + dependencies: + "@cosmjs/amino" "^0.31.0" + "@cosmjs/crypto" "^0.31.0" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/math" "^0.31.0" + "@cosmjs/proto-signing" "^0.31.0" + "@cosmjs/stargate" "^0.31.0" + "@cosmjs/tendermint-rpc" "^0.31.0" + "@cosmjs/utils" "^0.31.0" + cosmjs-types "^0.8.0" long "^4.0.0" pako "^2.0.2" -"@cosmjs/cosmwasm-stargate@^0.30.1": +"@cosmjs/crypto@^0.30.1": version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.30.1.tgz#6f9ca310f75433a3e30d683bc6aa24eadb345d79" - integrity sha512-W/6SLUCJAJGBN+sJLXouLZikVgmqDd9LCdlMzQaxczcCHTWeJAmRvOiZGSZaSy3shw/JN1qc6g6PKpvTVgj10A== + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.30.1.tgz#21e94d5ca8f8ded16eee1389d2639cb5c43c3eb5" + integrity sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ== dependencies: - "@cosmjs/amino" "^0.30.1" - "@cosmjs/crypto" "^0.30.1" "@cosmjs/encoding" "^0.30.1" "@cosmjs/math" "^0.30.1" - "@cosmjs/proto-signing" "^0.30.1" - "@cosmjs/stargate" "^0.30.1" - "@cosmjs/tendermint-rpc" "^0.30.1" "@cosmjs/utils" "^0.30.1" - cosmjs-types "^0.7.1" - long "^4.0.0" - pako "^2.0.2" - -"@cosmjs/crypto@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.27.1.tgz#271c853089a3baf3acd6cf0b2122fd49f8815743" - integrity sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg== - dependencies: - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - bip39 "^3.0.2" - bn.js "^5.2.0" - elliptic "^6.5.3" - js-sha3 "^0.8.0" - libsodium-wrappers "^0.7.6" - ripemd160 "^2.0.2" - sha.js "^2.4.11" - -"@cosmjs/crypto@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.29.5.tgz#ab99fc382b93d8a8db075780cf07487a0f9519fd" - integrity sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ== - dependencies: - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/math" "^0.29.5" - "@cosmjs/utils" "^0.29.5" "@noble/hashes" "^1" bn.js "^5.2.0" elliptic "^6.5.4" libsodium-wrappers "^0.7.6" -"@cosmjs/crypto@^0.30.1": - version "0.30.1" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.30.1.tgz#21e94d5ca8f8ded16eee1389d2639cb5c43c3eb5" - integrity sha512-rAljUlake3MSXs9xAm87mu34GfBLN0h/1uPPV6jEwClWjNkAMotzjC0ab9MARy5FFAvYHL3lWb57bhkbt2GtzQ== +"@cosmjs/crypto@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.31.0.tgz#0be3867ada0155da19c45a51f5fde08e84f9ec4b" + integrity sha512-UaqCe6Tgh0pe1QlZ66E13t6FlIF86QrnBXXq+EN7Xe1Rouza3fJ1ojGlPleJZkBoq3tAyYVIOOqdZIxtVj/sIQ== dependencies: - "@cosmjs/encoding" "^0.30.1" - "@cosmjs/math" "^0.30.1" - "@cosmjs/utils" "^0.30.1" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/math" "^0.31.0" + "@cosmjs/utils" "^0.31.0" "@noble/hashes" "^1" bn.js "^5.2.0" elliptic "^6.5.4" - libsodium-wrappers "^0.7.6" + libsodium-wrappers-sumo "^0.7.11" "@cosmjs/encoding@0.27.1": version "0.27.1" @@ -151,15 +113,6 @@ bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/encoding@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.29.5.tgz#009a4b1c596cdfd326f30ccfa79f5e56daa264f2" - integrity sha512-G4rGl/Jg4dMCw5u6PEZHZcoHnUBlukZODHbm/wcL4Uu91fkn5jVo5cXXZcvs4VCkArVGrEj/52eUgTZCmOBGWQ== - dependencies: - base64-js "^1.3.0" - bech32 "^1.1.4" - readonly-date "^1.0.0" - "@cosmjs/encoding@^0.30.1": version "0.30.1" resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.30.1.tgz#b5c4e0ef7ceb1f2753688eb96400ed70f35c6058" @@ -169,13 +122,14 @@ bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/json-rpc@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz#5e483a9bd98a6270f935adf0dfd8a1e7eb777fe4" - integrity sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w== +"@cosmjs/encoding@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.31.0.tgz#9a6fd80b59c35fc20638a6436128ad0be681eafc" + integrity sha512-NYGQDRxT7MIRSlcbAezwxK0FqnaSPKCH7O32cmfpHNWorFxhy9lwmBoCvoe59Kd0HmArI4h+NGzLEfX3OLnA4Q== dependencies: - "@cosmjs/stream" "^0.29.5" - xstream "^11.14.0" + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" "@cosmjs/json-rpc@^0.30.1": version "0.30.1" @@ -185,18 +139,13 @@ "@cosmjs/stream" "^0.30.1" xstream "^11.14.0" -"@cosmjs/launchpad@^0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/launchpad/-/launchpad-0.27.1.tgz#b6f1995748be96560f5f01e84d3ff907477dda77" - integrity sha512-DcFwGD/z5PK8CzO2sojDxa+Be9EIEtRZb2YawgVnw2Ht/p5FlNv+OVo8qlishpBdalXEN7FvQ1dVeDFEe9TuJw== +"@cosmjs/json-rpc@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.31.0.tgz#38fda21188f2046db4a111fb5463ccde3c3751d7" + integrity sha512-Ix2Cil2qysiLNrX+E0w3vtwCrqxGVq8jklpLA7B2vtMrw7tru/rS65fdFSy8ep0wUNLL6Ud32VXa5K0YObDOMA== dependencies: - "@cosmjs/amino" "0.27.1" - "@cosmjs/crypto" "0.27.1" - "@cosmjs/encoding" "0.27.1" - "@cosmjs/math" "0.27.1" - "@cosmjs/utils" "0.27.1" - axios "^0.21.2" - fast-deep-equal "^3.1.3" + "@cosmjs/stream" "^0.31.0" + xstream "^11.14.0" "@cosmjs/math@0.27.1": version "0.27.1" @@ -205,13 +154,6 @@ dependencies: bn.js "^5.2.0" -"@cosmjs/math@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.29.5.tgz#722c96e080d6c2b62215ce9f4c70da7625b241b6" - integrity sha512-2GjKcv+A9f86MAWYLUkjhw1/WpRl2R1BTb3m9qPG7lzMA7ioYff9jY5SPCfafKdxM4TIQGxXQlYGewQL16O68Q== - dependencies: - bn.js "^5.2.0" - "@cosmjs/math@^0.30.1": version "0.30.1" resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.30.1.tgz#8b816ef4de5d3afa66cb9fdfb5df2357a7845b8a" @@ -219,18 +161,12 @@ dependencies: bn.js "^5.2.0" -"@cosmjs/proto-signing@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz#af3b62a46c2c2f1d2327d678b13b7262db1fe87c" - integrity sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA== - dependencies: - "@cosmjs/amino" "^0.29.5" - "@cosmjs/crypto" "^0.29.5" - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/math" "^0.29.5" - "@cosmjs/utils" "^0.29.5" - cosmjs-types "^0.5.2" - long "^4.0.0" +"@cosmjs/math@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.31.0.tgz#c9fc5f8191df7c2375945d2eacce327dfbf26414" + integrity sha512-Sb/8Ry/+gKJaYiV6X8q45kxXC9FoV98XCY1WXtu0JQwOi61VCG2VXsURQnVvZ/EhR/CuT/swOlNKrqEs3da0fw== + dependencies: + bn.js "^5.2.0" "@cosmjs/proto-signing@^0.30.1": version "0.30.1" @@ -245,15 +181,18 @@ cosmjs-types "^0.7.1" long "^4.0.0" -"@cosmjs/socket@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.29.5.tgz#a48df6b4c45dc6a6ef8e47232725dd4aa556ac2d" - integrity sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ== - dependencies: - "@cosmjs/stream" "^0.29.5" - isomorphic-ws "^4.0.1" - ws "^7" - xstream "^11.14.0" +"@cosmjs/proto-signing@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.31.0.tgz#7056963457cd967f53f56c2ab4491638e5ade2c0" + integrity sha512-JNlyOJRkn8EKB9mCthkjr6lVX6eyVQ09PFdmB4/DR874E62dFTvQ+YvyKMAgN7K7Dcjj26dVlAD3f6Xs7YOGDg== + dependencies: + "@cosmjs/amino" "^0.31.0" + "@cosmjs/crypto" "^0.31.0" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/math" "^0.31.0" + "@cosmjs/utils" "^0.31.0" + cosmjs-types "^0.8.0" + long "^4.0.0" "@cosmjs/socket@^0.30.1": version "0.30.1" @@ -265,22 +204,14 @@ ws "^7" xstream "^11.14.0" -"@cosmjs/stargate@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.29.5.tgz#d597af1c85a3c2af7b5bdbec34d5d40692cc09e4" - integrity sha512-hjEv8UUlJruLrYGJcUZXM/CziaINOKwfVm2BoSdUnNTMxGvY/jC1ABHKeZUYt9oXHxEJ1n9+pDqzbKc8pT0nBw== +"@cosmjs/socket@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.31.0.tgz#ffcae48251a68b4a1c37a1c996d8b123cd8ad5ac" + integrity sha512-WDh9gTyiP3OCXvSAJJn33+Ef3XqMWag+bpR1TdMBxTmlTxuvU+kPy4cf6P2OF+jkkUBEA5Se2EAju0eFbJMT+w== dependencies: - "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "^0.29.5" - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/math" "^0.29.5" - "@cosmjs/proto-signing" "^0.29.5" - "@cosmjs/stream" "^0.29.5" - "@cosmjs/tendermint-rpc" "^0.29.5" - "@cosmjs/utils" "^0.29.5" - cosmjs-types "^0.5.2" - long "^4.0.0" - protobufjs "~6.11.3" + "@cosmjs/stream" "^0.31.0" + isomorphic-ws "^4.0.1" + ws "^7" xstream "^11.14.0" "@cosmjs/stargate@^0.30.1": @@ -301,11 +232,22 @@ protobufjs "~6.11.3" xstream "^11.14.0" -"@cosmjs/stream@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.29.5.tgz#350981cac496d04939b92ee793b9b19f44bc1d4e" - integrity sha512-TToTDWyH1p05GBtF0Y8jFw2C+4783ueDCmDyxOMM6EU82IqpmIbfwcdMOCAm0JhnyMh+ocdebbFvnX/sGKzRAA== +"@cosmjs/stargate@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.31.0.tgz#a7df1eaf1363513529607abaa52a5045aaaee0fd" + integrity sha512-GYhk9lzZPj/QmYHC0VV/4AMoRzVcOP+EnB1YZCoWlBdLuVmpBYKRagJqWIrIwdk1E0gF2ZoESd2TYfdh1fqIpg== dependencies: + "@confio/ics23" "^0.6.8" + "@cosmjs/amino" "^0.31.0" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/math" "^0.31.0" + "@cosmjs/proto-signing" "^0.31.0" + "@cosmjs/stream" "^0.31.0" + "@cosmjs/tendermint-rpc" "^0.31.0" + "@cosmjs/utils" "^0.31.0" + cosmjs-types "^0.8.0" + long "^4.0.0" + protobufjs "~6.11.3" xstream "^11.14.0" "@cosmjs/stream@^0.30.1": @@ -315,20 +257,11 @@ dependencies: xstream "^11.14.0" -"@cosmjs/tendermint-rpc@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz#f205c10464212bdf843f91bb2e4a093b618cb5c2" - integrity sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w== - dependencies: - "@cosmjs/crypto" "^0.29.5" - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/json-rpc" "^0.29.5" - "@cosmjs/math" "^0.29.5" - "@cosmjs/socket" "^0.29.5" - "@cosmjs/stream" "^0.29.5" - "@cosmjs/utils" "^0.29.5" - axios "^0.21.2" - readonly-date "^1.0.0" +"@cosmjs/stream@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.31.0.tgz#7faf0f5ccd5ceffdd3b5d9fb81e292bb7a930b2c" + integrity sha512-Y+aSHwhHkLGIaQOdqRob+yga2zr9ifl9gZDKD+B7+R5pdWN5f2TTDhYWxA6YZcZ6xRmfr7u8a7tDh7iYLC/zKA== + dependencies: xstream "^11.14.0" "@cosmjs/tendermint-rpc@^0.30.1": @@ -347,60 +280,183 @@ readonly-date "^1.0.0" xstream "^11.14.0" -"@cosmjs/utils@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2" - integrity sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg== - -"@cosmjs/utils@^0.29.5": - version "0.29.5" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.29.5.tgz#3fed1b3528ae8c5f1eb5d29b68755bebfd3294ee" - integrity sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ== +"@cosmjs/tendermint-rpc@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.31.0.tgz#df82f634ff08fc377dfdccea43a31d92b5b0eaf1" + integrity sha512-yo9xbeuI6UoEKIhFZ9g0dvUKLqnBzwdpEc/uldQygQc51j38gQVwFko+6sjmhieJqRYYvrYumcbJMiV6GFM9aA== + dependencies: + "@cosmjs/crypto" "^0.31.0" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/json-rpc" "^0.31.0" + "@cosmjs/math" "^0.31.0" + "@cosmjs/socket" "^0.31.0" + "@cosmjs/stream" "^0.31.0" + "@cosmjs/utils" "^0.31.0" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" "@cosmjs/utils@^0.30.1": version "0.30.1" resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.30.1.tgz#6d92582341be3c2ec8d82090253cfa4b7f959edb" integrity sha512-KvvX58MGMWh7xA+N+deCfunkA/ZNDvFLw4YbOmX3f/XBIkqrVY7qlotfy2aNb1kgp6h4B6Yc8YawJPDTfvWX7g== -"@delphi-labs/shuttle@^2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@delphi-labs/shuttle/-/shuttle-2.14.0.tgz#e05302e2995c914ff04e15318dae6cfa5488fd8e" - integrity sha512-0sB8CifWn2LaLSgAZqUi5kRWOtcGy+9fkBb9tLMLFZ2UgMazB9qMV2/K0W7nkYxIe1edQ2BSxnIPAEpqsnNnkw== +"@cosmjs/utils@^0.31.0": + version "0.31.0" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.31.0.tgz#3a7ac16856dcff63bbf1bb11e31f975f71ef4f21" + integrity sha512-nNcycZWUYLNJlrIXgpcgVRqdl6BXjF4YlXdxobQWpW9Tikk61bEGeAFhDYtC0PwHlokCNw0KxWiHGJL4nL7Q5A== + +"@delphi-labs/shuttle-react@^3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@delphi-labs/shuttle-react/-/shuttle-react-3.3.0.tgz#da51efe7d2997a4be9a5f085c9bd186be3947991" + integrity sha512-9ZbRRyYD71q4364jzLoshIT7gGhzgbeC6JZri80AnMWHnt/ZUY+wqDQADegKE0QzlwfIi0YKZ6Ocs5gOID0OSA== dependencies: - "@cosmjs/amino" "^0.29.5" - "@cosmjs/cosmwasm-stargate" "^0.29.5" - "@cosmjs/encoding" "^0.29.5" - "@cosmjs/launchpad" "^0.27.1" - "@cosmjs/proto-signing" "^0.30.1" - "@cosmjs/stargate" "^0.29.5" - "@improbable-eng/grpc-web" "^0.15.0" - "@injectivelabs/exceptions" "^1.0.56" - "@injectivelabs/sdk-ts" "^1.0.457" - "@injectivelabs/ts-types" "^1.0.29" - "@injectivelabs/utils" "^1.0.81" - "@keplr-wallet/cosmos" "^0.11.38" - "@keplr-wallet/proto-types" "^0.11.38" - "@metamask/eth-sig-util" "^5.0.2" + "@delphi-labs/shuttle" "3.3.0" + tslib "^2.6.0" + tsup "^7.1.0" + use-local-storage-state "^18.3.3" + zustand "^4.3.8" + +"@delphi-labs/shuttle@3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@delphi-labs/shuttle/-/shuttle-3.3.0.tgz#ae69a0f8d522e9b901cb3dbba31460119c521416" + integrity sha512-HWkoQT/f0zT/bSwS0TC0SjRVyshwslWj+kE1IfGITzYW12izFCcxk2/pTcLTE2d5XQAV/2anX+tnygTQHnPUDw== + dependencies: + "@cosmjs/amino" "^0.31.0" + "@cosmjs/cosmwasm-stargate" "^0.31.0" + "@cosmjs/crypto" "^0.31.0" + "@cosmjs/encoding" "^0.31.0" + "@cosmjs/proto-signing" "^0.31.0" + "@cosmjs/stargate" "^0.31.0" + "@cosmjs/tendermint-rpc" "^0.31.0" + "@injectivelabs/sdk-ts" "^1.11.0" + "@injectivelabs/utils" "^1.11.0" + "@metamask/eth-sig-util" "^6.0.0" + "@terra-money/feather.js" "^1.0.8" "@terra-money/terra.proto" "^3.0.5" - "@walletconnect/client" "^1.8.0" - "@walletconnect/core" "^1.8.0" - "@walletconnect/iso-crypto" "^1.8.0" - "@walletconnect/utils" "^1.8.0" - cosmjs-types "^0.7.2" + "@walletconnect/sign-client" "^2.9.0" ethereumjs-util "^7.1.5" - isomorphic-ws "^5.0.0" - secp256k1 "^5.0.0" - tslib "^2.4.0" - use-local-storage-state "^18.1.2" - ws "^8.12.0" - zustand "^4.3.1" + long "^5.2.3" + mobile-detect "^1.4.5" + tslib "^2.6.0" + tsup "^7.1.0" "@discoveryjs/json-ext@^0.5.0": version "0.5.7" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== -"@eslint-community/eslint-utils@^4.2.0": +"@esbuild/android-arm64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.11.tgz#fa6f0cc7105367cb79cc0a8bf32bf50cb1673e45" + integrity sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw== + +"@esbuild/android-arm@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.11.tgz#ae84a410696c9f549a15be94eaececb860bacacb" + integrity sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q== + +"@esbuild/android-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.11.tgz#0e58360bbc789ad0d68174d32ba20e678c2a16b6" + integrity sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw== + +"@esbuild/darwin-arm64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.11.tgz#fcdcd2ef76ca656540208afdd84f284072f0d1f9" + integrity sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w== + +"@esbuild/darwin-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.11.tgz#c5ac602ec0504a8ff81e876bc8a9811e94d69d37" + integrity sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw== + +"@esbuild/freebsd-arm64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.11.tgz#7012fb06ee3e6e0d5560664a65f3fefbcc46db2e" + integrity sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A== + +"@esbuild/freebsd-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.11.tgz#c5de1199f70e1f97d5c8fca51afa9bf9a2af5969" + integrity sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q== + +"@esbuild/linux-arm64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.11.tgz#2a6d3a74e0b8b5f294e22b4515b29f76ebd42660" + integrity sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog== + +"@esbuild/linux-arm@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.11.tgz#5175bd61b793b436e4aece6328aa0d9be07751e1" + integrity sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg== + +"@esbuild/linux-ia32@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.11.tgz#20ee6cfd65a398875f321a485e7b2278e5f6f67b" + integrity sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw== + +"@esbuild/linux-loong64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.11.tgz#8e7b251dede75083bf44508dab5edce3f49d052b" + integrity sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw== + +"@esbuild/linux-mips64el@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.11.tgz#a3125eb48538ac4932a9d05089b157f94e443165" + integrity sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg== + +"@esbuild/linux-ppc64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.11.tgz#842abadb7a0995bd539adee2be4d681b68279499" + integrity sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ== + +"@esbuild/linux-riscv64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.11.tgz#7ce6e6cee1c72d5b4d2f4f8b6fcccf4a9bea0e28" + integrity sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w== + +"@esbuild/linux-s390x@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.11.tgz#98fbc794363d02ded07d300df2e535650b297b96" + integrity sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg== + +"@esbuild/linux-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.11.tgz#f8458ec8cf74c8274e4cacd00744d8446cac52eb" + integrity sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA== + +"@esbuild/netbsd-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.11.tgz#a7b2f991b8293748a7be42eac1c4325faf0c7cca" + integrity sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q== + +"@esbuild/openbsd-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.11.tgz#3e50923de84c54008f834221130fd23646072b2f" + integrity sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ== + +"@esbuild/sunos-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.11.tgz#ae47a550b0cd395de03606ecfba03cc96c7c19e2" + integrity sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng== + +"@esbuild/win32-arm64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.11.tgz#05d364582b7862d7fbf4698ef43644f7346dcfcc" + integrity sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg== + +"@esbuild/win32-ia32@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.11.tgz#a3372095a4a1939da672156a3c104f8ce85ee616" + integrity sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg== + +"@esbuild/win32-x64@0.18.11": + version "0.18.11" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.11.tgz#6526c7e1b40d5b9f0a222c6b767c22f6fb97aa57" + integrity sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA== + +"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.3.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== @@ -412,14 +468,19 @@ resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.4.1.tgz#087cb8d9d757bb22e9c9946c9c0c2bf8806830f1" integrity sha512-BISJ6ZE4xQsuL/FmsyRaiffpq977bMlsKfGHTQrOGFErfByxIe6iZTxPf/00Zon9b9a7iUykfQwejN3s2ZW/Bw== -"@eslint/eslintrc@^2.0.3": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f27774bf356e3704818a0331" - integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ== +"@eslint-community/regexpp@^4.5.0": + version "4.5.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" + integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== + +"@eslint/eslintrc@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.0.tgz#82256f164cc9e0b59669efc19d57f8092706841d" + integrity sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A== dependencies: ajv "^6.12.4" debug "^4.3.2" - espree "^9.5.2" + espree "^9.6.0" globals "^13.19.0" ignore "^5.2.0" import-fresh "^3.2.1" @@ -427,10 +488,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.40.0": - version "8.40.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.40.0.tgz#3ba73359e11f5a7bd3e407f70b3528abfae69cec" - integrity sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA== +"@eslint/js@8.44.0": + version "8.44.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.44.0.tgz#961a5903c74139390478bdc808bcde3fc45ab7af" + integrity sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw== "@ethereumjs/common@^2.6.4": version "2.6.5" @@ -440,10 +501,10 @@ crc-32 "^1.2.0" ethereumjs-util "^7.1.5" -"@ethereumjs/rlp@^4.0.0-beta.2": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.0.tgz#66719891bd727251a7f233f9ca80212d1994f8c8" - integrity sha512-LM4jS5n33bJN60fM5EC8VeyhUgga6/DjCPBV2vWjnfVtobqtOiNC4SQ1MRFqyBSmJGGdB533JZWewyvlcdJtkQ== +"@ethereumjs/rlp@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" + integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== "@ethereumjs/tx@3.5.2": version "3.5.2" @@ -453,14 +514,14 @@ "@ethereumjs/common" "^2.6.4" ethereumjs-util "^7.1.5" -"@ethereumjs/util@^8.0.0": - version "8.0.3" - resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.0.3.tgz#410c2dc8c6d519b29f1a471aa9b9df9952e41239" - integrity sha512-0apCbwc8xAaie6W7q6QyogfyRS2BMU816a8KwpnpRw9Qrc6Bws+l7J3LfCLMt2iL6Wi8CYb0B29AeIr2N4vHnw== +"@ethereumjs/util@^8.0.6": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" + integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== dependencies: - "@ethereumjs/rlp" "^4.0.0-beta.2" - async "^3.2.4" - ethereum-cryptography "^1.1.2" + "@ethereumjs/rlp" "^4.0.1" + ethereum-cryptography "^2.0.0" + micro-ftch "^0.3.1" "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" @@ -809,10 +870,10 @@ resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.1.1.tgz#076d78ce99822258cf813ecc1e7fa460fa74d052" integrity sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg== -"@humanwhocodes/config-array@^0.11.8": - version "0.11.8" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" - integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== +"@humanwhocodes/config-array@^0.11.10": + version "0.11.10" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" + integrity sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ== dependencies: "@humanwhocodes/object-schema" "^1.2.1" debug "^4.1.1" @@ -828,51 +889,54 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -"@improbable-eng/grpc-web-node-http-transport@^0.15.0": - version "0.15.0" - resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.15.0.tgz#5a064472ef43489cbd075a91fb831c2abeb09d68" - integrity sha512-HLgJfVolGGpjc9DWPhmMmXJx8YGzkek7jcCFO1YYkSOoO81MWRZentPOd/JiKiZuU08wtc4BG+WNuGzsQB5jZA== - -"@improbable-eng/grpc-web-react-native-transport@^0.15.0": - version "0.15.0" - resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web-react-native-transport/-/grpc-web-react-native-transport-0.15.0.tgz#f630b9022f6ba2bb0258b0b040cca746084c8bc6" - integrity sha512-Xk+abATz3eacJ0gA5sRYpyMCA+z/37ht4u6AsbtfcE3SXLYIPbTQ2iLQYyELAoyUWgAyEQxZ3iTs6OpR4z06FQ== - -"@improbable-eng/grpc-web@^0.14.0", "@improbable-eng/grpc-web@^0.14.1": +"@improbable-eng/grpc-web@^0.14.1": version "0.14.1" resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web/-/grpc-web-0.14.1.tgz#f4662f64dc89c0f956a94bb8a3b576556c74589c" integrity sha512-XaIYuunepPxoiGVLLHmlnVminUGzBTnXr8Wv7khzmLWbNw4TCwJKX09GSMJlKhu/TRk6gms0ySFxewaETSBqgw== dependencies: browser-headers "^0.4.1" -"@improbable-eng/grpc-web@^0.15.0": - version "0.15.0" - resolved "https://registry.yarnpkg.com/@improbable-eng/grpc-web/-/grpc-web-0.15.0.tgz#3e47e9fdd90381a74abd4b7d26e67422a2a04bef" - integrity sha512-ERft9/0/8CmYalqOVnJnpdDry28q+j+nAlFFARdjyxXDJ+Mhgv9+F600QC8BR9ygOfrXRlAk6CvST2j+JCpQPg== +"@injectivelabs/core-proto-ts@^0.0.14": + version "0.0.14" + resolved "https://registry.yarnpkg.com/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.14.tgz#88f3c3c5c88484906785cd93b2e2eb1d464ec5d4" + integrity sha512-NZWlgBzgVrXow9IknFQHvcYKX4QkUD25taRigoNYQK8PDn4+VXd9xM5WFUDRhzm2smTCguyl/+MghpEp4oTPWw== dependencies: - browser-headers "^0.4.1" + "@injectivelabs/grpc-web" "^0.0.1" + google-protobuf "^3.14.0" + protobufjs "^7.0.0" + rxjs "^7.4.0" -"@injectivelabs/core-proto-ts@^0.0.11": - version "0.0.11" - resolved "https://registry.yarnpkg.com/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.11.tgz#043ac0a0ce802b485b9d695b12209d1b36727093" - integrity sha512-gYMzkoZ0olXLbEhSQVarUCMR6VAHytvENDv2Psjl9EjO5Pg93vTGLViS4E4vA5fezRfdF/x0Uic31w+ogp66jA== +"@injectivelabs/dmm-proto-ts@1.0.16": + version "1.0.16" + resolved "https://registry.yarnpkg.com/@injectivelabs/dmm-proto-ts/-/dmm-proto-ts-1.0.16.tgz#7e2d6652cf31700524c1933d40ffa54c213302c5" + integrity sha512-2D1gDJ0eMveTuLjOH+dDvDSjoIbCbaQxnRmVCg3an0kPRot54tNTdx1DC3LyBQEOJ7VeVJFbhDjoAmgpNPBY8A== dependencies: "@injectivelabs/grpc-web" "^0.0.1" google-protobuf "^3.14.0" protobufjs "^7.0.0" rxjs "^7.4.0" -"@injectivelabs/exceptions@^1.0.56", "@injectivelabs/exceptions@^1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@injectivelabs/exceptions/-/exceptions-1.10.0.tgz#d64d89662673091b32ed883de0565a439c8d76e5" - integrity sha512-YD9MEUEwJDalj+bV+/4P8TEqyR7asnQfjacCtuCYEF59qWsSYjYWxfZdZDssmSK8FA4HgJaQ2sghhK/LUfBneA== +"@injectivelabs/exceptions@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/exceptions/-/exceptions-1.11.0.tgz#86a703a40767a90c511af8e96a003db8f70ded80" + integrity sha512-jZ0N4cP1KCyErNEiCARaKt70E8KMTNa9R4a5FrCERX4cFKPxdbWpoQ8Lqga2jfHAgiFcChRJ5JmaSYclFtKf9w== dependencies: "@injectivelabs/grpc-web" "^0.0.1" - "@injectivelabs/ts-types" "^1.10.0" + "@injectivelabs/ts-types" "^1.11.0" http-status-codes "^2.2.0" link-module-alias "^1.2.0" shx "^0.3.2" +"@injectivelabs/grpc-web-node-http-transport@^0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/@injectivelabs/grpc-web-node-http-transport/-/grpc-web-node-http-transport-0.0.2.tgz#87c9bbd4db1f70cf18d6a55b54b2cf17d3cf30c0" + integrity sha512-rpyhXLiGY/UMs6v6YmgWHJHiO9l0AgDyVNv+jcutNVt4tQrmNvnpvz2wCAGOFtq5LuX/E9ChtTVpk3gWGqXcGA== + +"@injectivelabs/grpc-web-react-native-transport@^0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/@injectivelabs/grpc-web-react-native-transport/-/grpc-web-react-native-transport-0.0.2.tgz#07601b76bf1f165c7a9b97ee42d0d42b9e2b76fa" + integrity sha512-mk+aukQXnYNgPsPnu3KBi+FD0ZHQpazIlaBZ2jNZG7QAVmxTWtv3R66Zoq99Wx2dnE946NsZBYAoa0K5oSjnow== + "@injectivelabs/grpc-web@^0.0.1": version "0.0.1" resolved "https://registry.yarnpkg.com/@injectivelabs/grpc-web/-/grpc-web-0.0.1.tgz#24c028f6db50e589e30505efd2077110c8b492ba" @@ -880,57 +944,60 @@ dependencies: browser-headers "^0.4.1" -"@injectivelabs/indexer-proto-ts@^0.0.9": - version "0.0.9" - resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-0.0.9.tgz#c65411e0069817d3a8533e91e6b9b7426be71565" - integrity sha512-ZFTUKlHAY2WYnB9RPPf11nq7SNm7wcKFTmFTavTiHV8UvNEni7dCR3Un6U5Mo1qD0xHEsfoCDMdqGcIguliPMA== +"@injectivelabs/indexer-proto-ts@1.10.8-rc.4": + version "1.10.8-rc.4" + resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.10.8-rc.4.tgz#ab8424cd713bb5a69ab130b64bf0b3f9f9089946" + integrity sha512-IwbepTfsHHAv3Z36As6yH/+HIplOEpUu6SFHBCVgdSIaQ8GuvTib4HETiVnV4mjYqoyVgWs+zLSAfih46rdMJQ== dependencies: "@injectivelabs/grpc-web" "^0.0.1" google-protobuf "^3.14.0" protobufjs "^7.0.0" rxjs "^7.4.0" -"@injectivelabs/networks@^1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@injectivelabs/networks/-/networks-1.10.0.tgz#5430d835ef4154e5179200e85c2bf729a16eddfa" - integrity sha512-S0f1iWBcnc+HgvtIJLNlMC0iBsiT5AH0rXfwJpvkRehqwyB/J2WPKN7uOdsplK72nH4fauA3emokzGS8JknyEA== +"@injectivelabs/mito-proto-ts@1.0.17": + version "1.0.17" + resolved "https://registry.yarnpkg.com/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.0.17.tgz#543e0ca7356b5f7ae6d5c5c8dc01b3a9f097595d" + integrity sha512-J15hWdcyurGZQ9WslWuzld7A4nBfPsUFBLTHAGNy/MaeU/oJhuMEjEyA9i0KVGn+58bCISOBVh5glxFWqx60wA== dependencies: - "@injectivelabs/exceptions" "^1.10.0" - "@injectivelabs/ts-types" "^1.10.0" - "@injectivelabs/utils" "^1.10.0" - link-module-alias "^1.2.0" - shx "^0.3.2" + "@injectivelabs/grpc-web" "^0.0.1" + google-protobuf "^3.14.0" + protobufjs "^7.0.0" + rxjs "^7.4.0" -"@injectivelabs/ninja-api@1.0.12": - version "1.0.12" - resolved "https://registry.yarnpkg.com/@injectivelabs/ninja-api/-/ninja-api-1.0.12.tgz#1d4a6c2ff7362342ace99aba4ac6e8a5b9edfe9b" - integrity sha512-YG6x34Fg+9OvvFmEKVtsMy9eftlCLBmNLQGDQzc+Dp63KWkEh46V6drEtlTAWsk3jXrRRkJM3WUKg3STbQbAsA== +"@injectivelabs/networks@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/networks/-/networks-1.11.0.tgz#4d48c900989bcd77ac2bd03daa51dcf95552d4ee" + integrity sha512-0dtO/zZ8AzsxGInEWZ7tpOA0Q++M3FhAFxOWzhYC39ZeJlwHhEcYmvmhrGG5gRdus29XfFysRlaz3hyT3XH1Jg== dependencies: - "@improbable-eng/grpc-web" "^0.14.0" - google-protobuf "^3.14.0" + "@injectivelabs/exceptions" "^1.11.0" + "@injectivelabs/ts-types" "^1.11.0" + "@injectivelabs/utils" "^1.11.0" + link-module-alias "^1.2.0" + shx "^0.3.2" -"@injectivelabs/sdk-ts@^1.0.457": - version "1.10.5" - resolved "https://registry.yarnpkg.com/@injectivelabs/sdk-ts/-/sdk-ts-1.10.5.tgz#5cbf30ca0dd59a45f73501af00a13162753c4dec" - integrity sha512-3CyV6HtTNSjTjHUdlnYNr1D62qhV8c+z6b3D34Xa8Nvu72wTV6Lc66mQLvRfSk+tN/SgSpN+tDGwVxQakEb1wA== +"@injectivelabs/sdk-ts@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/sdk-ts/-/sdk-ts-1.11.0.tgz#b347a01769242fa2486f44320b40f1c6522c0fc7" + integrity sha512-40WMqLKM+cwLB0M27hAg6MK1cnhlBi3H7ycDBXBs3CPLCuZJEyKiTGLWBLfnXAeSeYvVn80qS38Onu+XHNr7qQ== dependencies: "@apollo/client" "^3.5.8" - "@cosmjs/amino" "^0.29.5" - "@cosmjs/proto-signing" "^0.29.5" - "@cosmjs/stargate" "^0.29.5" + "@cosmjs/amino" "^0.30.1" + "@cosmjs/proto-signing" "^0.30.1" + "@cosmjs/stargate" "^0.30.1" "@ethersproject/bytes" "^5.7.0" - "@improbable-eng/grpc-web-node-http-transport" "^0.15.0" - "@improbable-eng/grpc-web-react-native-transport" "^0.15.0" - "@injectivelabs/core-proto-ts" "^0.0.11" - "@injectivelabs/exceptions" "^1.10.0" + "@injectivelabs/core-proto-ts" "^0.0.14" + "@injectivelabs/dmm-proto-ts" "1.0.16" + "@injectivelabs/exceptions" "^1.11.0" "@injectivelabs/grpc-web" "^0.0.1" - "@injectivelabs/indexer-proto-ts" "^0.0.9" - "@injectivelabs/networks" "^1.10.0" - "@injectivelabs/ninja-api" "1.0.12" - "@injectivelabs/test-utils" "^1.10.0" - "@injectivelabs/token-metadata" "^1.10.2" - "@injectivelabs/ts-types" "^1.10.0" - "@injectivelabs/utils" "^1.10.0" + "@injectivelabs/grpc-web-node-http-transport" "^0.0.2" + "@injectivelabs/grpc-web-react-native-transport" "^0.0.2" + "@injectivelabs/indexer-proto-ts" "1.10.8-rc.4" + "@injectivelabs/mito-proto-ts" "1.0.17" + "@injectivelabs/networks" "^1.11.0" + "@injectivelabs/test-utils" "^1.11.0" + "@injectivelabs/token-metadata" "^1.11.0" + "@injectivelabs/ts-types" "^1.11.0" + "@injectivelabs/utils" "^1.11.0" "@metamask/eth-sig-util" "^4.0.0" axios "^0.27.2" bech32 "^2.0.0" @@ -938,7 +1005,7 @@ cosmjs-types "^0.7.1" eth-crypto "^2.6.0" ethereumjs-util "^7.1.4" - ethers "^5.6.4" + ethers "^5.7.2" google-protobuf "^3.21.0" graphql "^16.3.0" http-status-codes "^2.2.0" @@ -951,10 +1018,10 @@ shx "^0.3.2" snakecase-keys "^5.4.1" -"@injectivelabs/test-utils@^1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@injectivelabs/test-utils/-/test-utils-1.10.0.tgz#7deb235a79a822e77e03dae508b39217fd8b9925" - integrity sha512-OS1AUq3Wu4nxhchpOa/zjAp2rgq5aKniLnNt07RzQQAM+4mPw3PcF7zWuClkUFAgVCxlpvFnV1f6LyzXW46mGQ== +"@injectivelabs/test-utils@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/test-utils/-/test-utils-1.11.0.tgz#e70c723919d8adbe4e3e0c5e513ed9b16f8ed609" + integrity sha512-/KIPGeLFsjITs43yQG++SoOtDExZr+Pa3JVYIZEIMFUVG8a7z9Vi5m6a1kbowvozZbLG5KHuuUXF2SdfKSxznQ== dependencies: axios "^0.21.1" bignumber.js "^9.0.1" @@ -963,15 +1030,15 @@ snakecase-keys "^5.1.2" store2 "^2.12.0" -"@injectivelabs/token-metadata@^1.10.2": - version "1.10.2" - resolved "https://registry.yarnpkg.com/@injectivelabs/token-metadata/-/token-metadata-1.10.2.tgz#1ae3d828ee8bb40fef4432a4978cf1b8ab002ff1" - integrity sha512-QFYHEARVFHK6zb1QQ3e9omqeebeAYnWwKcm1zZ0MmL/GYjA89G6Qmq4HbMA/WANj/uusSxxpIJyyzv6/B3vVjw== +"@injectivelabs/token-metadata@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/token-metadata/-/token-metadata-1.11.0.tgz#a26c589a72c0735d4d852e69f7b6ee33c2189e90" + integrity sha512-RzwJvnjDX8IwXYTvZDCMQcGxkN/0ZfXUEYTVMB0WMU0bRH7cV7WJ6Z9UDOijAehrJHu/fByDz2DuEOcktbwoIw== dependencies: - "@injectivelabs/exceptions" "^1.10.0" - "@injectivelabs/networks" "^1.10.0" - "@injectivelabs/ts-types" "^1.10.0" - "@injectivelabs/utils" "^1.10.0" + "@injectivelabs/exceptions" "^1.11.0" + "@injectivelabs/networks" "^1.11.0" + "@injectivelabs/ts-types" "^1.11.0" + "@injectivelabs/utils" "^1.11.0" "@types/lodash.values" "^4.3.6" copyfiles "^2.4.1" jsonschema "^1.4.0" @@ -980,21 +1047,21 @@ lodash.values "^4.3.0" shx "^0.3.2" -"@injectivelabs/ts-types@^1.0.29", "@injectivelabs/ts-types@^1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@injectivelabs/ts-types/-/ts-types-1.10.0.tgz#07f8852436274ee99285021162fface2bd23e866" - integrity sha512-2PczKP93fmkg4HIbg1ZWO115GF1oUQaCkc34SRDYDZ9oGjAnr3rV31tju4DW9uxT8eVb2olxqUy71LVHGD7AUA== +"@injectivelabs/ts-types@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/ts-types/-/ts-types-1.11.0.tgz#1ea4dfc908ecd2fb453251a3143ab8d5968aeb68" + integrity sha512-3ZVRW1xMe3RHOxFblRC0LgQcU/rpxgZQZ+sISyRKFGcS/m2ApkdmcPvjMgd5TQe9AXW/6nnvmul3mST8iAaUJg== dependencies: link-module-alias "^1.2.0" shx "^0.3.2" -"@injectivelabs/utils@^1.0.81", "@injectivelabs/utils@^1.10.0": - version "1.10.0" - resolved "https://registry.yarnpkg.com/@injectivelabs/utils/-/utils-1.10.0.tgz#2c551c16e17369195529762fa2b39222f0fe639e" - integrity sha512-r7/z1+0Xd6XSYnLf+IO2ydQ0VRFBw2ETxWdvvkpsror3uYLvaAcuCjkRhNsOYM5R4VPCER+0TBm6sm5A1ahiQw== +"@injectivelabs/utils@^1.11.0": + version "1.11.0" + resolved "https://registry.yarnpkg.com/@injectivelabs/utils/-/utils-1.11.0.tgz#668d2518ec492805813dd2e240fc730c230777af" + integrity sha512-KnUmt4vIvoBz6F3mQomy4GeTkpcHMYwju2AgiqzARrrqgF/2p1ZHfKBpr1ksj/jkl5X+irh3JVfbd/dFjwKi1g== dependencies: - "@injectivelabs/exceptions" "^1.10.0" - "@injectivelabs/ts-types" "^1.10.0" + "@injectivelabs/exceptions" "^1.11.0" + "@injectivelabs/ts-types" "^1.11.0" axios "^0.21.1" bignumber.js "^9.0.1" http-status-codes "^2.2.0" @@ -1012,6 +1079,15 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/resolve-uri@3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" @@ -1051,76 +1127,38 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" -"@keplr-wallet/common@0.11.38": - version "0.11.38" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.11.38.tgz#db8632bfe2d916c4675b530d9070416c6d91466f" - integrity sha512-pmmZ0+BamUKYhLy8oDKaaEc8FLJNjyatVvfS8D2O8pjsanMwAdOl0kSzOC8Sqt69Eve48qlmFPuG6xhbMUWuUw== +"@keplr-wallet/common@0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.12.15.tgz#9ecf7480561592663bd558df6222d2ff671fcce1" + integrity sha512-JBHY8+w8MAhi+mX2ANZaqzkvtaPbpSnMbNNIk5r/b+sZfSQfNo0NiDoD3XsARoJp3Ako9zn31nbiTGnpjMyoig== dependencies: - "@keplr-wallet/crypto" "0.11.38" + "@keplr-wallet/crypto" "0.12.15" + "@keplr-wallet/types" "0.12.15" buffer "^6.0.3" delay "^4.4.0" + mobx "^6.1.7" -"@keplr-wallet/common@0.11.63": - version "0.11.63" - resolved "https://registry.yarnpkg.com/@keplr-wallet/common/-/common-0.11.63.tgz#e1a7a5bf03b1e3ab5de0922227472c7d5686289c" - integrity sha512-2M0c4ivzqwmt8jz1tgZ61VmUIfb5c6nZevHnaUXLW+1/XlPFRr2irXNQVM81OJaz8kiK9Nw4eLmEUZP+S/EAfw== - dependencies: - "@keplr-wallet/crypto" "0.11.63" - buffer "^6.0.3" - delay "^4.4.0" - -"@keplr-wallet/cosmos@^0.11.38": - version "0.11.38" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.11.38.tgz#5657e3fed10c9a9f75d29f01a137913403196348" - integrity sha512-0N7pf77cSPp/tNzsCp9dhbmEStXZJv+7KZv3FICRpgSp2w6vKwMPwJ5GIt0T0X4RuiQfgkabnDX77DkBSHo9ng== - dependencies: - "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.11.38" - "@keplr-wallet/crypto" "0.11.38" - "@keplr-wallet/proto-types" "0.11.38" - "@keplr-wallet/types" "0.11.38" - "@keplr-wallet/unit" "0.11.38" - axios "^0.27.2" - bech32 "^1.1.4" - buffer "^6.0.3" - long "^4.0.0" - protobufjs "^6.11.2" - -"@keplr-wallet/cosmos@^0.11.63": - version "0.11.63" - resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.11.63.tgz#f26a5745a9dfb7d47defbdf7cac2d60b9c007b11" - integrity sha512-iOkPUVvYBYMRPRssU7m285hVV0QwYh6vXVqqGfDckkLI7UzvxlzwBI/gnGL+pZfATOlKsKzOm0xVFZqrf85qkw== +"@keplr-wallet/cosmos@^0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/cosmos/-/cosmos-0.12.15.tgz#d8ad3e187a427a353b62b4be7a4456250beb71f7" + integrity sha512-8Ud/OmBzWXtVcQC0JIB3Yu9GgNF2TYkZmnfoEsbxwyMrjDzASB/cqwQ/ja1/isAll4c0WkGeGo7RWmSizy3DZA== dependencies: "@ethersproject/address" "^5.6.0" - "@keplr-wallet/common" "0.11.63" - "@keplr-wallet/crypto" "0.11.63" - "@keplr-wallet/proto-types" "0.11.63" - "@keplr-wallet/types" "0.11.63" - "@keplr-wallet/unit" "0.11.63" - axios "^0.27.2" + "@keplr-wallet/common" "0.12.15" + "@keplr-wallet/crypto" "0.12.15" + "@keplr-wallet/proto-types" "0.12.15" + "@keplr-wallet/simple-fetch" "0.12.15" + "@keplr-wallet/types" "0.12.15" + "@keplr-wallet/unit" "0.12.15" bech32 "^1.1.4" buffer "^6.0.3" long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/crypto@0.11.38": - version "0.11.38" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.11.38.tgz#72bf8b621cd0a7e1cac172d18b385ce3bf1d657f" - integrity sha512-EuY7Y7CRQqEmjn2eCbiLAhVEkInWNEzpxQqmObfa1tz2XInafilwwN97czsF96WCcffob9cR97xSfVNOnYWIUw== - dependencies: - "@ethersproject/keccak256" "^5.5.0" - bip32 "^2.0.6" - bip39 "^3.0.3" - bs58check "^2.1.2" - buffer "^6.0.3" - crypto-js "^4.0.0" - elliptic "^6.5.3" - sha.js "^2.4.11" - -"@keplr-wallet/crypto@0.11.63": - version "0.11.63" - resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.11.63.tgz#36b7a7925b2211bf2347df380d327e53d17dc765" - integrity sha512-IyMcd+s9iRwqwNZ75mHfa1r3/bIVikmavxzccShOgFPDbV3kDI+I3ekDpR/3XS+B9bHIKwfWj8/rvqz4MXfFNg== +"@keplr-wallet/crypto@0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/crypto/-/crypto-0.12.15.tgz#bd361d400a1dd90c3156eca890672fb9791db5e6" + integrity sha512-WEOpFZvDEXgRIx3+LUH3kkMt/+7bT5l/B9RJ3UTXZrgxYvUO/z7hGlCJH5kOHInCC70HHYSRBgbCSM9L4C5o3w== dependencies: "@ethersproject/keccak256" "^5.5.0" bip32 "^2.0.6" @@ -1131,53 +1169,32 @@ elliptic "^6.5.3" sha.js "^2.4.11" -"@keplr-wallet/proto-types@0.11.38", "@keplr-wallet/proto-types@^0.11.38": - version "0.11.38" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.11.38.tgz#b31152b06e1f7a9d7c5768767a22d79dbf4c9161" - integrity sha512-fMiINr1Y59GfIID1oeCuPkGuBm2WTBjQ/qekDHvwM0aBEB0Ca0J9chhyqwziHvmKAShVmZVyb9P2r/1ZqKV21g== - dependencies: - long "^4.0.0" - protobufjs "^6.11.2" - -"@keplr-wallet/proto-types@0.11.63": - version "0.11.63" - resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.11.63.tgz#80c8c486239774215fecec0fd9c980931aa551ad" - integrity sha512-WRZMs5T52Fh6cZsf/77mWbrbUzjE/TEpvwGnzdy6Y5RawfrzyqDqfCcokjCpYuDFFeQ/tPVH/IMvpDPWJVqbJA== +"@keplr-wallet/proto-types@0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/proto-types/-/proto-types-0.12.15.tgz#e3631051002fca80521877ca287b901374a19e74" + integrity sha512-OB8Yja+cNpUGzqws3lIDsqBuhZzbwTMLRPfzxYoglv+NhZpGMQE0LsHwVZ8nM47K0Zdd8+nIvyFoKlM9PEBbnw== dependencies: long "^4.0.0" protobufjs "^6.11.2" -"@keplr-wallet/types@0.11.38": - version "0.11.38" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.11.38.tgz#cfaaa4686d0c5b901ba987e6806ac9a17162f0a0" - integrity sha512-Lcfkh3OsQMdZ9zKQeV/P4tz+ig7SjKDIY9u5MdqairDAPLPCk4qenh9wDZguNW4CWzlW/FI1A/RqltqtJQGyLg== - dependencies: - axios "^0.27.2" - long "^4.0.0" +"@keplr-wallet/simple-fetch@0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/simple-fetch/-/simple-fetch-0.12.15.tgz#12c71df38c8d27d3747b01a90a178baec89eea5b" + integrity sha512-5M03862fUDr1FBMWX0BH5e+p+Rm376MGSiHTrbsL6yMcdQwZVWyCbxXolh8oLrSmbsma4GQtU3yVJ4F620vLKA== -"@keplr-wallet/types@0.11.63", "@keplr-wallet/types@^0.11.63": - version "0.11.63" - resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.11.63.tgz#5c9765c5dbd4a37053bdbbf7d5123e3aff7dade8" - integrity sha512-uzGrE6Dk9rzDyzM5IcOSJcyOePNZUEZSM3SkRTgK1mmJ2UkaVI2A6DTIT1/lpbS6GnYVnf/UophH0DzWL2wzoQ== +"@keplr-wallet/types@0.12.15", "@keplr-wallet/types@^0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/types/-/types-0.12.15.tgz#4e0395e31a7f30ee0abc111c52b3eea58e4e0edc" + integrity sha512-iK73ckkU47yDDZgFcwpUMWFWYA5tve7NeP0cRnVWDLXhvy6GOJpGMEGXjan8fht6fWJ4p6ik2jOw1RMxXVG5XA== dependencies: - axios "^0.27.2" long "^4.0.0" -"@keplr-wallet/unit@0.11.38": - version "0.11.38" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.11.38.tgz#e4f83251d0af34a7fc1a348cf2030f80428af3d2" - integrity sha512-Gdg8ZgGqDJaKuNM/haIgsVuUotzihKnX3p2iNemszKndeh6pWF7KJiOUXIlIxcxQ5h055qDQTgUMAUb4d9nkAw== +"@keplr-wallet/unit@0.12.15": + version "0.12.15" + resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.12.15.tgz#83a559d4ad65e3039f4c1ccfa416bf2e97836508" + integrity sha512-WvZOH7PW6uToHKafmOl7DHRD9K6yq1s3sNMt5VU07hTfTZaVRFpRJilGpk4Ulq4/bTBiYUl68tY2sqDiz7mkrA== dependencies: - "@keplr-wallet/types" "0.11.38" - big-integer "^1.6.48" - utility-types "^3.10.0" - -"@keplr-wallet/unit@0.11.63": - version "0.11.63" - resolved "https://registry.yarnpkg.com/@keplr-wallet/unit/-/unit-0.11.63.tgz#38ba268166d73dc1fdca62a4746ee00af8003070" - integrity sha512-mHEtu7+8ddGNMBvSbbvD/tQHT/Knl9w4KysDlkKdk5INMaYKxyZP+N+rRgj6la4JR0/UNB/KUFzCxygtUqofPw== - dependencies: - "@keplr-wallet/types" "0.11.63" + "@keplr-wallet/types" "0.12.15" big-integer "^1.6.48" utility-types "^3.10.0" @@ -1192,24 +1209,36 @@ tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" -"@metamask/eth-sig-util@^5.0.2": - version "5.0.2" - resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-5.0.2.tgz#c518279a6e17a88135a13d53a0b970f145ff8bce" - integrity sha512-RU6fG/H6/UlBol221uBkq5C7w3TwLK611nEZliO2u+kO0vHKGBXnIPlhI0tzKUigjhUeOd9mhCNbNvhh0LKt9Q== +"@metamask/eth-sig-util@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-6.0.0.tgz#083321dc7285a9aa6e066db7c49be6e94c5e03a3" + integrity sha512-M0ezVz8lirXG1P6rHPzx+9i4zfhebCgVHE8XQT8VWxy/eUWllHQGcBcE8QmOusC7su55M4CMr9AyMIu0lx452g== dependencies: - "@ethereumjs/util" "^8.0.0" - bn.js "^4.11.8" - ethereum-cryptography "^1.1.2" + "@ethereumjs/util" "^8.0.6" + bn.js "^4.12.0" + ethereum-cryptography "^2.0.0" ethjs-util "^0.1.6" tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" +"@noble/curves@1.1.0", "@noble/curves@~1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.1.0.tgz#f13fc667c89184bc04cccb9b11e8e7bae27d8c3d" + integrity sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA== + dependencies: + "@noble/hashes" "1.3.1" + "@noble/hashes@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae" integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg== -"@noble/hashes@1.2.0", "@noble/hashes@^1", "@noble/hashes@^1.0.0", "@noble/hashes@~1.2.0": +"@noble/hashes@1.3.1", "@noble/hashes@~1.3.0", "@noble/hashes@~1.3.1": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" + integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== + +"@noble/hashes@^1", "@noble/hashes@^1.0.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12" integrity sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ== @@ -1219,11 +1248,6 @@ resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.0.tgz#d15357f7c227e751d90aa06b05a0e5cf993ba8c1" integrity sha512-kbacwGSsH/CTout0ZnZWxnW1B+jH/7r/WAAKLBtrRJ/+CUH7lgmQzl3GTrQua3SGKWNSDsS6lmjnDpIJ5Dxyaw== -"@noble/secp256k1@1.7.1", "@noble/secp256k1@~1.7.0": - version "1.7.1" - resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.7.1.tgz#b251c70f824ce3ca7f8dc3df08d58f005cc0507c" - integrity sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw== - "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -1254,6 +1278,18 @@ long "^5.2.0" protobufjs "^6.11.3" +"@pkgr/utils@^2.3.1": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@pkgr/utils/-/utils-2.4.2.tgz#9e638bbe9a6a6f165580dc943f138fd3309a2cbc" + integrity sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw== + dependencies: + cross-spawn "^7.0.3" + fast-glob "^3.3.0" + is-glob "^4.0.3" + open "^9.1.0" + picocolors "^1.0.0" + tslib "^2.6.0" + "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" @@ -1312,21 +1348,21 @@ resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== -"@scure/bip32@1.1.5": - version "1.1.5" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.1.5.tgz#d2ccae16dcc2e75bc1d75f5ef3c66a338d1ba300" - integrity sha512-XyNh1rB0SkEqd3tXcXMi+Xe1fvg+kUIcoRIEujP1Jgv7DqW2r9lg3Ah0NkFaCs9sTkQAQA8kw7xiRXzENi9Rtw== +"@scure/bip32@1.3.1": + version "1.3.1" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.1.tgz#7248aea723667f98160f593d621c47e208ccbb10" + integrity sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A== dependencies: - "@noble/hashes" "~1.2.0" - "@noble/secp256k1" "~1.7.0" + "@noble/curves" "~1.1.0" + "@noble/hashes" "~1.3.1" "@scure/base" "~1.1.0" -"@scure/bip39@1.1.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.1.1.tgz#b54557b2e86214319405db819c4b6a370cf340c5" - integrity sha512-t+wDck2rVkh65Hmv280fYdVdY25J9YeEUIgn2LG1WM6gxFkGzcksoDiUkWVpVp3Oex9xGC68JU2dSbUfwZ2jPg== +"@scure/bip39@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" + integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== dependencies: - "@noble/hashes" "~1.2.0" + "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" "@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.3": @@ -1371,7 +1407,170 @@ resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.2.tgz#5981a8db18b56ba38ef0efb7d995b12aa7b51918" integrity sha512-sXXKG+uL9IrKqViTtao2Ws6dy0znu9sOaP1di/jKGW1M6VssO8vlpXCQcpZ+jisQ1tTFAC5Jo/EOzFbggBagFQ== -"@terra-money/terra.proto@^3.0.5": +"@stablelib/aead@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/aead/-/aead-1.0.1.tgz#c4b1106df9c23d1b867eb9b276d8f42d5fc4c0c3" + integrity sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg== + +"@stablelib/binary@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/binary/-/binary-1.0.1.tgz#c5900b94368baf00f811da5bdb1610963dfddf7f" + integrity sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q== + dependencies: + "@stablelib/int" "^1.0.1" + +"@stablelib/bytes@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/bytes/-/bytes-1.0.1.tgz#0f4aa7b03df3080b878c7dea927d01f42d6a20d8" + integrity sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ== + +"@stablelib/chacha20poly1305@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/chacha20poly1305/-/chacha20poly1305-1.0.1.tgz#de6b18e283a9cb9b7530d8767f99cde1fec4c2ee" + integrity sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA== + dependencies: + "@stablelib/aead" "^1.0.1" + "@stablelib/binary" "^1.0.1" + "@stablelib/chacha" "^1.0.1" + "@stablelib/constant-time" "^1.0.1" + "@stablelib/poly1305" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/chacha@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/chacha/-/chacha-1.0.1.tgz#deccfac95083e30600c3f92803a3a1a4fa761371" + integrity sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/constant-time@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/constant-time/-/constant-time-1.0.1.tgz#bde361465e1cf7b9753061b77e376b0ca4c77e35" + integrity sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg== + +"@stablelib/ed25519@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stablelib/ed25519/-/ed25519-1.0.3.tgz#f8fdeb6f77114897c887bb6a3138d659d3f35996" + integrity sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg== + dependencies: + "@stablelib/random" "^1.0.2" + "@stablelib/sha512" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/hash@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hash/-/hash-1.0.1.tgz#3c944403ff2239fad8ebb9015e33e98444058bc5" + integrity sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg== + +"@stablelib/hkdf@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hkdf/-/hkdf-1.0.1.tgz#b4efd47fd56fb43c6a13e8775a54b354f028d98d" + integrity sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g== + dependencies: + "@stablelib/hash" "^1.0.1" + "@stablelib/hmac" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/hmac@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/hmac/-/hmac-1.0.1.tgz#3d4c1b8cf194cb05d28155f0eed8a299620a07ec" + integrity sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA== + dependencies: + "@stablelib/constant-time" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/int@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/int/-/int-1.0.1.tgz#75928cc25d59d73d75ae361f02128588c15fd008" + integrity sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w== + +"@stablelib/keyagreement@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz#4612efb0a30989deb437cd352cee637ca41fc50f" + integrity sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg== + dependencies: + "@stablelib/bytes" "^1.0.1" + +"@stablelib/poly1305@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/poly1305/-/poly1305-1.0.1.tgz#93bfb836c9384685d33d70080718deae4ddef1dc" + integrity sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA== + dependencies: + "@stablelib/constant-time" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c" + integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/sha256@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/sha256/-/sha256-1.0.1.tgz#77b6675b67f9b0ea081d2e31bda4866297a3ae4f" + integrity sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/sha512@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/sha512/-/sha512-1.0.1.tgz#6da700c901c2c0ceacbd3ae122a38ac57c72145f" + integrity sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw== + dependencies: + "@stablelib/binary" "^1.0.1" + "@stablelib/hash" "^1.0.1" + "@stablelib/wipe" "^1.0.1" + +"@stablelib/wipe@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" + integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== + +"@stablelib/x25519@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd" + integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw== + dependencies: + "@stablelib/keyagreement" "^1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/wipe" "^1.0.1" + +"@terra-money/feather.js@^1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@terra-money/feather.js/-/feather.js-1.0.8.tgz#0192f24144c4310e003ecf2f2e899db025780095" + integrity sha512-quVPfIzzY1e6nLaw6CEDVz7pe0F5BNzu3Gs7nU+ss+wBLVYgCcULwUMwOFYTwD2FHUaRmBXSCqxCJDndiNksmg== + dependencies: + "@terra-money/legacy.proto" "npm:@terra-money/terra.proto@^0.1.7" + "@terra-money/terra.proto" "3.0.5" + axios "^0.27.2" + bech32 "^2.0.0" + bip32 "^2.0.6" + bip39 "^3.0.3" + bufferutil "^4.0.3" + decimal.js "^10.2.1" + jscrypto "^1.0.1" + readable-stream "^3.6.0" + secp256k1 "^4.0.2" + tmp "^0.2.1" + utf-8-validate "^5.0.5" + ws "^7.5.9" + +"@terra-money/legacy.proto@npm:@terra-money/terra.proto@^0.1.7": + version "0.1.7" + resolved "https://registry.yarnpkg.com/@terra-money/terra.proto/-/terra.proto-0.1.7.tgz#59c18f30da10d43200bab3ba8feb5b17e43a365f" + integrity sha512-NXD7f6pQCulvo6+mv6MAPzhOkUzRjgYVuHZE/apih+lVnPG5hDBU0rRYnOGGofwvKT5/jQoOENnFn/gioWWnyQ== + dependencies: + google-protobuf "^3.17.3" + long "^4.0.0" + protobufjs "~6.11.2" + +"@terra-money/terra.proto@3.0.5", "@terra-money/terra.proto@^3.0.5": version "3.0.5" resolved "https://registry.yarnpkg.com/@terra-money/terra.proto/-/terra.proto-3.0.5.tgz#96f17410a044459412491959b615c52faa2eb338" integrity sha512-8tvT41qte2mpiNoHq2dMmV7soMxwf4ckuJ+F2pMrb7iVcqaBo30/dIfyTdFm5mEH5i5P6cTJggm+UlIZBSPhwQ== @@ -1421,11 +1620,16 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== -"@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": +"@types/json-schema@*", "@types/json-schema@^7.0.8": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== +"@types/json-schema@^7.0.11": + version "7.0.12" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb" + integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA== + "@types/lodash.values@^4.3.6": version "4.3.7" resolved "https://registry.yarnpkg.com/@types/lodash.values/-/lodash.values-4.3.7.tgz#9da9c6cf5941ff8b8f98bde9cb9f2cf7fd64eceb" @@ -1458,10 +1662,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== -"@types/node@^20.1.7": - version "20.1.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.1.7.tgz#ce10c802f7731909d0a44ac9888e8b3a9125eb62" - integrity sha512-WCuw/o4GSwDGMoonES8rcvwsig77dGCMbZDrZr2x4ZZiNW4P/gcoZXe/0twgtobcTkmg9TuKflxYL/DuwDyJzg== +"@types/node@^20.4.1": + version "20.4.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.4.1.tgz#a6033a8718653c50ac4962977e14d0f984d9527d" + integrity sha512-JIzsAvJeA/5iY6Y/OxZbv1lUcc8dNSE77lb2gnBH+/PJ3lFR1Ccvgwl5JWnHAkNHcRsT0TbpVOsiMKZ1F/yyJg== "@types/pbkdf2@^3.0.0": version "3.1.0" @@ -1475,10 +1679,10 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== -"@types/react-dom@^18.2.4": - version "18.2.4" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.4.tgz#13f25bfbf4e404d26f62ac6e406591451acba9e0" - integrity sha512-G2mHoTMTL4yoydITgOGwWdWMVd8sNgyEP85xVmMKAPUBwQWm9wBPQUmvbeF4V3WBY1P7mmL4BkjQ0SqUpf1snw== +"@types/react-dom@^18.2.6": + version "18.2.6" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.6.tgz#ad621fa71a8db29af7c31b41b2ea3d8a6f4144d1" + integrity sha512-2et4PDvg6PVCyS7fuTc4gPoksV58bW0RwSxWKcPRcHZf0PRUGq03TKcD/rUHe3azfV6/5/biUBJw+HhCQjaP0A== dependencies: "@types/react" "*" @@ -1498,10 +1702,10 @@ "@types/scheduler" "*" csstype "^3.0.2" -"@types/react@^18.2.6": - version "18.2.6" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.6.tgz#5cd53ee0d30ffc193b159d3516c8c8ad2f19d571" - integrity sha512-wRZClXn//zxCFW+ye/D2qY65UsYP1Fpex2YXorHc8awoNamkMZSvBxwxdYVInsHOZZd2Ppq8isnSzJL5Mpf8OA== +"@types/react@^18.2.14": + version "18.2.14" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.14.tgz#fa7a6fecf1ce35ca94e74874f70c56ce88f7a127" + integrity sha512-A0zjq+QN/O0Kpe30hA1GidzyFjatVvrpIvWLxD+xv67Vt91TWWgco9IvrJBkeyHm1trGaFS/FSGqPlhyeZRm0g== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -1524,156 +1728,156 @@ resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== -"@typescript-eslint/eslint-plugin@^5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz#a350faef1baa1e961698240f922d8de1761a9e2b" - integrity sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw== - dependencies: - "@eslint-community/regexpp" "^4.4.0" - "@typescript-eslint/scope-manager" "5.59.6" - "@typescript-eslint/type-utils" "5.59.6" - "@typescript-eslint/utils" "5.59.6" +"@typescript-eslint/eslint-plugin@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.0.0.tgz#19ff4f1cab8d6f8c2c1825150f7a840bc5d9bdc4" + integrity sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A== + dependencies: + "@eslint-community/regexpp" "^4.5.0" + "@typescript-eslint/scope-manager" "6.0.0" + "@typescript-eslint/type-utils" "6.0.0" + "@typescript-eslint/utils" "6.0.0" + "@typescript-eslint/visitor-keys" "6.0.0" debug "^4.3.4" grapheme-splitter "^1.0.4" - ignore "^5.2.0" + graphemer "^1.4.0" + ignore "^5.2.4" + natural-compare "^1.4.0" natural-compare-lite "^1.4.0" - semver "^7.3.7" - tsutils "^3.21.0" + semver "^7.5.0" + ts-api-utils "^1.0.1" -"@typescript-eslint/parser@^5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.59.6.tgz#bd36f71f5a529f828e20b627078d3ed6738dbb40" - integrity sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA== +"@typescript-eslint/parser@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.0.0.tgz#46b2600fd1f67e62fc00a28093a75f41bf7effc4" + integrity sha512-TNaufYSPrr1U8n+3xN+Yp9g31vQDJqhXzzPSHfQDLcaO4tU+mCfODPxCwf4H530zo7aUBE3QIdxCXamEnG04Tg== dependencies: - "@typescript-eslint/scope-manager" "5.59.6" - "@typescript-eslint/types" "5.59.6" - "@typescript-eslint/typescript-estree" "5.59.6" + "@typescript-eslint/scope-manager" "6.0.0" + "@typescript-eslint/types" "6.0.0" + "@typescript-eslint/typescript-estree" "6.0.0" + "@typescript-eslint/visitor-keys" "6.0.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz#d43a3687aa4433868527cfe797eb267c6be35f19" - integrity sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ== +"@typescript-eslint/scope-manager@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.0.0.tgz#8ede47a37cb2b7ed82d329000437abd1113b5e11" + integrity sha512-o4q0KHlgCZTqjuaZ25nw5W57NeykZT9LiMEG4do/ovwvOcPnDO1BI5BQdCsUkjxFyrCL0cSzLjvIMfR9uo7cWg== dependencies: - "@typescript-eslint/types" "5.59.6" - "@typescript-eslint/visitor-keys" "5.59.6" + "@typescript-eslint/types" "6.0.0" + "@typescript-eslint/visitor-keys" "6.0.0" -"@typescript-eslint/type-utils@5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz#37c51d2ae36127d8b81f32a0a4d2efae19277c48" - integrity sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ== +"@typescript-eslint/type-utils@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.0.0.tgz#0478d8a94f05e51da2877cc0500f1b3c27ac7e18" + integrity sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ== dependencies: - "@typescript-eslint/typescript-estree" "5.59.6" - "@typescript-eslint/utils" "5.59.6" + "@typescript-eslint/typescript-estree" "6.0.0" + "@typescript-eslint/utils" "6.0.0" debug "^4.3.4" - tsutils "^3.21.0" + ts-api-utils "^1.0.1" -"@typescript-eslint/types@5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.59.6.tgz#5a6557a772af044afe890d77c6a07e8c23c2460b" - integrity sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA== +"@typescript-eslint/types@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.0.0.tgz#19795f515f8decbec749c448b0b5fc76d82445a1" + integrity sha512-Zk9KDggyZM6tj0AJWYYKgF0yQyrcnievdhG0g5FqyU3Y2DRxJn4yWY21sJC0QKBckbsdKKjYDV2yVrrEvuTgxg== -"@typescript-eslint/typescript-estree@5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz#2fb80522687bd3825504925ea7e1b8de7bb6251b" - integrity sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA== +"@typescript-eslint/typescript-estree@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.0.0.tgz#1e09aab7320e404fb9f83027ea568ac24e372f81" + integrity sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ== dependencies: - "@typescript-eslint/types" "5.59.6" - "@typescript-eslint/visitor-keys" "5.59.6" + "@typescript-eslint/types" "6.0.0" + "@typescript-eslint/visitor-keys" "6.0.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" + semver "^7.5.0" + ts-api-utils "^1.0.1" -"@typescript-eslint/utils@5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.59.6.tgz#82960fe23788113fc3b1f9d4663d6773b7907839" - integrity sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg== +"@typescript-eslint/utils@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.0.0.tgz#27a16d0d8f2719274a39417b9782f7daa3802db0" + integrity sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ== dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@types/json-schema" "^7.0.9" + "@eslint-community/eslint-utils" "^4.3.0" + "@types/json-schema" "^7.0.11" "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.59.6" - "@typescript-eslint/types" "5.59.6" - "@typescript-eslint/typescript-estree" "5.59.6" + "@typescript-eslint/scope-manager" "6.0.0" + "@typescript-eslint/types" "6.0.0" + "@typescript-eslint/typescript-estree" "6.0.0" eslint-scope "^5.1.1" - semver "^7.3.7" + semver "^7.5.0" -"@typescript-eslint/visitor-keys@5.59.6": - version "5.59.6" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz#673fccabf28943847d0c8e9e8d008e3ada7be6bb" - integrity sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q== - dependencies: - "@typescript-eslint/types" "5.59.6" - eslint-visitor-keys "^3.3.0" - -"@walletconnect/browser-utils@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" - integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== +"@typescript-eslint/visitor-keys@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.0.0.tgz#0b49026049fbd096d2c00c5e784866bc69532a31" + integrity sha512-cvJ63l8c0yXdeT5POHpL0Q1cZoRcmRKFCtSjNGJxPkcP571EfZMcNbzWAc7oK3D1dRzm/V5EwtkANTZxqvuuUA== dependencies: - "@walletconnect/safe-json" "1.0.0" - "@walletconnect/types" "^1.8.0" - "@walletconnect/window-getters" "1.0.0" - "@walletconnect/window-metadata" "1.0.0" - detect-browser "5.2.0" + "@typescript-eslint/types" "6.0.0" + eslint-visitor-keys "^3.4.1" -"@walletconnect/client@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" - integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== - dependencies: - "@walletconnect/core" "^1.8.0" - "@walletconnect/iso-crypto" "^1.8.0" - "@walletconnect/types" "^1.8.0" - "@walletconnect/utils" "^1.8.0" +"@walletconnect/core@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.9.0.tgz#7837a5d015a22b48d35b987bcde2aa9ccdf300d8" + integrity sha512-MZYJghS9YCvGe32UOgDj0mCasaOoGHQaYXWeQblXE/xb8HuaM6kAWhjIQN9P+MNp5QP134BHP5olQostcCotXQ== + dependencies: + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-provider" "1.0.13" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/jsonrpc-ws-connection" "1.0.12" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/relay-auth" "^1.0.4" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" + events "^3.3.0" + lodash.isequal "4.5.0" + uint8arrays "^3.1.0" -"@walletconnect/core@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" - integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== +"@walletconnect/environment@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.1.tgz#1d7f82f0009ab821a2ba5ad5e5a7b8ae3b214cd7" + integrity sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg== dependencies: - "@walletconnect/socket-transport" "^1.8.0" - "@walletconnect/types" "^1.8.0" - "@walletconnect/utils" "^1.8.0" + tslib "1.14.1" -"@walletconnect/crypto@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.3.tgz#7b8dd4d7e2884fe3543c7c07aea425eef5ef9dd4" - integrity sha512-+2jdORD7XQs76I2Odgr3wwrtyuLUXD/kprNVsjWRhhhdO9Mt6WqVzOPu0/t7OHSmgal8k7SoBQzUc5hu/8zL/g== +"@walletconnect/events@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c" + integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ== dependencies: - "@walletconnect/encoding" "^1.0.2" - "@walletconnect/environment" "^1.0.1" - "@walletconnect/randombytes" "^1.0.3" - aes-js "^3.1.2" - hash.js "^1.1.7" + keyvaluestorage-interface "^1.0.0" tslib "1.14.1" -"@walletconnect/encoding@^1.0.1", "@walletconnect/encoding@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.2.tgz#cb3942ad038d6a6bf01158f66773062dd25724da" - integrity sha512-CrwSBrjqJ7rpGQcTL3kU+Ief+Bcuu9PH6JLOb+wM6NITX1GTxR/MfNwnQfhLKK6xpRAyj2/nM04OOH6wS8Imag== +"@walletconnect/heartbeat@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.1.tgz#afaa3a53232ae182d7c9cff41c1084472d8f32e9" + integrity sha512-yVzws616xsDLJxuG/28FqtZ5rzrTA4gUjdEMTbWB5Y8V1XHRmqq4efAxCw5ie7WjbXFSUyBHaWlMR+2/CpQC5Q== dependencies: - is-typedarray "1.0.0" + "@walletconnect/events" "^1.0.1" + "@walletconnect/time" "^1.0.2" tslib "1.14.1" - typedarray-to-buffer "3.1.5" -"@walletconnect/environment@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.1.tgz#1d7f82f0009ab821a2ba5ad5e5a7b8ae3b214cd7" - integrity sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg== +"@walletconnect/jsonrpc-provider@1.0.13": + version "1.0.13" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.13.tgz#9a74da648d015e1fffc745f0c7d629457f53648b" + integrity sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g== dependencies: + "@walletconnect/jsonrpc-utils" "^1.0.8" + "@walletconnect/safe-json" "^1.0.2" tslib "1.14.1" -"@walletconnect/iso-crypto@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" - integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== +"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c" + integrity sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw== dependencies: - "@walletconnect/crypto" "^1.0.2" - "@walletconnect/types" "^1.8.0" - "@walletconnect/utils" "^1.8.0" + keyvaluestorage-interface "^1.0.0" + tslib "1.14.1" "@walletconnect/jsonrpc-types@^1.0.2": version "1.0.2" @@ -1683,75 +1887,137 @@ keyvaluestorage-interface "^1.0.0" tslib "1.14.1" -"@walletconnect/jsonrpc-utils@^1.0.3": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.4.tgz#2009ba3907b02516f2caacd2fb871ff0d472b2cb" - integrity sha512-y0+tDxcTZ9BHBBKBJbjZxLUXb+zQZCylf7y/jTvDPNx76J0hYYc+F9zHzyqBLeorSKepLTk6yI8hw3NXbAQB3g== +"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.8": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72" + integrity sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw== dependencies: "@walletconnect/environment" "^1.0.1" - "@walletconnect/jsonrpc-types" "^1.0.2" + "@walletconnect/jsonrpc-types" "^1.0.3" tslib "1.14.1" -"@walletconnect/randombytes@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.3.tgz#e795e4918367fd1e6a2215e075e64ab93e23985b" - integrity sha512-35lpzxcHFbTN3ABefC9W+uBpNZl1GC4Wpx0ed30gibfO/y9oLdy1NznbV96HARQKSBV9J9M/rrtIvf6a23jfYw== +"@walletconnect/jsonrpc-ws-connection@1.0.12": + version "1.0.12" + resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-ws-connection/-/jsonrpc-ws-connection-1.0.12.tgz#2192314884fabdda6d0a9d22e157e5b352025ed8" + integrity sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w== dependencies: - "@walletconnect/encoding" "^1.0.2" - "@walletconnect/environment" "^1.0.1" - randombytes "^2.1.0" + "@walletconnect/jsonrpc-utils" "^1.0.6" + "@walletconnect/safe-json" "^1.0.2" + events "^3.3.0" tslib "1.14.1" + ws "^7.5.1" -"@walletconnect/safe-json@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" - integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== +"@walletconnect/keyvaluestorage@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz#92f5ca0f54c1a88a093778842ce0c874d86369c8" + integrity sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ== + dependencies: + safe-json-utils "^1.1.1" + tslib "1.14.1" -"@walletconnect/socket-transport@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" - integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== +"@walletconnect/logger@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.0.1.tgz#7f489b96e9a1ff6bf3e58f0fbd6d69718bf844a8" + integrity sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ== dependencies: - "@walletconnect/types" "^1.8.0" - "@walletconnect/utils" "^1.8.0" - ws "7.5.3" + pino "7.11.0" + tslib "1.14.1" -"@walletconnect/types@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" - integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== +"@walletconnect/relay-api@^1.0.9": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.9.tgz#f8c2c3993dddaa9f33ed42197fc9bfebd790ecaf" + integrity sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg== + dependencies: + "@walletconnect/jsonrpc-types" "^1.0.2" + tslib "1.14.1" -"@walletconnect/utils@^1.8.0": - version "1.8.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" - integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== - dependencies: - "@walletconnect/browser-utils" "^1.8.0" - "@walletconnect/encoding" "^1.0.1" - "@walletconnect/jsonrpc-utils" "^1.0.3" - "@walletconnect/types" "^1.8.0" - bn.js "4.11.8" - js-sha3 "0.8.0" - query-string "6.13.5" +"@walletconnect/relay-auth@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c" + integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ== + dependencies: + "@stablelib/ed25519" "^1.0.2" + "@stablelib/random" "^1.0.1" + "@walletconnect/safe-json" "^1.0.1" + "@walletconnect/time" "^1.0.2" + tslib "1.14.1" + uint8arrays "^3.0.0" -"@walletconnect/window-getters@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8" - integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA== +"@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77" + integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA== + dependencies: + tslib "1.14.1" + +"@walletconnect/sign-client@^2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.9.0.tgz#fd3b0acb68bc8d56350f01ed70f8c6326e6e89fa" + integrity sha512-mEKc4LlLMebCe45qzqh+MX4ilQK4kOEBzLY6YJpG8EhyT45eX4JMNA7qQoYa9MRMaaVb/7USJcc4e3ZrjZvQmA== + dependencies: + "@walletconnect/core" "2.9.0" + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-utils" "1.0.8" + "@walletconnect/logger" "^2.0.1" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.9.0" + "@walletconnect/utils" "2.9.0" + events "^3.3.0" + +"@walletconnect/time@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523" + integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g== + dependencies: + tslib "1.14.1" -"@walletconnect/window-getters@^1.0.0": +"@walletconnect/types@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.9.0.tgz#6e5dfdc7212c1ec4ab49a1ec409c743e16093f72" + integrity sha512-ORopsMfSRvUYqtjKKd6scfg8o4/aGebipLxx92AuuUgMTERSU6cGmIrK6rdLu7W6FBJkmngPLEGc9mRqAb9Lug== + dependencies: + "@walletconnect/events" "^1.0.1" + "@walletconnect/heartbeat" "1.2.1" + "@walletconnect/jsonrpc-types" "1.0.3" + "@walletconnect/keyvaluestorage" "^1.0.2" + "@walletconnect/logger" "^2.0.1" + events "^3.3.0" + +"@walletconnect/utils@2.9.0": + version "2.9.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.9.0.tgz#c73925edb9fefe79021bcf028e957028f986b728" + integrity sha512-7Tu3m6dZL84KofrNBcblsgpSqU2vdo9ImLD7zWimLXERVGNQ8smXG+gmhQYblebIBhsPzjy9N38YMC3nPlfQNw== + dependencies: + "@stablelib/chacha20poly1305" "1.0.1" + "@stablelib/hkdf" "1.0.1" + "@stablelib/random" "^1.0.2" + "@stablelib/sha256" "1.0.1" + "@stablelib/x25519" "^1.0.3" + "@walletconnect/relay-api" "^1.0.9" + "@walletconnect/safe-json" "^1.0.2" + "@walletconnect/time" "^1.0.2" + "@walletconnect/types" "2.9.0" + "@walletconnect/window-getters" "^1.0.1" + "@walletconnect/window-metadata" "^1.0.1" + detect-browser "5.3.0" + query-string "7.1.3" + uint8arrays "^3.1.0" + +"@walletconnect/window-getters@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc" integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q== dependencies: tslib "1.14.1" -"@walletconnect/window-metadata@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5" - integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA== +"@walletconnect/window-metadata@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5" + integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA== dependencies: - "@walletconnect/window-getters" "^1.0.0" + "@walletconnect/window-getters" "^1.0.1" + tslib "1.14.1" "@webassemblyjs/ast@1.11.5", "@webassemblyjs/ast@^1.11.5": version "1.11.5" @@ -1874,20 +2140,20 @@ "@webassemblyjs/ast" "1.11.5" "@xtuc/long" "4.2.2" -"@webpack-cli/configtest@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-2.1.0.tgz#b59b33377b1b896a9a7357cfc643b39c1524b1e6" - integrity sha512-K/vuv72vpfSEZoo5KIU0a2FsEoYdW0DUMtMpB5X3LlUwshetMZRZRxB7sCsVji/lFaSxtQQ3aM9O4eMolXkU9w== +"@webpack-cli/configtest@^2.1.1": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-2.1.1.tgz#3b2f852e91dac6e3b85fb2a314fb8bef46d94646" + integrity sha512-wy0mglZpDSiSS0XHrVR+BAdId2+yxPSoJW8fsna3ZpYSlufjvxnP4YbKTCBZnNIcGN4r6ZPXV55X4mYExOfLmw== -"@webpack-cli/info@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-2.0.1.tgz#eed745799c910d20081e06e5177c2b2569f166c0" - integrity sha512-fE1UEWTwsAxRhrJNikE7v4EotYflkEhBL7EbajfkPlf6E37/2QshOy/D48Mw8G5XMFlQtS6YV42vtbG9zBpIQA== +"@webpack-cli/info@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-2.0.2.tgz#cc3fbf22efeb88ff62310cf885c5b09f44ae0fdd" + integrity sha512-zLHQdI/Qs1UyT5UBdWNqsARasIA+AaF8t+4u2aS2nEpBQh2mWIVb8qAklq0eUENnC5mOItrIB4LiS9xMtph18A== -"@webpack-cli/serve@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.4.tgz#3982ee6f8b42845437fc4d391e93ac5d9da52f0f" - integrity sha512-0xRgjgDLdz6G7+vvDLlaRpFatJaJ69uTalZLRSMX5B3VUrDmXcrVA3+6fXXQgmYz7bY9AAgs348XQdmtLsK41A== +"@webpack-cli/serve@^2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.5.tgz#325db42395cd49fe6c14057f9a900e427df8810e" + integrity sha512-lqaoKnRYBdo1UgDX8uF24AfGMifWK19TxPmM5FHc2vAGxrJ/qtyUyFBWoY1tISZdelsQ5fBcOusifo5o5wSJxQ== "@wry/context@^0.7.0": version "0.7.0" @@ -1920,10 +2186,10 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== -acorn-import-assertions@^1.7.6: - version "1.8.0" - resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" - integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== +acorn-import-assertions@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" + integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== acorn-jsx@^5.3.2: version "5.3.2" @@ -1935,21 +2201,21 @@ acorn@7.1.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf" integrity sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg== -acorn@^8.5.0, acorn@^8.7.1, acorn@^8.8.0: +acorn@^8.5.0, acorn@^8.7.1: version "8.8.2" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== +acorn@^8.9.0: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + aes-js@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== -aes-js@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" - integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== - ajv-keywords@^3.5.2: version "3.5.2" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" @@ -1984,6 +2250,19 @@ ansi-styles@^4.0.0, ansi-styles@^4.1.0: dependencies: color-convert "^2.0.1" +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + argparse@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" @@ -2036,16 +2315,16 @@ asn1.js@^5.2.0: minimalistic-assert "^1.0.0" safer-buffer "^2.1.0" -async@^3.2.4: - version "3.2.4" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" - integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== +atomic-sleep@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" + integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== + autoprefixer@^10.4.14: version "10.4.14" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.14.tgz#e28d49902f8e759dd25b153264e862df2705f79d" @@ -2114,7 +2393,7 @@ bech32@2.0.0, bech32@^2.0.0: resolved "https://registry.yarnpkg.com/bech32/-/bech32-2.0.0.tgz#078d3686535075c8c79709f054b1b226a133b355" integrity sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg== -big-integer@1.6.51, big-integer@^1.6.48: +big-integer@1.6.51, big-integer@^1.6.44, big-integer@^1.6.48: version "1.6.51" resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== @@ -2134,6 +2413,11 @@ bignumber.js@^9.0.1: resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + bindings@^1.3.0, bindings@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df" @@ -2154,7 +2438,7 @@ bip32@2.0.6, bip32@^2.0.6: typeforce "^1.11.5" wif "^2.0.6" -bip39@3.0.4, bip39@^3.0.2, bip39@^3.0.3, bip39@^3.0.4: +bip39@3.0.4, bip39@^3.0.3, bip39@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/bip39/-/bip39-3.0.4.tgz#5b11fed966840b5e1b8539f0f54ab6392969b2a0" integrity sha512-YZKQlb752TrUWqHWj7XAwCSjYEgGAk+/Aas3V7NyjQeZYsztO8JnQUaCWhcnL4T+jL8nvB8typ2jRPzTlgugNw== @@ -2176,12 +2460,7 @@ blakejs@^1.1.0: resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ== -bn.js@4.11.8: - version "4.11.8" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" - integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== - -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.8, bn.js@^4.11.9: +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.8, bn.js@^4.11.9, bn.js@^4.12.0: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== @@ -2191,6 +2470,13 @@ bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== +bplist-parser@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/bplist-parser/-/bplist-parser-0.2.0.tgz#43a9d183e5bf9d545200ceac3e712f79ebbe8d0e" + integrity sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw== + dependencies: + big-integer "^1.6.44" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -2199,7 +2485,7 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -braces@^3.0.2: +braces@^3.0.2, braces@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -2314,6 +2600,32 @@ buffer@^6.0.3: base64-js "^1.3.1" ieee754 "^1.2.1" +bufferutil@^4.0.3: + version "4.0.7" + resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.7.tgz#60c0d19ba2c992dd8273d3f73772ffc894c153ad" + integrity sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw== + dependencies: + node-gyp-build "^4.3.0" + +bundle-name@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bundle-name/-/bundle-name-3.0.0.tgz#ba59bcc9ac785fb67ccdbf104a2bf60c099f0e1a" + integrity sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw== + dependencies: + run-applescript "^5.0.0" + +bundle-require@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/bundle-require/-/bundle-require-4.0.1.tgz#2cc1ad76428043d15e0e7f30990ee3d5404aa2e3" + integrity sha512-9NQkRHlNdNpDBGmLpngF3EFDcwodhMUuLz9PaWYciVcQF9SE4LFjM2DB/xV1Li5JiuDMv7ZUWuC3rGbqR0MAXQ== + dependencies: + load-tsconfig "^0.2.3" + +cac@^6.7.12: + version "6.7.14" + resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" + integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== + call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -2354,6 +2666,21 @@ chalk@^4.0.0, chalk@^4.1.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +chokidar@^3.5.1: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + chrome-trace-event@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" @@ -2431,6 +2758,11 @@ commander@^2.20.0: resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== +commander@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" + integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA== + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -2454,14 +2786,6 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmjs-types@^0.5.2: - version "0.5.2" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" - integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== - dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - cosmjs-types@^0.7.1: version "0.7.1" resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.7.1.tgz#7ad355f63206fb829b565ed3463791d33b10c3d7" @@ -2470,10 +2794,10 @@ cosmjs-types@^0.7.1: long "^4.0.0" protobufjs "~6.11.2" -cosmjs-types@^0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.7.2.tgz#a757371abd340949c5bd5d49c6f8379ae1ffd7e2" - integrity sha512-vf2uLyktjr/XVAgEq0DjMxeAWh1yYREe7AMHDKd7EiHVqxBPCaBS+qEEQUkXbR9ndnckqr1sUG8BQhazh4X5lA== +cosmjs-types@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.8.0.tgz#2ed78f3e990f770229726f95f3ef5bf9e2b6859b" + integrity sha512-Q2Mj95Fl0PYMWEhA2LuGEIhipF7mQwd9gTQ85DdP9jjjopeoGaDxvmPa5nakNzsq7FnO1DMTatXTAx6bxMH7Lg== dependencies: long "^4.0.0" protobufjs "~6.11.2" @@ -2562,14 +2886,19 @@ curve25519-js@0.0.4: resolved "https://registry.yarnpkg.com/curve25519-js/-/curve25519-js-0.0.4.tgz#e6ad967e8cd284590d657bbfc90d8b50e49ba060" integrity sha512-axn2UMEnkhyDUPWOwVKBMVIzSQy2ejH2xRGy1wq81dqRwApXfIzfbE3hIX0ZRFBIihf/KDqK158DLwESu4AK1w== -debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: +debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" -decode-uri-component@^0.2.0: +decimal.js@^10.2.1: + version "10.4.3" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== + +decode-uri-component@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== @@ -2579,6 +2908,29 @@ deep-is@^0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +default-browser-id@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/default-browser-id/-/default-browser-id-3.0.0.tgz#bee7bbbef1f4e75d31f98f4d3f1556a14cea790c" + integrity sha512-OZ1y3y0SqSICtE8DE4S8YOE9UZOJ8wO16fKWVP5J1Qz42kV9jcnMVFrEE/noXb/ss3Q4pZIH79kxofzyNNtUNA== + dependencies: + bplist-parser "^0.2.0" + untildify "^4.0.0" + +default-browser@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/default-browser/-/default-browser-4.0.0.tgz#53c9894f8810bf86696de117a6ce9085a3cbc7da" + integrity sha512-wX5pXO1+BrhMkSbROFsyxUm0i/cJEScyNhA4PPxc41ICuv05ZZB/MX28s8aZx6xjmatvebIapF6hLEKEcpneUA== + dependencies: + bundle-name "^3.0.0" + default-browser-id "^3.0.0" + execa "^7.1.1" + titleize "^3.0.0" + +define-lazy-prop@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz#dbb19adfb746d7fc6d734a06b72f4a00d021255f" + integrity sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg== + define-properties@^1.1.3, define-properties@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" @@ -2605,10 +2957,10 @@ des.js@^1.0.0: inherits "^2.0.1" minimalistic-assert "^1.0.0" -detect-browser@5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97" - integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA== +detect-browser@5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca" + integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w== diff@^5.0.0: version "5.1.0" @@ -2662,6 +3014,16 @@ drbg.js@^1.0.1: create-hash "^1.1.2" create-hmac "^1.1.4" +duplexify@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-4.1.2.tgz#18b4f8d28289132fa0b9573c898d9f903f81c7b0" + integrity sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw== + dependencies: + end-of-stream "^1.4.1" + inherits "^2.0.3" + readable-stream "^3.1.1" + stream-shift "^1.0.0" + eccrypto@1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/eccrypto/-/eccrypto-1.1.6.tgz#846bd1222323036f7a3515613704386399702bd3" @@ -2702,6 +3064,13 @@ emojis-list@^3.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== +end-of-stream@^1.4.1: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + enhanced-resolve@^5.0.0: version "5.12.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634" @@ -2710,10 +3079,10 @@ enhanced-resolve@^5.0.0: graceful-fs "^4.2.4" tapable "^2.2.0" -enhanced-resolve@^5.14.0: - version "5.14.0" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz#0b6c676c8a3266c99fa281e4433a706f5c0c61c4" - integrity sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw== +enhanced-resolve@^5.15.0: + version "5.15.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" + integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -2797,6 +3166,34 @@ es6-promise@4.2.8: resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== +esbuild@^0.18.2: + version "0.18.11" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.18.11.tgz#cbf94dc3359d57f600a0dbf281df9b1d1b4a156e" + integrity sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA== + optionalDependencies: + "@esbuild/android-arm" "0.18.11" + "@esbuild/android-arm64" "0.18.11" + "@esbuild/android-x64" "0.18.11" + "@esbuild/darwin-arm64" "0.18.11" + "@esbuild/darwin-x64" "0.18.11" + "@esbuild/freebsd-arm64" "0.18.11" + "@esbuild/freebsd-x64" "0.18.11" + "@esbuild/linux-arm" "0.18.11" + "@esbuild/linux-arm64" "0.18.11" + "@esbuild/linux-ia32" "0.18.11" + "@esbuild/linux-loong64" "0.18.11" + "@esbuild/linux-mips64el" "0.18.11" + "@esbuild/linux-ppc64" "0.18.11" + "@esbuild/linux-riscv64" "0.18.11" + "@esbuild/linux-s390x" "0.18.11" + "@esbuild/linux-x64" "0.18.11" + "@esbuild/netbsd-x64" "0.18.11" + "@esbuild/openbsd-x64" "0.18.11" + "@esbuild/sunos-x64" "0.18.11" + "@esbuild/win32-arm64" "0.18.11" + "@esbuild/win32-ia32" "0.18.11" + "@esbuild/win32-x64" "0.18.11" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -2817,12 +3214,13 @@ eslint-config-prettier@^8.8.0: resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz#bfda738d412adc917fd7b038857110efe98c9348" integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== -eslint-plugin-prettier@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" - integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== +eslint-plugin-prettier@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz#6887780ed95f7708340ec79acfdf60c35b9be57a" + integrity sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w== dependencies: prettier-linter-helpers "^1.0.0" + synckit "^0.8.5" eslint-plugin-react-hooks@^4.6.0: version "4.6.0" @@ -2855,10 +3253,10 @@ eslint-plugin-simple-import-sort@^10.0.0: resolved "https://registry.yarnpkg.com/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-10.0.0.tgz#cc4ceaa81ba73252427062705b64321946f61351" integrity sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw== -eslint-plugin-unused-imports@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-2.0.0.tgz#d8db8c4d0cfa0637a8b51ce3fd7d1b6bc3f08520" - integrity sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A== +eslint-plugin-unused-imports@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.0.0.tgz#d25175b0072ff16a91892c3aa72a09ca3a9e69e7" + integrity sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw== dependencies: eslint-rule-composer "^0.3.0" @@ -2893,16 +3291,16 @@ eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== -eslint@^8.40.0: - version "8.40.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.40.0.tgz#a564cd0099f38542c4e9a2f630fa45bf33bc42a4" - integrity sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ== +eslint@^8.44.0: + version "8.44.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.44.0.tgz#51246e3889b259bbcd1d7d736a0c10add4f0e500" + integrity sha512-0wpHoUbDUHgNCyvFB5aXLiQVfK9B0at6gUvzy83k4kAsQ/u769TQDX6iKC+aO4upIHO9WSaA3QoXYQDHbNwf1A== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.4.0" - "@eslint/eslintrc" "^2.0.3" - "@eslint/js" "8.40.0" - "@humanwhocodes/config-array" "^0.11.8" + "@eslint/eslintrc" "^2.1.0" + "@eslint/js" "8.44.0" + "@humanwhocodes/config-array" "^0.11.10" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" ajv "^6.10.0" @@ -2913,7 +3311,7 @@ eslint@^8.40.0: escape-string-regexp "^4.0.0" eslint-scope "^7.2.0" eslint-visitor-keys "^3.4.1" - espree "^9.5.2" + espree "^9.6.0" esquery "^1.4.2" esutils "^2.0.2" fast-deep-equal "^3.1.3" @@ -2921,30 +3319,29 @@ eslint@^8.40.0: find-up "^5.0.0" glob-parent "^6.0.2" globals "^13.19.0" - grapheme-splitter "^1.0.4" + graphemer "^1.4.0" ignore "^5.2.0" import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" is-path-inside "^3.0.3" - js-sdsl "^4.1.4" js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" lodash.merge "^4.6.2" minimatch "^3.1.2" natural-compare "^1.4.0" - optionator "^0.9.1" + optionator "^0.9.3" strip-ansi "^6.0.1" strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^9.5.2: - version "9.5.2" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.2.tgz#e994e7dc33a082a7a82dceaf12883a829353215b" - integrity sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw== +espree@^9.6.0: + version "9.6.0" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.0.tgz#80869754b1c6560f32e3b6929194a3fe07c5b82f" + integrity sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A== dependencies: - acorn "^8.8.0" + acorn "^8.9.0" acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" @@ -3011,15 +3408,15 @@ ethereum-cryptography@^0.1.3: secp256k1 "^4.0.1" setimmediate "^1.0.5" -ethereum-cryptography@^1.1.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-1.2.0.tgz#5ccfa183e85fdaf9f9b299a79430c044268c9b3a" - integrity sha512-6yFQC9b5ug6/17CQpCyE3k9eKBMdhyVjzUy1WkiuY/E4vj/SXDBbCw8QEIaXqf0Mf2SnY6RmpDcwlUmBSS0EJw== +ethereum-cryptography@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.1.tgz#23383799b67a46aafaee69097dd9c5f732699101" + integrity sha512-XdvUog4BpUkEcJ0GAjr2KTjibd/i2yh5+5KSL/KFNz9MTYwiIjdeA8ZynENTZmaT8lebbnozsFwwsn33y+/TtA== dependencies: - "@noble/hashes" "1.2.0" - "@noble/secp256k1" "1.7.1" - "@scure/bip32" "1.1.5" - "@scure/bip39" "1.1.1" + "@noble/curves" "1.1.0" + "@noble/hashes" "1.3.1" + "@scure/bip32" "1.3.1" + "@scure/bip39" "1.2.1" ethereumjs-abi@^0.6.8: version "0.6.8" @@ -3053,7 +3450,7 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.2.1: ethjs-util "0.1.6" rlp "^2.2.3" -ethers@5.7.2, ethers@^5.6.4: +ethers@5.7.2, ethers@^5.7.2: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== @@ -3097,7 +3494,7 @@ ethjs-util@0.1.6, ethjs-util@^0.1.6: is-hex-prefixed "1.0.0" strip-hex-prefix "1.0.0" -events@^3.2.0: +events@^3.2.0, events@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -3110,6 +3507,36 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +execa@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-7.1.1.tgz#3eb3c83d239488e7b409d48e8813b76bb55c9c43" + integrity sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.1" + human-signals "^4.3.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^3.0.7" + strip-final-newline "^3.0.0" + exenv@^1.2.0: version "1.2.2" resolved "https://registry.yarnpkg.com/exenv/-/exenv-1.2.2.tgz#2ae78e85d9894158670b03d47bec1f03bd91bb9d" @@ -3136,6 +3563,17 @@ fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" +fast-glob@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.0.tgz#7c40cb491e1e2ed5664749e87bfb516dbe8727c0" + integrity sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -3146,6 +3584,11 @@ fast-levenshtein@^2.0.6: resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== +fast-redact@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.2.0.tgz#b1e2d39bc731376d28bde844454fa23e26919987" + integrity sha512-zaTadChr+NekyzallAMXATXLOR8MNx3zqpZ0MUF2aGf4EathnG0f32VLODNlY8IuGY3HoRO2L6/6fSzNsLaHIw== + fastest-levenshtein@^1.0.12: version "1.0.16" resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" @@ -3177,6 +3620,11 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +filter-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b" + integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ== + find-up@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -3237,6 +3685,11 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== +fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -3271,6 +3724,11 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: has "^1.0.3" has-symbols "^1.0.3" +get-stream@^6.0.0, get-stream@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + get-symbol-description@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" @@ -3279,7 +3737,7 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" -glob-parent@^5.1.2: +glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -3298,6 +3756,18 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== +glob@7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@^7.0.0, glob@^7.0.5, glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -3324,7 +3794,7 @@ globalthis@^1.0.1, globalthis@^1.0.3: dependencies: define-properties "^1.1.3" -globby@^11.1.0: +globby@^11.0.3, globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -3358,6 +3828,11 @@ grapheme-splitter@^1.0.4: resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + graphql-tag@^2.12.6: version "2.12.6" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1" @@ -3454,12 +3929,22 @@ http-status-codes@^2.2.0: resolved "https://registry.yarnpkg.com/http-status-codes/-/http-status-codes-2.2.0.tgz#bb2efe63d941dfc2be18e15f703da525169622be" integrity sha512-feERVo9iWxvnejp3SEfm/+oNG517npqL2/PIA8ORjyOZjGC7TwCRQsZylciLS64i6pJ0wRYz3rkXLRwbtFa8Ng== +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +human-signals@^4.3.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-4.3.1.tgz#ab7f811e851fca97ffbd2c1fe9a958964de321b2" + integrity sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ== + ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore@^5.2.0: +ignore@^5.2.0, ignore@^5.2.4: version "5.2.4" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== @@ -3533,6 +4018,13 @@ is-bigint@^1.0.1: dependencies: has-bigints "^1.0.1" +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + is-boolean-object@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" @@ -3560,6 +4052,16 @@ is-date-object@^1.0.1: dependencies: has-tostringtag "^1.0.0" +is-docker@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -3570,7 +4072,7 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -3582,6 +4084,13 @@ is-hex-prefixed@1.0.0: resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + is-negative-zero@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" @@ -3626,6 +4135,16 @@ is-shared-array-buffer@^1.0.2: dependencies: call-bind "^1.0.2" +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" @@ -3651,11 +4170,6 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.9: gopd "^1.0.1" has-tostringtag "^1.0.0" -is-typedarray@1.0.0, is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - is-weakref@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" @@ -3663,6 +4177,13 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -3688,11 +4209,6 @@ isomorphic-ws@^4.0.1: resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== -isomorphic-ws@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-5.0.0.tgz#e5529148912ecb9b451b46ed44d53dae1ce04bbf" - integrity sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw== - jest-worker@^27.4.5: version "27.5.1" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" @@ -3702,10 +4218,10 @@ jest-worker@^27.4.5: merge-stream "^2.0.0" supports-color "^8.0.0" -js-sdsl@^4.1.4: - version "4.3.0" - resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711" - integrity sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ== +joycon@^3.0.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.1.1.tgz#bce8596d6ae808f8b68168f5fc69280996894f03" + integrity sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw== js-sha3@0.8.0, js-sha3@^0.8.0: version "0.8.0" @@ -3724,7 +4240,7 @@ js-yaml@^4.1.0: dependencies: argparse "^2.0.1" -jscrypto@^1.0.3: +jscrypto@^1.0.1, jscrypto@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/jscrypto/-/jscrypto-1.0.3.tgz#598febca2a939d6f679c54f56e1fe364cef30cc9" integrity sha512-lryZl0flhodv4SZHOqyb1bx5sKcJxj0VBo0Kzb4QMAg3L021IC9uGpl0RCZa+9KJwlRGSK2C80ITcwbe19OKLQ== @@ -3803,6 +4319,18 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" +libsodium-sumo@^0.7.11: + version "0.7.11" + resolved "https://registry.yarnpkg.com/libsodium-sumo/-/libsodium-sumo-0.7.11.tgz#ab0389e2424fca5c1dc8c4fd394906190da88a11" + integrity sha512-bY+7ph7xpk51Ez2GbE10lXAQ5sJma6NghcIDaSPbM/G9elfrjLa0COHl/7P6Wb/JizQzl5UQontOOP1z0VwbLA== + +libsodium-wrappers-sumo@^0.7.11: + version "0.7.11" + resolved "https://registry.yarnpkg.com/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.11.tgz#d96329ee3c0e7ec7f5fcf4cdde16cc3a1ae91d82" + integrity sha512-DGypHOmJbB1nZn89KIfGOAkDgfv5N6SBGC3Qvmy/On0P0WD1JQvNRS/e3UL3aFF+xC0m+MYz5M+MnRnK2HMrKQ== + dependencies: + libsodium-sumo "^0.7.11" + libsodium-wrappers@^0.7.6: version "0.7.10" resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" @@ -3815,6 +4343,16 @@ libsodium@^0.7.0: resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== +lilconfig@^2.0.5: + version "2.1.0" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + link-module-alias@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/link-module-alias/-/link-module-alias-1.2.0.tgz#6a3b7b014cfe18b2759a1222fffce6a40fc120e4" @@ -3822,6 +4360,11 @@ link-module-alias@^1.2.0: dependencies: chalk "^2.4.1" +load-tsconfig@^0.2.3: + version "0.2.5" + resolved "https://registry.yarnpkg.com/load-tsconfig/-/load-tsconfig-0.2.5.tgz#453b8cd8961bfb912dea77eb6c168fe8cca3d3a1" + integrity sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg== + loader-runner@^4.2.0: version "4.3.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" @@ -3855,11 +4398,21 @@ lodash.get@^4.4.2: resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== +lodash.isequal@4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== + lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + integrity sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA== + lodash.values@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-4.3.0.tgz#a3a6c2b0ebecc5c2cba1c17e6e620fe81b53d347" @@ -3880,6 +4433,11 @@ long@^5.0.0, long@^5.2.0: resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== +long@^5.2.3: + version "5.2.3" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" + integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== + loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -3925,6 +4483,11 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== +micro-ftch@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" + integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== + micromatch@^4.0.0, micromatch@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -3953,6 +4516,16 @@ mime-types@^2.1.12, mime-types@^2.1.27: dependencies: mime-db "1.52.0" +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -3963,7 +4536,7 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@^3.0.3, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -3985,11 +4558,35 @@ mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +mobile-detect@^1.4.5: + version "1.4.5" + resolved "https://registry.yarnpkg.com/mobile-detect/-/mobile-detect-1.4.5.tgz#da393c3c413ca1a9bcdd9ced653c38281c0fb6ad" + integrity sha512-yc0LhH6tItlvfLBugVUEtgawwFU2sIe+cSdmRJJCTMZ5GEJyLxNyC/NIOAOGk67Fa8GNpOttO3Xz/1bHpXFD/g== + +mobx@^6.1.7: + version "6.9.0" + resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.9.0.tgz#8a894c26417c05bed2cf7499322e589ee9787397" + integrity sha512-HdKewQEREEJgsWnErClfbFoVebze6rGazxFLU/XUyrII8dORfVszN1V0BMRnQSzcgsNNtkX8DHj3nC6cdWE9YQ== + ms@2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== +multiformats@^9.4.2: + version "9.9.0" + resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" + integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== + +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + nan@2.14.0: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" @@ -4056,7 +4653,7 @@ node-fetch@2.6.7: dependencies: whatwg-url "^5.0.0" -node-gyp-build@^4.2.0: +node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: version "4.6.0" resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== @@ -4074,12 +4671,31 @@ noms@0.0.0: inherits "^2.0.1" readable-stream "~1.0.31" +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + normalize-range@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== -object-assign@^4.1.1: +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +npm-run-path@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.1.0.tgz#bc62f7f3f6952d9894bd08944ba011a6ee7b7e00" + integrity sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q== + dependencies: + path-key "^4.0.0" + +object-assign@^4.0.1, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== @@ -4139,13 +4755,42 @@ object.values@^1.1.6: define-properties "^1.1.4" es-abstract "^1.20.4" -once@^1.3.0: +on-exit-leak-free@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz#b39c9e3bf7690d890f4861558b0d7b90a442d209" + integrity sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg== + +once@^1.3.0, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + +open@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/open/-/open-9.1.0.tgz#684934359c90ad25742f5a26151970ff8c6c80b6" + integrity sha512-OS+QTnw1/4vrf+9hh1jc1jnYjzSG4ttTBB8UxOwAnInG3Uo4ssetzC1ihqaIHjLJnA5GGlRl6QlZXOTQhRBUvg== + dependencies: + default-browser "^4.0.0" + define-lazy-prop "^3.0.0" + is-inside-container "^1.0.0" + is-wsl "^2.2.0" + optimism@^0.16.1: version "0.16.2" resolved "https://registry.yarnpkg.com/optimism/-/optimism-0.16.2.tgz#519b0c78b3b30954baed0defe5143de7776bf081" @@ -4154,17 +4799,17 @@ optimism@^0.16.1: "@wry/context" "^0.7.0" "@wry/trie" "^0.3.0" -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" - integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== +optionator@^0.9.3: + version "0.9.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" + integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== dependencies: + "@aashutoshrathi/word-wrap" "^1.2.3" deep-is "^0.1.3" fast-levenshtein "^2.0.6" levn "^0.4.1" prelude-ls "^1.2.1" type-check "^0.4.0" - word-wrap "^1.2.3" p-limit@^2.2.0: version "2.3.0" @@ -4242,11 +4887,16 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -path-key@^3.1.0: +path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" @@ -4280,11 +4930,46 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== -picomatch@^2.3.1: +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +pino-abstract-transport@v0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/pino-abstract-transport/-/pino-abstract-transport-0.5.0.tgz#4b54348d8f73713bfd14e3dc44228739aa13d9c0" + integrity sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ== + dependencies: + duplexify "^4.1.2" + split2 "^4.0.0" + +pino-std-serializers@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/pino-std-serializers/-/pino-std-serializers-4.0.0.tgz#1791ccd2539c091ae49ce9993205e2cd5dbba1e2" + integrity sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q== + +pino@7.11.0: + version "7.11.0" + resolved "https://registry.yarnpkg.com/pino/-/pino-7.11.0.tgz#0f0ea5c4683dc91388081d44bff10c83125066f6" + integrity sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg== + dependencies: + atomic-sleep "^1.0.0" + fast-redact "^3.0.0" + on-exit-leak-free "^0.2.0" + pino-abstract-transport v0.5.0 + pino-std-serializers "^4.0.0" + process-warning "^1.0.0" + quick-format-unescaped "^4.0.3" + real-require "^0.1.0" + safe-stable-stringify "^2.1.0" + sonic-boom "^2.2.1" + thread-stream "^0.15.1" + +pirates@^4.0.1: + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" @@ -4292,15 +4977,23 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" +postcss-load-config@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.1.tgz#152383f481c2758274404e4962743191d73875bd" + integrity sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA== + dependencies: + lilconfig "^2.0.5" + yaml "^2.1.1" + postcss-value-parser@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@^8.4.23: - version "8.4.23" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.23.tgz#df0aee9ac7c5e53e1075c24a3613496f9e6552ab" - integrity sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA== +postcss@^8.4.25: + version "8.4.25" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.25.tgz#4a133f5e379eda7f61e906c3b1aaa9b81292726f" + integrity sha512-7taJ/8t2av0Z+sQEvNzCkpDynl0tX3uJMCODi6nT3PfASC7dYCWV9aQ+uiCf+KBD4SEFcu+GvJdGdwzQ6OSjCw== dependencies: nanoid "^3.3.6" picocolors "^1.0.0" @@ -4318,16 +5011,21 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@^2.8.8: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== +prettier@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae" + integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g== process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== +process-warning@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" + integrity sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q== + process@^0.11.10: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" @@ -4406,12 +5104,13 @@ qr.js@0.0.0: resolved "https://registry.yarnpkg.com/qr.js/-/qr.js-0.0.0.tgz#cace86386f59a0db8050fa90d9b6b0e88a1e364f" integrity sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ== -query-string@6.13.5: - version "6.13.5" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.5.tgz#99e95e2fb7021db90a6f373f990c0c814b3812d8" - integrity sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q== +query-string@7.1.3: + version "7.1.3" + resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.3.tgz#a1cf90e994abb113a325804a972d98276fe02328" + integrity sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg== dependencies: - decode-uri-component "^0.2.0" + decode-uri-component "^0.2.2" + filter-obj "^1.1.0" split-on-first "^1.0.0" strict-uri-encode "^2.0.0" @@ -4420,6 +5119,11 @@ queue-microtask@^1.2.2: resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== +quick-format-unescaped@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" + integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== + randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" @@ -4485,6 +5189,15 @@ react@^18.2.0: dependencies: loose-envify "^1.1.0" +readable-stream@^3.1.1: + version "3.6.2" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readable-stream@^3.5.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" @@ -4517,11 +5230,23 @@ readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + readonly-date@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" integrity sha512-tMKIV7hlk0h4mO3JTmmVuIlJVXjKk3Sep9Bf5OH0O+758ruuVkUy2J9SttDLm91IEX/WHlXPSpxMGjPj4beMIQ== +real-require@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/real-require/-/real-require-0.1.0.tgz#736ac214caa20632847b7ca8c1056a0767df9381" + integrity sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg== + rechoir@^0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" @@ -4600,14 +5325,14 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^3.0.2: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" -ripemd160@^2.0.0, ripemd160@^2.0.1, ripemd160@^2.0.2: +ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== @@ -4622,6 +5347,20 @@ rlp@^2.2.3, rlp@^2.2.4: dependencies: bn.js "^5.2.0" +rollup@^3.2.5: + version "3.26.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.26.2.tgz#2e76a37606cb523fc9fef43e6f59c93f86d95e7c" + integrity sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA== + optionalDependencies: + fsevents "~2.3.2" + +run-applescript@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/run-applescript/-/run-applescript-5.0.0.tgz#e11e1c932e055d5c6b40d98374e0268d9b11899c" + integrity sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg== + dependencies: + execa "^5.0.0" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -4646,6 +5385,11 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +safe-json-utils@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/safe-json-utils/-/safe-json-utils-1.1.1.tgz#0e883874467d95ab914c3f511096b89bfb3e63b1" + integrity sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ== + safe-regex-test@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" @@ -4655,6 +5399,11 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" +safe-stable-stringify@^2.1.0: + version "2.4.3" + resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" + integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g== + safer-buffer@^2.1.0: version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" @@ -4676,10 +5425,10 @@ schema-utils@^3.0.0, schema-utils@^3.1.1: ajv "^6.12.5" ajv-keywords "^3.5.2" -schema-utils@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.2.tgz#36c10abca6f7577aeae136c804b0c741edeadc99" - integrity sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg== +schema-utils@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== dependencies: "@types/json-schema" "^7.0.8" ajv "^6.12.5" @@ -4704,7 +5453,7 @@ secp256k1@3.7.1: nan "^2.14.0" safe-buffer "^5.1.2" -secp256k1@5.0.0, secp256k1@^5.0.0: +secp256k1@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.0.tgz#be6f0c8c7722e2481e9773336d351de8cddd12f7" integrity sha512-TKWX8xvoGHrxVdqbYeZM9w+izTF4b9z3NhSaDkdn81btvuh+ivbIMGT/zQvDtTFWhRlThpoz6LEYTr7n8A5GcA== @@ -4713,7 +5462,7 @@ secp256k1@5.0.0, secp256k1@^5.0.0: node-addon-api "^5.0.0" node-gyp-build "^4.2.0" -secp256k1@^4.0.1, secp256k1@^4.0.3: +secp256k1@^4.0.1, secp256k1@^4.0.2, secp256k1@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== @@ -4722,10 +5471,10 @@ secp256k1@^4.0.1, secp256k1@^4.0.3: node-addon-api "^2.0.0" node-gyp-build "^4.2.0" -secretjs@^1.9.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/secretjs/-/secretjs-1.9.0.tgz#40d3b8e35d42b8979e63763580a172e90214277f" - integrity sha512-qgq9becBwIz+h1pW+ymACR148jj0PioAkuKMNacGNvzivdZT/3Lhco97YtK49bVrzzP4PGEErIfnZPrP9BqjNQ== +secretjs@^1.9.3: + version "1.9.3" + resolved "https://registry.yarnpkg.com/secretjs/-/secretjs-1.9.3.tgz#2412de1961e8bd050fe6d02fa2d66d1714c6df90" + integrity sha512-LZILtHrBYinHFNpj+0+itU/A2f/IUGzSA3cuUy/CemoWho9Glkoy+zMxjH+31PptnczPQ1IqxJYxYMVTYgNvKg== dependencies: "@cosmjs/encoding" "0.27.1" "@cosmjs/math" "0.27.1" @@ -4756,13 +5505,20 @@ semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.3.4, semver@^7.3.7: +semver@^7.3.4: version "7.3.8" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" +semver@^7.5.0: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + dependencies: + lru-cache "^6.0.0" + serialize-javascript@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" @@ -4828,6 +5584,11 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" +signal-exit@^3.0.3, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + sinon@14.0.0: version "14.0.0" resolved "https://registry.yarnpkg.com/sinon/-/sinon-14.0.0.tgz#203731c116d3a2d58dc4e3cbe1f443ba9382a031" @@ -4862,6 +5623,13 @@ snakecase-keys@^5.1.2, snakecase-keys@^5.4.1: snake-case "^3.0.4" type-fest "^2.5.2" +sonic-boom@^2.2.1: + version "2.8.0" + resolved "https://registry.yarnpkg.com/sonic-boom/-/sonic-boom-2.8.0.tgz#c1def62a77425090e6ad7516aad8eb402e047611" + integrity sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg== + dependencies: + atomic-sleep "^1.0.0" + source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" @@ -4875,6 +5643,13 @@ source-map-support@~0.5.20: buffer-from "^1.0.0" source-map "^0.6.0" +source-map@0.8.0-beta.0: + version "0.8.0-beta.0" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.8.0-beta.0.tgz#d4c1bb42c3f7ee925f005927ba10709e0d1d1f11" + integrity sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA== + dependencies: + whatwg-url "^7.0.0" + source-map@^0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" @@ -4885,6 +5660,11 @@ split-on-first@^1.0.0: resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f" integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw== +split2@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/split2/-/split2-4.2.0.tgz#c9c5920904d148bab0b9f67145f245a86aadbfa4" + integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg== + store2@^2.12.0: version "2.14.2" resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.2.tgz#56138d200f9fe5f582ad63bc2704dbc0e4a45068" @@ -4898,6 +5678,11 @@ stream-browserify@^3.0.0: inherits "~2.0.4" readable-stream "^3.5.0" +stream-shift@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" + integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== + strict-uri-encode@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" @@ -4970,6 +5755,16 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-hex-prefix@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" @@ -4982,6 +5777,19 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +sucrase@^3.20.3: + version "3.32.0" + resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.32.0.tgz#c4a95e0f1e18b6847127258a75cf360bc568d4a7" + integrity sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ== + dependencies: + "@jridgewell/gen-mapping" "^0.3.2" + commander "^4.0.0" + glob "7.1.6" + lines-and-columns "^1.1.6" + mz "^2.7.0" + pirates "^4.0.1" + ts-interface-checker "^0.1.9" + supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -5018,6 +5826,14 @@ symbol-observable@^4.0.0: resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-4.0.0.tgz#5b425f192279e87f2f9b937ac8540d1984b39205" integrity sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ== +synckit@^0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.5.tgz#b7f4358f9bb559437f9f167eb6bc46b3c9818fa3" + integrity sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q== + dependencies: + "@pkgr/utils" "^2.3.1" + tslib "^2.5.0" + tapable@^2.1.1, tapable@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" @@ -5049,6 +5865,27 @@ text-table@^0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" + +thread-stream@^0.15.1: + version "0.15.2" + resolved "https://registry.yarnpkg.com/thread-stream/-/thread-stream-0.15.2.tgz#fb95ad87d2f1e28f07116eb23d85aba3bc0425f4" + integrity sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA== + dependencies: + real-require "^0.1.0" + through2@^2.0.1: version "2.0.5" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" @@ -5068,6 +5905,18 @@ tiny-secp256k1@^1.1.3: elliptic "^6.4.0" nan "^2.13.2" +titleize@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/titleize/-/titleize-3.0.0.tgz#71c12eb7fdd2558aa8a44b0be83b8a76694acd53" + integrity sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ== + +tmp@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" + integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== + dependencies: + rimraf "^3.0.0" + to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -5075,11 +5924,33 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" +tr46@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09" + integrity sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA== + dependencies: + punycode "^2.1.0" + tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +tree-kill@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" + integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== + +ts-api-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.1.tgz#8144e811d44c749cd65b2da305a032510774452d" + integrity sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A== + +ts-interface-checker@^0.1.9: + version "0.1.13" + resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" + integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== + ts-invariant@^0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/ts-invariant/-/ts-invariant-0.10.3.tgz#3e048ff96e91459ffca01304dbc7f61c1f642f6c" @@ -5087,32 +5958,50 @@ ts-invariant@^0.10.3: dependencies: tslib "^2.1.0" -ts-loader@^9.4.2: - version "9.4.2" - resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.4.2.tgz#80a45eee92dd5170b900b3d00abcfa14949aeb78" - integrity sha512-OmlC4WVmFv5I0PpaxYb+qGeGOdm5giHU7HwDDUjw59emP2UYMHy9fFSDcYgSNoH8sXcj4hGCSEhlDZ9ULeDraA== +ts-loader@^9.4.4: + version "9.4.4" + resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.4.4.tgz#6ceaf4d58dcc6979f84125335904920884b7cee4" + integrity sha512-MLukxDHBl8OJ5Dk3y69IsKVFRA/6MwzEqBgh+OXMPB/OD01KQuWPFd1WAQP8a5PeSCAxfnkhiuWqfmFJzJQt9w== dependencies: chalk "^4.1.0" enhanced-resolve "^5.0.0" micromatch "^4.0.0" semver "^7.3.4" -tslib@1.14.1, tslib@^1.8.1: +tslib@1.14.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: +tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0: version "2.5.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" +tslib@^2.5.0, tslib@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3" + integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA== + +tsup@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/tsup/-/tsup-7.1.0.tgz#11369762b68032da118a714a38d5a1d26ac45293" + integrity sha512-mazl/GRAk70j8S43/AbSYXGgvRP54oQeX8Un4iZxzATHt0roW0t6HYDVZIXMw0ZQIpvr1nFMniIVnN5186lW7w== + dependencies: + bundle-require "^4.0.0" + cac "^6.7.12" + chokidar "^3.5.1" + debug "^4.3.1" + esbuild "^0.18.2" + execa "^5.0.0" + globby "^11.0.3" + joycon "^3.0.1" + postcss-load-config "^4.0.1" + resolve-from "^5.0.0" + rollup "^3.2.5" + source-map "0.8.0-beta.0" + sucrase "^3.20.3" + tree-kill "^1.2.2" tweetnacl-util@^0.15.1: version "0.15.1" @@ -5155,28 +6044,28 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -typedarray-to-buffer@3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" - integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== - dependencies: - is-typedarray "^1.0.0" - typeforce@^1.11.5: version "1.18.0" resolved "https://registry.yarnpkg.com/typeforce/-/typeforce-1.18.0.tgz#d7416a2c5845e085034d70fcc5b6cc4a90edbfdc" integrity sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g== -typescript@^5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" - integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== +typescript@^5.1.6: + version "5.1.6" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" + integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== ua-parser-js@^1.0.33: version "1.0.33" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.33.tgz#f21f01233e90e7ed0f059ceab46eb190ff17f8f4" integrity sha512-RqshF7TPTE0XLYAqmjlu5cLLuGdKrNu9O1KLA/qp39QtbZwuzwv1dT46DZSopoUMsYgXpB3Cv8a03FI8b74oFQ== +uint8arrays@^3.0.0, uint8arrays@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0" + integrity sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg== + dependencies: + multiformats "^9.4.2" + unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -5216,16 +6105,23 @@ url-loader@^4.1.1: mime-types "^2.1.27" schema-utils "^3.0.0" -use-local-storage-state@^18.1.2: - version "18.1.2" - resolved "https://registry.yarnpkg.com/use-local-storage-state/-/use-local-storage-state-18.1.2.tgz#f131c0aa3803742ca261c547cdfd9d61e848581d" - integrity sha512-V+kYQNC5R0N/JDpsg6b4ED5UaItKJcSvbne68DwJDZWHxGMQBiF41ATktFIOyet3PIq30d2qtzVp/2aB6hQ8Bg== +use-local-storage-state@^18.3.3: + version "18.3.3" + resolved "https://registry.yarnpkg.com/use-local-storage-state/-/use-local-storage-state-18.3.3.tgz#26be3ff48dcf89b2f332d1684167156cc6123d2a" + integrity sha512-SwwW6LPbxf3q5XimJyYE2jBefpvEJTjAgBO47wCs0+ZkL/Hx8heF/0wtBJ7Df0SiSwyfNDIPHo+8Z3q569jlow== use-sync-external-store@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== +utf-8-validate@^5.0.5: + version "5.0.10" + resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" + integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== + dependencies: + node-gyp-build "^4.3.0" + util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -5256,15 +6152,20 @@ webidl-conversions@^3.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== -webpack-cli@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.1.1.tgz#c211ac6d911e77c512978f7132f0d735d4a97ace" - integrity sha512-OLJwVMoXnXYH2ncNGU8gxVpUtm3ybvdioiTvHgUyBuyMLKiVvWy+QObzBsMtp5pH7qQoEuWgeEUQ/sU3ZJFzAw== +webidl-conversions@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" + integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== + +webpack-cli@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.1.4.tgz#c8e046ba7eaae4911d7e71e2b25b776fcc35759b" + integrity sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg== dependencies: "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^2.1.0" - "@webpack-cli/info" "^2.0.1" - "@webpack-cli/serve" "^2.0.4" + "@webpack-cli/configtest" "^2.1.1" + "@webpack-cli/info" "^2.0.2" + "@webpack-cli/serve" "^2.0.5" colorette "^2.0.14" commander "^10.0.1" cross-spawn "^7.0.3" @@ -5293,10 +6194,10 @@ webpack-sources@^3.2.3: resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== -webpack@^5.82.1: - version "5.82.1" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.82.1.tgz#8f38c78e53467556e8a89054ebd3ef6e9f67dbab" - integrity sha512-C6uiGQJ+Gt4RyHXXYt+v9f+SN1v83x68URwgxNQ98cvH8kxiuywWGP4XeNZ1paOzZ63aY3cTciCEQJNFUljlLw== +webpack@^5.88.1: + version "5.88.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.88.1.tgz#21eba01e81bd5edff1968aea726e2fbfd557d3f8" + integrity sha512-FROX3TxQnC/ox4N+3xQoWZzvGXSuscxR32rbzjpXgEzWudJFEJBpdlkkob2ylrv5yzzufD1zph1OoFsLtm6stQ== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^1.0.0" @@ -5304,10 +6205,10 @@ webpack@^5.82.1: "@webassemblyjs/wasm-edit" "^1.11.5" "@webassemblyjs/wasm-parser" "^1.11.5" acorn "^8.7.1" - acorn-import-assertions "^1.7.6" + acorn-import-assertions "^1.9.0" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.14.0" + enhanced-resolve "^5.15.0" es-module-lexer "^1.2.1" eslint-scope "5.1.1" events "^3.2.0" @@ -5317,7 +6218,7 @@ webpack@^5.82.1: loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^3.1.2" + schema-utils "^3.2.0" tapable "^2.1.1" terser-webpack-plugin "^5.3.7" watchpack "^2.4.0" @@ -5331,6 +6232,15 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" +whatwg-url@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-7.1.0.tgz#c2c492f1eca612988efd3d2266be1b9fc6170d06" + integrity sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg== + dependencies: + lodash.sortby "^4.7.0" + tr46 "^1.0.1" + webidl-conversions "^4.0.2" + which-boxed-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" @@ -5373,11 +6283,6 @@ wildcard@^2.0.0: resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.0.tgz#a77d20e5200c6faaac979e4b3aadc7b3dd7f8fec" integrity sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw== -word-wrap@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== - wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" @@ -5397,21 +6302,11 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@7.5.3: - version "7.5.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== - -ws@^7: +ws@^7, ws@^7.5.1, ws@^7.5.9: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== -ws@^8.12.0: - version "8.12.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.12.0.tgz#485074cc392689da78e1828a9ff23585e06cddd8" - integrity sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig== - xstream@^11.14.0: version "11.14.0" resolved "https://registry.yarnpkg.com/xstream/-/xstream-11.14.0.tgz#2c071d26b18310523b6877e86b4e54df068a9ae5" @@ -5435,6 +6330,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@^2.1.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" + integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== + yargs-parser@^20.2.2: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" @@ -5470,9 +6370,9 @@ zen-observable@0.8.15: resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.15.tgz#96415c512d8e3ffd920afd3889604e30b9eaac15" integrity sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ== -zustand@^4.3.1: - version "4.3.2" - resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.2.tgz#bb121fcad84c5a569e94bd1a2695e1a93ba85d39" - integrity sha512-rd4haDmlwMTVWVqwvgy00ny8rtti/klRoZjFbL/MAcDnmD5qSw/RZc+Vddstdv90M5Lv6RPgWvm1Hivyn0QgJw== +zustand@^4.3.8: + version "4.3.9" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.3.9.tgz#a7d4332bbd75dfd25c6848180b3df1407217f2ad" + integrity sha512-Tat5r8jOMG1Vcsj8uldMyqYKC5IZvQif8zetmLHs9WoZlntTHmIoNM8TpLRY31ExncuUvUOXehd0kvahkuHjDw== dependencies: use-sync-external-store "1.2.0"