@solana/rpc-graphql 2.0.0-experimental.819a6f7 → 2.0.0-experimental.8c5ac55

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.
@@ -50,11 +50,14 @@ async function resolveAccount({ address, encoding = "jsonParsed", ...config }, c
50
50
  throw e;
51
51
  });
52
52
  if (account === null) {
53
- return null;
53
+ return {
54
+ address
55
+ };
54
56
  }
55
57
  const [data, responseEncoding] = Array.isArray(account.data) ? encoding === "jsonParsed" ? [account.data[0], "base64"] : [account.data[0], encoding] : [account.data, "jsonParsed"];
56
58
  const queryResponse = {
57
59
  ...account,
60
+ address,
58
61
  data,
59
62
  encoding: responseEncoding
60
63
  };
@@ -347,6 +350,7 @@ var memoisedAccountInterfaceFields;
347
350
  var accountInterfaceFields = () => {
348
351
  if (!memoisedAccountInterfaceFields) {
349
352
  memoisedAccountInterfaceFields = {
353
+ address: string(),
350
354
  encoding: string(),
351
355
  executable: boolean(),
352
356
  lamports: bigint(),