{"_id":"@cubetiq/verifyme","_rev":"7-485effe7f9e16047734d91b24ea17413","name":"@cubetiq/verifyme","dist-tags":{"latest":"0.1.5"},"versions":{"0.0.1":{"name":"@cubetiq/verifyme","version":"0.0.1","keywords":["verifyme"],"author":{"name":"Sambo Chea","email":"sombochea@cubetiqs.com"},"license":"ISC","_id":"@cubetiq/verifyme@0.0.1","maintainers":[{"name":"vutpov","email":"vuthpov26@gmail.com"},{"name":"sombochea","email":"sombochea100@gmail.com"}],"homepage":"https://github.com/CUBETIQ/verifyme-sdk-node#readme","bugs":{"url":"https://github.com/CUBETIQ/verifyme-sdk-node/issues"},"dist":{"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"b0cd0a7e941a9cacf4c6d497a4d5800596fe61ec","tarball":"https://registry.npmjs.org/@cubetiq/verifyme/-/verifyme-0.0.1.tgz","fileCount":12,"integrity":"sha512-fb36UcyvQGzEkzByzTlRodC7Ih/mz/TMJdz8jpReUJrBfApFkcZKMoNFRsjGcwp5akhbdYcVGbIdkkuHhsuJhQ==","signatures":[{"sig":"MEUCIQDR2JduCGlZu1UaV+4EuAx0uGYU7oUnp+HkrBJN2R/slQIgJPalr87zx7nYXa0uuDVZjh5RdMNq/8Ahax2MjFzfwdU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18716},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"15b214e5e0895a50afaab2ab016fdcbef3ce2465","private":false,"scripts":{"dev":"tsc -w","test":"jest","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"sombochea","email":"sombochea100@gmail.com"},"repository":{"url":"git+https://github.com/CUBETIQ/verifyme-sdk-node.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple way to send and verify verification code with SMS, Email, Telegram and etc.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.5"},"_npmOperationalInternal":{"tmp":"tmp/verifyme_0.0.1_1700371825051_0.5097688547392047","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"@cubetiq/verifyme","version":"0.0.2","keywords":["verifyme"],"author":{"name":"Sambo Chea","email":"sombochea@cubetiqs.com"},"license":"ISC","_id":"@cubetiq/verifyme@0.0.2","maintainers":[{"name":"vutpov","email":"vuthpov26@gmail.com"},{"name":"sombochea","email":"sombochea100@gmail.com"}],"homepage":"https://github.com/CUBETIQ/verifyme-sdk-node#readme","bugs":{"url":"https://github.com/CUBETIQ/verifyme-sdk-node/issues"},"dist":{"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"beb90a1c730b7771535b9e37dc1888054eab1926","tarball":"https://registry.npmjs.org/@cubetiq/verifyme/-/verifyme-0.0.2.tgz","fileCount":13,"integrity":"sha512-rdpBux2PWZPBLa1Ojnu0j08I7TUe7zxCATv/l70GAhSRHT6eq2TVMV3gXc4kzmdef/rARePCFhwznTtpMwcpyQ==","signatures":[{"sig":"MEUCIA81o6FeNv7W3gKk/98NY6zPXzTy1ecyl12g5zXI1ybyAiEAhvYL+VREGp+q3GOdp5M2dscKBlLAyD2mWZ+v1kTE4bc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18966},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"0f1cfc2f4794533a63ac227288b3a07583b27f0a","private":false,"scripts":{"dev":"tsc -w","test":"jest","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"sombochea","email":"sombochea100@gmail.com"},"repository":{"url":"git+https://github.com/CUBETIQ/verifyme-sdk-node.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple way to send and verify verification code with SMS, Email, Telegram and etc.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.5"},"_npmOperationalInternal":{"tmp":"tmp/verifyme_0.0.2_1700395990638_0.7599726270962708","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"@cubetiq/verifyme","version":"0.0.3","keywords":["verifyme"],"author":{"name":"Sambo Chea","email":"sombochea@cubetiqs.com"},"license":"ISC","_id":"@cubetiq/verifyme@0.0.3","maintainers":[{"name":"vutpov","email":"vuthpov26@gmail.com"},{"name":"sombochea","email":"sombochea100@gmail.com"}],"homepage":"https://github.com/CUBETIQ/verifyme-sdk-node#readme","bugs":{"url":"https://github.com/CUBETIQ/verifyme-sdk-node/issues"},"dist":{"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"3213de39a6f96a809fd6af002becca6be9e52d54","tarball":"https://registry.npmjs.org/@cubetiq/verifyme/-/verifyme-0.0.3.tgz","fileCount":13,"integrity":"sha512-W2FQC3YY4EYdV+fd5kqSfYheohWrD3gJ8wORRmBOKXfJ37uwsdJdKp8WvVIiQ2F3FLXe1P8mvsuAbuQGjch/sQ==","signatures":[{"sig":"MEYCIQDF0DBzYIwzn7WlPTgr1pZLlmMl4IWJ4PleLq19B7jC6gIhAKT27QLVGGQscSfJTErW1afqz4W4caRz1S5HZTmJwgkj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18430},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"2cd6797b3526403765590e6d464ff1971044773e","private":false,"scripts":{"dev":"tsc -w","test":"jest","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"sombochea","email":"sombochea100@gmail.com"},"repository":{"url":"git+https://github.com/CUBETIQ/verifyme-sdk-node.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple way to send and verify verification code with SMS, Email, Telegram and etc.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.5"},"_npmOperationalInternal":{"tmp":"tmp/verifyme_0.0.3_1700397170158_0.6356599813507708","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.4":{"name":"@cubetiq/verifyme","version":"0.0.4","keywords":["verifyme"],"author":{"name":"Sambo Chea","email":"sombochea@cubetiqs.com"},"license":"ISC","_id":"@cubetiq/verifyme@0.0.4","maintainers":[{"name":"vutpov","email":"vuthpov26@gmail.com"},{"name":"sombochea","email":"sombochea100@gmail.com"}],"homepage":"https://github.com/CUBETIQ/verifyme-sdk-node#readme","bugs":{"url":"https://github.com/CUBETIQ/verifyme-sdk-node/issues"},"dist":{"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"5cc9aae53b6e26ca3bf48f56b69a30ed31d20c9b","tarball":"https://registry.npmjs.org/@cubetiq/verifyme/-/verifyme-0.0.4.tgz","fileCount":13,"integrity":"sha512-xDq6WbB1ik7qlyVg6f0WmypMzRNl1XA3i763wXB0hJPSiOXSNEqB3NLRTxqmhOuJ9mMO7RjaUvfj+Walgvtewg==","signatures":[{"sig":"MEYCIQCrJlfEXft5PRpOfNiUt0ESzG4BYup3hYSzbt8XtU+2BwIhAPFi3Wf2iSYN2t6KlkWOAlCvt9FafT/Ph3oak4i/S2bI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19422},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"9dc9f812a21a76635432d9ef390f50ca71c55f96","private":false,"scripts":{"dev":"tsc -w","test":"jest","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"sombochea","email":"sombochea100@gmail.com"},"repository":{"url":"git+https://github.com/CUBETIQ/verifyme-sdk-node.git","type":"git"},"_npmVersion":"10.1.0","description":"A simple way to send and verify verification code with SMS, Email, Telegram and etc.","directories":{},"_nodeVersion":"18.18.0","dependencies":{"axios":"^1.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.5"},"_npmOperationalInternal":{"tmp":"tmp/verifyme_0.0.4_1700643022991_0.7136122292958962","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.5":{"name":"@cubetiq/verifyme","version":"0.1.5","keywords":["verifyme"],"author":{"name":"Sambo Chea","email":"sombochea@cubetiqs.com"},"license":"ISC","_id":"@cubetiq/verifyme@0.1.5","maintainers":[{"name":"vutpov","email":"vuthpov26@gmail.com"},{"name":"sombochea","email":"sombochea100@gmail.com"}],"homepage":"https://github.com/CUBETIQ/verifyme-sdk-node#readme","bugs":{"url":"https://github.com/CUBETIQ/verifyme-sdk-node/issues"},"dist":{"main":"dist/index.js","type":"module","types":"dist/index.d.ts","shasum":"1dcb3979efa79c33ed8c39821fd14d24842f4e49","tarball":"https://registry.npmjs.org/@cubetiq/verifyme/-/verifyme-0.1.5.tgz","fileCount":15,"integrity":"sha512-S54uOWho6P5YjcziPn8KZr5PTcc2d0mpdQu2C1IKpqoWGtV27IK1kT2KaGrFAf9+cqalstKR8LsAqAHJh/Qnqg==","signatures":[{"sig":"MEQCIDB0MFKG6DuupRb8Nhd5NaZJuH9ZGsdscFYPFXBdtrARAiBe8JCkPjM9v4ICJAshFxm+78UNseL7aGQHei1ymBx91A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26790},"main":"dist/index.js","types":"./dist/index.d.ts","gitHead":"486691ce04f72f0bd3c11a54718c837e0c8232b9","private":false,"scripts":{"dev":"tsc -w","test":"jest","build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"sombochea","email":"sombochea100@gmail.com"},"repository":{"url":"git+https://github.com/CUBETIQ/verifyme-sdk-node.git","type":"git"},"_npmVersion":"10.2.4","description":"A simple way to send and verify verification code with SMS, Email, Telegram and etc.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"axios":"^1.6.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.5.0","ts-jest":"^29.1.0","typescript":"^5.0.4","@types/jest":"^29.5.1","@types/node":"^20.2.5"},"_npmOperationalInternal":{"tmp":"tmp/verifyme_0.1.5_1715316768397_0.009183440282450217","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-11-19T05:30:24.918Z","modified":"2026-09-22T16:54:37.955Z","0.0.1":"2023-11-19T05:30:25.224Z","0.0.2":"2023-11-19T12:13:10.847Z","0.0.3":"2023-11-19T12:32:50.369Z","0.0.4":"2023-11-22T08:50:23.140Z","0.1.5":"2024-05-10T04:52:48.577Z"},"bugs":{"url":"https://github.com/CUBETIQ/verifyme-sdk-node/issues"},"author":{"name":"Sambo Chea","email":"sombochea@cubetiqs.com"},"license":"ISC","homepage":"https://github.com/CUBETIQ/verifyme-sdk-node#readme","keywords":["verifyme"],"repository":{"url":"git+https://github.com/CUBETIQ/verifyme-sdk-node.git","type":"git"},"description":"A simple way to send and verify verification code with SMS, Email, Telegram and etc.","maintainers":[{"name":"sombochea","email":"sombochea100@gmail.com"}],"readme":"# Verifyme SDK for Node [JS/TS]\n\nA simple way to send and verify verification code with SMS, Email, Telegram and etc.\n\n-   [x] Send verify code.\n-   [x] Verify a code.\n-   [x] VerifyBotAuth.\n\n## Supported Providers\n\n-   [x] Telegram / VerifyBot (`telegram` or `verifybot`)\n-   [x] SMS (Twilio, `sms`)\n-   [x] Email (`email`)\n\n## Usages\n\n### Verify Feature\n\n-   Create a verify message and send it to the target.\n\n```typescript\nconst API_KEY = 'vm_gX9WwSdKatMNdpUClLU0IfCx575tvdoeQ';\nconst sdk = Verifyme.create(VerifymeOptions.builder().apiKey(API_KEY).build());\n\nconst request = CreateVerifyRequest.builder()\n    .provider(Provider.VerifyBot)\n    .target('YOUR-CHAT-ID')\n    .template('Your verification code is {{code}}')\n    .build();\n\nconst response = await sdk.send(request);\nconsole.log('Request: ', request);\nconsole.log('Response: ', response);\n```\n\n-   Verify the message.\n\n```typescript\nconst request = VerifyMessageRequest.builder()\n    .token('5914b15eca02f53d5c0ae8f04a221c98c0813271346c2092021df56de9aa9fd4')\n    .code('1234')\n    .build();\n\nconst response = await sdk.verify(request);\nconsole.log('Request: ', request);\nconsole.log('Response: ', response);\n```\n\n### VerifyBotAuth Feature\n\n-   Create an auth state request with the target.\n\n```typescript\nconst API_KEY = 'vm_gX9WwSdKatMNdpUClLU0IfCx575tvdoeQ';\nconst sdk = Verifyme.create(VerifymeOptions.builder().apiKey(API_KEY).build());\n\nconst request: VerifyBotAuthCreate = {\n    target: '+855769995149',\n    type: 'telegram_bot',\n};\n\nconst response = await sdk.botAuth().auth(request);\nconsole.log('Request: ', request);\nconsole.log('Response: ', response);\n```\n\n-   Get the auth state.\n\n```typescript\nconst result = await sdk.botAuth().state(response.state!);\nconsole.log('State: ', state);\nconsole.log('Result: ', result);\n```\n\n### Contributors\n\n-   Sambo Chea <sombochea@cubetiqs.com>\n","readmeFilename":"README.md"}