{"_id":"@adobe/spacecat-shared-akamai-client","_rev":"7-1b251c016a35bf27018c1b2e2f07faf6","name":"@adobe/spacecat-shared-akamai-client","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.1":{"name":"@adobe/spacecat-shared-akamai-client","version":"1.0.1","author":"","license":"Apache-2.0","_id":"@adobe/spacecat-shared-akamai-client@1.0.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"prithipalpatwal","email":"ppatwal@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/spacecat-shared#readme","bugs":{"url":"https://github.com/adobe/spacecat-shared/issues"},"dist":{"shasum":"46d62a8ddf822ad5cecf0eecdc1870873384f97c","tarball":"https://registry.npmjs.org/@adobe/spacecat-shared-akamai-client/-/spacecat-shared-akamai-client-1.0.1.tgz","fileCount":7,"integrity":"sha512-AdmjFk5C9wedwb3L7LA8b79rr8u87amVKCrzUMNgkbZg77TyVgO45N595Qu2jLalF59H9fDZfWMPnH0aSIqCiw==","signatures":[{"sig":"MEYCIQCqukC9pjw8zbXXMZLYEZR4K2srvIQDUclkgfe2eoDkRgIhAM7Tt6IOYIxMxcN+TaFyru/pE7QeMNgb6o+blAnb+MT7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37083},"main":"src/index.js","type":"module","mocha":{"spec":"test/**/*.test.js","require":"test/setup-env.js","reporter":"mocha-multi-reporters","reporter-options":"configFile=.mocha-multi.json"},"types":"src/index.d.ts","engines":{"npm":">=10.9.0 <12.0.0","node":">=22.0.0 <25.0.0"},"gitHead":"7c5122cbb20e22f2232b550398dfb94a53bcff1c","scripts":{"lint":"eslint .","test":"c8 mocha","clean":"rm -rf package-lock.json node_modules"},"_npmUser":{"name":"prithipalpatwal","email":"ppatwal@adobe.com"},"repository":{"url":"git+https://github.com/adobe/spacecat-shared.git","type":"git"},"_npmVersion":"11.13.0","description":"Shared modules of the Spacecat Services - Akamai Client","directories":{},"_nodeVersion":"24.11.1","dependencies":{"@adobe/spacecat-shared-utils":"1.122.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"6.2.2","nock":"14.0.15","sinon":"22.0.0","sinon-chai":"4.0.1","typescript":"6.0.3","chai-as-promised":"8.0.2"},"_npmOperationalInternal":{"tmp":"tmp/spacecat-shared-akamai-client_1.0.1_1783494700760_0.27251429567633356","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@adobe/spacecat-shared-akamai-client","version":"1.0.2","author":"","license":"Apache-2.0","_id":"@adobe/spacecat-shared-akamai-client@1.0.2","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"prithipalpatwal","email":"ppatwal@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/spacecat-shared#readme","bugs":{"url":"https://github.com/adobe/spacecat-shared/issues"},"dist":{"shasum":"9091c6dbe9562949282b8dec8d8ed3bcdd363f03","tarball":"https://registry.npmjs.org/@adobe/spacecat-shared-akamai-client/-/spacecat-shared-akamai-client-1.0.2.tgz","fileCount":13,"integrity":"sha512-rwcbU/UYeR3sg/BUdLz/2UVGY6oxmv88M0I6kgXGNUfYlzivKDU/8LZXmfGY9r/pOvx58lBHlZt9j1mWwcySgg==","signatures":[{"sig":"MEYCIQCrLLXkTFRlGHS63ExAtiT3he8qTQnOajGZNFcKUcQNwwIhALVJs5SY4JbV2sS2jCBNBJF2yAuDuRQFitdXhML14Bpx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adobe%2fspacecat-shared-akamai-client@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":76119},"main":"src/index.js","type":"module","mocha":{"spec":"test/**/*.test.js","require":"test/setup-env.js","reporter":"mocha-multi-reporters","reporter-options":"configFile=.mocha-multi.json"},"types":"src/index.d.ts","engines":{"npm":">=10.9.0 <12.0.0","node":">=22.0.0 <25.0.0"},"gitHead":"3e8a215069e1fde74f4b7ee5d889a112b819c2c9","scripts":{"lint":"eslint .","test":"c8 mocha","clean":"rm -rf package-lock.json node_modules"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5456b95c-79d1-491b-b33e-1c18c6911ba4"}},"repository":{"url":"git+https://github.com/adobe/spacecat-shared.git","type":"git"},"_npmVersion":"11.12.1","description":"Shared modules of the Spacecat Services - Akamai Client","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@adobe/spacecat-shared-utils":"1.122.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"6.2.2","nock":"14.0.15","sinon":"22.0.0","sinon-chai":"4.0.1","typescript":"6.0.3","chai-as-promised":"8.0.2"},"_npmOperationalInternal":{"tmp":"tmp/spacecat-shared-akamai-client_1.0.2_1783496728463_0.43733035388857844","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@adobe/spacecat-shared-akamai-client","version":"1.1.0","author":"","license":"Apache-2.0","_id":"@adobe/spacecat-shared-akamai-client@1.1.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/spacecat-shared#readme","bugs":{"url":"https://github.com/adobe/spacecat-shared/issues"},"dist":{"shasum":"a85c1665e9ebaffd1302d8fcb92acdd2505c58a6","tarball":"https://registry.npmjs.org/@adobe/spacecat-shared-akamai-client/-/spacecat-shared-akamai-client-1.1.0.tgz","fileCount":13,"integrity":"sha512-3lyigREwWOMDPxbuVuqwnoUX7cWn0T9un7/jMveS7cYQOCdFX3g94j/K8qd64bHFgn33xpLiD/4MhnKO64xj7Q==","signatures":[{"sig":"MEUCIBdNRbsR7DbLWjdPdhqvEsVjfVvK+rcObzFbKRd/q/n/AiEAuTtjsfnhRQmAxMAcmrsTjBDv2qgh2JIr/Rx8t3fRY04=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adobe%2fspacecat-shared-akamai-client@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":82703},"main":"src/index.js","type":"module","mocha":{"spec":"test/**/*.test.js","require":"test/setup-env.js","reporter":"mocha-multi-reporters","reporter-options":"configFile=.mocha-multi.json"},"types":"src/index.d.ts","engines":{"npm":">=10.9.0 <12.0.0","node":">=22.0.0 <25.0.0"},"gitHead":"23a6dac6201476c03dd6845c13b2b9ef07a57e00","scripts":{"lint":"eslint .","test":"c8 mocha","clean":"rm -rf package-lock.json node_modules"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5456b95c-79d1-491b-b33e-1c18c6911ba4"}},"repository":{"url":"git+https://github.com/adobe/spacecat-shared.git","type":"git"},"_npmVersion":"11.12.1","description":"Shared modules of the Spacecat Services - Akamai Client","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@adobe/spacecat-shared-utils":"1.122.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"6.2.2","nock":"14.0.15","sinon":"22.0.0","sinon-chai":"4.0.1","typescript":"6.0.3","chai-as-promised":"8.0.2"},"_npmOperationalInternal":{"tmp":"tmp/spacecat-shared-akamai-client_1.1.0_1784121935997_0.548233983077286","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@adobe/spacecat-shared-akamai-client","version":"1.2.0","author":"","license":"Apache-2.0","_id":"@adobe/spacecat-shared-akamai-client@1.2.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/spacecat-shared#readme","bugs":{"url":"https://github.com/adobe/spacecat-shared/issues"},"dist":{"shasum":"6db270f58e13ccc4ce1642720b9068f306aeff41","tarball":"https://registry.npmjs.org/@adobe/spacecat-shared-akamai-client/-/spacecat-shared-akamai-client-1.2.0.tgz","fileCount":13,"integrity":"sha512-G50ETly5eLiJ4SoIi68bA1jt243GodGA0wUaE3KYU8H41hYGGhNpgfbHa1ROXRtrPoFKuQRFruOH5VgUfQkLtg==","signatures":[{"sig":"MEYCIQCm10EDVuP2vvPrRaKWwXQivVE4ysz897VNkq1EDqZFhQIhAI0KexGyceBmdZ7fvDJ8TAMSf3IL0h8HqPybnFWQzKP1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adobe%2fspacecat-shared-akamai-client@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":88764},"main":"src/index.js","type":"module","mocha":{"spec":"test/**/*.test.js","require":"test/setup-env.js","reporter":"mocha-multi-reporters","reporter-options":"configFile=.mocha-multi.json"},"types":"src/index.d.ts","engines":{"npm":">=10.9.0 <12.0.0","node":">=22.0.0 <25.0.0"},"gitHead":"b05fc4eb630bc94bb8c5fb01ec0bd1d76bdac2d0","scripts":{"lint":"eslint .","test":"c8 mocha","clean":"rm -rf package-lock.json node_modules"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5456b95c-79d1-491b-b33e-1c18c6911ba4"}},"repository":{"url":"git+https://github.com/adobe/spacecat-shared.git","type":"git"},"_npmVersion":"11.12.1","description":"Shared modules of the Spacecat Services - Akamai Client","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@adobe/spacecat-shared-utils":"1.122.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"6.2.2","nock":"14.0.15","sinon":"22.0.0","sinon-chai":"4.0.1","typescript":"6.0.3","chai-as-promised":"8.0.2"},"_npmOperationalInternal":{"tmp":"tmp/spacecat-shared-akamai-client_1.2.0_1784550930546_0.5021439477471048","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@adobe/spacecat-shared-akamai-client","version":"1.2.1","author":"","license":"Apache-2.0","_id":"@adobe/spacecat-shared-akamai-client@1.2.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/spacecat-shared#readme","bugs":{"url":"https://github.com/adobe/spacecat-shared/issues"},"dist":{"shasum":"e155e16f997c1b3c3a4529d63393a85d3b0cd670","tarball":"https://registry.npmjs.org/@adobe/spacecat-shared-akamai-client/-/spacecat-shared-akamai-client-1.2.1.tgz","fileCount":13,"integrity":"sha512-tdICBARmOSPWQ4GzxroE8HSPzIxY4B1yaliH43I5EGXTiVsAzG2xdqmGhnZMMZeLad42zdhxTQgam9twd4clLg==","signatures":[{"sig":"MEUCIGKuMusY6KCZFF705N0/B2cvRw2r9nfjOEcv0cWaeUzmAiEAjIrbY6DztJ3Z6H2ycoLLkM3rQBvs+gSKyL1X7+H3n7M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adobe%2fspacecat-shared-akamai-client@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97037},"main":"src/index.js","type":"module","mocha":{"spec":"test/**/*.test.js","require":"test/setup-env.js","reporter":"mocha-multi-reporters","reporter-options":"configFile=.mocha-multi.json"},"types":"src/index.d.ts","engines":{"npm":">=10.9.0 <12.0.0","node":">=22.0.0 <25.0.0"},"gitHead":"c1b237b7712b8880f8aeb9402e6a3c3ff9429820","scripts":{"lint":"eslint .","test":"c8 mocha","clean":"rm -rf package-lock.json node_modules"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5456b95c-79d1-491b-b33e-1c18c6911ba4"}},"repository":{"url":"git+https://github.com/adobe/spacecat-shared.git","type":"git"},"_npmVersion":"11.12.1","description":"Shared modules of the Spacecat Services - Akamai Client","directories":{},"_nodeVersion":"24.16.0","dependencies":{"@adobe/spacecat-shared-utils":"1.122.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"6.2.2","nock":"14.0.15","sinon":"22.0.0","sinon-chai":"4.0.1","typescript":"6.0.3","chai-as-promised":"8.0.2"},"_npmOperationalInternal":{"tmp":"tmp/spacecat-shared-akamai-client_1.2.1_1786539076061_0.47069783126957354","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-07-08T07:11:40.588Z","modified":"2026-10-01T01:34:25.516Z","1.0.1":"2026-07-08T07:11:40.908Z","1.0.2":"2026-07-08T07:45:28.605Z","1.1.0":"2026-07-15T13:25:36.144Z","1.2.0":"2026-07-20T12:35:30.670Z","1.2.1":"2026-08-12T12:51:16.235Z"},"bugs":{"url":"https://github.com/adobe/spacecat-shared/issues"},"license":"Apache-2.0","homepage":"https://github.com/adobe/spacecat-shared#readme","repository":{"url":"git+https://github.com/adobe/spacecat-shared.git","type":"git"},"description":"Shared modules of the Spacecat Services - Akamai Client","maintainers":[{"email":"mabecker@adobe.com","name":"marbec"},{"email":"tripod@bocanegra.ch","name":"tripod"},{"email":"garthdb@gmail.com","name":"garthdb"},{"email":"lazdnet@gmail.com","name":"lazd"},{"email":"grp-opensourceoffice@adobe.com","name":"adobe-admin"},{"email":"patrickfulton@gmail.com","name":"patrickfulton"},{"email":"lars@trieloff.net","name":"trieloff"},{"email":"krisnye@gmail.com","name":"krisnye"},{"email":"dcpfsdk@adobe.com","name":"dcpfsdk"},{"email":"natebaldwindesign@gmail.com","name":"natebaldwin"},{"email":"devongovett@gmail.com","name":"devongovett"},{"email":"danniintheus@gmail.com","name":"aspro83"},{"email":"symanovi@adobe.com","name":"symanovi"},{"email":"dominique.pfister@gmail.com","name":"dpfister"},{"email":"sg@adobe.com","name":"stefan-guggisberg"},{"email":"npm@rofe.com","name":"rofe"},{"email":"kptdobe@gmail.com","name":"kptdobe"},{"email":"halls@adobe.com","name":"adobehalls"},{"email":"bradjohn@adobe.com","name":"fullcolorcoder"},{"email":"djaeggi@adobe.com","name":"djaeggi"},{"email":"dylandepass@gmail.com","name":"dylandepass"},{"email":"mhaack@adobe.com","name":"mhaack"},{"email":"amol@adobe.com","name":"amol-anand"},{"email":"stopp@adobe.com","name":"stopp-adobe"},{"email":"namarora@adobe.com","name":"namarora"},{"email":"doten@adobe.com","name":"doten"},{"email":"schmidt@adobe.com","name":"duh_schmidt"},{"email":"astha.bhargava23@gmail.com","name":"asthabh23"},{"email":"aljoseph@adobe.com","name":"aljoseph"},{"email":"zouhir.dahbi@outlook.com","name":"zdahbi"},{"email":"tuicu@adobe.com","name":"tuicu"},{"email":"fmeschbe@adobe.com","name":"fmeschbe"}],"readme":"# Spacecat Shared - Akamai Client\n\n## Overview\n\n`@adobe/spacecat-shared-akamai-client` is a thin client for Akamai's\n[Property Manager API (PAPI)](https://techdocs.akamai.com/property-mgr/reference/api-summary),\nauthenticated with Akamai's EdgeGrid (`EG1-HMAC-SHA256`) scheme. It exposes\noperations for finding properties by site domain, reading and updating rule\ntrees, creating property versions, and activating/monitoring activations —\nfor use by Spacecat services that manage Akamai-fronted properties.\n\nThe EdgeGrid request signing is implemented directly against Akamai's\npublished algorithm (no `akamai-edgegrid` dependency), and is cross-validated\nin tests against the official `edgegrid-python` reference implementation.\n\n## Installation\n\n```bash\nnpm install @adobe/spacecat-shared-akamai-client\n```\n\n## Usage\n\n### Creating a client\n\n#### From a Universal context (recommended)\n\nReads EdgeGrid credentials from `context.env`:\n\n```javascript\nimport AkamaiClient from '@adobe/spacecat-shared-akamai-client';\n\nconst client = AkamaiClient.createFrom(context);\n```\n\nExpects `AKAMAI_HOST`, `AKAMAI_CLIENT_TOKEN`, `AKAMAI_CLIENT_SECRET`,\n`AKAMAI_ACCESS_TOKEN`, and optionally `AKAMAI_ACCOUNT_SWITCH_KEY` and\n`AKAMAI_NOTIFY_EMAILS` (comma-separated; required only to call `activate()`).\n\n#### Direct constructor\n\n```javascript\nimport AkamaiClient from '@adobe/spacecat-shared-akamai-client';\n\nconst client = new AkamaiClient({\n  host: process.env.AKAMAI_HOST, // e.g. \"akab-xxxxx.luna.akamaiapis.net\"\n  clientToken: process.env.AKAMAI_CLIENT_TOKEN,\n  clientSecret: process.env.AKAMAI_CLIENT_SECRET,\n  accessToken: process.env.AKAMAI_ACCESS_TOKEN,\n  accountSwitchKey: process.env.AKAMAI_ACCOUNT_SWITCH_KEY, // optional\n  notifyEmails: ['team@example.com'], // required only to call activate()\n}, log);\n```\n\nThese credentials come from an Akamai API client scoped to\n**Property Manager (PAPI) = READ-WRITE** — see\n[Create an API client](https://techdocs.akamai.com/developer/docs/set-up-authentication-credentials).\n\n## API\n\n### `findPropertiesByDomain(domain)`\n\nFinds candidate properties serving a site domain — matches the exact\nhostname (plus its apex/www variant) and, as a fallback, a property-name\nmatch. Returns matches deduped by `propertyId`, hostname matches ranked\nfirst.\n\n```javascript\nconst matches = await client.findPropertiesByDomain('www.example.com');\n// [{ propertyId, propertyName, contractId, groupId, matchedOn: ['hostname'], ... }]\n```\n\n### `searchBy(key, value)`\n\nLower-level primitive behind `findPropertiesByDomain` — a single PAPI\nfind-by-value lookup.\n\n```javascript\nconst results = await client.searchBy('hostname', 'www.example.com');\n```\n\n### `getLatestVersion(propertyId, contractId, groupId)`\n\n```javascript\nconst version = await client.getLatestVersion(propertyId, contractId, groupId);\n```\n\n### `getRuleTree(propertyId, version, contractId, groupId)`\n\n```javascript\nconst { ruleTree, ruleFormat } = await client.getRuleTree(propertyId, version, contractId, groupId);\n```\n\n### `createVersion(propertyId, baseVersion, contractId, groupId)`\n\nCreates a new property version from `baseVersion` and returns the new\nversion number.\n\n```javascript\nconst newVersion = await client.createVersion(propertyId, latestVersion, contractId, groupId);\n```\n\n### `updateRuleTree(propertyId, version, contractId, groupId, ruleTree, ruleFormat?)`\n\nPUTs a rule tree with PAPI-side validation (`validateRules=true`). Errors and\nwarnings, if any, come back in the resolved response body rather than as a\nrejected promise.\n\n```javascript\nconst result = await client.updateRuleTree(propertyId, version, contractId, groupId, ruleTree, ruleFormat);\nif (result.errors?.length) { /* handle PAPI validation errors */ }\n```\n\n### `activate(propertyId, version, contractId, groupId, network, note?)`\n\nRequires the client to have been constructed with a non-empty `notifyEmails`\n(PAPI requires at least one address to notify about activation progress).\n\n```javascript\nconst activationLink = await client.activate(propertyId, version, contractId, groupId, 'STAGING');\nconst activationId = AkamaiClient.activationIdFromLink(activationLink);\n```\n\n### `getActivation(propertyId, activationId, contractId, groupId)`\n\nReturns one activation's details (`status`, `network`, `propertyVersion`,\n`submitDate`, `updateDate`, ...). `status` progresses through\n`PENDING` → `ZONE_1`/`ZONE_2`/`ZONE_3` → `ACTIVE` (or `ABORTED`/`FAILED`).\n\n```javascript\nconst activation = await client.getActivation(propertyId, activationId, contractId, groupId);\n```\n\n### `listActivations(propertyId, contractId, groupId)`\n\nAll activations (both networks, all versions) for a property.\n\n### `latestActivation(propertyId, contractId, groupId, network)`\n\nThe most recently submitted activation for a network, or `undefined` if the\nproperty has never been activated there — useful for polling deployment\nstatus without having to track an `activationId` across requests/sessions.\n\n```javascript\nconst activation = await client.latestActivation(propertyId, contractId, groupId, 'PRODUCTION');\nif (activation?.status === 'ACTIVE') { /* deployment complete */ }\n```\n\n### `normalizeDomain(domain)`\n\nNamed export. Reduces a URL, `host:port`, or trailing-dot hostname to a bare\nlowercase hostname.\n\n```javascript\nimport { normalizeDomain } from '@adobe/spacecat-shared-akamai-client';\n\nnormalizeDomain('HTTPS://Example.com:8080/path'); // 'example.com'\n```\n\n## Error handling\n\nAll methods reject with a descriptive `Error` when:\n\n- a required argument is missing or the wrong type (e.g. `version` must be an\n  integer, `propertyId`/`contractId`/`groupId`/`network` must be non-empty\n  strings),\n- the underlying request fails (network error),\n- PAPI responds with a non-OK HTTP status, or\n- PAPI responds with a 200 but a body that isn't valid JSON.\n\nThe error message includes the targeted path and, for non-OK responses, the\ntruncated response body. PAPI-level validation errors/warnings on\n`updateRuleTree` (HTTP 200 with an `errors` array) are returned in the\nresolved body, not thrown — check `result.errors` explicitly.\n\nProperty/version/activation IDs are URL-encoded before being interpolated\ninto request paths, and `searchBy`'s `key` argument is restricted to\n`hostname`/`edgeHostname`/`propertyName` — both defend against a caller\naccidentally (or maliciously) redirecting a request to an unintended\nendpoint.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}