@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.cjs.js
CHANGED
|
@@ -4475,6 +4475,8 @@ var fastStableStringify = function(val) {
|
|
|
4475
4475
|
|
|
4476
4476
|
var fastStableStringify$1 = fastStableStringify;
|
|
4477
4477
|
|
|
4478
|
+
const URL = globalThis.URL;
|
|
4479
|
+
|
|
4478
4480
|
const DESTROY_TIMEOUT_MS = 5000;
|
|
4479
4481
|
class AgentManager {
|
|
4480
4482
|
static _newAgent(useHttps) {
|
|
@@ -4924,7 +4926,11 @@ const SimulatedTransactionResponseStruct = jsonRpcResultAndContext(superstruct.t
|
|
|
4924
4926
|
data: superstruct.array(superstruct.string()),
|
|
4925
4927
|
rentEpoch: superstruct.optional(superstruct.number())
|
|
4926
4928
|
}))))),
|
|
4927
|
-
unitsConsumed: superstruct.optional(superstruct.number())
|
|
4929
|
+
unitsConsumed: superstruct.optional(superstruct.number()),
|
|
4930
|
+
returnData: superstruct.optional(superstruct.nullable(superstruct.type({
|
|
4931
|
+
programId: superstruct.string(),
|
|
4932
|
+
data: superstruct.tuple([superstruct.string(), superstruct.literal('base64')])
|
|
4933
|
+
})))
|
|
4928
4934
|
}));
|
|
4929
4935
|
|
|
4930
4936
|
/**
|