@stellar-expert/ui-framework 1.10.1 → 1.10.2

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/ui-framework",
3
- "version": "1.10.1",
3
+ "version": "1.10.2",
4
4
  "description": "StellarExpert shared UI components library",
5
5
  "main": "index.js",
6
6
  "module": "./index.js",
@@ -13,9 +13,9 @@ export default class TxMatcher {
13
13
  matcherFilters[key] = values
14
14
  this.noFilters = false
15
15
  }
16
+ this.typeMatcher = new TypeFilterMatcher(filters.type)
16
17
  }
17
18
  this.filters = matcherFilters
18
- this.typeMatcher = new TypeFilterMatcher(filters.type)
19
19
  this.skipUnrelated = skipUnrelated
20
20
  }
21
21
 
@@ -47,7 +47,7 @@ export default class TxMatcher {
47
47
  matchOperation(od) {
48
48
  if (this.noFilters)
49
49
  return true
50
- if (!this.typeMatcher.match(od.operation.type))
50
+ if (!this.typeMatcher?.match(od.operation.type))
51
51
  return false
52
52
  if (!this.matchOperationProps(od))
53
53
  return false