@matchain/matchid-sdk-react 0.1.40-alpha.7 → 0.1.40-alpha.9

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.
@@ -1074,7 +1074,7 @@ function TonLightIcon({ size = 40, ...props }) {
1074
1074
  stroke: "null",
1075
1075
  id: "svg_2",
1076
1076
  fill: "black",
1077
- d: "m30.841054,3.945949l-21.683337,0c-3.986794,0 -6.513721,4.300562 -4.507964,7.777185l13.382147,23.195025c0.873266,1.514524 3.061705,1.514524 3.934972,0l13.384868,-23.195025c2.003036,-3.471067 -0.523892,-7.777185 -4.507964,-7.777185l-0.002722,0zm-12.82004,24.016356l-2.914403,-5.640455l-7.03217,-12.577145c-0.463905,-0.805002 0.109087,-1.83657 1.080555,-1.83657l8.863296,0l0,20.056891l0.002722,-0.002722zm13.897874,-18.220321l-7.029448,12.582588l-2.914403,5.637733l0,-20.056891l8.863296,0c0.971468,0 1.54446,1.031568 1.080555,1.83657z"
1077
+ d: "m28.551235,7.336842l-17.103441,0c-3.144714,0 -5.137911,3.392209 -3.555804,6.134509l10.555606,18.295835c0.688817,1.19463 2.41502,1.19463 3.103838,0l10.557753,-18.295835c1.57996,-2.737917 -0.413237,-6.134509 -3.555804,-6.134509l-0.002147,0zm-10.112226,18.943687l-2.298831,-4.449093l-5.546854,-9.920635c-0.36592,-0.634971 0.086046,-1.448654 0.852323,-1.448654l6.991215,0l0,15.820529l0.002147,-0.002147zm10.962403,-14.371875l-5.544707,9.924928l-2.298831,4.446947l0,-15.820529l6.991215,0c0.766277,0 1.218244,0.813683 0.852323,1.448654z"
1078
1078
  }
1079
1079
  )
1080
1080
  }
@@ -1100,7 +1100,7 @@ function TonLightIcon2({ size = 40, ...props }) {
1100
1100
  stroke: "null",
1101
1101
  id: "svg_2",
1102
1102
  fill: "white",
1103
- d: "m30.841054,3.945949l-21.683337,0c-3.986794,0 -6.513721,4.300562 -4.507964,7.777185l13.382147,23.195025c0.873266,1.514524 3.061705,1.514524 3.934972,0l13.384868,-23.195025c2.003036,-3.471067 -0.523892,-7.777185 -4.507964,-7.777185l-0.002722,0zm-12.82004,24.016356l-2.914403,-5.640455l-7.03217,-12.577145c-0.463905,-0.805002 0.109087,-1.83657 1.080555,-1.83657l8.863296,0l0,20.056891l0.002722,-0.002722zm13.897874,-18.220321l-7.029448,12.582588l-2.914403,5.637733l0,-20.056891l8.863296,0c0.971468,0 1.54446,1.031568 1.080555,1.83657z"
1103
+ d: "m28.551235,7.336842l-17.103441,0c-3.144714,0 -5.137911,3.392209 -3.555804,6.134509l10.555606,18.295835c0.688817,1.19463 2.41502,1.19463 3.103838,0l10.557753,-18.295835c1.57996,-2.737917 -0.413237,-6.134509 -3.555804,-6.134509l-0.002147,0zm-10.112226,18.943687l-2.298831,-4.449093l-5.546854,-9.920635c-0.36592,-0.634971 0.086046,-1.448654 0.852323,-1.448654l6.991215,0l0,15.820529l0.002147,-0.002147zm10.962403,-14.371875l-5.544707,9.924928l-2.298831,4.446947l0,-15.820529l6.991215,0c0.766277,0 1.218244,0.813683 0.852323,1.448654z"
1104
1104
  }
1105
1105
  )
1106
1106
  }
@@ -3578,9 +3578,10 @@ function WalletContent2({
3578
3578
  disconnect: tonConnectUI.disconnect,
3579
3579
  address: userFriendlyAddress,
3580
3580
  visible: state.status == "opened",
3581
- setVisible: (v) => {
3581
+ setVisible: async (v) => {
3582
3582
  console.log("setVisible", v);
3583
3583
  if (v) {
3584
+ await tonConnectUI.disconnect();
3584
3585
  setStatus("");
3585
3586
  statusRef.current = "";
3586
3587
  open();