{"_id":"aws-xray-sdk-fetch","_rev":"11-5fbbb6d7d443a2acf4fdb0ec5692093e","name":"aws-xray-sdk-fetch","dist-tags":{"latest":"3.12.0"},"versions":{"3.6.0":{"name":"aws-xray-sdk-fetch","version":"3.6.0","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.6.0","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/sdk_contrib#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"97dfb0f68729fde4b40758a8bbe45b0dfa1a5a86","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.6.0.tgz","fileCount":7,"integrity":"sha512-Vn/p9lthWNCz2gNMnxw7NpnN9lgYOYy3aSEtRI2y7lNq6808f9p8yOJTQOV4T3YIRamGxJWZhqkib+rce5U2aQ==","signatures":[{"sig":"MEYCIQDU3DkNLqHF0NifxrX0CiNvjKqQSUHCi5mD+RWdJdWehwIhAIK1VROYsbD1uRG4HMiXnZ6BR9Xs4QGW6mRnrDJIVysL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23375},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"bda1629788e974b2a234f9c73686c2db13abbd39","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#sdk_contrib","type":"git"},"_npmVersion":"lerna/6.4.1/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"^7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.6.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.6.0_1711385920925_0.3348655228821307","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"aws-xray-sdk-fetch","version":"3.7.0","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.7.0","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"ebe4323f0cb78fa82f883f019ca51838f464c626","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.7.0.tgz","fileCount":7,"integrity":"sha512-B2pGJb58UO25q5kT5JtQlE5l0zuqKuVvgiEp1jcGTVpjTD61bLDjj0C46RmDYaem5gR8jck4sziQKoqEHcZikw==","signatures":[{"sig":"MEUCIH3y+0aYjIZsPsCQ08HT7um5ai3rzzITKbG3CjXzli6bAiEAzUcetGOxTcM3nYS+WYV/i10Rta80nkMVMVyXjXIVs2s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23489},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"23ff8bb7321a9bc2e9edd42636b3714df6af8deb","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"deprecated":"3.7.0 is deprecated due to known issue in Lambda","repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"^7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.7.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.7.0_1717610397263_0.46350301151023854","host":"s3://npm-registry-packages"}},"3.8.0":{"name":"aws-xray-sdk-fetch","version":"3.8.0","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.8.0","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"348ed917c3c41ff5788a14cea3d61b862da45b0b","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.8.0.tgz","fileCount":7,"integrity":"sha512-uPw6NvA4IkhTTpV5aUFq+40JhIabzxCmL0x/DuDxO2MQCRgSmEb4iKr22wAFupTAla81NcLikct0k0zrAYSRxQ==","signatures":[{"sig":"MEUCIFC9KoiRP5t64/2O+mh6y3M1EwLx228hi4JpjYPVwe8xAiEA30TR9npNN7vOQ7G3UweQNsAAfdJUVXbChkWKmqc1I4k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23409},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"41a17d6a1b7e23279fa24061f0be757e3f5e5f18","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"^7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.8.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.8.0_1717701874291_0.48086403463674876","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"aws-xray-sdk-fetch","version":"3.9.0","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.9.0","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"69ce7f964104874ca9973da00c66c8e70edf16ae","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.9.0.tgz","fileCount":7,"integrity":"sha512-QiLqC7AVYO9i/Kl9tbdRGgfevQGQdmgmJTgAmqIJO8Ai5siuYwH4vT4xT/m4qZctwPdtwVEgsMK/mR35I1p4bQ==","signatures":[{"sig":"MEQCIGL69ZrZHXX1KPZNc7sqkz3LZ1zuV7rJ57hzfXG/LbcqAiAD7LqnRXwuzVZUVCORF6eAPI/leQ19F/yCeB0LsrA1Cg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23447},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"994c2733a1d6e9269a5cc80384036201770d4f37","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"^7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.9.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.9.0_1718043736061_0.9437795596114451","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"aws-xray-sdk-fetch","version":"3.10.0","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.10.0","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"968ff6a29fff03fc16a1e52c97a8aee793ab5152","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.10.0.tgz","fileCount":7,"integrity":"sha512-H6bSOcYJZUcUiyOcTj7r6JyPw3UHk/wp1Md+r8VWxePKea81NbYnmcS82170bxIz86dMA7OcTViQ02cUal4BfA==","signatures":[{"sig":"MEUCICZlGXCTNGQjf/KGysvkON5loLAPMtQQ9vC7bBtVQ+SQAiEAjIXNNXka7+YweBTWvVfhFNenbEm1A2+diEZSF4QSh64=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23444},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"cdb1dde5ab4172c34419532151a9bc191c395f03","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"^7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.10.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.10.0_1725904782826_0.08633310049462128","host":"s3://npm-registry-packages"}},"3.10.1":{"name":"aws-xray-sdk-fetch","version":"3.10.1","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.10.1","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"812a0e947c73801af4bb664f725adda158d04002","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.10.1.tgz","fileCount":7,"integrity":"sha512-WMHcMTz6t/XYis0mgAkg6C/QfBBeSP9Y93f2sSGt+klzhsuBBYfpoGvE5aCKv+tc2XWKlURTC+vnv6pCI+PSrQ==","signatures":[{"sig":"MEUCIQCjcaQ/AniWxtIGq6QfRDG/61s27cOkjVBR9MQLTjPqKAIgVDDMAHtnAMh72G21ms7182FjpYUcgnoCGGc70pqCwrY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23444},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"5539f1ab3a33f8df7b8add9e450b536886250a3a","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"^7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.10.1"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.10.1_1726773375411_0.0895476982658967","host":"s3://npm-registry-packages"}},"3.10.2":{"name":"aws-xray-sdk-fetch","version":"3.10.2","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.10.2","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"713e6ed90a1840cc7a082c6736fbe49e226c353e","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.10.2.tgz","fileCount":7,"integrity":"sha512-Ue+zj/0JaB+Npl0XYmzjb9XUwQ/pELNRU1B7o2As+xn8tCZsiclLPooTHbur2518cNZZPW70HrsNcLZ5V9Z/bw==","signatures":[{"sig":"MEQCIAfP7ReCnctU55lWwPZaAim9U5vFtjetNvCB1OUuGCQHAiAS+ZkxzIG0zBRBIBZRQX0Ie1Nk39LaXxCec1vK3v+s/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24458},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"3b89008bb32caef55609c7e3e9f936c75545620a","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"=7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.10.2"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.10.2_1731436051728_0.13717389951064618","host":"s3://npm-registry-packages"}},"3.10.3":{"name":"aws-xray-sdk-fetch","version":"3.10.3","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.10.3","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"63bf17540be5a055e89af0551481b4cee6140cb4","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.10.3.tgz","fileCount":7,"integrity":"sha512-oUYgXXCI+KPg5NP6zWENdAExbiUgzOyqbh1o/xluUmiksdga2nV53oMKSqr1cNct0fEf8QCvFGqdMgr/jZzjsA==","signatures":[{"sig":"MEUCIDbDs/03XCK6T8ZH4r/E/+suBsmrHSxtDN6iOBSU+HrlAiEA0sJUpW+uEr0GugTmhoMNZN2MM4IDs+5n7ckRdY57qxs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24458},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"f838200543af28912291e2bf309991366cd9abea","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"=7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.10.3"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.10.3_1737754373830_0.3555210936525435","host":"s3://npm-registry-packages-npm-production"}},"3.11.0":{"name":"aws-xray-sdk-fetch","version":"3.11.0","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","_id":"aws-xray-sdk-fetch@3.11.0","maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"dist":{"shasum":"416a5d0ac2f71f8ca15efcc05061acfd4f832387","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.11.0.tgz","fileCount":7,"integrity":"sha512-s1i0hxfpIQi8YGn9W6SJ96bWEVP3YszrzR5RcPGpJtC1n9QBrjf+VHxTSHF+HBbvw6AIHkj4Rr+T6cLgLoXSdg==","signatures":[{"sig":"MEQCIFylTsc0g4gXw7OfXp1yltZWMB4QtdqqJy4Op+PEk9z/AiAYoAF921Gcv6w2F93QXyfnkP2XrWQ6ZTZZVyAGN9WQcQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24458},"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","engines":{"node":">= 14.x"},"gitHead":"4e6f43ed3c4686418c2139d4b86ab5513e0ca8ed","scripts":{"lint":"eslint .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd","lint:fix":"eslint --fix ."},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"repository":{"url":"git+https://github.com/aws/aws-xray-sdk-node.git#master","type":"git"},"_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","description":"AWS X-Ray plugin for node-fetch","directories":{"lib":"lib"},"_nodeVersion":"16.20.2","dependencies":{"tsd":"^0.28.1"},"_hasShrinkwrap":false,"devDependencies":{"ts-expect":"^1.3.0","node-fetch":"^2.6.11","chai-as-promised":"=7.1.1","@types/node-fetch":"^2.6.4"},"peerDependencies":{"aws-xray-sdk-core":"^3.11.0"},"_npmOperationalInternal":{"tmp":"tmp/aws-xray-sdk-fetch_3.11.0_1760558282172_0.6388786634596018","host":"s3://npm-registry-packages-npm-production"}},"3.12.0":{"name":"aws-xray-sdk-fetch","version":"3.12.0","description":"AWS X-Ray plugin for node-fetch","author":{"name":"Amazon Web Services"},"contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"main":"lib/fetch_p.js","types":"lib/fetch_p.d.ts","scripts":{"lint":"eslint .","lint:fix":"eslint --fix .","test":"mocha --recursive --exit ./test/ -R spec && tsd","test-d":"tsd"},"engines":{"node":">= 14.x"},"peerDependencies":{"aws-xray-sdk-core":"^3.12.0"},"keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"directories":{"lib":"lib"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/aws/aws-xray-sdk-node.git#master"},"devDependencies":{"@types/node-fetch":"^2.6.4","chai-as-promised":"=7.1.1","node-fetch":"^2.6.11","ts-expect":"^1.3.0"},"dependencies":{"tsd":"^0.28.1"},"gitHead":"51831b9577e061cea36644a7e19f9cf0cc28fc8a","bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","_id":"aws-xray-sdk-fetch@3.12.0","_nodeVersion":"16.20.2","_npmVersion":"lerna/6.6.2/node@v16.20.2+x64 (linux)","dist":{"integrity":"sha512-w/GVa5YVAT2QGxEahTbCPJfT7496Qm6W2MK3SA8h3+ufZ6MCP2Qr9AigGTRDDBdUhFDWDc/wLuqaPtsSUbbg+Q==","shasum":"5ba4277c59bfa8ad0bbc957d37840989cb626910","tarball":"https://registry.npmjs.org/aws-xray-sdk-fetch/-/aws-xray-sdk-fetch-3.12.0.tgz","fileCount":7,"unpackedSize":24458,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC9oYWbTAKU1ZErz9p5BTxancoKC9SHmeNQBeD+/7NdrAIhAJTr2ew1HpZJ5yRcyRe99dRZdjVtmAfBvoAyd1hb9LoN"}]},"_npmUser":{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"},"maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aws-xray-sdk-fetch_3.12.0_1763681056477_0.5879418216617247"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-25T16:58:40.924Z","modified":"2025-11-20T23:24:16.913Z","3.6.0":"2024-03-25T16:58:41.068Z","3.7.0":"2024-06-05T17:59:57.529Z","3.8.0":"2024-06-06T19:24:34.437Z","3.9.0":"2024-06-10T18:22:16.222Z","3.10.0":"2024-09-09T17:59:42.980Z","3.10.1":"2024-09-19T19:16:15.619Z","3.10.2":"2024-11-12T18:27:31.962Z","3.10.3":"2025-01-24T21:32:54.034Z","3.11.0":"2025-10-15T19:58:02.407Z","3.12.0":"2025-11-20T23:24:16.694Z"},"bugs":{"url":"https://github.com/aws/aws-xray-sdk-node/issues"},"author":{"name":"Amazon Web Services"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-xray-sdk-node/tree/master#readme","keywords":["amazon","api","aws","fetch","node-fetch","xray","x-ray","x ray"],"repository":{"type":"git","url":"git+https://github.com/aws/aws-xray-sdk-node.git#master"},"description":"AWS X-Ray plugin for node-fetch","contributors":[{"name":"Jason Terando","email":"jasonterando@yahoo.com"}],"maintainers":[{"name":"awsxray","email":"aws-xray-sdk-node@amazon.com"}],"readme":"# fetch-xray\n\nA patcher for AWSXRay to support fetch, implemented via either the [node-fetch module](https://www.npmjs.com/package/node-fetch) or the built-in \nglobal fetch support starting with [NodeJS 18](https://nodejs.org/en/blog/announcements/v18-release-announce).\n\n## Usage\n\n```js\nconst { captureFetchGlobal } = require('aws-xray-sdk-fetch');\n\n// To use globally defined fetch (available in NodeJS 18+)\nconst fetch = captureFetchGlobal();\nconst result = await fetch('https://foo.com');\n\n// To use node-fetch module\nconst { captureFetchModule } = require('aws-xray-sdk-fetch');\nconst fetchModule = require('node-fetch');\nconst fetch = captureFetchModule(fetchModule); // Note, first parameter *must* be the node-fetch module\nconst result = await fetch('https://foo.com');\n```\n\nThere are two optional parameters you can pass when calling `captureFetchGlobal` / `captureFetchModule`:\n\n* **downstreamXRayEnabled**: when True, adds a \"traced:true\" property to the subsegment so the AWS X-Ray service expects a corresponding segment from the downstream service (default = False)\n* **subsegmentCallback**: a callback that is called with the subsegment, the fetch request, the fetch response and any error issued, allowing custom annotations and metadata to be added\n\nTypeScript bindings for the capture functions are included.\n\n## Testing\n\nUnit and integration tests can be run using `npm run test`.  Typings file tess can be run using `npm run test-d`.\n\n## Errata\n\n1. This package CommonJS to conform with the rest of the AWSXRay codebase.  As such, it is incompatible with node-fetch 3, which is ESM only.  As such, it is written\nto be compatible with [node-fetch version 2](https://www.npmjs.com/package/node-fetch#CommonJS), which should still receive critical fixes.  If you are using global\nfetch (available in NodeJS 18+) then this isn't an issue for you.\n\n2. This package is designed working under the assumption that the NodeJS implementation of fetch is compatible with node-fetch, albeit with its own separate, \nbuilt-in typings.  If NodeJS takes fetch in a different direction (breaks compatibility) then that would most likely break this package.  There is no indication that\nI could find that this will happen, but throwing it out there \"just in case\".\n\n## Contributors\n\n- [Jason Terando](https://github.com/jasonterando)\n- [Bernd Fuhrmann](https://github.com/berndfuhrmann)\n","readmeFilename":"README.md"}