{"_id":"axios-spring","_rev":"32-979944347aae1955a13c506bd30ea0bd","name":"axios-spring","dist-tags":{"latest":"2.1.2"},"versions":{"0.0.1":{"name":"axios-spring","version":"0.0.1","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.1","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"27ba78a464f4a069c79a9db5fa6863c1700aac04","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.1.tgz","fileCount":1,"integrity":"sha512-vkdMtj2R6b0qZZptG2kcZJvKGs9/EvJMNviRjO5PAjJ73tNjkgWlGv6bHS/2HAJV5b3X9DYo3Tvk8x8adVISfA==","signatures":[{"sig":"MEUCIQD6XS+Bz0Vn6yXoDpzRphgr2Rqp2pDvTBXLubn6hXcdpgIgeLs9Ay0rxWgH+zYAH7sVU3yKXuiWYdozHG/IFDt6BOI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":976},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"tsc","prepublish":"npm run build"},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"Automatic token refresh for Axios with JWT support","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","ts-jest":"^29.0.0","typescript":"^5.0.0","@types/jest":"^29.0.0"},"peerDependencies":{"axios":"^1.8.4"},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.1_1743938991401_0.09529168832426205","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"axios-spring","version":"0.0.2","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.2","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"6a246bd004b134678ce5c23caa1d4a608565665f","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.2.tgz","fileCount":16,"integrity":"sha512-ufkTwWyoHJu/E9/nHvcWV9BRHU0bzYMDcvJIVC46ntrQsOJMPVh6FmPQp7IrztgwYVR7AdQvIZYp3wY+JTzwzQ==","signatures":[{"sig":"MEQCIFJSyKc2HOpU3PaVlglML31ts5A0FgvpvuissDHO38VxAiAP4fDT+xXEbcxmH5yx79MwC1We57QQOTjUbA1xtQHi+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16822},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"34621b2ec7b03b4886ba84a4708c443b9f5521cc","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"Automatic token refresh for Axios with JWT support","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14"},"peerDependencies":{"axios":"^1.8.4"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.2_1743943419230_0.6416842432475396","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"axios-spring","version":"0.0.3","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.3","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"405accc94a0a1e20bdb0655ee510b630507ec49f","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.3.tgz","fileCount":16,"integrity":"sha512-PvWG6m39VkTzNkA330sfBp1Xr6j/5oen1Zcqknj+dLdMqi0F9Joek+vDCg8+U/O3ivFQFbl2zHf3rcTsEICCmg==","signatures":[{"sig":"MEUCIQCJKaAOYIS2Y/fOpO6zRVQpQIEhnBDxp0e6V50atyfNegIgUr/AuTIDzod8+0E2lKjb5gZRvnZhUHMBaTWQW2I5nDQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20395},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"29785974d0cf07378cdb4f715a1671adf8d9ec1b","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"Automatic token refresh for Axios with JWT support","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.3_1743949606833_0.9613759654783769","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"axios-spring","version":"0.0.4","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.4","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"a403e0b8c94c26a7b9ec7104fb79dfa2d9044d48","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.4.tgz","fileCount":16,"integrity":"sha512-uinbOOCi9sE6yc4RNXzxGU6wAlqCM0aqDXzjcpAERD8O6n/n2Sk0U7eo0Y0DfHb1VjDAIPdyyP4B6ye+h0yGIA==","signatures":[{"sig":"MEUCIQDvoNvJsN+wakRFOUBmICHm+Yr3/deyQ7b6AUsZEOvxggIgWNrbQWDZ43qXKk5lwuiiPbAIPVArrAEeS3cDL85IfAE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24543},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"885954ab7e741dc8badc2165c7d47924b7ac17cb","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"Automatic token refresh for Axios with JWT support","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.4_1743956067398_0.22282622051169487","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"axios-spring","version":"0.0.5","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.5","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"5d8776e25acd64956cf3bcad5c676a12101d2006","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.5.tgz","fileCount":16,"integrity":"sha512-rVO5R8Zv7EP5++fr493E9yPTZu52VD4KQMnAqpA4wGlGe0mOi1joAXwfyEj4bdpmhfthtfhJPyuGZslXzD2MSg==","signatures":[{"sig":"MEUCIQCggIb+D3quuk/djv8+SYh06jmBotAB0nmj7cUcLJTLIgIgM9OdPRhGUMlWB0BULBFLnd7Ikpz6z9On8N1/K/aMssg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24591},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b1f3a82069345355ba020333a00608be51fad5dd","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.5_1743961466478_0.4574472080723877","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"axios-spring","version":"0.0.6","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.6","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"62367dc9b72eba374174d2cde149cbe565809491","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.6.tgz","fileCount":16,"integrity":"sha512-FLF4y4DENMykkwgR1atYPmpauSBWf7G+RhQ7vYjqiSGl9lsyxkJyAaG4EoMQy98dprYTqIm++plL2yk6sio9XA==","signatures":[{"sig":"MEYCIQDytYp8R6/jqoYWJC9yLt9Q5D2D0AV79WdoVMTlQBEGrQIhAMPdt4EpfAOa358pQJ20PBev/kCEphBmbDHQCqdbAwmP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24886},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2a797d8f012f846607dfefff6ec7b7cab9e2a761","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.6_1743974259419_0.3816051891399943","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"axios-spring","version":"0.0.7","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.7","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"17349518b524a85963a2263f6b17b5b2149fb9b8","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.7.tgz","fileCount":16,"integrity":"sha512-LCse/3fgBrWa1gh6xrc/q5XnRYPjPNwX5O6q9RurAOQspf7BS+MhKFdD50EEsy3SJXr8x+gPnUZmbz8x1s+meQ==","signatures":[{"sig":"MEUCIEx4v8uTbj6Yqr321lDwW8tdabfvpWrWIavwpBbb/5/yAiEAybQJ7/A6MGjrG6ALud+WVO//a6RvHgu3Jp9G1mwxFx0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24902},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"20a2fa0113537b19893356d4d2e68fca8a323b87","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.7_1743975058370_0.557535903670306","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"axios-spring","version":"0.0.8","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.8","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"c35015834015f0acaed0d3017edfe6418cff43aa","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.8.tgz","fileCount":16,"integrity":"sha512-AbrghjSdhzTRen4MBowCXCXgk4s2LcV8r7HIUz5F1Isq/+ugQY+y0W6dII6DxGzBBLlqt+B2iGJmT/QHnKGtqg==","signatures":[{"sig":"MEUCIQDeKGfeXUWgr8etcfPoVcpMIlaFCKr17XTckgEEZdYI4AIgZYW7CEwRriRBRL4PjHPYEBhQKZQunfoSragERC/p7ts=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30995},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4e813a59fd0a417d37560a7aff199166d7a0ea00","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.8_1744079479641_0.3511790408525133","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"axios-spring","version":"0.0.9","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.9","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"fb7502736050bd920bf1c6d114ab523dce5d786d","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.9.tgz","fileCount":18,"integrity":"sha512-iV8P1SQRHjx/9qA6cd+KmE1Qvf5tpMwNr1VOSLF9TyhP0AUalhyJFHCVbNlGi9zIlRDygnVeMQF9P9iGYceMSQ==","signatures":[{"sig":"MEUCIQDqsvncRoIqxNXaxgC2zscESXzY0blZ77NMWuND4k6mBwIgDqWvW7i3bHk/uSx2mNx3Efx1RHWPNSWhRWl7MCkTM+M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30738},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"5b3e8aec838305f4c002987a5efbc259fb64568b","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.9_1744095565570_0.33237114085411923","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"axios-spring","version":"0.0.10","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.10","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"a246c4bf852c3c9734161e80095a0a4c251809ed","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.10.tgz","fileCount":18,"integrity":"sha512-zVIK7x4wGgC7S+/EriqlF82/j742PIyO2CG3KW53np0ISoY/LbT9uKuzGRq6EmrNEuYaN7pDjODLxxkEjly7pw==","signatures":[{"sig":"MEQCIBEg1P6xGz6/3pVi+Ex5vI43iBt0e0wR4en91MDzS31JAiA28a6z4vYTczwVEFqLvQBMvz1+TFfco2FCiCT7+v4Pjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29403},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fe86fa5d54ea89b96a97aeab2b96d86ade0e46da","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.10_1744128304895_0.8528979246624315","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"axios-spring","version":"0.0.11","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.11","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"ad635f0fbd18a52d0f62e2151b16eb3f02060617","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.11.tgz","fileCount":18,"integrity":"sha512-BwqO+AgsYAl2sxtB/ov2cZe/kOwVhubE+c8+SlI3WZgHhW0Vk72eX8ncJslY/cb679JgJj/TytVBlJduyPmepA==","signatures":[{"sig":"MEUCIQCeRi3o+jJAvTANAMQZVEjD6jYObSAZ9Q0Qxii3R0RkUwIgVgwEcGF4TRC18CpxRyop5B6C001A440z3Xvolejt+rw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29630},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a20e91634b6a2b817d20f952c1194bb35ec2558a","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.11_1744130075119_0.31871269987364914","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"axios-spring","version":"0.0.12","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.12","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"441a06f4bd13f84c1faa3f7aad34563867c31183","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.12.tgz","fileCount":11,"integrity":"sha512-CtModfWTD0SoSwI6iFWXl5Ls7e5LsxiVkIKfEAmMmyO0OpyDdWLpVrTbDNsbZazfj/tcxC1HNd2NJd67RTQ5oA==","signatures":[{"sig":"MEQCIDpUrAi2fpCZh8N/5BfqE4cnWSrJglYZa8quhJGBUUQoAiBjRrTmhG+fGT0cuKP8wvVmzjDmUC3ctYrYj1CZ4N15Dg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20910},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0c843ae39ca6046f41e149acc88247a710d029d9","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.12_1744133935289_0.5346470910797587","host":"s3://npm-registry-packages-npm-production"}},"0.0.13":{"name":"axios-spring","version":"0.0.13","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.13","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"2660578795d640629a650f834b842fcad61c8925","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.13.tgz","fileCount":11,"integrity":"sha512-gvQj8HYQQGWIZYSi2gN5OsnXvJkEpnixr02Q48vpyuJvnDmFmfb91kFTUNjko7dw1mLeHnq28LHv+MIqm5F22Q==","signatures":[{"sig":"MEUCIHKWaiWAiNs67j4nSTIpfFEM9hDVL178Lnc1TvMmgycCAiEAkUYgwCrsTfPQuBlp0DQF5TSmnzLX5E7cs5+BeXfZ1Sw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20910},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"07059e3adc18bef59f665705f8ec56af562455fc","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.13_1744134756122_0.020055546989756534","host":"s3://npm-registry-packages-npm-production"}},"0.0.14":{"name":"axios-spring","version":"0.0.14","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.14","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"134499869d4f7d11c93d9ddd359a7bc9451a8631","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.14.tgz","fileCount":11,"integrity":"sha512-IRCKkHZ08GXs8SnhX2q6MNEUY3CZVDg57buwO9F7Rd+WCgHMSaaQVTtQCwASd+Pq3YzI8AC02PjcIbvGPloZGQ==","signatures":[{"sig":"MEUCIQCoFH9DcvCScNV9gWrt2KsLraidgpaiIhhKvTj1elk+3gIgC2kqac+lYhwGL3cnCZDH/hqE/tjCRlt3p/+/mWj1tFQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25511},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a14609a0e520de91da8831be6746605915398381","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.14_1744183320567_0.42459979992833086","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"axios-spring","version":"0.0.15","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.15","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"70bc2e993edc0161dad0c35862d4a9b87ecd1a0f","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.15.tgz","fileCount":11,"integrity":"sha512-wE2bMLyY3nyS+6CbiaMzhIFw5lKWrzeA6Ji+dTW9p4Pf307Rp+MpFb0oOzUX8oJHAkewoDga4NrUPDKydG1+1g==","signatures":[{"sig":"MEUCIG3r21lOq+GxAxsQkeNOQ1qqx1BzIK2oV6MmGfcjw5YVAiEAsydegMCuU/1DWLeMF2PKzq7FNFOKJGOAU3jVfNMBww4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25511},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6fb7ff4024449ab6176cc1a42b48dd38a38456f3","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.15_1744211461809_0.9152809485446853","host":"s3://npm-registry-packages-npm-production"}},"0.0.16":{"name":"axios-spring","version":"0.0.16","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.16","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"222b8e9912a245c633645ce7f111d0f1f5c389c3","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.16.tgz","fileCount":11,"integrity":"sha512-eCxlRtulIKaTDa2WUnuc6eqdZvvSPGH+bRcBJbH+JpURH7u011FVfrKNaSJDUeOUy3ScM0mBz5Oqlx3cHO5bnQ==","signatures":[{"sig":"MEYCIQC/Ki9LWWUJtnTMsmykoPmmjfrtdc5mzPy8ossT4n+S3QIhAKfb3LU0GpID6mB90JVfiEGNcEUzcbXBouF5sW8iCxnJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27148},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"51bfa531b427599a545779732ea0b3cd6cbad489","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","prepublish":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.7.0","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.15.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.16_1744370057745_0.03502273302618453","host":"s3://npm-registry-packages-npm-production"}},"0.0.17":{"name":"axios-spring","version":"0.0.17","keywords":["axios","jwt","refresh","refresh-token","authentication","token"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@0.0.17","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"9a3e83d0d1cf77bd41b20bb6fb76a2acb572f282","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-0.0.17.tgz","fileCount":11,"integrity":"sha512-cbnc9MIKeiaYOfYAFkIxdiIbAxPSUA1+417JKfHBUEDV9EcmEzFBk4qNsaGUHta325teizocJcaL7dsWF8K7bQ==","signatures":[{"sig":"MEUCIQDZqnZldwAeedppeuxHkqDEHR6M1DJhLn7kDKaTjQlHOwIgUBIN+4+PuM6DsJ+OlaVI+/4m8LyZaXdBn1IoX7UEtD4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27113},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"10325dc754f1168bfa050a94ab5848356cabaea8","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.0","dependencies":{"axios":"^1.8.4","jsonwebtoken":"^9.0.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_0.0.17_1744446972901_0.7812045365231457","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"axios-spring","version":"1.0.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.0.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"bf7e240c36f2ad2baa7e3595781302fa914a441f","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.0.0.tgz","fileCount":11,"integrity":"sha512-7jkEe2+W9nIhrwrnnVhPlypjWOUOlEeFL9y0NNDpOHEUugr/WXvCNWxXDRkt7HFHQ1OMYW38u6Mh49egdp590w==","signatures":[{"sig":"MEYCIQCOczlVfzHJRjzZ7N+XnrEwG/Cnc4BTy3telYhpR4zSAwIhAMLP9icY3FjlXKLXq4NXZ30aJhZK+gzgihi3BQ0/KwSB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30785},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9eadad234d84eb17e33ffe077e16b3843eca96b7","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.0.0_1760850303338_0.1540816326041703","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"axios-spring","version":"1.0.1","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.0.1","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"db5186cec7857f28f03f1249058109bb25e11865","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.0.1.tgz","fileCount":11,"integrity":"sha512-5Y7tbUkoDM7rK7TPuzAfV7yhXLMUlnEcaX0Agm8gPXNyIfvM9XKUJWspS6Pecf3Sd/VmCFMGbSSF5u77Lzn+rg==","signatures":[{"sig":"MEUCIC+3oFLyAhlAdNvKaG4mJv1tllmPv/WBvl7Ps6KENZePAiEA1Zh09Hiqds74Pi2ps3IB8yTsGbZjjNDHWsePtgn5Xxg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30809},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9eadad234d84eb17e33ffe077e16b3843eca96b7","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.9.3","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"22.20.0","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.0.1_1760850489886_0.2663859565189701","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"axios-spring","version":"1.0.2","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.0.2","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"27324f9bf3c93b66f69cddee5f9d9d33f5439bce","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.0.2.tgz","fileCount":11,"integrity":"sha512-CRUNN4eSDVkv6ObmnvCt2XMQDEi1eK+/ZTdL3NbRt00j5Z3kJpNtnTqoSzpF6csyIg9ydmOTpBULa8QTeNpLmw==","signatures":[{"sig":"MEUCIQD0tHhfxUdQ8reFjg1knv8gV61LScZvpOU1gviDdi8qKgIgEoix6nr0XwW08zq1zKPCr9XtC/S0Tz9fOjkAAEUpyVs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30681},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"db6bc5ddd930976b85033a1466e22c2debaf9f91","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.9.3","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"22.20.0","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.0.2_1760850794032_0.47066619157939726","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"axios-spring","version":"1.1.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.1.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"93632b1527ba7ebadf1c34b1d71c458b844014e9","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.1.0.tgz","fileCount":11,"integrity":"sha512-RTjJnwLV1pE52qG374ydw8WJbpCH2FrZzXr+cgY2yR8A6oBCtwZpFENw5d08havfklBGYIs5xdH5I+gSix0a6w==","signatures":[{"sig":"MEYCIQCUGOH6kVkr65HB+NLvmgikFxjRpd10t40fz7wWlX2FwgIhAInydTp89pDMrW38dfUV3D8fDQC3Cn6/E6f9T77SRb6j","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55740},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"ce9daf838ae06e8aba6baa243f6c0e9a317325ca","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.9.3","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"22.20.0","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.1.0_1760852743377_0.28995638705521976","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"axios-spring","version":"1.2.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.2.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"027d3572268c710f541795b39d1991a8860cc4b8","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.2.0.tgz","fileCount":11,"integrity":"sha512-GaDWScQ+u87f4sre2odu1izqQil1HncxqU41Rd3HTXyXGVyzxmfuPSmFNSQB+bQheRjVYOV11TnGxUVxGnDZBg==","signatures":[{"sig":"MEQCIFHa+ED9sbxGuaBmh9nyVTOiEEdlxUtrwMQ1pTQiTXioAiB4H6VmAeHc3mIKqLgX5o9vyItdPVTCLX+Ss08gSCNdiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56774},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"323f718c2115019e8853faf83031a1ed697642bd","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.2.0_1760855023780_0.13416362986577313","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"axios-spring","version":"1.3.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.3.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"754bb1454db01db2c84dbbe91405025c49889d12","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.3.0.tgz","fileCount":11,"integrity":"sha512-urM2CLk1/SIxcM8AMVV7Ks2GhfwVvi735Tm4+iKO4JH0+ZeOVEpZ1hh5oFQGSdFkf5C5b01mo4LHVhTrkxVPKw==","signatures":[{"sig":"MEQCICQME1QFNxLD6QxzuftVT3K46jsbpZ0Nt5ok9p7FOBe0AiByHub2T9G2WQHi1FuAImCFtZRmY7AsiFOkp71sjRB8Fw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56938},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"29ae1d361bc08f025132c938fd5c397be4433740","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.3.0_1760856829233_0.12446172222938245","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"axios-spring","version":"1.4.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.4.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"22e2217dafedb9cbbb64eecc85f3a7de7c74edcf","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.4.0.tgz","fileCount":15,"integrity":"sha512-SRKq2MYu66XjrxhICViNN07UTBVoDLkxyrPTL087y6ji/3tipfVjN4FQHQiq/8kdO6l9erdVO+LW1QXxVkpRag==","signatures":[{"sig":"MEUCIHMyOw4eEfSdiIkG7pnvRKiZ809AODtl/B9R/MNDp2q0AiEA3UvyAI+moaQBE2+0iXAAwS4hT4rqVRZ64f7beY2EFiU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68566},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4ebd6a95ad20fb16de5fdec2bb94960d4c972bfb","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2","@peculiar/webcrypto":"^1.5.0"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.4.0_1760973608797_0.11912234564280455","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"axios-spring","version":"1.5.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.5.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"10f9fc63324ee4dcbd126bd9b7bd490ce16343c0","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.5.0.tgz","fileCount":15,"integrity":"sha512-BuYd4KDystCGaN11S7lv/ehKzlCo65fzBZ1vv/E3286AvqEDuBSfHPzWOYpLixti4dVirvsOyZj4nlA0tcZ5vA==","signatures":[{"sig":"MEQCIFtsGgeT62Boxt45aSE3qfyaHpMe97fsfXFHy6H9//k4AiAywpUOXTkC2cEq/Eu6+HbskwnghSdGaP8ILwXMkaytCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71553},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"033e31751ddeb928139d4a033516fedff594f6d2","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","buffer":"^6.0.3","jsonwebtoken":"^9.0.2","fast-text-encoding":"^1.0.6","@peculiar/webcrypto":"^1.5.0"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.5.0_1760975482374_0.9919524048210946","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"axios-spring","version":"1.5.1","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.5.1","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"d1a6d4b952fbc32d0b37e86f19b5e8dd72ecbfe0","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.5.1.tgz","fileCount":15,"integrity":"sha512-UXps1ltkYt/EV8uBEoZoU+YoUAloW2/5lUioKgxtSjAUkQ/8FcBaCmc2mhO0twlJnozHfnkkZQUxypufHvjuHg==","signatures":[{"sig":"MEUCIFrIxVfHKX/yHEPQf2Xn5AsKQJ3Z416vc6MiiM2yu2TDAiEA9UicnbqbDJ9rIjIBijgzd1mG++FLRtPOBbK4AIt3yXk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72997},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"59f99a6b842c9434496d7db1c328f297a897baaf","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","buffer":"^6.0.3","jsonwebtoken":"^9.0.2","fast-text-encoding":"^1.0.6","@peculiar/webcrypto":"^1.5.0"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.5.1_1760975879174_0.06680862252369923","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"axios-spring","version":"1.5.2","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.5.2","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"619e58b9dc1f58f775f892dcefac26080bc64b19","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.5.2.tgz","fileCount":15,"integrity":"sha512-P5ZCkoq0Q9KYQifcigAKcN9lAsHnOkQ6munlOA2NsyYVpsgk9//5Q/bpoeep6WiT6X6aRuZYTeaW95u4FPAwfA==","signatures":[{"sig":"MEUCIFClzfXURXxAD5Hjr6OiGkPAyguu4cwN9cvdGCYTIbAUAiEA+RpEHReW5okLK6mGHNA0Eiq0AUY3dy1So5gyDA3QKLU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71309},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"344470af3339084fe0c7941ead13987326eb8438","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","buffer":"^6.0.3","jsonwebtoken":"^9.0.2","fast-text-encoding":"^1.0.6","@peculiar/webcrypto":"^1.5.0"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.5.2_1760976196129_0.457786122557696","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"axios-spring","version":"1.6.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@1.6.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"9921bc511d04692cbafecad254618a0a0b69abf3","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-1.6.0.tgz","fileCount":15,"integrity":"sha512-fZevSGu72GdJ2nRszaWh3ofx7PDzKvyMjUHhWIFrWDseGj2KChxc1sU99mjBImPLLPwRYA2t5DOmV+YS/8Q3MQ==","signatures":[{"sig":"MEQCIFQhmUD1InAh2ZKpaZZEErj44s6p/y2yQp5IvVygNiTOAiAeGr0fhBanxoy442/8ltI1CchWbS3M0PJnks3au2VI4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71309},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ceb9e6bae15a885920028767d015c545a5f6200","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","buffer":"^6.0.3","jsonwebtoken":"^9.0.2","fast-text-encoding":"^1.0.6","@peculiar/webcrypto":"^1.5.0"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_1.6.0_1760977041540_0.5615251400033767","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"axios-spring","version":"2.0.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@2.0.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"821ff1ecda26702a4c9d59388ab2a4605d98befc","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-2.0.0.tgz","fileCount":15,"integrity":"sha512-VF8IoANhAxBhjTNkGv3OsOMsXv5XKNI2kATeCZ00Fqu1nGRLtpiYrLDnlKkg7LMtXN/BgDWJH1c9ih5yYB2V+w==","signatures":[{"sig":"MEQCIE0//WN0hn+s3PDXQ4AUk9YsZQqw9VYm8ha5Ie52+Co1AiAyVGL8P1sQkaq3Bl965UEtt94ToNOC8akHT3U4ftVzfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81715},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"04803727d8145d5d3973d69f0cb07453d44428fd","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","buffer":"^6.0.3","jsonwebtoken":"^9.0.2","fast-text-encoding":"^1.0.6","@peculiar/webcrypto":"^1.5.0"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_2.0.0_1761235321688_0.557882527116297","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"axios-spring","version":"2.1.0","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@2.1.0","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"def72b62104d7e8670bbb768a70d6ab4b44aeb9e","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-2.1.0.tgz","fileCount":11,"integrity":"sha512-NIxlgdUKuhJ9T6WD7lEUK67j1asDzAlTaXYDCCRBLLDbFgvGHxaUyvBqIuI66aaNc/kOdw8ylPtKeMp3d7oe9Q==","signatures":[{"sig":"MEUCIQCZjuPDoV5Onu0NnEdt3DLnuE4y/VwxzaFEttlkPTVWsQIgDWYZacDWutcViwef2puE3qhEt61G4u6PDEvKfTrf9tI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30681},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"5a0db0ea3eb91ff7dcd383f62ce4da99f4d47cf7","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_2.1.0_1761505840593_0.07463530657332518","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"axios-spring","version":"2.1.1","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"url":"https://github.com/sashithacj","name":"Sashitha Chamara","email":"sashithachamara@live.com"},"license":"MIT","_id":"axios-spring@2.1.1","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"dist":{"shasum":"cdb6d94b21a3c43cdb064cdd605f9676a0a71379","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-2.1.1.tgz","fileCount":11,"integrity":"sha512-cUTMv9dPULwtqhXzyaGB8BZ5zz56KUsq323QcRrUeM8LVgKeYn6vv6KkaZHoXN/2r0zGnH7dtkYu1sVnGxdJlw==","signatures":[{"sig":"MEYCIQCOwy3kMhcizX0iwIZcFp4ahn9TU2IjgFYIseoBpp3p0AIhAPsjB06ccVTu8fch1PCyfMJTW0ursJOy5HE5pX/tVI8K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30610},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8f679006f2ff7a5188d6a7c1cd9b0fb787530f6d","scripts":{"test":"jest","build":"tsc","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"repository":{"url":"git+https://github.com/sashithacj/axios-spring.git","type":"git"},"_npmVersion":"10.8.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","directories":{},"_nodeVersion":"20.19.5","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.3.1","prettier":"^3.5.3","typescript":"^5.8.3","@types/jest":"^29.5.14","axios-mock-adapter":"^2.1.0","@types/jsonwebtoken":"^9.0.9"},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/axios-spring_2.1.1_1761508220849_0.1450405135656898","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"axios-spring","version":"2.1.2","description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","test":"jest","format":"prettier --write .","format:check":"prettier --check ."},"repository":{"type":"git","url":"git+https://github.com/sashithacj/axios-spring.git"},"homepage":"https://github.com/sashithacj/axios-spring#readme","bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"author":{"name":"Sashitha Chamara","email":"sashithachamara@live.com","url":"https://github.com/sashithacj"},"license":"MIT","dependencies":{"axios":"^1.12.2","jsonwebtoken":"^9.0.2"},"devDependencies":{"@types/jest":"^29.5.14","@types/jsonwebtoken":"^9.0.9","axios-mock-adapter":"^2.1.0","jest":"^29.7.0","prettier":"^3.5.3","ts-jest":"^29.3.1","typescript":"^5.8.3"},"peerDependenciesMeta":{"@react-native-async-storage/async-storage":{"optional":true}},"optionalDependencies":{"@react-native-async-storage/async-storage":"^2.1.2"},"react-native":{"platforms":{"ios":{"sharedLibraries":[]},"android":{"sharedLibraries":[]}}},"_id":"axios-spring@2.1.2","gitHead":"0424ee99cdfd4508274960b1c888eb856824eec7","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-wvohzi2k5b3gKPoGrL55aE1L7j+K7Zc4Y8MFfzZ/XmV98EKy6jmInW8Ru4hUnwwSgVHoIdTjNOZk3SkKNXc9Zg==","shasum":"46460e687f6689e79561a48befda706346c5d135","tarball":"https://registry.npmjs.org/axios-spring/-/axios-spring-2.1.2.tgz","fileCount":11,"unpackedSize":31590,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDFM8iDRnNtsKO2Qnv1nxjU8XZCKDDQVuZ3V6aLNgQ60wIgSg/iA8XUsF8CPI/nLuGA+mdsuZJYcMe8pi+Qkai0XGg="}]},"_npmUser":{"name":"sashithacj","email":"sashithachamara@live.com"},"directories":{},"maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/axios-spring_2.1.2_1761534579856_0.4103588909936622"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-06T11:29:51.400Z","modified":"2025-10-27T03:09:40.259Z","0.0.1":"2025-04-06T11:29:51.574Z","0.0.2":"2025-04-06T12:43:39.485Z","0.0.3":"2025-04-06T14:26:47.005Z","0.0.4":"2025-04-06T16:14:27.593Z","0.0.5":"2025-04-06T17:44:26.667Z","0.0.6":"2025-04-06T21:17:39.608Z","0.0.7":"2025-04-06T21:30:58.555Z","0.0.8":"2025-04-08T02:31:19.930Z","0.0.9":"2025-04-08T06:59:25.759Z","0.0.10":"2025-04-08T16:05:05.090Z","0.0.11":"2025-04-08T16:34:35.294Z","0.0.12":"2025-04-08T17:38:55.466Z","0.0.13":"2025-04-08T17:52:36.320Z","0.0.14":"2025-04-09T07:22:00.739Z","0.0.15":"2025-04-09T15:11:01.984Z","0.0.16":"2025-04-11T11:14:17.933Z","0.0.17":"2025-04-12T08:36:13.081Z","1.0.0":"2025-10-19T05:05:03.531Z","1.0.1":"2025-10-19T05:08:10.081Z","1.0.2":"2025-10-19T05:13:14.235Z","1.1.0":"2025-10-19T05:45:43.584Z","1.2.0":"2025-10-19T06:23:43.953Z","1.3.0":"2025-10-19T06:53:49.416Z","1.4.0":"2025-10-20T15:20:08.992Z","1.5.0":"2025-10-20T15:51:22.556Z","1.5.1":"2025-10-20T15:57:59.372Z","1.5.2":"2025-10-20T16:03:16.315Z","1.6.0":"2025-10-20T16:17:21.730Z","2.0.0":"2025-10-23T16:02:01.907Z","2.1.0":"2025-10-26T19:10:40.889Z","2.1.1":"2025-10-26T19:50:21.054Z","2.1.2":"2025-10-27T03:09:40.046Z"},"bugs":{"url":"https://github.com/sashithacj/axios-spring/issues"},"author":{"name":"Sashitha Chamara","email":"sashithachamara@live.com","url":"https://github.com/sashithacj"},"license":"MIT","homepage":"https://github.com/sashithacj/axios-spring#readme","keywords":["axios","jwt","refresh","refresh-token","authentication","token","react","react-native","nextjs"],"repository":{"type":"git","url":"git+https://github.com/sashithacj/axios-spring.git"},"description":"A smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱","maintainers":[{"name":"sashithacj","email":"sashithachamara@live.com"}],"readme":"# axios-spring\n\nA smart Axios wrapper with automatic JWT refresh flow built for React Native and React (Next.js-friendly) 🌱\n\n## Features\n\n- Automatic JWT token refresh before expiration\n- Request queuing during token refresh\n- Configurable token expiry buffer\n- 401 response handling with automatic retry\n- Refresh failure callback for custom error handling\n- Customizable access token attachment\n- Customizable refresh token attachment\n- Customizable tokens extraction\n- TypeScript support\n\n## How this works\n\nThis package wraps an Axios instance with automatic JWT authentication and token refreshing logic. When you make a request, it checks if the access token is valid (with a configurable buffer window). If the token is expired, it will automatically attempt to refresh it using the provided refresh token and endpoint. You can also plug in custom logic to attach tokens to requests, extract new tokens from responses, and define exactly how requests should behave during refresh cycles. All tokens are securely stored and reused across requests without you needing to manage them manually.\n\nThe package is designed to work seamlessly in both web and React Native environments. It detects the runtime and automatically selects the appropriate storage backend: for web apps, it uses localStorage; for React Native, it uses @react-native-async-storage/async-storage. This makes the package ideal for cross-platform projects, giving you the same developer experience with secure token handling and refresh logic regardless of the platform.\n\n## Installation\n\n```bash\nnpm install axios-spring\n# or\nyarn add axios-spring\n```\n\n## Basic Setup\n\n```typescript\n// utils/api.ts\nimport { initializeApiInstance } from 'axios-spring';\n\n// Create the instance\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/refresh',\n  tokenExpiryBufferSeconds: 30, // optional, default is 30\n  reactOn401Responses: true, // optional, default is true\n  onRefreshFailure: (error) => {\n    // Handle refresh failure (e.g., redirect to login)\n    console.error('Token refresh failed:', error);\n    window.location.href = '/login';\n  },\n});\n\nexport default API;\n```\n\n## Making Requests\n\n```typescript\n// Import the instance from where you have created\nimport API from '@/utils/api';\n\n// Login and store tokens\nconst login = async (email: string, password: string) => {\n  const response = await API.post('/auth/login', { email, password });\n  const { accessToken, refreshToken } = response.data;\n  await API.setAuthTokens(accessToken, refreshToken);\n  console.log('Login successful, tokens stored.');\n};\n\n// Checks whether user has a valid access token\nconst checkAuthentication = async () => {\n  const jwtPayload = await API.isAuthenticated();\n  if (jwtPayload) {\n    console.log('User is authenticated:', jwtPayload); // Log the JWT payload\n  } else {\n    console.log('User is not authenticated');\n  }\n};\n\n// Make an authenticated request\nconst getProfile = async () => {\n  const response = await API.get('/users/me');\n  console.log(response.data);\n};\n\n// Logout and remove stored tokens\nconst logout = async () => {\n  await API.deleteAuthTokens();\n  console.log('Logged out and tokens removed');\n};\n```\n\n## Configuration Options\n\n| Parameter                     | Type                                                                       | Required | Default                                                        | Description                                                                                                                                                    |\n| ----------------------------- | -------------------------------------------------------------------------- | -------- | -------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `baseUrl`                     | string                                                                     | Yes      | -                                                              | The base URL of the API that the Axios instance will communicate with.                                                                                         |\n| `refreshEndpoint`             | string                                                                     | Yes      | -                                                              | The endpoint path used to refresh the access token.                                                                                                            |\n| `tokenExpiryBufferSeconds`    | number                                                                     | No       | 30                                                             | A buffer period in seconds before the access token expires to trigger automatic refresh.                                                                       |\n| `reactOn401Responses`         | boolean                                                                    | No       | true                                                           | Whether to automatically react to HTTP 401 responses by attempting to refresh the token and retrying the request.                                              |\n| `storageAccessTokenKey`       | string                                                                     | No       | @axios-spring-access-token                                     | Storage key using to save the access token. This would be useful if you are managing multiple sessions.                                                        |\n| `storageRefreshTokenKey`      | string                                                                     | No       | @axios-spring-refresh-token                                    | Storage key using to save the refresh token. This would be useful if you are managing multiple sessions.                                                       |\n| `onRefreshFailure`            | (error: unknown) => void                                                   | No       | -                                                              | Callback function called when token refresh fails. Useful for redirecting users to login page or handling authentication errors.                               |\n| `attachAccessTokenToRequest`  | (config: AxiosRequestConfig, token: string) => AxiosRequestConfig          | No       | Adds `Authorization: Bearer <token>` header by default         | Custom function to attach the access token to the AxiosSpring requests. Useful if you need to attach it differently (e.g., in custom headers or query params). |\n| `attachRefreshTokenToRequest` | (config: AxiosRequestConfig, token: string) => AxiosRequestConfig          | No       | Sets `{ data: { refreshToken } }`                              | Custom function to attach the refresh token to the token refresh request. Useful if your backend expects the refresh token in a different format or location.  |\n| `extractTokensFromResponse`   | (response: AxiosResponse) => { accessToken: string, refreshToken: string } | No       | Extracts `accessToken` and `refreshToken` from `response.data` | Function to extract tokens from the refresh endpoint response. Customize if your backend returns token data in a different structure.                          |\n\n## Custom Access Token Attachment (attachAccessTokenToRequest)\n\nBy default, `axios-spring` adds the access token to the `Authorization` header using the `Bearer` scheme. However, if your backend expects the token in a different location (e.g., custom headers, query parameters), you can provide your own function.\n\n```typescript\nimport { initializeApiInstance, AxiosRequestConfig } from 'axios-spring';\n\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/refresh',\n  attachAccessTokenToRequest: (config: AxiosRequestConfig, token: string): AxiosRequestConfig => {\n    config.headers = {\n      ...config.headers,\n      'x-auth-token': token, // Attach token to a custom header\n    };\n    return config;\n  },\n});\n\nexport default API;\n```\n\n## Custom Refresh Token Attachment (attachRefreshTokenToRequest)\n\nBy default, `axios-spring` sends the refresh token to the token refresh endpoint in the `POST` request body as:\n\n```json\n{\n  \"refreshToken\": \"stored-refresh-token\"\n}\n```\n\nIf your backend refresh endpoint expects the refresh token differently (e.g., as a query parameter or custom header), you can customize it using `attachRefreshTokenToRequest`.\n\n```typescript\nimport { initializeApiInstance, AxiosRequestConfig } from 'axios-spring';\n\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/refresh-token',\n  attachRefreshTokenToRequest: (config: AxiosRequestConfig, token: string): AxiosRequestConfig => {\n    return {\n      ...config,\n      method: 'GET', // you can change request method, POST by default\n      params: { token }, // you can send token as a query parameter\n      headers: {\n        ...config.headers,\n        'x-refresh-token': token, // Also you can send as a custom header\n      },\n    };\n  },\n});\n\nexport default API;\n```\n\n## Custom Tokens Extraction (extractTokensFromResponse)\n\nBy default, `axios-spring` expects the token refresh endpoint to return a response body like:\n\n```json\n{\n  \"accessToken\": \"new-access-token\",\n  \"refreshToken\": \"new-refresh-token\"\n}\n```\n\nYou can override this behavior if your backend wraps the token data in a different structure. You can even extract them from response headers and return.\n\n```typescript\nimport { initializeApiInstance, AxiosResponse } from 'axios-spring';\n\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/token/refresh',\n  extractTokensFromResponse: (response: AxiosResponse) => {\n    return {\n      accessToken: response.data?.tokens?.access,\n      refreshToken: response.data?.tokens?.refresh,\n    };\n  },\n});\n\nexport default API;\n```\n\n## Refresh Failure Handling (onRefreshFailure)\n\nWhen token refresh fails (due to expired refresh token, network errors, or server issues), you can provide a callback function to handle the failure gracefully. This is particularly useful for redirecting users to the login page or clearing stored data.\n\n```typescript\nimport { initializeApiInstance } from 'axios-spring';\n\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/refresh',\n  onRefreshFailure: (error) => {\n    // Clear any stored user data\n    // In React: localStorage.removeItem('userData');\n    // In React Native: AsyncStorage.removeItem('userData');\n\n    // Redirect to login page\n    // In React: window.location.href = '/login';\n    // In React Native: NavigationService.navigate('Login');\n\n    // Or show a notification\n    console.error('Session expired. Please log in again.');\n  },\n});\n\nexport default API;\n```\n\nThe callback receives the error object that caused the refresh to fail, allowing you to implement custom error handling based on the specific failure reason.\n\n### React Example\n\n```typescript\nimport { initializeApiInstance } from 'axios-spring';\n\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/refresh',\n  onRefreshFailure: (error) => {\n    // Clear stored data\n    localStorage.removeItem('userData');\n    localStorage.removeItem('preferences');\n\n    // Redirect to login\n    window.location.href = '/login';\n\n    // Show notification\n    alert('Session expired. Please log in again.');\n  },\n});\n\nexport default API;\n```\n\n### React Native Example\n\n```typescript\nimport { initializeApiInstance } from 'axios-spring';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\nimport { NavigationService } from './NavigationService'; // Your navigation service\n\nconst API = initializeApiInstance({\n  baseUrl: 'https://your-api.com/v1/',\n  refreshEndpoint: 'auth/refresh',\n  onRefreshFailure: async (error) => {\n    // Clear stored data\n    await AsyncStorage.multiRemove(['userData', 'preferences']);\n\n    // Navigate to login screen\n    NavigationService.navigate('Login');\n\n    // Show notification\n    Alert.alert('Session Expired', 'Please log in again.');\n  },\n});\n\nexport default API;\n```\n\n## Notes\n\n1. Designed to work seamlessly with JWT authentication\n2. The package assumes your tokens are JWT format for expiration checking\n3. The token refresh queue ensures no duplicate refresh requests are made\n4. You must manage token storage in your application code\n5. Compatible with both browser and React Native environments\n\n## Acknowledgements\n\nSpecial thanks to:\n\n- The [Axios team](https://github.com/axios/axios) for the excellent HTTP client\n- The team behind [`@react-native-async-storage/async-storage`](https://github.com/react-native-async-storage/async-storage) for providing secure, persistent storage in React Native\n- The [JSON Web Token (jsonwebtoken)](https://github.com/auth0/node-jsonwebtoken) project for enabling secure and compact token-based authentication\n- All contributors and users for their continuous support and feedback\n","readmeFilename":"README.md"}