@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.iife.js CHANGED
@@ -8399,7 +8399,8 @@ var solanaWeb3 = (function (exports) {
8399
8399
 
8400
8400
 
8401
8401
  toBytes() {
8402
- return this.toBuffer();
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 {BlockheightBasedTransactionConfirmationStrategy} confirmationStrategy
25132
+ * @param {TransactionConfirmationStrategy} confirmationStrategy
25132
25133
  * @param {ConfirmOptions} [options]
25133
25134
  * @returns {Promise<TransactionSignature>}
25134
25135
  */