@solana/web3.js 1.47.3 → 1.47.5
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 +1195 -1348
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +1195 -1348
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +1224 -1387
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.esm.js +1224 -1387
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +1215 -1368
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +3 -3
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +9872 -0
- package/lib/index.native.js.map +1 -0
- package/package.json +24 -22
- package/src/__forks__/react-native/fetch-impl.ts +4 -0
- package/src/connection.ts +18 -2
- package/src/message.ts +9 -12
- package/src/transaction.ts +2 -2
- package/src/util/__forks__/react-native/url-impl.ts +2 -0
- package/src/util/guarded-array-utils.ts +34 -0
- package/src/util/{url.ts → makeWebsocketUrl.ts} +2 -0
- package/src/util/url-impl.ts +2 -0
- package/src/validator-info.ts +5 -4
package/lib/index.d.ts
CHANGED
|
@@ -885,11 +885,17 @@ declare module '@solana/web3.js' {
|
|
|
885
885
|
/** Optional rent epoch info for account */
|
|
886
886
|
rentEpoch?: number;
|
|
887
887
|
};
|
|
888
|
+
export type TransactionReturnDataEncoding = 'base64';
|
|
889
|
+
export type TransactionReturnData = {
|
|
890
|
+
programId: string;
|
|
891
|
+
data: [string, TransactionReturnDataEncoding];
|
|
892
|
+
};
|
|
888
893
|
export type SimulatedTransactionResponse = {
|
|
889
894
|
err: TransactionError | string | null;
|
|
890
895
|
logs: Array<string> | null;
|
|
891
896
|
accounts?: (SimulatedTransactionAccountInfo | null)[] | null;
|
|
892
897
|
unitsConsumed?: number;
|
|
898
|
+
returnData?: TransactionReturnData | null;
|
|
893
899
|
};
|
|
894
900
|
export type ParsedInnerInstruction = {
|
|
895
901
|
index: number;
|