@blockrun/clawrouter 0.9.35 → 0.9.36
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 +13 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5810,20 +5810,20 @@ var plugin = {
|
|
|
5810
5810
|
}
|
|
5811
5811
|
}
|
|
5812
5812
|
});
|
|
5813
|
-
resolveOrGenerateWalletKey().then(({ address, source }) => {
|
|
5814
|
-
if (source === "generated") {
|
|
5815
|
-
api.logger.info(`Generated new wallet: ${address}`);
|
|
5816
|
-
} else if (source === "saved") {
|
|
5817
|
-
api.logger.info(`Using saved wallet: ${address}`);
|
|
5818
|
-
} else {
|
|
5819
|
-
api.logger.info(`Using wallet from BLOCKRUN_WALLET_KEY: ${address}`);
|
|
5820
|
-
}
|
|
5821
|
-
}).catch((err) => {
|
|
5822
|
-
api.logger.warn(
|
|
5823
|
-
`Failed to initialize wallet: ${err instanceof Error ? err.message : String(err)}`
|
|
5824
|
-
);
|
|
5825
|
-
});
|
|
5826
5813
|
if (!isGatewayMode()) {
|
|
5814
|
+
resolveOrGenerateWalletKey().then(({ address, source }) => {
|
|
5815
|
+
if (source === "generated") {
|
|
5816
|
+
api.logger.info(`Generated new wallet: ${address}`);
|
|
5817
|
+
} else if (source === "saved") {
|
|
5818
|
+
api.logger.info(`Using saved wallet: ${address}`);
|
|
5819
|
+
} else {
|
|
5820
|
+
api.logger.info(`Using wallet from BLOCKRUN_WALLET_KEY: ${address}`);
|
|
5821
|
+
}
|
|
5822
|
+
}).catch((err) => {
|
|
5823
|
+
api.logger.warn(
|
|
5824
|
+
`Failed to initialize wallet: ${err instanceof Error ? err.message : String(err)}`
|
|
5825
|
+
);
|
|
5826
|
+
});
|
|
5827
5827
|
api.logger.info("Not in gateway mode \u2014 proxy will start when gateway runs");
|
|
5828
5828
|
return;
|
|
5829
5829
|
}
|