@infosoftas/s4-orders-js-sdk 0.1.15 → 0.1.16

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": "@infosoftas/s4-orders-js-sdk",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "scripts": {
5
5
  "build": "rimraf lib && webpack --mode production",
6
6
  "release": "release-it"
@@ -327,6 +327,10 @@ const useOrderForm = ({
327
327
  void fetchDenialFallbackOffer(organizationId)
328
328
  .then((offer) => {
329
329
  setOrderDenialFallbackOffer(offer);
330
+ if (offer?.templatePackageId) {
331
+ fallbackOfferTemplatePackageIdRef.current =
332
+ offer.templatePackageId;
333
+ }
330
334
  })
331
335
  .catch(() => {
332
336
  setOrderDenialFallbackOffer(undefined);