@solana/web3.js 1.70.1 → 1.70.2
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 -4
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +3 -4
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2448 -69
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.esm.js +2441 -67
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +3 -4
- 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 -4
- package/lib/index.native.js.map +1 -1
- package/package.json +2 -1
- package/src/connection.ts +23 -17
- package/src/publickey.ts +2 -2
- package/src/agent-manager.ts +0 -44
package/lib/index.iife.js
CHANGED
|
@@ -8394,7 +8394,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
8394
8394
|
return this.toBase58();
|
|
8395
8395
|
}
|
|
8396
8396
|
/**
|
|
8397
|
-
* Return the byte array representation of the public key
|
|
8397
|
+
* Return the byte array representation of the public key in big endian
|
|
8398
8398
|
*/
|
|
8399
8399
|
|
|
8400
8400
|
|
|
@@ -8402,7 +8402,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
8402
8402
|
return this.toBuffer();
|
|
8403
8403
|
}
|
|
8404
8404
|
/**
|
|
8405
|
-
* Return the Buffer representation of the public key
|
|
8405
|
+
* Return the Buffer representation of the public key in big endian
|
|
8406
8406
|
*/
|
|
8407
8407
|
|
|
8408
8408
|
|
|
@@ -17522,6 +17522,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
17522
17522
|
|
|
17523
17523
|
function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disableRetryOnRateLimit, httpAgent) {
|
|
17524
17524
|
const fetch = customFetch ? customFetch : fetchImpl;
|
|
17525
|
+
let agent;
|
|
17525
17526
|
|
|
17526
17527
|
{
|
|
17527
17528
|
if (httpAgent != null) {
|
|
@@ -17545,7 +17546,6 @@ var solanaWeb3 = (function (exports) {
|
|
|
17545
17546
|
}
|
|
17546
17547
|
|
|
17547
17548
|
const clientBrowser = new RpcClient(async (request, callback) => {
|
|
17548
|
-
const agent = undefined;
|
|
17549
17549
|
const options = {
|
|
17550
17550
|
method: 'POST',
|
|
17551
17551
|
body: request,
|
|
@@ -17597,7 +17597,6 @@ var solanaWeb3 = (function (exports) {
|
|
|
17597
17597
|
}
|
|
17598
17598
|
} catch (err) {
|
|
17599
17599
|
if (err instanceof Error) callback(err);
|
|
17600
|
-
} finally {
|
|
17601
17600
|
}
|
|
17602
17601
|
}, {});
|
|
17603
17602
|
return clientBrowser;
|