diff --git a/package.json b/package.json index f728abd42ee0..d79055c02e6c 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "access": "public" }, "browser": { - "./lib/index.cjs.js": "./lib/index.browser.esm.js", + "./lib/index.cjs.js": "./lib/index.cjs.js", "./lib/index.esm.js": "./lib/index.browser.esm.js" }, "main": "lib/index.cjs.js", diff --git a/src/connection.ts b/src/connection.ts index 2909e0003fd4..7e1c37690f7c 100644 --- a/src/connection.ts +++ b/src/connection.ts @@ -1095,7 +1095,7 @@ const GetSignaturesForAddressRpcResult = jsonRpcResult( */ const AccountNotificationResult = pick({ subscription: number(), - result: notificationResultAndContext(AccountInfoResult), + result: notificationResultAndContext(ParsedAccountInfoResult), }); /** @@ -3788,7 +3788,7 @@ export class Connection { this._subscribe( sub, 'accountSubscribe', - this._buildArgs([sub.publicKey], sub.commitment, 'base64'), + this._buildArgs([sub.publicKey], sub.commitment, 'jsonParsed'), ); }