Zend certified PHP/Magento developer

Magento 2.4.5 customer-data.js not initiating in Custom theme js file

I have a function of ajax add to cart in below file and doing section reload.
below code is in app/design/frontend/MyThemeNS/Mytheme/web/js/custom.js (just mentioning sample for understanding.)

require([
  'jquery',
  'mage/url',
  'Magento_Customer/js/customer-data',
], function ($, url, customerData) {
....
    ajax call function {
     on success : {
       .....
      var sections = ['cart'];
      customerData.reload(sections, true);
    }
  }
......
}

File : Magento_Customer/js/customer-data is not initiating.
upon more debugging i found in chain of js libirary dependency initialising the last file lib/web/js-storage/storage-wrapper.js is containing ‘js-storage/js.storage’ file which is not initialising.

i checked the magento2 release 2.4.5 and saw this.

julien-maurel/js-storage instead of jQuery Strograe libraries

is this magento bug or any other way i can do section reload after ajax add to cart in my custom theme custom function.

i am stuck and not able to find solution. can someone support if known any such issue.