@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.iife.js
CHANGED
|
@@ -19273,6 +19273,8 @@ var solanaWeb3 = (function (exports) {
|
|
|
19273
19273
|
|
|
19274
19274
|
var RpcClient = browser;
|
|
19275
19275
|
|
|
19276
|
+
const URL = globalThis.URL;
|
|
19277
|
+
|
|
19276
19278
|
const MINIMUM_SLOT_PER_EPOCH = 32; // Returns the number of trailing zeros in the binary representation of self.
|
|
19277
19279
|
|
|
19278
19280
|
function trailingZeros(n) {
|
|
@@ -19670,7 +19672,11 @@ var solanaWeb3 = (function (exports) {
|
|
|
19670
19672
|
data: array(string()),
|
|
19671
19673
|
rentEpoch: optional(number())
|
|
19672
19674
|
}))))),
|
|
19673
|
-
unitsConsumed: optional(number())
|
|
19675
|
+
unitsConsumed: optional(number()),
|
|
19676
|
+
returnData: optional(nullable(type({
|
|
19677
|
+
programId: string(),
|
|
19678
|
+
data: tuple([string(), literal('base64')])
|
|
19679
|
+
})))
|
|
19674
19680
|
}));
|
|
19675
19681
|
|
|
19676
19682
|
/**
|