Hi, i created new script for phone verification.

Here is the implementation

import "@johnlindquist/kit"
let envOptions = {
hint: md(
`You need to [sign up](https://rapidapi.com/Veriphone/api/veriphone/) to get cridential key`
),
ignoreBlur: true,
secret: true,
};
let rapid_api_key = await env("RAPID_API_KEY", envOptions);
const options = {
method: "GET",
headers: {
"X-RapidAPI-Key": rapid_api_key,
"X-RapidAPI-Host": "veriphone.p.rapidapi.com",
},
};
let phone_number = await arg("type your phone number")
let verify_response = await fetch(`https://veriphone.p.rapidapi.com/verify?phone=${phone_number}`, options);
let response = await verify_response.json();
let isSuccessfull = response.status_code === 200;
{isSuccessfull && await div(
`<h1 class="p-10 text-4xl text-center">${response.status === "success" ? "verified" : "not verified"}</h1>`
)}
{!isSuccessfull && await div(
`<h1 class="p-10 text-4xl text-center">some error occurred.</h1>`
)}