@solana/web3.js 1.70.2 → 1.70.3
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 +3 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +3 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +3 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +10 -6
- package/lib/index.esm.js +3 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +3 -2
- 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/lib/index.native.js +3 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +12 -11
- package/src/publickey.ts +2 -1
- package/src/utils/send-and-confirm-raw-transaction.ts +5 -8
package/lib/index.iife.js
CHANGED
|
@@ -8399,7 +8399,8 @@ var solanaWeb3 = (function (exports) {
|
|
|
8399
8399
|
|
|
8400
8400
|
|
|
8401
8401
|
toBytes() {
|
|
8402
|
-
|
|
8402
|
+
const buf = this.toBuffer();
|
|
8403
|
+
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
8403
8404
|
}
|
|
8404
8405
|
/**
|
|
8405
8406
|
* Return the Buffer representation of the public key in big endian
|
|
@@ -25128,7 +25129,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
25128
25129
|
*
|
|
25129
25130
|
* @param {Connection} connection
|
|
25130
25131
|
* @param {Buffer} rawTransaction
|
|
25131
|
-
* @param {
|
|
25132
|
+
* @param {TransactionConfirmationStrategy} confirmationStrategy
|
|
25132
25133
|
* @param {ConfirmOptions} [options]
|
|
25133
25134
|
* @returns {Promise<TransactionSignature>}
|
|
25134
25135
|
*/
|