@stellar-expert/tx-meta-effects-parser 6.3.2 → 7.0.0-rc.1

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": "6.3.2",
3
+ "version": "7.0.0-rc.1",
4
4
  "description": "Low-level effects parser for Stellar transaction results and meta XDR",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  "author": "team@stellar.expert",
10
10
  "license": "MIT",
11
11
  "peerDependencies": {
12
- "@stellar/stellar-base": "^13.0.1"
12
+ "@stellar/stellar-base": "^14.0.0-rc.2"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@babel/core": "^7.22.9",
@@ -231,9 +231,7 @@ class EventsAnalyzer {
231
231
  mapSacContract(this.effectsAnalyzer, contract, xdrParseAsset(xdrParseScVal(topics[3])))
232
232
  }
233
233
  const asset = this.effectsAnalyzer.resolveAsset(contract)
234
- if (isContractAddress(asset)) {
235
- this.effectsAnalyzer.debit(amount, asset, from)
236
- }
234
+ this.effectsAnalyzer.debit(amount, asset, from)
237
235
  this.effectsAnalyzer.burn(asset, amount)
238
236
  }
239
237
  break