@multiversx/sdk-dapp 2.14.8-alpha.1 → 2.14.8-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__chunks__/{chunk-E72HKQSW.js → chunk-ELOAHZRZ.js} +2 -2
- package/__chunks__/chunk-HYXT5DQE.js +2 -0
- package/__chunks__/chunk-OOF7WXAX.js +2 -0
- package/__commonjs/__mocks__/index.js +1 -1
- package/__commonjs/__mocks__/utils/index.js +1 -1
- package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
- package/__commonjs/wrappers/AppInitializer.d.ts +1 -2
- package/__commonjs/wrappers/AppInitializer.js +1 -1
- package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
- package/__commonjs/wrappers/DappProvider/index.js +1 -1
- package/__commonjs/wrappers/index.js +1 -1
- package/__mocks__/index.js +1 -1
- package/__mocks__/utils/index.js +1 -1
- package/__mocks__/utils/renderWithProvider.js +1 -1
- package/package.json +1 -1
- package/wrappers/AppInitializer.d.ts +1 -2
- package/wrappers/AppInitializer.js +1 -1
- package/wrappers/DappProvider/DappProvider.js +1 -1
- package/wrappers/DappProvider/index.js +1 -1
- package/wrappers/index.js +1 -1
- package/__chunks__/chunk-MSMD3HSI.js +0 -2
- package/__chunks__/chunk-VLOE3FU7.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as i}from"./chunk-OOF7WXAX.js";import{a as d}from"./chunk-GFEGGQCU.js";import{a as e,b as o,m as t}from"./chunk-HBP5N4FR.js";t();d();import r from"react";import{render as p}from"@testing-library/react";import{createMemoryHistory as y}from"history";var x=({children:n,route:m="/"})=>{let s=y({initialEntries:[m]});return o(e({},p(r.createElement(i,{environment:"devnet"},r.createElement(r.Fragment,null,n)))),{history:s})};export{x as a};
|
|
2
|
+
//# sourceMappingURL=chunk-ELOAHZRZ.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as A}from"./chunk-WOUYL4LT.js";import{a as b}from"./chunk-WMJYYAXE.js";import{c as h,d as E}from"./chunk-2VK6P4O6.js";import{a as D}from"./chunk-EIVAH6FT.js";import{g as x}from"./chunk-CWKDQAE3.js";import{a as w}from"./chunk-RJ7L3LSO.js";import{b as S}from"./chunk-I5CZZRD7.js";import{i as P,k as j}from"./chunk-TL7TEZ2W.js";import{c as d,f as q}from"./chunk-BQV5LZAR.js";import{a as T,l as g}from"./chunk-CTECXHBH.js";import{a as r,j as m,m as v}from"./chunk-HBP5N4FR.js";v();import{useEffect as l,useState as F}from"react";import{Address as H}from"@multiversx/sdk-core/out";g();w();j();q();var J=({customNetworkConfig:e={},environment:t,dappConfig:i})=>{let[c,u]=F(!1),o=b(),p=E(x),s=i==null?void 0:i.logoutRoute,{address:f,publicKey:y}=o,a=h();function K(){return m(this,null,function*(){let I=!(e!=null&&e.skipFetchFromServer),R=e==null?void 0:e.apiAddress,n=T[t]||{},U=r(r({},n),e);if(I){let B=n==null?void 0:n.apiAddress,z=yield D(R||B);if(z!=null){let G=r(r(r({},n),z),e);a(d(G));return}}a(d(U))})}function L(){return m(this,null,function*(){a(S(i)),a(P(s)),yield K(),u(!0)})}return l(()=>{f&&new H(f).hex()!==y&&A(s)},[f,y,s]),l(()=>{L()},[e,t,i]),l(()=>{o.address&&p&&A(s)},[p,o.address,s]),{initialized:c}};function ie({customNetworkConfig:e={},children:t,environment:i,dappConfig:c}){let[u,o]=F(!1),{initialized:p}=J({customNetworkConfig:e,environment:i,dappConfig:c});return l(()=>{o(!0)},[]),u?p?t:null:t}export{J as a,ie as b};
|
|
2
|
+
//# sourceMappingURL=chunk-HYXT5DQE.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as v}from"./chunk-IPLHIKSY.js";import{b as l}from"./chunk-HYXT5DQE.js";import{c as f}from"./chunk-ET5PWW6U.js";import{a}from"./chunk-XMD5LLYN.js";import{b as e}from"./chunk-KXQXYJIC.js";import{a as s}from"./chunk-2VK6P4O6.js";import{a as m,c as p}from"./chunk-2FXGMQ3S.js";import{a as c}from"./chunk-MFMZQYRN.js";import{m as i}from"./chunk-HBP5N4FR.js";i();import o from"react";import{Provider as E}from"react-redux";import{PersistGate as T}from"redux-persist/integration/react";c();var j=({children:u,customNetworkConfig:P={},externalProvider:t,environment:n,customComponents:d,dappConfig:r,enableBatchTransactions:C})=>{if(!n)throw new Error("missing environment flag");return t!=null?e(t):r!=null&&r.shouldUseWebViewProvider&&e(f),o.createElement(E,{context:s,store:m},o.createElement(T,{persistor:p,loading:null},()=>o.createElement(l,{environment:n,customNetworkConfig:P,dappConfig:r},o.createElement(a,null),o.createElement(v,{customComponents:d,enableBatchTransactions:C}),u)))};export{j as a};
|
|
2
|
+
//# sourceMappingURL=chunk-OOF7WXAX.js.map
|