@bze/bze-ui-kit 1.0.8 → 1.0.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.
package/dist/index.js CHANGED
@@ -699,7 +699,7 @@ var prefixedKey = (key) => {
699
699
  // src/constants/placeholders.ts
700
700
  var TOKEN_LOGO_PLACEHOLDER = "/images/token.svg";
701
701
  var BZE_CIRCLE_LOGO = "/images/bze_alternative_512x512.png";
702
- var _defaultTxMemo = "getbze.com";
702
+ var _defaultTxMemo = process.env.NEXT_PUBLIC_APP_NAME || "getbze.com";
703
703
  var DEFAULT_TX_MEMO = _defaultTxMemo;
704
704
  var setDefaultTxMemo = (memo) => {
705
705
  _defaultTxMemo = memo;
@@ -4446,7 +4446,7 @@ var useTx = (chainName) => {
4446
4446
  try {
4447
4447
  const fee = await getFee(msgs, options);
4448
4448
  setProgressTrack("Signing transaction");
4449
- const broadcastResult = await signingClient.signAndBroadcast(address, msgs, fee, (_a2 = options == null ? void 0 : options.memo) != null ? _a2 : DEFAULT_TX_MEMO);
4449
+ const broadcastResult = await signingClient.signAndBroadcast(address, msgs, fee, (_a2 = options == null ? void 0 : options.memo) != null ? _a2 : getDefaultTxMemo());
4450
4450
  setProgressTrack("Waiting for confirmation");
4451
4451
  const resp = await broadcastResult.wait();
4452
4452
  const txHash = (resp == null ? void 0 : resp.txhash) || broadcastResult.transactionHash;