@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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -397,7 +397,7 @@ var prefixedKey = (key) => {
|
|
|
397
397
|
// src/constants/placeholders.ts
|
|
398
398
|
var TOKEN_LOGO_PLACEHOLDER = "/images/token.svg";
|
|
399
399
|
var BZE_CIRCLE_LOGO = "/images/bze_alternative_512x512.png";
|
|
400
|
-
var _defaultTxMemo = "getbze.com";
|
|
400
|
+
var _defaultTxMemo = process.env.NEXT_PUBLIC_APP_NAME || "getbze.com";
|
|
401
401
|
var DEFAULT_TX_MEMO = _defaultTxMemo;
|
|
402
402
|
var setDefaultTxMemo = (memo) => {
|
|
403
403
|
_defaultTxMemo = memo;
|
|
@@ -4190,7 +4190,7 @@ var useTx = (chainName) => {
|
|
|
4190
4190
|
try {
|
|
4191
4191
|
const fee = await getFee(msgs, options);
|
|
4192
4192
|
setProgressTrack("Signing transaction");
|
|
4193
|
-
const broadcastResult = await signingClient.signAndBroadcast(address, msgs, fee, (_a2 = options == null ? void 0 : options.memo) != null ? _a2 :
|
|
4193
|
+
const broadcastResult = await signingClient.signAndBroadcast(address, msgs, fee, (_a2 = options == null ? void 0 : options.memo) != null ? _a2 : getDefaultTxMemo());
|
|
4194
4194
|
setProgressTrack("Waiting for confirmation");
|
|
4195
4195
|
const resp = await broadcastResult.wait();
|
|
4196
4196
|
const txHash = (resp == null ? void 0 : resp.txhash) || broadcastResult.transactionHash;
|