{"versions":{"0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908":{"name":"@envelop/instrumentation","version":"0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908","sideEffects":false,"dependencies":{"@whatwg-node/promise-helpers":"^1.2.1","tslib":"^2.5.0"},"repository":{"type":"git","url":"git+https://github.com/n1ru4l/envelop.git","directory":"packages/instrumentation"},"author":{"name":"Valentin Cocaud","email":"v.cocaud@gmail.com"},"license":"MIT","engines":{"node":">=18.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./*":{"require":{"types":"./typings/*.d.cts","default":"./cjs/*.js"},"import":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"default":{"types":"./typings/*.d.ts","default":"./esm/*.js"}},"./package.json":"./package.json"},"_id":"@envelop/instrumentation@0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908","description":"This package contains utility functions and types to ease the use of instrumentation accross Envelop, Yoga, whatwg-node and Hive Gateway plugins.","bugs":{"url":"https://github.com/n1ru4l/envelop/issues"},"homepage":"https://github.com/n1ru4l/envelop#readme","_integrity":"sha512-wdWBaklcpFqMO0zM9WJ/6FjauekfK12hs+A7eQqFSr36tAmT0QWpywqxw+LzCa9Q8+PKwTNlTF/JTDi5TDjR4g==","_resolved":"/tmp/fab9387d2f3f1ae9a167f211a1eca395/envelop-instrumentation-0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908.tgz","_from":"file:envelop-instrumentation-0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908.tgz","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-wdWBaklcpFqMO0zM9WJ/6FjauekfK12hs+A7eQqFSr36tAmT0QWpywqxw+LzCa9Q8+PKwTNlTF/JTDi5TDjR4g==","shasum":"6d083727dd3aafbc9e4a9618bc1f9cd57ad36f7a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@envelop/instrumentation/-/instrumentation-0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908.tgz","fileCount":12,"unpackedSize":15031,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCh5uIBpYBtCOhYk6iQ/JI7YMi72f9u7AlkaB1Gh1xJhgIhAO5G2FPC7ZVzqKAN/HGdOKlqgJyE58JORNeDV6CIQmFp"}],"size":3399},"_npmUser":{"name":"anonymous","email":"dotan@the-guild.dev"},"directories":{},"maintainers":[{"name":"anonymous","email":"dotan@the-guild.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/instrumentation_0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908_1741271803602_0.4048082997359024"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-06T14:36:43.838Z","publish_time":1741271803838,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"@envelop/instrumentation","version":"1.0.0","sideEffects":false,"dependencies":{"@whatwg-node/promise-helpers":"^1.2.1","tslib":"^2.5.0"},"repository":{"type":"git","url":"git+https://github.com/n1ru4l/envelop.git","directory":"packages/instrumentation"},"author":{"name":"Valentin Cocaud","email":"v.cocaud@gmail.com"},"license":"MIT","engines":{"node":">=18.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./*":{"require":{"types":"./typings/*.d.cts","default":"./cjs/*.js"},"import":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"default":{"types":"./typings/*.d.ts","default":"./esm/*.js"}},"./package.json":"./package.json"},"_id":"@envelop/instrumentation@1.0.0","readmeFilename":"README.md","description":"This package contains utility functions and types to ease the use of instrumentation accross Envelop, Yoga, whatwg-node and Hive Gateway plugins.","bugs":{"url":"https://github.com/n1ru4l/envelop/issues"},"homepage":"https://github.com/n1ru4l/envelop#readme","_integrity":"sha512-cxgkB66RQB95H3X27jlnxCRNTmPuSTgmBAq6/4n2Dtv4hsk4yz8FadA1ggmd0uZzvKqWD6CR+WFgTjhDqg7eyw==","_resolved":"/tmp/7e39df23eff0c357bfd8106c3752f03f/envelop-instrumentation-1.0.0.tgz","_from":"file:envelop-instrumentation-1.0.0.tgz","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-cxgkB66RQB95H3X27jlnxCRNTmPuSTgmBAq6/4n2Dtv4hsk4yz8FadA1ggmd0uZzvKqWD6CR+WFgTjhDqg7eyw==","shasum":"43268392e065d8ba975cacbdf4fc297dfe3e11e5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@envelop/instrumentation/-/instrumentation-1.0.0.tgz","fileCount":12,"unpackedSize":14969,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICkgZx857N9CqwuI76SRBuCdfn737uTvPpWE8PYycndpAiAJzbeuSW+7OfdnQGsHsGYYeAiENtLn+OTHZwqz9HlVsg=="}],"size":3342},"_npmUser":{"name":"anonymous","email":"dotan@the-guild.dev"},"directories":{},"maintainers":[{"name":"anonymous","email":"dotan@the-guild.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/instrumentation_1.0.0_1741272169368_0.4005151469232322"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-06T14:42:49.532Z","publish_time":1741272169532,"_source_registry_name":"default","contributors":[]},"1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a":{"name":"@envelop/instrumentation","version":"1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a","author":{"name":"Valentin Cocaud","email":"v.cocaud@gmail.com"},"license":"MIT","_id":"@envelop/instrumentation@1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a","maintainers":[{"name":"anonymous","email":"dotan@the-guild.dev"}],"homepage":"https://github.com/n1ru4l/envelop#readme","bugs":{"url":"https://github.com/n1ru4l/envelop/issues"},"dist":{"shasum":"a3406a685e78fc36a1d140f4ed9636d5601189f7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@envelop/instrumentation/-/instrumentation-1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a.tgz","fileCount":12,"integrity":"sha512-rTKXDpJvFFfi3EuInSNiwBgJWvrw7JMaPZ8uLytZ7x6714FpCVvi6AmecIl7v+GUb5/+c1cA3LP/pRMruDFRYg==","signatures":[{"sig":"MEUCIC2veNJwALzmc72ZexYLsGMatlD4iBdkCMieDgADbdBCAiEAkAiXbZQrJliOY0WDUNoi7rdE5bHAMpL3lWM7KUdGRbc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15031,"size":3398},"main":"cjs/index.js","type":"module","_from":"file:envelop-instrumentation-1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a.tgz","module":"esm/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"}},"./*":{"import":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"default":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"require":{"types":"./typings/*.d.cts","default":"./cjs/*.js"}},"./package.json":"./package.json"},"typings":"typings/index.d.ts","_npmUser":{"name":"anonymous","email":"dotan@the-guild.dev"},"_resolved":"/tmp/bdc75afa31fd8e1605ff5f730ca2f953/envelop-instrumentation-1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a.tgz","_integrity":"sha512-rTKXDpJvFFfi3EuInSNiwBgJWvrw7JMaPZ8uLytZ7x6714FpCVvi6AmecIl7v+GUb5/+c1cA3LP/pRMruDFRYg==","repository":{"url":"git+https://github.com/n1ru4l/envelop.git","type":"git","directory":"packages/instrumentation"},"typescript":{"definition":"typings/index.d.ts"},"_npmVersion":"10.8.2","description":"This package contains utility functions and types to ease the use of instrumentation accross Envelop, Yoga, whatwg-node and Hive Gateway plugins.","directories":{},"sideEffects":false,"_nodeVersion":"20.18.3","dependencies":{"tslib":"^2.5.0","@whatwg-node/promise-helpers":"^1.2.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/instrumentation_1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a_1741274619940_0.7311062322764927","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-03-06T15:23:40.150Z","publish_time":1741274620150,"_source_registry_name":"default","contributors":[]},"1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3":{"name":"@envelop/instrumentation","version":"1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3","sideEffects":false,"dependencies":{"@whatwg-node/promise-helpers":"^1.2.1","tslib":"^2.5.0"},"repository":{"type":"git","url":"git+https://github.com/n1ru4l/envelop.git","directory":"packages/instrumentation"},"author":{"name":"Valentin Cocaud","email":"v.cocaud@gmail.com"},"license":"MIT","engines":{"node":">=18.0.0"},"main":"cjs/index.js","module":"esm/index.js","typings":"typings/index.d.ts","typescript":{"definition":"typings/index.d.ts"},"type":"module","exports":{".":{"require":{"types":"./typings/index.d.cts","default":"./cjs/index.js"},"import":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"}},"./*":{"require":{"types":"./typings/*.d.cts","default":"./cjs/*.js"},"import":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"default":{"types":"./typings/*.d.ts","default":"./esm/*.js"}},"./package.json":"./package.json"},"_id":"@envelop/instrumentation@1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3","readmeFilename":"README.md","description":"This package contains utility functions and types to ease the use of instrumentation accross Envelop, Yoga, whatwg-node and Hive Gateway plugins.","bugs":{"url":"https://github.com/n1ru4l/envelop/issues"},"homepage":"https://github.com/n1ru4l/envelop#readme","_integrity":"sha512-67NS0k0btgWhksICoufqZGbDPRjpUx2xn1Ac0B72/h4bXZTm2PjuBH92W3pdXfN3dkl6wDd0ps/Adbarqo7iQQ==","_resolved":"/tmp/597c889c233c55df30325e45698d9e1c/envelop-instrumentation-1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3.tgz","_from":"file:envelop-instrumentation-1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3.tgz","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-67NS0k0btgWhksICoufqZGbDPRjpUx2xn1Ac0B72/h4bXZTm2PjuBH92W3pdXfN3dkl6wDd0ps/Adbarqo7iQQ==","shasum":"a72974796f95036ba8b97e3fac8d4effad51856f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@envelop/instrumentation/-/instrumentation-1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3.tgz","fileCount":12,"unpackedSize":15028,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHgM1uOSk2/ufjr1Yu6hNdgYFCgbEwdgZHnF5Ripfr7PAiEAmgnnXWo3EdysiVoTpCApyefdghPBc/jm/zJArMm509c="}],"size":3395},"_npmUser":{"name":"anonymous","email":"dotan@the-guild.dev"},"directories":{},"maintainers":[{"name":"anonymous","email":"dotan@the-guild.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/instrumentation_1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3_1741274833374_0.2784123539594714"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-06T15:27:13.539Z","publish_time":1741274833539,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"alpha":"1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a","latest":"1.0.0","rc":"1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3"},"name":"@envelop/instrumentation","time":{"created":"2025-03-06T14:38:23.559Z","modified":"2026-01-20T17:59:21.992Z","0.0.1-alpha-20250306143613-6c65ce45b6427a19190a3ccf4795017190b7d908":"2025-03-06T14:36:43.838Z","1.0.0":"2025-03-06T14:42:49.532Z","1.0.0-alpha-20250306152310-8604b473d8a2cc9a1cc95d8d4bb0ddcfdc08a49a":"2025-03-06T15:23:40.150Z","1.0.0-rc-20250306152642-f02839d206a88fa8ebab104fec74f8eca1874bc3":"2025-03-06T15:27:13.539Z"},"readme":"## `@envelop/instrumentation`\n\nThis package contains utility functions and types to ease the use of instrumentation accross\nEnvelop, Yoga, whatwg-node and Hive Gateway plugins.\n\n> [!NOTE] Instrumentation are automatically composed together. This should only be used if the\n> default ordering doesn't suit your needs (ie. instrumentation and hooks should be executed in\n> different order)\n\n## `composeInstrumentation(instrumentation: Instrumentation[]): Instrumentation`\n\nThis function composes all the instrumentation into one. The instrumentation will be called in the\nsame order as they are in the array (from top to bottom).\n\n```ts\nimport { composeInstrumentation } from '@envelop/instrumentation'\n\n// Extract instrumentation to compose from their plugins\nconst { instrumentation: instrumentation1, ...plugin1 } = usePlugin1()\nconst { instrumentation: instrumentation2, ...plugin2 } = usePlugin2()\n\nconst getEnveloped = envelop({\n  plugins: [\n    plugin1,\n    plugin2,\n    // Plugin instrumentation and plugin hooks will be executed in a different order\n    { instrumentation: composeInstrumentation([instrumentation1, instrumentation2]) }\n  ]\n})\n```","users":{}}