{"_id":"@adobehrjain/commerce-admin-get-config","_rev":"6-36913ef7f3ced13dc8516e732f30937b","name":"@adobehrjain/commerce-admin-get-config","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@adobehrjain/commerce-admin-get-config","version":"0.0.1","keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobehrjain/commerce-admin-get-config@0.0.1","maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"dist":{"shasum":"e56144e26960a5bc2cddab7d909d34bf5318e94b","tarball":"https://registry.npmjs.org/@adobehrjain/commerce-admin-get-config/-/commerce-admin-get-config-0.0.1.tgz","fileCount":8,"integrity":"sha512-AH8XR0sm59iTzzzFXuf1/zK7HaTSzjxeJ1W3b281Fss77cyxX/WKIH43u3Szh+ad1U78lY1UBPSpgNPzJbiTBw==","signatures":[{"sig":"MEUCIEcZR1YgxDBIms7RonrKU23zWInRRmnUh4LwVmgSx6GvAiEAk3JhV7hkQ6prNK0rm096kWYZT8twrPlpZhlv9hiQWMw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37644},"main":"./src/index.js","engines":{"node":">=18"},"exports":{".":"./src/index.js","./abdb":"./src/abdb-helper.js","./config":"./src/abdb-config.js","./crypto":"./src/system-config-crypto.js","./shared":"./src/system-config-shared.js","./oauth1a":"./src/oauth1a.js"},"gitHead":"8ed2f5d8d62812716a7bcd2d2b5cba8a672db81a","_npmUser":{"name":"deepakjangid04","email":"djangir@adobe.com"},"repository":{"url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","type":"git","directory":"packages/commerce-admin-get-config"},"_npmVersion":"11.4.1","description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"got":"^11.8.5","oauth-1.0a":"^2.2.6"},"_hasShrinkwrap":false,"peerDependencies":{"dotenv":"^16.4.5","@adobe/aio-lib-db":"^1.0.1","@adobe/aio-lib-ims":"^8.0.0","@adobe/aio-lib-core-auth":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/commerce-admin-get-config_0.0.1_1782121576776_0.35591418902894745","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@adobehrjain/commerce-admin-get-config","version":"0.0.2","keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobehrjain/commerce-admin-get-config@0.0.2","maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"dist":{"shasum":"108176a2e8c5838d656476025036168907ed8799","tarball":"https://registry.npmjs.org/@adobehrjain/commerce-admin-get-config/-/commerce-admin-get-config-0.0.2.tgz","fileCount":8,"integrity":"sha512-uAmoxX8LvqSWfzSYli5/FI01eDGTIyuOmbsWuxRB+oXKbwO2q9Iqwul2x1HAvBTmKwPmW2Dkz0h8qzEzkZh0hA==","signatures":[{"sig":"MEUCIQCCPo7sNVz8jNgIpu/CclArHzOZW/wSVpL+nFAvCapomAIgNZ2tbaJxht6vOAZkADkpIMiXe3VWbkSmc3iM6NIYr/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39445},"main":"./src/index.js","engines":{"node":">=18"},"exports":{".":"./src/index.js","./abdb":"./src/abdb-helper.js","./config":"./src/abdb-config.js","./crypto":"./src/system-config-crypto.js","./shared":"./src/system-config-shared.js","./oauth1a":"./src/oauth1a.js"},"gitHead":"b07b544e039772736a0e8a27392fce0e54ac6955","_npmUser":{"name":"deepakjangid04","email":"djangir@adobe.com"},"repository":{"url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","type":"git","directory":"packages/commerce-admin-get-config"},"_npmVersion":"11.4.1","description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"got":"^11.8.5","oauth-1.0a":"^2.2.6"},"_hasShrinkwrap":false,"peerDependencies":{"dotenv":"^16.4.5","@adobe/aio-lib-db":"^1.0.1","@adobe/aio-lib-ims":"^8.0.0","@adobe/aio-lib-core-auth":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/commerce-admin-get-config_0.0.2_1782149712152_0.8717945057204441","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@adobehrjain/commerce-admin-get-config","version":"0.0.5","keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobehrjain/commerce-admin-get-config@0.0.5","maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"dist":{"shasum":"b570898de0aeb8b2c5d6e3c9faabfffc52870c91","tarball":"https://registry.npmjs.org/@adobehrjain/commerce-admin-get-config/-/commerce-admin-get-config-0.0.5.tgz","fileCount":8,"integrity":"sha512-tjqOVgxJJwVUvsBQKqDJ3xLfbjkAsA7dU/HfnxDakN2B7tI1etUDVPtM+Hiy6xn6TW+Q3l0QfTcOBHf8OBieIg==","signatures":[{"sig":"MEQCIF+ehgnYgUHdHeSOrngVe0gQAL+xjH/j/tUcfdcaOa/OAiA0zMZQZqKAPYm26SUlF+r9/PYtHVcyYjIhcn6X18Y5Bg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40774},"main":"./src/index.js","engines":{"node":">=18"},"exports":{".":"./src/index.js","./abdb":"./src/abdb-helper.js","./config":"./src/abdb-config.js","./crypto":"./src/system-config-crypto.js","./shared":"./src/system-config-shared.js","./oauth1a":"./src/oauth1a.js"},"gitHead":"b07b544e039772736a0e8a27392fce0e54ac6955","_npmUser":{"name":"deepakjangid04","email":"djangir@adobe.com"},"repository":{"url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","type":"git","directory":"packages/commerce-admin-get-config"},"_npmVersion":"11.4.1","description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"got":"^11.8.5","oauth-1.0a":"^2.2.6","@adobe/aio-lib-db":"^1.0.1","@adobe/aio-lib-ims":"^8.0.0","@adobe/aio-lib-core-auth":"^1.1.0"},"_hasShrinkwrap":false,"peerDependencies":{"dotenv":"^16.4.5"},"peerDependenciesMeta":{"dotenv":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/commerce-admin-get-config_0.0.5_1782179941535_0.9138739359039081","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@adobehrjain/commerce-admin-get-config","version":"0.0.6","keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobehrjain/commerce-admin-get-config@0.0.6","maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"dist":{"shasum":"0fcabe696411e6813d79f7b23c674e5bf18958a3","tarball":"https://registry.npmjs.org/@adobehrjain/commerce-admin-get-config/-/commerce-admin-get-config-0.0.6.tgz","fileCount":8,"integrity":"sha512-6Z+RUAiFp6DMG/WWTyXuorJJgaqhiZXABQBHSztSTObIEwsebBe5vFJMllwBDikSj/L7UdHd33vHe8udCj6tFg==","signatures":[{"sig":"MEQCIGSMnhzkY9XMvV1a13/iy9PvUUXgUkxOZYWXGDvvCuMOAiBpaOSG4XaZNHC1okU6JVxN474LmMq8oKwg1mywdk4UIA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40771},"main":"./src/index.js","engines":{"node":">=18"},"exports":{".":"./src/index.js","./abdb":"./src/abdb-helper.js","./config":"./src/abdb-config.js","./crypto":"./src/system-config-crypto.js","./shared":"./src/system-config-shared.js","./oauth1a":"./src/oauth1a.js"},"gitHead":"e5db6684c40f99bde69f8fd7163c7f38fb93584e","_npmUser":{"name":"deepakjangid04","email":"djangir@adobe.com"},"repository":{"url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","type":"git","directory":"packages/commerce-admin-get-config"},"_npmVersion":"11.4.1","description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"got":"^11.8.5","oauth-1.0a":"^2.2.6","@adobe/aio-lib-db":"^1.0.1","@adobe/aio-lib-ims":"^8.0.0","@adobe/aio-lib-core-auth":"^1.1.0"},"_hasShrinkwrap":false,"peerDependencies":{"dotenv":"^16.4.5"},"peerDependenciesMeta":{"dotenv":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/commerce-admin-get-config_0.0.6_1782189909036_0.5094315076790719","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@adobehrjain/commerce-admin-get-config","version":"0.0.7","keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobehrjain/commerce-admin-get-config@0.0.7","maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"dist":{"shasum":"9af437094aea11c3714108c4ac9cea5c039bc112","tarball":"https://registry.npmjs.org/@adobehrjain/commerce-admin-get-config/-/commerce-admin-get-config-0.0.7.tgz","fileCount":8,"integrity":"sha512-87S7efX17bwjAHGh2xymfUBU9DHFZGI8TDyhYzWRehl8hgMseCrLO2AMRP35yxSrRCjdf3fu2ARxWpLSxem7WA==","signatures":[{"sig":"MEQCIC0aiHtFC5CxtfMGrL7CwIrEduWwRwxsGKRxyQITuPuFAiBEMSThGJSmC0HwcOHLrN+mO2XCpe2NKzWK2uhYtXxVjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40771},"main":"./src/index.js","engines":{"node":">=18"},"exports":{".":"./src/index.js","./abdb":"./src/abdb-helper.js","./config":"./src/abdb-config.js","./crypto":"./src/system-config-crypto.js","./shared":"./src/system-config-shared.js","./oauth1a":"./src/oauth1a.js"},"gitHead":"170ba8b58e874ce0ba727a0b22fe1467247d18cd","_npmUser":{"name":"deepakjangid04","email":"djangir@adobe.com"},"repository":{"url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","type":"git","directory":"packages/commerce-admin-get-config"},"_npmVersion":"11.4.1","description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"got":"^11.8.5","oauth-1.0a":"^2.2.6","@adobe/aio-lib-db":"^1.0.1","@adobe/aio-lib-ims":"^8.0.0","@adobe/aio-lib-core-auth":"^1.1.0"},"_hasShrinkwrap":false,"peerDependencies":{"dotenv":"^16.4.5"},"peerDependenciesMeta":{"dotenv":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/commerce-admin-get-config_0.0.7_1782193452467_0.5240604645835911","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@adobehrjain/commerce-admin-get-config","version":"0.0.8","description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","license":"Apache-2.0","author":{"name":"Adobe Inc."},"keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"main":"./src/index.js","exports":{".":"./src/index.js","./abdb":"./src/abdb-helper.js","./config":"./src/abdb-config.js","./crypto":"./src/system-config-crypto.js","./shared":"./src/system-config-shared.js","./oauth1a":"./src/oauth1a.js"},"engines":{"node":">=18"},"dependencies":{"@adobe/aio-lib-core-auth":"^1.1.0","@adobe/aio-lib-db":"^1.0.1","@adobe/aio-lib-ims":"^8.0.0","got":"^11.8.5","oauth-1.0a":"^2.2.6"},"peerDependencies":{"dotenv":"^16.4.5"},"peerDependenciesMeta":{"dotenv":{"optional":true}},"repository":{"type":"git","url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","directory":"packages/commerce-admin-get-config"},"_id":"@adobehrjain/commerce-admin-get-config@0.0.8","gitHead":"0651a83241a173fc87dcaaf790b76162e13ca625","bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","_nodeVersion":"24.13.0","_npmVersion":"11.4.1","dist":{"integrity":"sha512-nNmJFUppmXUhah6ApolNxbzNRowVcZreEOVZsoT5+b/0FC0xDTvn0SLf7PemzDwsLJgMf5LAwC4o6REGHO6mAw==","shasum":"e8f8153454926d643190943ec7c5167d4ab27ca7","tarball":"https://registry.npmjs.org/@adobehrjain/commerce-admin-get-config/-/commerce-admin-get-config-0.0.8.tgz","fileCount":8,"unpackedSize":40809,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFpdRYTyFPgKx7+Ust3wIXYu+gJ+hzTEqq7Xj1ZEW5YeAiBQiBKpDTxhkpvMeUbUN7TVp/4vDMB8FpPQx3YxD23Vsg=="}]},"_npmUser":{"name":"deepakjangid04","email":"djangir@adobe.com"},"directories":{},"maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commerce-admin-get-config_0.0.8_1782234028266_0.43184241511232035"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-22T09:46:16.622Z","modified":"2026-06-23T17:00:28.511Z","0.0.1":"2026-06-22T09:46:16.904Z","0.0.2":"2026-06-22T17:35:12.336Z","0.0.5":"2026-06-23T01:59:01.716Z","0.0.6":"2026-06-23T04:45:09.157Z","0.0.7":"2026-06-23T05:44:12.605Z","0.0.8":"2026-06-23T17:00:28.404Z"},"bugs":{"url":"https://github.com/djangiradobe/commerce-admin-get-config/issues"},"author":{"name":"Adobe Inc."},"license":"Apache-2.0","homepage":"https://github.com/djangiradobe/commerce-admin-get-config#readme","keywords":["adobe-io","aio","app-builder","adobe-commerce","configuration","abdb","get-config"],"repository":{"type":"git","url":"git+https://github.com/djangiradobe/commerce-admin-get-config.git","directory":"packages/commerce-admin-get-config"},"description":"Read scoped system configuration from Adobe App Builder Database (ABDB) with Magento-style inheritance, encryption, and Commerce REST scope resolution.","maintainers":[{"name":"hrjainadobe","email":"hrjain@adobe.com"},{"name":"deepakjangid04","email":"djangir@adobe.com"}],"readme":"# @adobehrjain/commerce-admin-get-config\n\nRead scoped system configuration from **Adobe App Builder Database (ABDB)**.\n\nProvides `getConfig()` with Magento-style scope inheritance (`default` → `websites` → `stores`), AES-256-GCM decryption for sensitive values, and Commerce REST helpers for resolving website/store codes to numeric IDs.\n\n## Install\n\n```bash\nnpm install @adobehrjain/commerce-admin-get-config\n```\n\nPeer dependencies (App Builder runtime):\n\n```bash\nnpm install @adobe/aio-lib-core-auth @adobe/aio-lib-db @adobe/aio-lib-ims dotenv\n```\n\n## Usage\n\n```js\nconst { getConfig } = require('@adobehrjain/commerce-admin-get-config')\n\nasync function main (params) {\n  const apiUrl = await getConfig('sync_general/api/url', params, {\n    scope: 'websites',\n    scopeCode: 'base'\n  })\n}\n```\n\n## API\n\n| Export | Description |\n|--------|-------------|\n| `getConfig(path, params, options)` | Read a config value with scope inheritance |\n| `clearAbdbConfigCache()` | Clear the in-process lookup cache |\n\nSubpath exports: `./abdb`, `./config`, `./crypto`, `./shared`, `./oauth1a`\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}