{"_id":"@ballerine/ballerine-sdk","_rev":"5-c0b9a6bb728e77aea583a984cf401891","name":"@ballerine/ballerine-sdk","dist-tags":{"latest":"1.1.5"},"versions":{"1.1.5":{"name":"@ballerine/ballerine-sdk","version":"1.1.5","keywords":["ballerine","fintech","risk","verification","authentication","authorization","auth","service","identity","kyc","kyb"],"author":{"name":"Ballerine.io"},"_id":"@ballerine/ballerine-sdk@1.1.5","maintainers":[{"name":"alonp99","email":"alonp99@gmail.com"}],"homepage":"https://github.com/ballerine-io/ballerine-web-ui#readme","bugs":{"url":"https://github.com/ballerine-io/ballerine-web-ui/issues"},"dist":{"shasum":"8d71dc4127a6346c564c5fe95e5580a37fe6c31a","tarball":"https://registry.npmjs.org/@ballerine/ballerine-sdk/-/ballerine-sdk-1.1.5.tgz","fileCount":125,"integrity":"sha512-JK+2Lo4sCngENvW7+FoF1sFx+UFxS9bhIi7YCYcRKCA8Wq4met1lvGCYz5CR73p3DSEfGOQR4tC2BWUq0Fqy8g==","signatures":[{"sig":"MEUCIQDVQmris8dc8ijpwELFg1X6nekQqYJG0oeiXeuhisiz2wIgf9X9f1hp1+bHehHuRr54f7qjssYQ0gcX698agBg4bTA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1115366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVZoaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRSQ//YwK3idSP8gEKvT3Ovuk8T8jg/qiue1Q2dVIbmfDFu9TYhtTW\r\neR3pR/EiGn5vQQns2u6hZnDtd44u6+Vn22A+41IHp/LLCJikbITG8bEhdkgY\r\npx72VRsa0D+nu5o24HCMBChTNqpuTsmC2DWpnXvPPrtEpOHKVbtZZ/ZxN89q\r\n+MqRetJm0TeDxsO06qZ3xMEZ0Y9AGhcekVBm7x0q8MwdBclhLp4QekZwd/5G\r\ns1KXYK/iwBALEEMuiUd+xg9uUtS6sjkkskp6WTWA+zOjOGjab+iUpA0TagTr\r\njguXLX5hnFS541xIzJi+BeuoI7OwFCfSgfMrQ26M/oMNNboGgYihomgib9n9\r\n+c3GOeKcv/ols4oH9XGNoDZX1TtGM2TOG70sCEr2IGXxakdkzvmL+O2NCvql\r\n4cbA55+Ur/FBhTB/GAqiK1RtrxSpHfAO6Sj1xLUuywRfp20NEwaauHrWdn95\r\ngNjKBP8Jggsb06fvouN7qpBWo2HAg2nECjwLxyN27ixY4ZmA0EaRLfkP3ecp\r\nAHYQ8fl+lhTf+LlUQKR96eavOEghS194kffW2A5VtlXBZMIrEseZ2Zsq+KPE\r\noSHHKSbugbyeY78nFfYpRI+BMFgBqMIL4o4shuEE5bcax5ly/jJCfHita6XI\r\nPmWM2Avx4tZKBj0RKVedT2QUVwaOWeICMUM=\r\n=Ko5O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/ballerine-sdk.umd.js","type":"module","types":"dist/index.d.ts","module":"./dist/ballerine-sdk.es.js","exports":{".":{"import":"./dist/ballerine-sdk.es.js","require":"./dist//ballerine-sdk.umd.js"}},"gitHead":"1ce8d2584ceadf501fcf5d116df0689b91d6c43f","private":false,"scripts":{"dev":"vite -c vite.dev.config.ts","lint":"eslint ./src/**/*.{js,ts,svelte}","build":"vite build","check":"svelte-check --tsconfig ./tsconfig.json","format":"prettier --write ./src/**/*.{js,svelte,html,ts}","prelint":"npm run format","preview":"vite preview","lint:fix":"eslint --fix ./src/**/*.{js,ts,svelte}","storybook":"start-storybook -p 6006","example:sdk":"npm run build:examples && npx http-server ./examples/sdk -p 8080","deploy:cdn:cf":"vite build && aws s3 cp ./dist/ballerine-sdk.umd.js s3://blrn-cdn-prod/js/$npm_package_version/ballerine-sdk.umd.js","build:examples":"npm run build && for i in ./examples/sdk ./examples/standalone; do cp -R ./dist/* $i; done","build-storybook":"build-storybook","example:standalone":"npm run build:examples && npx http-server ./examples/standalone -p 9090","deprecated:build:sdk":"rollup --config"},"_npmUser":{"name":"alonp99","email":"alonp99@gmail.com"},"repository":{"url":"git+https://github.com/ballerine-io/ballerine-web-ui.git","type":"git"},"_npmVersion":"8.12.1","description":"Ballerine is an open-source infrastructure for user identity and risk management. Compose verification processes for any vertical and geography using modular building blocks, components, and 3rd party integrations.","directories":{},"_nodeVersion":"18.4.0","dependencies":{"compressorjs":"^1.1.1","lodash.keyby":"^4.6.0","lodash.merge":"^4.6.2","@zerodevx/svelte-toast":"^0.7.2","jslib-html5-camera-photo":"^3.3.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^2.9.9","eslint":"^8.18.0","svelte":"^3.39.0","postcss":"^8.4.18","prettier":"^2.7.1","typescript":"^4.5.4","@babel/core":"^7.18.5","svelte-check":"^2.2.7","vite-plugin-dts":"^1.6.6","@tsconfig/svelte":"^2.0.1","vite-plugin-html":"^3.2.0","svelte-preprocess":"^4.9.8","@types/lodash.keyby":"^4.6.7","@types/lodash.merge":"^4.6.7","@sveltejs/vite-plugin-svelte":"^1.0.0-next.30","@types/jslib-html5-camera-photo":"^3.1.2"},"_npmOperationalInternal":{"tmp":"tmp/ballerine-sdk_1.1.5_1666554394191_0.8467579105819514","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-10-23T19:46:34.135Z","modified":"2026-09-29T12:02:13.824Z","1.1.5":"2022-10-23T19:46:34.347Z"},"bugs":{"url":"https://github.com/ballerine-io/ballerine-web-ui/issues"},"author":{"name":"Ballerine.io"},"homepage":"https://github.com/ballerine-io/ballerine-web-ui#readme","keywords":["ballerine","fintech","risk","verification","authentication","authorization","auth","service","identity","kyc","kyb"],"repository":{"url":"git+https://github.com/ballerine-io/ballerine-web-ui.git","type":"git"},"description":"Ballerine is an open-source infrastructure for user identity and risk management. Compose verification processes for any vertical and geography using modular building blocks, components, and 3rd party integrations.","maintainers":[{"email":"alonp99@gmail.com","name":"alonp99"}],"readme":"# Svelte + TS + Vite\n\nThis template should help get you started developing with Svelte and TypeScript in Vite.\n\n## Recommended IDE Setup\n\n[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).\n\n## Need an official Svelte framework?\n\nCheck out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more.\n\n## Technical considerations\n\n**Why use this over SvelteKit?**\n\n- It brings its own routing solution which might not be preferable for some users.\n- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.\n  `vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example.\n\nThis template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.\n\nShould you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate.\n\n**Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?**\n\nSetting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information.\n\n**Why include `.vscode/extensions.json`?**\n\nOther templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project.\n\n**Why enable `allowJs` in the TS template?**\n\nWhile `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant.\n\n**Why is HMR not preserving my local component state?**\n\nHMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr).\n\nIf you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR.\n\n```ts\n// store.ts\n// An extremely simple external store\nimport { writable } from 'svelte/store'\nexport default writable(0)\n```\n","readmeFilename":"README.md"}