{"_id":"@affelios/platform-connect","_rev":"15-424be3d31b779768727a7b244ad55116","name":"@affelios/platform-connect","dist-tags":{"latest":"0.0.0-alpha.10"},"versions":{"0.0.0-alpha.2":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.2","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.2","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"205160a6523cf81228d84222a0d4adb36d7c72f9","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-NeudnjbAG38O6usURXuA5U3QaGBMsewyR7teusk2oo4q08XmoxlM5vuUvPrh1sUMVuY04ry1pUdgnMXPd4/MWw==","signatures":[{"sig":"MEUCIEs0Wilahj1o2OHsPUyrsLrgwSXIFSFxAD9fcSSJVftPAiEA+/CkzrZH2CL1g9ELZjaD0STFIHDewobFF8Etd7oBphg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":235795},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"b89780d45aa02399d9e2feb38e6534b7ec9bb630","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.2.4","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.6.5","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.2_1709808195065_0.7088484204405618","host":"s3://npm-registry-packages"}},"0.0.0-alpha.3":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.3","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.3","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"8423967259cd8979bad8f4a93bc8f19b5ebab1f2","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-fMlZWvdf12WN9yBGfcmMOGXPb3Jysf37B7SxGNwDvNLRM3uO6o3irdOhYY3tigc6rB2OyCRLEnXTA+6Hk0koZw==","signatures":[{"sig":"MEUCIQDRWim9m9F709POUzgKF3W4qdsSN4O72uPpLUlB+8oxnwIgSk0fg1MXgojXOU19RVtdb/I8spb7TSoKpaMlv434QNQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":237905},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"40eb8f2ea539e24be11c2e00473900288d45f2a7","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.2.4","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.6.5","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.3_1711104373497_0.6119359393676029","host":"s3://npm-registry-packages"}},"0.0.0-alpha.4":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.4","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.4","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"53966330c81fdaf1449c801a99afa55807f74d4f","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.4.tgz","fileCount":8,"integrity":"sha512-+J4tTXGfBJ2sbcuQkH1R0doPAmvcqw7c7gE5ibfa2xhLkjiLqhagmNQPE4KmKHhZVOL5ODcYES/2aE5LEc45kw==","signatures":[{"sig":"MEQCIAGcN7Ft6haDVo3XuOqWdJZ/qiQjps/rUUvnOsk0k0eMAiBnlGY+3oMyCp9hngbe5XeN5LsNPlPVX91MVYjMBB7K8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":237322},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"25195ecc658f955bb6336a1d8111207dd0856011","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.2.4","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.6.5","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.4_1711106835548_0.21671491641211582","host":"s3://npm-registry-packages"}},"0.0.0-alpha.5":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.5","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.5","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"15ad1b474e07f22e31d35e5b85b983dc142a2ca0","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.5.tgz","fileCount":8,"integrity":"sha512-B/qlri4WQuRp1EsMNQchW89PTZH9RfbNQ9fL8s/WrNtoscmX5RFPKNUF8TgcXnbK0yPZCADlnDYejVHFj++5AQ==","signatures":[{"sig":"MEQCIHRtCLC5lRTnRfeUAzmoHIJXy41VBA/YOLog63Xd0XhxAiAQMLxvQkoBNs/YnGB4XB/17bbnzd7dKF/VaShceG6Mgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238880},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"1ce0a9af8e4c959507e6c06f1477710b356fef4f","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.2.4","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.6.5","nanoid":"^5.0.6","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.5_1711382582373_0.023332205771004144","host":"s3://npm-registry-packages"}},"0.0.0-alpha.6":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.6","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.6","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"c0d4abb6b0e70709b7c4048c0247ba8375bf3527","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.6.tgz","fileCount":8,"integrity":"sha512-lTN+EpYEEom3WDRi62iESp3nEK/SuGlsnIYnwQvYJcZ14Dardg+hICySX267+7j7YHtrnW31iGGYKYir/xutUw==","signatures":[{"sig":"MEQCICSxP09/LRR2fmncnawpOyVkXcI2CmzynpIO4b1OnIc3AiAHX0DgDP2pqVs8iPMZFZZW6avxcIied4OnsVsoZDG0UQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":245773},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"a93a317d69b4facc529dc9b45a39e2cefe4949b7","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.7.0","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.15.1","dependencies":{"axios":"^1.6.5","nanoid":"^5.0.6","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.6_1722002009072_0.9743542973172561","host":"s3://npm-registry-packages"}},"0.0.0-alpha.7":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.7","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.7","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"2208ad49b4656838b5036b0dbf06df3c561b119a","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.7.tgz","fileCount":8,"integrity":"sha512-oE5bybbUZHLjBFigHSKCZzqkHIEPZDt5/JWVBtPoowEdDPeegWccwKylXlGkYI6zCz+10SxUqApUGnuSKTj0Hw==","signatures":[{"sig":"MEYCIQCS/Y4wM1upHT6FJq8+QQLKz2xZMORpEf+rjFgElmA6SgIhAJU4qLHb1kJgT0DhNE4+jicDGjXyirWPszzFi41Ul88J","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":245911},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"fa8ad4044ec69937eafc7065a1e30beef545c9a4","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.7.0","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.15.1","dependencies":{"axios":"^1.6.5","nanoid":"^5.0.6","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.7_1722007324521_0.8061792103972689","host":"s3://npm-registry-packages"}},"0.0.0-alpha.8":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.8","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.8","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"17395a898e7199871b5b08be8c80e19b972f88a6","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.8.tgz","fileCount":8,"integrity":"sha512-+UIincOhuJspndGPzYeAdI3zJ7N52GxVbEiMNl3RaXJPWoiV6ddT5H/C7FjiUuF3gPiEmePg487lY5doR8rEAA==","signatures":[{"sig":"MEQCIHk5I6PLkd4IBWH0WBVAnD4JssJdKKVcDxdZnqNkNGBPAiBlhiKRjlCtHVBRmvwVZFlMCvNC30+vvMPrg5Bd3ZTIHQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":245979},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"7eefae86af0a892f72557c4a11145647e39f46ee","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.7.0","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.15.1","dependencies":{"axios":"^1.6.5","nanoid":"^5.0.6","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.8_1722252280036_0.2616844986331759","host":"s3://npm-registry-packages"}},"0.0.0-alpha.9":{"name":"@affelios/platform-connect","version":"0.0.0-alpha.9","keywords":["affelios","affelios-connect"],"license":"LGPL-2.1-or-later","_id":"@affelios/platform-connect@0.0.0-alpha.9","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"}],"homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"dist":{"shasum":"431c8a868913e3132c97f40c69e40e0b9cd28e30","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.9.tgz","fileCount":8,"integrity":"sha512-PIpTncJQtn8xAlBtP0I3NLRa7XnwQjp1emxaNdrHmaMtT77Z3sMHnrnwIgE0EPwn4fn7cfz4QHhUjtjwJ5g5LA==","signatures":[{"sig":"MEUCIAjJeyuoOU/dleH9udOI7OdbqOLVeww5RvDEBNYkFKCYAiEAxcNpkwjrIomY7eCQGYat5Ds+qkgm9HHKcNmXgtGzTKI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":244167},"main":"./dist/platform-connect.cjs","type":"module","types":"./dist/platform-connect.d.ts","module":"./dist/platform-connect.js","engines":{"node":">=20"},"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"gitHead":"b1fa41cb09b8a1e28f09b81b3325e63532e255bf","private":false,"scripts":{"dev":"vite","lint":"eslint . --fix","test":"vitest --run","build":"tsc && vite build","prepare":"husky install","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","prebuild":"npm run generate:swagger && npm run generate:api","test:watch":"vitest","generate:api":"npx swagger-typescript-api -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","test:coverage":"vitest --coverage","generate:swagger":"node --env-file=.env swagger.js"},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"repository":{"url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git","type":"git"},"_npmVersion":"10.7.0","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","directories":{},"lint-staged":{"*.ts":"pnpm run lint"},"_nodeVersion":"20.15.1","dependencies":{"axios":"^1.6.5","nanoid":"^5.0.6","cookiejs":"^2.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^5.0.12","husky":"^8.0.3","eslint":"^8.56.0","vitest":"^1.2.1","camelcase":"^8.0.0","typescript":"^5.3.3","@types/node":"^20.11.5","changelogen":"^0.5.5","lint-staged":"^15.2.0","@commitlint/cli":"^18.4.4","vite-plugin-dts":"^3.7.1","@vitest/coverage-v8":"^1.2.1","@antfu/eslint-config":"^2.6.3","swagger-typescript-api":"^13.0.3","@commitlint/config-conventional":"^18.4.4"},"_npmOperationalInternal":{"tmp":"tmp/platform-connect_0.0.0-alpha.9_1722521888017_0.8262547954274431","host":"s3://npm-registry-packages"}},"0.0.0-alpha.10":{"name":"@affelios/platform-connect","type":"module","version":"0.0.0-alpha.10","private":false,"license":"LGPL-2.1-or-later","repository":{"type":"git","url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git"},"bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"keywords":["affelios","affelios-connect"],"exports":{".":{"import":"./dist/platform-connect.js","require":"./dist/platform-connect.cjs"}},"main":"./dist/platform-connect.cjs","module":"./dist/platform-connect.js","types":"./dist/platform-connect.d.ts","engines":{"node":">=20"},"scripts":{"dev":"vite","generate:swagger":"node --env-file=.env swagger.js","generate:api":"npx swagger-typescript-api generate -p ./swagger.json -o ./src -n api/platform.ts --axios --unwrap-response-data --api-class-name Platform","prebuild":"npm run generate:swagger && npm run generate:api","build":"tsc && vite build","release":"npm test && npm build && changelogen --release && npm publish && git push --follow-tags","lint":"eslint","lint:fix":"eslint --fix","test":"vitest --run","test:watch":"vitest","test:coverage":"vitest --coverage","prepare":"husky install"},"dependencies":{"axios":"^1.6.5","cookiejs":"^2.1.3","nanoid":"^5.0.6"},"devDependencies":{"@antfu/eslint-config":"^4.17.0","@commitlint/cli":"^19.8.1","@commitlint/config-conventional":"^19.8.1","@types/node":"^24.0.14","@vitest/coverage-v8":"^3.2.4","camelcase":"^8.0.0","changelogen":"^0.6.2","eslint":"^9.10.0","husky":"^9.1.7","lint-staged":"^16.1.2","swagger-typescript-api":"^13.2.7","typescript":"^5.8.3","vite":"^7.0.4","vite-plugin-dts":"^4.5.4","vitest":"^3.2.4"},"lint-staged":{"*.ts":"npm run lint"},"_id":"@affelios/platform-connect@0.0.0-alpha.10","gitHead":"8d24cd1599bf80077e641998ae6b3630679508f4","description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-6nqntlS9Br5QI8xjEidRWkmylxpAeatcocde2wm7rV9wnugGXxD5iZ3Ec3o6osz8TLLhpLa1YDb3cLRtb7+t7A==","shasum":"c2463eb397abddfb1eb7b98d3b3e52085803ce3d","tarball":"https://registry.npmjs.org/@affelios/platform-connect/-/platform-connect-0.0.0-alpha.10.tgz","fileCount":8,"unpackedSize":267746,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDNrHodRHjjihDpz3cRfMXI0y9qBs5HQLUnjs0QqHnKYAiAyNAExdgf0U/nqmZC9FPe5PaeJHWkXDFGmW9u6LQHV7w=="}]},"_npmUser":{"name":"affelioskieron","email":"kieron@affelios.com"},"directories":{},"maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/platform-connect_0.0.0-alpha.10_1752583712375_0.7477600304785506"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-07T10:43:14.973Z","modified":"2025-07-15T12:48:32.820Z","0.0.0-alpha.0":"2024-02-27T13:36:41.775Z","0.0.0-alpha.1":"2024-02-27T22:02:20.485Z","0.0.0-alpha.2":"2024-03-07T10:43:15.199Z","0.0.0-alpha.3":"2024-03-22T10:46:13.662Z","0.0.0-alpha.4":"2024-03-22T11:27:15.696Z","0.0.0-alpha.5":"2024-03-25T16:03:02.555Z","0.0.0-alpha.6":"2024-07-26T13:53:29.202Z","0.0.0-alpha.7":"2024-07-26T15:22:04.706Z","0.0.0-alpha.8":"2024-07-29T11:24:40.210Z","0.0.0-alpha.9":"2024-08-01T14:18:08.228Z","0.0.0-alpha.10":"2025-07-15T12:48:32.565Z"},"bugs":{"url":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript/issues","email":"support@affelios.com"},"license":"LGPL-2.1-or-later","homepage":"https://github.com/Affelios/Affelios-Platform-Connect-JavaScript#readme","keywords":["affelios","affelios-connect"],"repository":{"type":"git","url":"git+https://github.com/Affelios/Affelios-Platform-Connect-JavaScript.git"},"description":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)","maintainers":[{"name":"affeliosroger","email":"roger@affelios.com"},{"name":"affeliosdave","email":"dave@affelios.com"},{"name":"affelioskieron","email":"kieron@affelios.com"}],"readme":"![Affelios Logo](https://cdn.affelios.com/images/assets/affelios-repo-logo.png)\n\n# Affelios-Platform-Connect-JavaScript\n\nThe [Affelios][1] Connect library is used for connecting your brand to the [Affelios][1] platform.\n\n## Get started\n\n### Installation\n\nYou can install this sdk via NPM or directly from our CDN.\n\n#### NPM\n```bash\nnpm install @affelios/platform-connect\n```\n\n### CDN\n\n> [!IMPORTANT]\n> This script tag should be placed within the `<head>` of your HTML document.\n\n```html\n<script src=\"https://js.affelios.com/platform-connect/platform-connect.0.0.0-alpha.10.js\"/>\n```\n\n### Usage\n\n#### Pixel Integration (Insecure)\n\n> [!CAUTION]\n> This method is not secure, this is intended to be used on platforms where a full integration is not possible or the\n> user has no programming experience.\n\n```javascript\nconst affelios = new Affelios.Connect({ operatorId: 'yourOperatorId', brandId: 'yourBrandId' }).pixel;\naffelios.createCustomer({\n    externalId: '123',\n    country_code: 'GB',\n    username: 'SuperCoolUser'\n});\naffelios.createTransaction({\n    externalId: '123',\n    country_code: 'GB',\n    depositAmount: 1.00,\n    grossRevenue: 1.00,\n    externalCustomerId: 'SuperCoolUser',\n    externalProductId: '123'\n});\n// ...\n```\n\n#### Storing click keys (frontend)\n\nIn order for [Affelios][1] to detect the click key and store it within the cookie, you must include the snippet below within your codebase.\n\n```javascript\nconst affelios = new Affelios.Connect().clickHandler;\n```\n\n> [!WARNING]\n> If you are using a query parameter different from `clickKey` then you may want to specify additional options.\n> ```javascript\n> const affelios = new Affelios.Connect({\n>    clickHandler: {\n>        clickKeyQueryParameter: 'yourCustomQueryParameter'\n>    }\n> }).clickHandler;\n> ```\n\n#### Retrieving click keys (backend)\n\n> [!IMPORTANT]\n> This method is the most secure, if you are using this method, you should not use the Pixel integration method, instead\n> you should call the [Affelios API][2] to create the customer and transactions from your backend.\n\nOnce you've integrated the click handler into the front-end, the click key will be available to you via cookies.\nIf you're using [express][3] for example, to access the cookie, you're required to parse this value from the HTTP cookies.\nYou can use a simple package like [cookie-parser][4] to achieve this, below is an example:\n\n```javascript\nimport express from 'express';\nimport cookieParser from 'cookie-parser';\n\nconst app = express();\n\napp.use(cookieParser());\n\napp.post('/user/register', (req, res) => {\n    const clickKey = req.cookies.clickKey; // If you are using a custom cookie name, then you'll want to change `clickKey`\n\n    // Store the click key along with the registration\n});\n```\n\n#### Ad Tracking Integration\n\n> [!WARNING]\n> AdTracking is only enabled if the `adHandler`'s required configuration values are provided.\n\nYou can enable ad tracking in 2 ways, the first method is to create an instance of the script and passing the\n`adHandler`'s configuration values, or alternatively you can declare the `Tracker` configuration before the script\nis referenced. You can do this with the following code snippet below:\n```html\n<script>\n    window.Affelios = {\n        Tracker: {\n            operatorId: '',\n            brandId: '',\n            customDomains: {\n                clickUrl: 'https://track.affapp.io'\n            },\n            defaults: {\n                trackerId: '', // fallback (will attempt to retrieve the trackerId from URL query parameters before falling back)\n                productId: '', // optional (will attempt to retrieve the productId from URL query parameters)\n                mediaId: '', // optional (will attempt to retrieve the mediaId from URL query parameters)\n            },\n            clickKeyQueryParameter: 'gclid', // optional (defaults to clickKey)\n            keywordQueryParameter: 'keyword', // optional override\n            trackerIdQueryParameter: 'cid', // optional override\n            productIdQueryParameter: 'pid', // optional override\n            mediaIdQueryParameter: 'mid', // optional override\n            // optional organic tracking, can forcibly disable by specifying false or providing a trackerId, this will override any defaults set.\n            // organicTracking: false,\n            // organicTracking: {\n            //     trackerId: '',\n            // }\n        }\n    };\n</script>\n<script src=\"https://js.affelios.com/platform-connect/platform-connect.0.0.0-alpha.10.js\"/>\n```\n\n> [!IMPORTANT]\n> AdTracking can be sent manually or configured automatically by passing `affeliosTrack=true`\n> through the URL query parameters. Automatic tracking is only enabled if the `parallelTracking`\n> configuration option is enabled or by passing the `Tracker` configuration before initializing the script.\n\n##### Setup Ad Tracking with Google Tag Manager\n\nIf you're using Google Tag Manager to handle ad tracking, follow the steps below:\n1. Click add new tag and give it a name\n2. Click on tag configuration and click custom HTML tag\n3. Copy and paste the code below\n4. Edit the `Tracker` configuration options for your program.\n5. Save and submit the newly created tag to your site.\n\n```javascript\n<script>\n    (function(d,s){\n        window.Affelios = {\n            Tracker: {\n                operatorId: '',\n                brandId: '',\n                customDomains: {\n                    clickUrl: 'https://track.affapp.io'\n                },\n                defaults: {\n                    trackerId: '', // fallback (will attempt to retrieve the trackerId from URL query parameters before falling back)\n                    productId: '', // optional (will attempt to retrieve the productId from URL query parameters)\n                    mediaId: '', // optional (will attempt to retrieve the mediaId from URL query parameters)\n                },\n                clickKeyQueryParameter: 'gclid', // optional (defaults to clickKey)\n                keywordQueryParameter: 'keyword', // optional override\n                trackerIdQueryParameter: 'cid', // optional override\n                productIdQueryParameter: 'pid', // optional override\n                mediaIdQueryParameter: 'mid', // optional override\n                // optional organic tracking, can forcibly disable by specifying false or providing a trackerId, this will override any defaults set.\n                // organicTracking: false,\n                // organicTracking: {\n                //     trackerId: '',\n                // }\n            }\n        };\n        var e = d.createElement(s),\n        m = d.getElementsByTagName(s)[0];\n        e.async = 1;\n        e.src = \"https://js.affelios.com/platform-connect/platform-connect.0.0.0-alpha.10.js\";\n        m.parentNode.insertBefore(e,m);\n    })(document,'script');\n</script>\n```\n\n### Options\n\n| parameter                            \t                | type          \t | required    | default  \t              | notes                                                                                                                                                                                         \t                                                                                               |\n|-------------------------------------------------------|-------------------|-------------|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| operatorId                           \t                | string          \t | ✅          | \t                       | \t                                                                                                                                                                                                                                                                                             |\n| brandId                              \t                | string          \t | ✅          | \t                       | \t                                                                                                                                                                                                                                                                                             |\n| customDomains.clickUrl                              \t | string          \t | ❌          | https://track.affapp.io | If you wish to use a custom click domain that you have configured in Affelios, you can also set that to be used using this parameter.\t                                                                                                                                                        |\n| clickHandler                         \t                | object \\| false \t | ❌          | \t                       | If you disable the clickHandler, you will have to pass the clickKey value directly through to pixel integration functions. You should avoid disabling this unless you know what you're doing. \t                                                                                               |\n| clickHandler.cookie                  \t                | object          \t | ❌          | \t                       | \t                                                                                                                                                                                                                                                                                             |\n| clickHandler.cookie.name             \t                | string          \t | ❌          | clickKey                | \t                                                                                                                                                                                                                                                                                             |\n| clickHandler.cookie.expirationInDays \t                | number          \t | ❌          | 30                      | \t                                                                                                                                                                                                                                                                                             |\n| clickHandler.clickKeyQueryParameter  \t                | string          \t | ❌          | clickKey                | \t                                                                                                                                                                                                                                                                                             |\n| adHandler                            \t                | object            | ❌          | \t                       | By default, the adHandler is disabled unless it's required values are provided.                                                                                                               \t                                                                                               |\n| adHandler.parallelTracking           \t                | boolean         \t | ❌          | false                   | If you enable this option, tracking data will only be sent if the `affeliosTrack` URL query parameter is set to true.                                                                         \t                                                                                               |\n| adHandler.defaults.trackerId                  \t       | string          \t | ❌          | \t                       | \t                                                                                                                                                                                                                                                                                             |\n| adHandler.defaults.productId                  \t       | string          \t | ❌          | \t                       | \t                                                                                                                                                                                                                                                                                             |\n| adHandler.defaults.mediaId                    \t       | string          \t | ❌          | \t                       | \t                                                                                                                                                                                                                                                                                             |\n| adHandler.clickKeyQueryParameter     \t                | string          \t | ❌          | clickKey                | If this parameter is not passed, then it chooses the default specified under the clickHandler.                                                                                                                                                                                              \t |\n| adHandler.keywordQueryParameter      \t                | string          \t | ❌          | keyword                 | \t                                                                                                                                                                                                                                                                                             |\n| adHandler.trackerIdQueryParameter      \t              | string          \t | ❌          | cid                     | If this value cannot be found via URL query string parameter, it will fall back to using the defaultTrackerId config value.\t                                                                                                                                                                  |\n| adHandler.productIdQueryParameter      \t              | string          \t | ❌          | pid                     | If this value cannot be found via URL query string parameter, it will fall back to using the productId config value if provided.\t                                                                                                                                                             |\n| adHandler.mediaIdQueryParameter      \t                | string          \t | ❌          | mid                     | If this value cannot be found via URL query string parameter, it will fall back to using the mediaId config value if provided.\t                                                                                                                                                               |\n| adHandler.organicTracking                             | boolean | object    | ❌                       | false     | If you wish to enable organic tracking, you can pass it's sub parameters as an object.                                                                                                                                                                                                            |\n| adHandler.organicTracking.organicTrackerId            | string            | ✅          |                         | Specify your organic tracker ID to enable organic tracking.                                                                                                                                                                                                                                   |\n\n## Development\n\n* `dev` - Start the development server\n* `prebuild` - Will download the `swagger.json` file and build the type definitions\n* `build` - Build for production\n* `release` - Generate changelog and npm publish\n* `lint` - Checks your code for any linting errors\n* `test` - Run all tests\n* `test:watch` - Run all tests with watch mode\n* `test:coverage` - Run all tests with code coverage report\n* `prepare` - Script for setting up husky hooks\n\n## Build\n\nTo build the library, run the `npm run build` command.\n\nTo use the library in a browser, you'd need to import the `platform-connect.umd.cjs` script.\n\nIf you're using this in anything other than a browser, then you can use `platform-connect.cjs`.\n\n## License\n\nThis SDK was created under the [LGPL-2.1 license](LICENSE).\n\n[1]: https://affelios.com\n[2]: https://docs.affelios.com/\n[3]: https://expressjs.com/\n[4]: https://www.npmjs.com/package/cookie-parser\n","readmeFilename":"README.md"}