@stellar-expert/tx-meta-effects-parser 5.0.0-beta10 → 5.0.0-beta11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar-expert/tx-meta-effects-parser",
3
- "version": "5.0.0-beta10",
3
+ "version": "5.0.0-beta11",
4
4
  "description": "Low-level effects parser for Stellar transaction results and meta XDR",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -79,6 +79,8 @@ class EventsAnalyzer {
79
79
  */
80
80
  processDiagnosticEvent(body, type, contractId) {
81
81
  const topics = body.topics()
82
+ if (!topics?.length)
83
+ return null
82
84
  switch (xdrParseScVal(topics[0])) {
83
85
  case 'fn_call': // contract call
84
86
  const rawArgs = body.data()