@solana/web3.js 1.47.3 → 1.47.4
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/README.md +4 -11
- package/lib/index.browser.cjs.js +7 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +7 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +7 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.esm.js +7 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +7 -1
- 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 +10031 -0
- package/lib/index.native.js.map +1 -0
- package/package.json +3 -1
- package/src/__forks__/react-native/fetch-impl.ts +4 -0
- package/src/connection.ts +18 -2
- package/src/util/__forks__/react-native/url-impl.ts +2 -0
- package/src/util/{url.ts → makeWebsocketUrl.ts} +2 -0
- package/src/util/url-impl.ts +2 -0
package/lib/index.browser.esm.js
CHANGED
|
@@ -4417,6 +4417,8 @@ var fastStableStringify = function(val) {
|
|
|
4417
4417
|
|
|
4418
4418
|
var fastStableStringify$1 = fastStableStringify;
|
|
4419
4419
|
|
|
4420
|
+
const URL = globalThis.URL;
|
|
4421
|
+
|
|
4420
4422
|
const MINIMUM_SLOT_PER_EPOCH = 32; // Returns the number of trailing zeros in the binary representation of self.
|
|
4421
4423
|
|
|
4422
4424
|
function trailingZeros(n) {
|
|
@@ -4814,7 +4816,11 @@ const SimulatedTransactionResponseStruct = jsonRpcResultAndContext(type({
|
|
|
4814
4816
|
data: array(string()),
|
|
4815
4817
|
rentEpoch: optional(number())
|
|
4816
4818
|
}))))),
|
|
4817
|
-
unitsConsumed: optional(number())
|
|
4819
|
+
unitsConsumed: optional(number()),
|
|
4820
|
+
returnData: optional(nullable(type({
|
|
4821
|
+
programId: string(),
|
|
4822
|
+
data: tuple([string(), literal('base64')])
|
|
4823
|
+
})))
|
|
4818
4824
|
}));
|
|
4819
4825
|
|
|
4820
4826
|
/**
|