@appcorp/stellar-solutions-invoice-module 0.1.70 → 0.1.72

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.
@@ -253,6 +253,7 @@ var usePaymentState = function () {
253
253
  }, [debouncedQuery, state.currentPage, state.pageLimit]);
254
254
  (0, react_1.useEffect)(function () {
255
255
  var invoiceId = (0, util_functions_1.getStorageValue)("paymentInvoiceId");
256
+ console.log("_>>>", invoiceId);
256
257
  if (invoiceId) {
257
258
  var invoice = invoices.filter(function (_a) {
258
259
  var id = _a.id;
@@ -284,7 +285,6 @@ var usePaymentState = function () {
284
285
  payload: { drawer: types_1.PAYMENT_DRAWER.PAYMENT_FORM_DRAWER },
285
286
  });
286
287
  }
287
- (0, util_functions_1.removeStorageValue)("paymentInvoiceId");
288
288
  }
289
289
  }, [invoices]);
290
290
  // ---------------------------------------------------------------------------
@@ -341,6 +341,7 @@ var usePaymentState = function () {
341
341
  });
342
342
  },
343
343
  });
344
+ (0, util_functions_1.removeStorageValue)("paymentInvoiceId");
344
345
  }, [updateFetchNow, updateParams, dispatch]);
345
346
  // ---------------------------------------------------------------------------
346
347
  // FORM HANDLERS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/stellar-solutions-invoice-module",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "scripts": {
5
5
  "automate": "./automate.sh",
6
6
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
@@ -19,11 +19,11 @@
19
19
  "upgrade:own": "ncu -f '@appcorp/app-corp-vista, @appcorp/shadcn, @appcorp/stellar-solutions-company-module, @appcorp/stellar-solutions-modules, @appcorp/stellar-solutions-product-module, @react-pakistan/util-functions' -u"
20
20
  },
21
21
  "devDependencies": {
22
- "@appcorp/app-corp-vista": "^0.3.80",
23
- "@appcorp/shadcn": "^1.1.6",
24
- "@appcorp/stellar-solutions-company-module": "^0.1.43",
25
- "@appcorp/stellar-solutions-modules": "^0.1.66",
26
- "@appcorp/stellar-solutions-product-module": "^0.2.20",
22
+ "@appcorp/app-corp-vista": "^0.3.84",
23
+ "@appcorp/shadcn": "^1.1.13",
24
+ "@appcorp/stellar-solutions-company-module": "^0.1.44",
25
+ "@appcorp/stellar-solutions-modules": "^0.1.67",
26
+ "@appcorp/stellar-solutions-product-module": "^0.2.24",
27
27
  "@eslint/eslintrc": "^3",
28
28
  "@headlessui/react": "^2",
29
29
  "@heroicons/react": "^2",
@@ -36,7 +36,7 @@
36
36
  "@radix-ui/react-separator": "^1",
37
37
  "@radix-ui/react-slot": "^1",
38
38
  "@radix-ui/react-switch": "^1",
39
- "@react-pakistan/util-functions": "^1.24.89",
39
+ "@react-pakistan/util-functions": "^1.24.94",
40
40
  "@supabase/supabase-js": "^2",
41
41
  "@tailwindcss/forms": "^0",
42
42
  "@tailwindcss/postcss": "^4",