{"_id":"@kameleoon/nodejs-requester","_rev":"3-e7fda89c93dac7e0712146ba6d14159f","name":"@kameleoon/nodejs-requester","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@kameleoon/nodejs-requester","version":"1.0.0","keywords":["kameleoon","nodejs","sdk","nodejs sdk"],"license":"ISC","_id":"@kameleoon/nodejs-requester@1.0.0","homepage":"https://developers.kameleoon.com/nodejs-sdk.html","dist":{"shasum":"e23a7110875b771166f704641d95d005e9003b8f","tarball":"https://registry.npmjs.org/@kameleoon/nodejs-requester/-/nodejs-requester-1.0.0.tgz","fileCount":9,"integrity":"sha512-2OD7kCATTqd7LFLInpjdbx23CpMVnjgEOt2xdghtvFMTNVFOFclqWoIcf52v3GWFh5z5Eblc5ANtWeCw09oGng==","signatures":[{"sig":"MEQCIEEZoKq6lixDv+JTi3YzEwBa5G4iAsCrtmT8ksvwiV41AiAfY39u0iIEhxij9hhKsCbEgji7QxdjxPign4f+Bb/1Ew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5258},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"npm run clean && tsc -w -p tsconfig.watch.json","test":"jest","build":"npm run clean && npm run build:types && npm run build:js","clean":"rimraf dist && rimraf tsconfig.tsbuildinfo","deploy":"/bin/bash ../../scripts/deploy.sh nodejs-requester","symlink":"yarn link","build:js":"babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps true","test:watch":"jest --watch","build:types":"tsc --emitDeclarationOnly","deploy-nexus":"/bin/bash ../../scripts/deploy_nexus.sh nodejs-requester","test:coverage":"jest --coverage"},"_npmUser":{"name":"kameleoon-sdk","email":"sdk@kameleoon.com"},"commitlint":{"extends":"@commitlint/config-conventional"},"description":"Kameleoon NodeJS SDK Requester","directories":{},"licenseText":"Copyright 2023 Kameleoon\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n","dependencies":{"node-fetch":"2.7.0"},"publishConfig":{"cache":"cache/.npm","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","typescript":"^4.4.4","@types/node-fetch":"^2.6.4","jest-environment-node":"^29.5.0"},"peerDependencies":{"@kameleoon/nodejs-sdk":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-requester_1.0.0_1718982749588_0.9018430247275602","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@kameleoon/nodejs-requester","version":"1.2.0","keywords":["kameleoon","nodejs","sdk","nodejs sdk"],"license":"ISC","_id":"@kameleoon/nodejs-requester@1.2.0","maintainers":[{"name":"kameleoon-sdk","email":"sdk@kameleoon.com"},{"name":"vinyutochkin","email":"vinyutochkin@kameleoon.com"},{"name":"mmunhurrun","email":"mmunhurrun@kameleoon.com"}],"homepage":"https://developers.kameleoon.com/nodejs-sdk.html","dist":{"shasum":"18f5372672ab86fbb3163dafc56084a19c4f6816","tarball":"https://registry.npmjs.org/@kameleoon/nodejs-requester/-/nodejs-requester-1.2.0.tgz","fileCount":9,"integrity":"sha512-Fjz6O/liai8ua3FFqTxUOvbvWvUv2At/UU/osq0YD0Oi1vU9hlAm4L0BxNNvlSXx8dABezKSTB4OaBGSiM6xeQ==","signatures":[{"sig":"MEQCIHfvcxDYBuKPecZ3SJ11k6wl6ZXpR94ywI3WMyaJivVYAiAnIALAs7DPZQz5m9S+WAvKqrkACfUkYEUCWnf8wVVk0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5758},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"dev":"npm run clean && tsc -w -p tsconfig.watch.json","test":"jest","build":"npm run clean && npm run build:types && npm run build:js","clean":"rimraf dist && rimraf tsconfig.tsbuildinfo","deploy":"/bin/bash ../../scripts/deploy.sh nodejs-requester","symlink":"yarn link","build:js":"babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps true","test:watch":"jest --watch","build:types":"tsc --emitDeclarationOnly","deploy-nexus":"/bin/bash ../../scripts/deploy_nexus.sh nodejs-requester","test:coverage":"jest --coverage"},"_npmUser":{"name":"kameleoon-sdk","email":"sdk@kameleoon.com"},"commitlint":{"extends":"@commitlint/config-conventional"},"description":"Kameleoon NodeJS SDK Requester","directories":{},"licenseText":"Copyright 2023 Kameleoon\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n","dependencies":{"node-fetch":"2.7.0"},"publishConfig":{"cache":"cache/.npm","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","typescript":"^4.4.4","@types/node-fetch":"^2.6.4","jest-environment-node":"^29.5.0"},"peerDependencies":{"@kameleoon/nodejs-sdk":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nodejs-requester_1.2.0_1727947819157_0.5300141373799572","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@kameleoon/nodejs-requester","version":"1.3.0","description":"Kameleoon NodeJS SDK Requester","main":"dist/nodejs-requester.cjs.min.js","module":"dist/nodejs-requester.es.min.js","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/nodejs-requester.cjs.min.js","import":"./dist/nodejs-requester.es.min.js"}},"types":"dist/index.d.ts","scripts":{"clean":"rimraf dist && rimraf tsconfig.tsbuildinfo","dev":"npm run clean && tsc -w -p tsconfig.watch.json","build":"npm run clean && npm run build:types && npm run build:bundle","build:test":"npm run clean && npm run build:js-source-maps","build:types":"tsc --emitDeclarationOnly","build:bundle":"rollup -c","build:js":"babel src --out-dir dist --extensions \".ts,.tsx\"","build:js-source-maps":"babel src --out-dir dist --extensions \".ts,.tsx\" --source-maps true","deploy":"/bin/bash ../../scripts/deploy.sh nodejs-requester","deploy-nexus":"/bin/bash ../../scripts/deploy_nexus.sh nodejs-requester","symlink":"yarn link","test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","lint":"eslint -c ../../eslint.config.js 'dist/**/*.js'","madge":"madge -c ./dist"},"homepage":"https://developers.kameleoon.com/nodejs-sdk.html","publishConfig":{"access":"public","cache":"cache/.npm"},"keywords":["kameleoon","nodejs","sdk","nodejs sdk"],"license":"ISC","dependencies":{"node-fetch":"2.7.0"},"devDependencies":{"@types/node-fetch":"^2.6.4","jest":"^29.5.0","jest-environment-node":"^29.5.0","rimraf":"^3.0.2","ts-jest":"^29.0.5","typescript":"^4.4.4"},"commitlint":{"extends":"@commitlint/config-conventional"},"licenseText":"Copyright 2023 Kameleoon\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n","_id":"@kameleoon/nodejs-requester@1.3.0","dist":{"shasum":"313383979e5ffd8aafa69be131bf18d9647e2bf5","integrity":"sha512-Sd+cKNY0noi5Y/6bzqCd42AZXnAvnwEK+UcwweffGMBlbzIRADrsC42m9pgHmnBaya6S8WCpPVfEMgYEX2F9Ww==","tarball":"https://registry.npmjs.org/@kameleoon/nodejs-requester/-/nodejs-requester-1.3.0.tgz","fileCount":11,"unpackedSize":49611,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBuO3wjmi293v9o1IHK3u6N9U8koWlmaoGvZKR06Zb7MAiEAo0tvdK6fQT3ZYOM4TYX1ETGgel22ugYOXSUr3W/AWF8="}]},"_npmUser":{"name":"kameleoon-sdk","email":"sdk@kameleoon.com"},"directories":{},"maintainers":[{"name":"mmunhurrun","email":"mmunhurrun@kameleoon.com"},{"name":"vinyutochkin","email":"vinyutochkin@kameleoon.com"},{"name":"kameleoon-sdk","email":"sdk@kameleoon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nodejs-requester_1.3.0_1775019554627_0.08275571401109039"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-21T15:12:29.494Z","modified":"2026-04-01T04:59:14.970Z","1.0.0":"2024-06-21T15:12:29.718Z","1.2.0":"2024-10-03T09:30:19.315Z","1.3.0":"2026-04-01T04:59:14.780Z"},"license":"ISC","homepage":"https://developers.kameleoon.com/nodejs-sdk.html","keywords":["kameleoon","nodejs","sdk","nodejs sdk"],"description":"Kameleoon NodeJS SDK Requester","maintainers":[{"name":"mmunhurrun","email":"mmunhurrun@kameleoon.com"},{"name":"vinyutochkin","email":"vinyutochkin@kameleoon.com"},{"name":"kameleoon-sdk","email":"sdk@kameleoon.com"}],"readme":"# Kameleoon NodeJS SDK Event Source\n\n## Introduction\n\nKameleoon NodeJS SDK Requester is a small helper package which provides default implementation for Kameleoon NodeJS SDK external Requester built on top of NodeJS `node-fetch` library.\n\nFor more information refer to [Official Kameleoon Documentation](https://developers.kameleoon.com/nodejs-sdk.html)\n\n## Contents\n\n- [Installation](#installation)\n- [Configuration](#configuration)\n\n## Installation\n\n- **npm** - `npm install @kameleoon/nodejs-requester`\n- **yarn** - `yarn add @kameleoon/nodejs-requester`\n- **pnpm** - `pnpm add @kameleoon/nodejs-requester`\n- **bun** - `bun install @kameleoon/nodejs-requester`\n\n## Configuration\n\nWhile using `@kameleoon/nodejs-sdk`:\n\n- Import `KameleoonRequester`\n- Instantiate and pass it to external SDK dependencies\n\n```ts\nimport { KameleoonClient } from '@kameleoon/nodejs-sdk';\nimport { KameleoonRequester } from '@kameleoon/nodejs-requester';\n\nconst client = new KameleoonClient({\n  siteCode: 'my_site_code',\n  credentials: {\n    clientId: 'my_id',\n    clientSecret: 'my_secret',\n  },\n  externals: {\n    requester: new KameleoonRequester(),\n  },\n});\n```\n","readmeFilename":"README.md"}