
* refactor: 🚚 move tax-line-resolver to taxjar-calculate-taxes-map * feat: ✨ add resolveOptionalOrThrow util * build: 👷 add changeset * fix: 🐛 fix shipping line bug & add handleWebhookError * build: 👷 update changeset * refactor: ♻️ add optional error argument
236 B
236 B
saleor-app-taxes |
---|
minor |
Adds resolveOptionalOrThrow
util that throws when not able to resolve an optional value. Now, when critical values from external APIs are not found, the app will crash instead of falling back to 0s.