@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/lib/index.esm.js
CHANGED
|
@@ -6889,12 +6889,6 @@ class Connection {
|
|
|
6889
6889
|
|
|
6890
6890
|
if ('data' in res.error) {
|
|
6891
6891
|
logs = res.error.data.logs;
|
|
6892
|
-
|
|
6893
|
-
if (logs && Array.isArray(logs)) {
|
|
6894
|
-
const traceIndent = '\n ';
|
|
6895
|
-
const logTrace = traceIndent + logs.join(traceIndent);
|
|
6896
|
-
console.error(res.error.message, logTrace);
|
|
6897
|
-
}
|
|
6898
6892
|
}
|
|
6899
6893
|
|
|
6900
6894
|
throw new SendTransactionError('failed to send transaction: ' + res.error.message, logs);
|