@solana/web3.js
Advanced tools
Comparing version 0.15.6 to 0.15.7
0.16.0 | ||
0e26ee854b4ff3ddeb73bc1afa182c07fe621893 | ||
335dfdc4d5d7a8242a9baef62d990ae2c8881683 |
{ | ||
"name": "@solana/web3.js", | ||
"version": "0.15.6", | ||
"version": "0.15.7", | ||
"description": "Solana Javascript API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ // @flow | ||
import {NUM_TICKS_PER_SECOND} from './timing'; | ||
import {Transaction} from './transaction'; | ||
import {Transaction, PACKET_DATA_SIZE} from './transaction'; | ||
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction'; | ||
@@ -23,3 +23,8 @@ import {sleep} from './util/sleep'; | ||
static get chunkSize(): number { | ||
return 229; // Keep program chunks under PACKET_DATA_SIZE | ||
// Keep program chunks under PACKET_DATA_SIZE, leaving enough room for the | ||
// rest of the Transaction fields | ||
// | ||
// TODO: replace 300 with a proper constant for the size of the other | ||
// Transaction fields | ||
return PACKET_DATA_SIZE - 300; | ||
} | ||
@@ -26,0 +31,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16666744
508303