{"_id":"@affixapi/connect-sdk","_rev":"11-66c817db9036ec773f57f146fd710a36","name":"@affixapi/connect-sdk","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.5":{"name":"@affixapi/connect-sdk","version":"1.0.5","_id":"@affixapi/connect-sdk@1.0.5","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"c4565b1d4220fb854b5b5402bbfc35c9a8b53536","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.5.tgz","fileCount":49,"integrity":"sha512-0DjGEjcRHkX1STRyyTe3FA0DA11tZHECtVmcr5YPlVSDA/o1k9YnxV69plVsFBLQMGpNFf/9AL73mvZTFiE7TA==","signatures":[{"sig":"MEYCIQC1pN7SSa47xTvTeXgw2F8dbg8it6oQ5Fo6llNmlToeiwIhALd1YeGzU5903ByO7rTD2JgijgTW4ueAbAQiSEnKs/zg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":234413},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"1a8eb6fbcffebc6c88859facf9cce81b0334e4bd","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"9.5.1","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.1.0","tslib":"2.4.0","dts-cli":"2.0.3","depcheck":"1.4.3","react-dom":"18.1.0","typescript":"5.1.6","@pay-api/api":"1.0.371","@types/react":"18.0.12","@commitlint/cli":"16.2.4","@types/react-dom":"18.0.5","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.27.5","@tsconfig/recommended":"1.0.1","@testing-library/react":"13.3.0","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"5.59.11","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"1.0.2","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"5.59.11","eslint-import-resolver-typescript":"3.5.5"},"peerDependencies":{"react":">=16","@pay-api/api":"^1.0.371"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.5_1691203135232_0.30812566512818895","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.6":{"name":"@affixapi/connect-sdk","version":"1.0.6","_id":"@affixapi/connect-sdk@1.0.6","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"c700ebb9d5be72ddebd7dfda4f5be0b2d4258622","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.6.tgz","fileCount":48,"integrity":"sha512-gGfJ+lxjXKp4235jToBUkZqKt9ilYTDzOYNfWrf1+cq4NEiSImX5u9aZkOsSX6zG4XnUHyUnP8mzaBh5jfiFHw==","signatures":[{"sig":"MEQCIGXgW+NAeWdvFHDUguG+wgrr7PRAfM/WkiUX62tXkx/UAiAzXng74mDUBkRgo4jXIr7X0E+ufaopQn42pX9bBYTbVg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":231345},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"0cbd8c0c7a262230b0f3f14dba17a8ff0db1be63","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"9.5.1","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.1.0","tslib":"2.6.2","dts-cli":"2.0.3","depcheck":"1.4.3","react-dom":"18.1.0","typescript":"5.1.6","@types/react":"18.0.12","@affixapi/api":"1.0.409","@commitlint/cli":"16.2.4","@types/react-dom":"18.0.5","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.27.5","@tsconfig/recommended":"1.0.2","@testing-library/react":"13.3.0","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"5.59.11","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"1.0.2","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"5.59.11","eslint-import-resolver-typescript":"3.5.5"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.0.409"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.6_1694620655578_0.33463715708045605","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"@affixapi/connect-sdk","version":"1.0.0","_id":"@affixapi/connect-sdk@1.0.0","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"7d6934ae82d1ec2fb3b9546923957bdb325157f6","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.0.tgz","fileCount":47,"integrity":"sha512-CJsPgzu1ollXYPV9L+IbdlwAi2A/GuhMpUzJZR1D1uj8cENJQH3Xn0B4kyqc+hW4s84H5ZCFkSN+fzFnJkYgGQ==","signatures":[{"sig":"MEUCIQCGflvL6Blt+h+NLwJS89gOR+aa2ASSz/uGTQdAr9KYdgIgXJSNG+lPI8+YWon1XjnUU/V2dnmBEM/Q7LDV9R9YBXY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":234523},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"75dfa94ea438303ce1395ebd24f190036d42dc6f","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"9.5.1","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.2.0","tslib":"2.6.2","dts-cli":"2.0.3","depcheck":"1.4.7","react-dom":"18.2.0","typescript":"5.3.3","@types/react":"18.2.45","@affixapi/api":"1.1.1","@commitlint/cli":"16.2.4","@types/react-dom":"18.2.18","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.29.1","@tsconfig/recommended":"1.0.3","@testing-library/react":"14.1.2","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.0.1","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"6.14.0","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.1","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"6.14.0","eslint-import-resolver-typescript":"3.6.1"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.0_1702919555532_0.8574341227345137","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"@affixapi/connect-sdk","version":"1.0.1","_id":"@affixapi/connect-sdk@1.0.1","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"b3a8d170dbc767ece8b0431d3a2eaed2d85d2307","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.1.tgz","fileCount":47,"integrity":"sha512-X1Jig03lak1K+k4ITNtHMoCL1Z97ECm/ykByX+r+9H7zQOV+ITfXuQY+Xkv58TIPnPii4yJaO7vdGtdXFVfVsA==","signatures":[{"sig":"MEYCIQCz/637yByWMCtf5tJpjhEuFgxCcTB+Hp440XexBmYCNQIhANi7m68sV7pLc3rLPvNBG+PF1HY2IahnD0zM8mrBoxhH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":238150},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"9c426fac67a41dacef03566230831c36ac1a0d3a","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.2.3","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"20.10.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.2.0","tslib":"2.6.2","dts-cli":"2.0.4","depcheck":"1.4.7","react-dom":"18.2.0","typescript":"5.3.3","@types/react":"18.2.47","@affixapi/api":"1.1.11","@commitlint/cli":"16.2.4","@types/react-dom":"18.2.18","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.29.1","@tsconfig/recommended":"1.0.3","@testing-library/react":"14.1.2","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"6.18.1","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.2","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"6.18.1","eslint-import-resolver-typescript":"3.6.1"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.1_1705665195541_0.664641450482558","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"@affixapi/connect-sdk","version":"1.0.2","_id":"@affixapi/connect-sdk@1.0.2","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"c8cf6bcf081e84f1eabc8c262cc3b80cc4eea6b9","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.2.tgz","fileCount":47,"integrity":"sha512-JSctZ8TIDWCl4DxdOs5vddl4JuTLBg0b6rCREWp1tGUlpw2TXZ0sCYcBbea4Em6cg0SMzcX4JNFmo2kwYb+C6g==","signatures":[{"sig":"MEQCIAyvPD+RIpeJuapokQywTScmz0gXS6uZLr4ldAP60FGZAiBTSwHMbWDB2GpWx18jVXOoG61JjAhPcyYJWo56pG2QPw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":244192},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"d9f2b24297ce0affcfba8b1e7c1559d855d786df","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.2.4","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"20.11.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.2.0","tslib":"2.6.2","dts-cli":"2.0.4","depcheck":"1.4.7","react-dom":"18.2.0","typescript":"5.3.3","@types/react":"18.2.48","@affixapi/api":"1.1.17","@commitlint/cli":"16.2.4","@types/react-dom":"18.2.18","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.29.1","@tsconfig/recommended":"1.0.3","@testing-library/react":"14.1.2","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"6.19.1","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.2","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"6.19.1","eslint-import-resolver-typescript":"3.6.1"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.2_1707007785723_0.6847564891445674","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.3":{"name":"@affixapi/connect-sdk","version":"1.0.3","_id":"@affixapi/connect-sdk@1.0.3","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"fe21aa1344c455f445c9c3869a2544595b9c893b","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.3.tgz","fileCount":47,"integrity":"sha512-FElxQ80ME4G63IPUefMxDjfk1FcAuaLrVife7qX8MD8rHGYAzx/KqFc++svGltQ6n2xpD5uGJL7VB1rFvGtEGg==","signatures":[{"sig":"MEUCIQDMut1mvbPU5w1ndgRjYQBnPbPoz+HNinYNYaxZCTJdowIgM/vfJPuqFNozNZoUClRNDEbXhV8BcQF59S27aAcmrFQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":253370},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"c745974c17ca13733887e1c1e301cfc2828018cf","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.5.0","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"20.12.2","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.2.0","tslib":"2.6.2","dts-cli":"2.0.4","depcheck":"1.4.7","react-dom":"18.2.0","typescript":"5.4.5","@types/react":"18.2.78","@affixapi/api":"npm:@affixapi/api-no-joi@1.1.60","@commitlint/cli":"16.2.4","@types/react-dom":"18.2.25","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.29.1","@tsconfig/recommended":"1.0.4","@testing-library/react":"15.0.2","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"7.6.0","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.4","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"7.6.0","eslint-import-resolver-typescript":"3.6.1"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.3_1713569467896_0.9024870429259573","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.4":{"name":"@affixapi/connect-sdk","version":"1.0.4","_id":"@affixapi/connect-sdk@1.0.4","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"ff8d06941492f9d6c688e4b01ce4570459706261","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.4.tgz","fileCount":47,"integrity":"sha512-toIuaUD63/+wQfoei83FxEZY8vFRG66DKK4scxAYkbWEQSruL2D9YAjbS5YqF/KBJnQv995jhk6WzXJljXpyZA==","signatures":[{"sig":"MEYCIQDk15AsitAormBa9Q8a37koQ4V5hrJMT/mg9ptoaRVN5AIhAM5tRv2X6fbdh0o3ZVv14lFRD/DZFEMs7U9ghlxqmAut","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":258042},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"d005b82a485ecd90b62bec1fcc6b42a28c74cd4d","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.5.2","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"20.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.3.1","tslib":"2.6.2","dts-cli":"2.0.5","depcheck":"1.4.7","react-dom":"18.3.1","typescript":"5.4.5","@types/react":"18.3.2","@affixapi/api":"npm:@affixapi/api-no-joi@1.1.78","@commitlint/cli":"19.2.2","@types/react-dom":"18.3.0","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.29.1","@tsconfig/recommended":"1.0.6","@testing-library/react":"15.0.7","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"7.9.0","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.4","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"7.9.0","eslint-import-resolver-typescript":"3.6.1"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.4_1716417108042_0.925709061085032","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.7":{"name":"@affixapi/connect-sdk","version":"1.0.7","_id":"@affixapi/connect-sdk@1.0.7","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"70dd68e40ec3a9451369894fca91f78edbcf0441","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.7.tgz","fileCount":47,"integrity":"sha512-4Iw0YINDHMMdT38KMrGFdKAJY9ACB4XGDVSCmcRBPkVqcmwxsHpribt/9FITPWXbet6XJsljgCsnmtmKfxlaNA==","signatures":[{"sig":"MEUCIQDREAxweo/D5gtfe0V0UKNun82AYdDi1X0Ry4PWw49YxgIgFwEXAFyEq2uvKfv1TrQ3wShGxJx4ebJODJrev0RsBU0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":258654},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"d6d0fd69d4d4dfe4de7a11e9a9cfc4fad026dd62","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.5.2","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"20.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.3.1","tslib":"2.6.2","dts-cli":"2.0.5","depcheck":"1.4.7","react-dom":"18.3.1","typescript":"5.4.5","@types/react":"18.3.2","@affixapi/api":"npm:@affixapi/api-no-joi@1.1.78","@commitlint/cli":"19.2.2","@types/react-dom":"18.3.0","eslint-plugin-node":"11.1.0","eslint-plugin-import":"2.29.1","@tsconfig/recommended":"1.0.6","@testing-library/react":"15.0.7","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.1.3","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"7.9.0","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.4","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"7.9.0","eslint-import-resolver-typescript":"3.6.1"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.7_1716418076707_0.653191735783937","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.8":{"name":"@affixapi/connect-sdk","version":"1.0.8","_id":"@affixapi/connect-sdk@1.0.8","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"c92299a06ea9d54dee51a9eec3455a41ef17cbe1","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.8.tgz","fileCount":47,"integrity":"sha512-P5U2a42/Sfh+8w04EcdcD726UUgMPMdUORd86cC7G0yOTSNwL7XAN6bOKKj/cliN1JBZRNWf3RQ1iP+l5FteUg==","signatures":[{"sig":"MEUCIFUU8hurKtGTadbTvnHomyxARiqSG712VhjTm/YvhZyeAiEAodXMOmxctNBtb1Y2W12mWGQf/Czu68b+7xPghm6B84I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":285601},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"442759a908e37eeb3f2f3f96907e344dc4b55c5d","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.8.2","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"20.17.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.3.1","tslib":"2.7.0","dts-cli":"2.0.5","depcheck":"1.4.7","react-dom":"18.3.1","typescript":"5.6.3","@types/react":"18.3.11","@affixapi/api":"npm:@affixapi/api-no-joi@1.1.78","@commitlint/cli":"19.2.2","@types/react-dom":"18.3.1","eslint-plugin-import":"2.31.0","@tsconfig/recommended":"1.0.7","@testing-library/react":"16.0.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.2.1","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"7.17.0","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.5","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"7.17.0","eslint-import-resolver-typescript":"3.6.3"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.8_1728956999864_0.3992781634364253","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.9":{"name":"@affixapi/connect-sdk","version":"1.0.9","_id":"@affixapi/connect-sdk@1.0.9","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"dist":{"shasum":"bc8a6e9bd6c7bafa8b49509dc335770e89d83ad1","tarball":"https://registry.npmjs.org/@affixapi/connect-sdk/-/connect-sdk-1.0.9.tgz","fileCount":47,"integrity":"sha512-1qdDdRBaWbkSDwWy6EgPg3AGncJPgHCqVO3oLBu5aqnHah4hpODotjLZpGBJK3B0qR9G/sZVZXf7NbXtn3zuQg==","signatures":[{"sig":"MEQCIAaLEcBp3AIzvREt5Yhts30MTt0NlamSq4ZpjCkKZGd2AiB3usUG/ixV0O1i7lFk+CGaAdj2BRMRZA3CXXb8ptY1WA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":286787},"jest":{"testEnvironment":"jsdom"},"main":"dist/index.js","module":"dist/connect-sdk.esm.js","$schema":"https://json.schemastore.org/package","engines":{"node":">=12"},"gitHead":"6763841803cf8c2c9eab02afb6bd7e9897bfae35","scripts":{"lint":"dts lint","test":"dts test","build":"dts build","start":"dts watch","eslint":"eslint .","prepare":"if [ -z \"$GITHUB_ACTIONS\" ] && [ -z \"$CODEBUILD_BUILD_ARN\" ]; then npx husky install; fi","depcheck":"depcheck"},"typings":"dist/index.d.ts","_npmUser":{"name":"skilbjo","email":"john.skilbeck@gmail.com"},"registry":"https://registry.npmjs.org/","commitlint":{"extends":["@commitlint/config-angular"]},"_npmVersion":"10.9.0","description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"husky":"8.0.1","react":"18.3.1","tslib":"2.8.1","dts-cli":"2.0.5","depcheck":"1.4.7","react-dom":"18.3.1","typescript":"5.6.3","@types/react":"18.3.12","@affixapi/api":"npm:@affixapi/api-no-joi@1.1.101","@commitlint/cli":"19.2.2","@types/react-dom":"18.3.1","eslint-plugin-import":"2.31.0","@tsconfig/recommended":"1.0.8","@testing-library/react":"16.0.1","eslint-config-prettier":"9.1.0","eslint-plugin-prettier":"5.2.1","eslint-config-typescript":"3.0.0","@typescript-eslint/parser":"7.17.0","@commitlint/config-angular":"16.2.4","@tsconfig/create-react-app":"2.0.5","@types/testing-library__react":"10.2.0","@typescript-eslint/eslint-plugin":"7.17.0","eslint-import-resolver-typescript":"3.6.3"},"peerDependencies":{"react":">=16","@affixapi/api":"^1.1.1"},"_npmOperationalInternal":{"tmp":"tmp/connect-sdk_1.0.9_1732345298456_0.7999296531450819","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-08-05T02:38:55.168Z","modified":"2025-08-29T06:59:28.979Z","1.0.5":"2023-08-05T02:38:55.457Z","1.0.6":"2023-09-13T15:57:35.847Z","1.0.0":"2023-12-18T17:12:35.697Z","1.0.1":"2024-01-19T11:53:15.706Z","1.0.2":"2024-02-04T00:49:45.903Z","1.0.3":"2024-04-19T23:31:08.100Z","1.0.4":"2024-05-22T22:31:48.227Z","1.0.7":"2024-05-22T22:47:56.911Z","1.0.8":"2024-10-15T01:50:00.087Z","1.0.9":"2024-11-23T07:01:38.645Z"},"description":"[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk) [![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/co","maintainers":[{"name":"skilbjo","email":"john.skilbeck@gmail.com"}],"readme":"# connect-sdk\n\n[![codecov](https://codecov.io/gh/affixapi/connect-sdk/branch/master/graph/badge.svg?token=JJjrZxvxlU)](https://codecov.io/gh/affixapi/connect-sdk)\n[![NPM](https://img.shields.io/npm/v/@affixapi/connect-sdk.svg)](https://www.npmjs.com/package/@affixapi/connect-sdk)\n\n## Install\n\n```bash\nnpm install --save @affixapi/connect-sdk\n```\n\n## Usage\n\ntypescript\n\n```tsx\nimport React, { useState } from 'react';\nimport { useConnect } from '@affixapi/connect-sdk';\n\nconst App = () => {\n  const [authorizationCode, setAuthorizationCode] = useState<string | null>(\n    null\n  );\n  const [state, setState] = useState<string | null>();\n\n  const onSuccess = ({\n    authorizationCode,\n    state,\n  }: {\n    authorizationCode: string;\n    state?: string;\n  }): void => {\n    setAuthorizationCode(authorizationCode);\n    if (state) setState(state);\n  };\n  const onError = ({ errorMessage }: { errorMessage: string }) =>\n    console.error({ errorMessage });\n  const onClose = () => console.log('User exited Connect');\n\n  const { open } = useConnect({\n    clientId: '<your-client-id>',\n    scopes: [\n      // remove any you don't need\n      '/2023-03-01/xhr/company',\n      '/2023-03-01/xhr/employee',\n      '/2023-03-01/xhr/employees',\n      '/2023-03-01/xhr/groups',\n      '/2023-03-01/xhr/identity',\n      '/2023-03-01/xhr/payruns',\n      '/2023-03-01/xhr/payruns/:payrun_id',\n      '/2023-03-01/xhr/time-off-balances',\n      '/2023-03-01/xhr/time-off-entries',\n      '/2023-03-01/xhr/timesheets',\n      '/2023-03-01/xhr/work-locations',\n    ],\n    mode: 'xhr',\n    // provider: 'bamboohr', // optional param, will skip the provider selector page if set\n    // sandbox: true, // if this flag is enabled, `provider` needs to be `provider: sandbox` above\n    // state: '00000000-0000-0000-0000-000000000000', // optional - usually your internal identifier of a customer\n    onSuccess,\n    onError,\n    onClose,\n  });\n\n  return (\n    <div>\n      <header>\n        <p>Authorization Code: {authorizationCode}</p>\n        <p>State (optional): {state}</p>\n        <button type=\"button\" onClick={() => open()}>\n          open connect\n        </button>\n      </header>\n    </div>\n  );\n};\n```\n\njavascript\n\n```jsx\nimport React, { useState } from 'react';\nimport { useConnect } from '@affixapi/connect-sdk';\n\nconst App = () => {\n  const [authorizationCode, setAuthorizationCode] = useState(null);\n  const [state, setState] = useState();\n\n  const onSuccess = ({ authorizationCode, state }: {\n    authorizationCode: string,\n    state?: string\n  }): void => {\n    setAuthorizationCode(authorizationCode);\n    if (state) setState(state);\n  }\n  const onError = ({ errorMessage }) => console.error(errorMessage);\n  const onClose = () => console.log('User exited Connect');\n\n  const { open } = useConnect({\n    clientId: '<your-client-id>',\n    scopes: [\n      // remove any you don't need\n      '/2023-03-01/xhr/company',\n      '/2023-03-01/xhr/employee',\n      '/2023-03-01/xhr/employees',\n      '/2023-03-01/xhr/groups',\n      '/2023-03-01/xhr/identity',\n      '/2023-03-01/xhr/payruns',\n      '/2023-03-01/xhr/payruns/:payrun_id',\n      '/2023-03-01/xhr/time-off-balances',\n      '/2023-03-01/xhr/time-off-entries',\n      '/2023-03-01/xhr/timesheets',\n      '/2023-03-01/xhr/work-locations',\n    ],\n    mode: 'xhr',\n    // provider: 'bamboohr', // optional param, will skip the provider selector page if set\n    // sandbox: true, // if this flag is enabled, `provider` needs to be `provider: sandbox` above\n    // state: '00000000-0000-0000-0000-000000000000', // optional - usually your internal identifier of a customer\n    onSuccess,\n    onError,\n    onClose,\n  });\n\n  return (\n    <div>\n      <header>\n        <p>Authorization Code: {authorizationCode}</p>\n        <p>State (optional): {state}</p>\n        <button type=\"button\" onClick={() => open()}>\n          open affixapi connect\n        </button>\n      </header>\n    </div>\n  );\n};\n```\n\n## create the sdk\n### for affixapi engineer's reference only\n\nin project root,\n\n```bash\nnpm start\n```\n\nfor local development,\n\n`example/index.tsx`:\n\n```tsx\nimport { createRoot } from 'react-dom/client';\nimport React, { useState } from 'react';\n// import { useConnect } from '@affixapi/connect-sdk'; <<< comment\n\nimport { useConnect } from '../src/index'; // for local testing <<< uncomment\n```\n\nin seperate shell,\n\n```bash\ncd example\nnpm start\n```\n\nserver is now running on <http://localhost:1234>\n\ntroubleshooting:\n\n- make sure to restart the vite server after making the comment change\n","readmeFilename":"README.md"}