@canton-network/core-wallet-ui-components 0.16.0 → 0.18.0

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/dist/index.js CHANGED
@@ -4662,7 +4662,8 @@ ht("type", [
4662
4662
  "SPLICE_WALLET_IDP_AUTH_SUCCESS"
4663
4663
  /* SPLICE_WALLET_IDP_AUTH_SUCCESS */
4664
4664
  ),
4665
- token: m()
4665
+ token: m(),
4666
+ sessionId: m()
4666
4667
  })
4667
4668
  ]);
4668
4669
  ht("walletType", [
@@ -4682,7 +4683,7 @@ w({
4682
4683
  function wl(t, r) {
4683
4684
  const o = document.createElement("custom-toast");
4684
4685
  let e = -1, a = "";
4685
- if (ar.safeParse(t).success) {
4686
+ if (t instanceof Error && (a = t.message), ar.safeParse(t).success) {
4686
4687
  const i = ar.parse(t);
4687
4688
  e = i.error.code, a = i.error.message;
4688
4689
  }