1

Install package

pnpm add @actioncodes/sdk
2

Initialize the ActionCodesClient. And you are ready for using one-time codes in your application.

client.ts
import { ActionCodesClient } from '@actioncodes/sdk';

const client = new ActionCodesClient();
3

Now you are ready to do magic with Action Codes!

input.ts
// Get code from user and resolve it to verify and see details!

await client.resolve(code);