@solana/web3.js 1.98.1 → 1.98.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 +6 -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/package.json +1 -1
package/lib/index.iife.js
CHANGED
|
@@ -7985,9 +7985,13 @@ var solanaWeb3 = (function (exports) {
|
|
|
7985
7985
|
var size = (((source.length - psz) * FACTOR) + 1) >>> 0; // log(58) / log(256), rounded up.
|
|
7986
7986
|
var b256 = new Uint8Array(size);
|
|
7987
7987
|
// Process the characters.
|
|
7988
|
-
while (source
|
|
7988
|
+
while (psz < source.length) {
|
|
7989
|
+
// Find code of next character
|
|
7990
|
+
var charCode = source.charCodeAt(psz);
|
|
7991
|
+
// Base map can not be indexed using char code
|
|
7992
|
+
if (charCode > 255) { return }
|
|
7989
7993
|
// Decode character
|
|
7990
|
-
var carry = BASE_MAP[
|
|
7994
|
+
var carry = BASE_MAP[charCode];
|
|
7991
7995
|
// Invalid character
|
|
7992
7996
|
if (carry === 255) { return }
|
|
7993
7997
|
var i = 0;
|