@stellar-expert/tx-meta-effects-parser 8.3.2 → 8.3.3

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 CHANGED
@@ -1298,7 +1298,7 @@ CreatePassiveOfferOp, WithdrawLiquidityOp, ClawbackOp, ClaimClaimableBalanceOp,
1298
1298
  source: 'GBWC…DXHN',
1299
1299
  contract: 'CBIH…AZAD',
1300
1300
  function: 'mint',
1301
- depth: 1,,
1301
+ depth: 1,
1302
1302
  rawArgs: 'AAAA…Ag=='
1303
1303
  args: [
1304
1304
  'CDFD…ITT3',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar-expert/tx-meta-effects-parser",
3
- "version": "8.3.2",
3
+ "version": "8.3.3",
4
4
  "description": "Low-level effects parser for Stellar transaction results and meta XDR",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -89,7 +89,11 @@ function xdrParseSignerKey(signer) {
89
89
  case 'hashX':
90
90
  return StrKey.encodeSha256Hash(signer.hashX())
91
91
  case 'ed25519SignedPayload':
92
- return StrKey.encodeSignedPayload(signer.ed25519SignedPayload()) //TODO: check
92
+ let key = signer.ed25519SignedPayload()
93
+ if (key._attributes){
94
+ key = key._attributes.ed25519
95
+ }
96
+ return StrKey.encodeSignedPayload(key) //TODO: check
93
97
  }
94
98
  throw new TxMetaEffectParserError(`Unsupported signer type: "${type}"`)
95
99
  }