@solana/web3.js 1.37.0 → 1.37.1
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/lib/index.browser.cjs.js +0 -6
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +0 -6
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +0 -6
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +0 -6
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +0 -6
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +0 -5
package/package.json
CHANGED
package/src/connection.ts
CHANGED
|
@@ -4048,11 +4048,6 @@ export class Connection {
|
|
|
4048
4048
|
let logs;
|
|
4049
4049
|
if ('data' in res.error) {
|
|
4050
4050
|
logs = res.error.data.logs;
|
|
4051
|
-
if (logs && Array.isArray(logs)) {
|
|
4052
|
-
const traceIndent = '\n ';
|
|
4053
|
-
const logTrace = traceIndent + logs.join(traceIndent);
|
|
4054
|
-
console.error(res.error.message, logTrace);
|
|
4055
|
-
}
|
|
4056
4051
|
}
|
|
4057
4052
|
throw new SendTransactionError(
|
|
4058
4053
|
'failed to send transaction: ' + res.error.message,
|