UNPKG

@getclave/permissionless

Version:

A utility library for working with ERC-4337

17 lines 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.passkeyServerActions = void 0; const getCredentials_1 = require("../../actions/passkeyServer/getCredentials.js"); const startAuthentication_1 = require("../../actions/passkeyServer/startAuthentication.js"); const startRegistration_1 = require("../../actions/passkeyServer/startRegistration.js"); const verifyAuthentication_1 = require("../../actions/passkeyServer/verifyAuthentication.js"); const verifyRegistration_1 = require("../../actions/passkeyServer/verifyRegistration.js"); const passkeyServerActions = (client) => ({ startRegistration: (args) => (0, startRegistration_1.startRegistration)(client, args), verifyRegistration: (args) => (0, verifyRegistration_1.verifyRegistration)(client, args), getCredentials: (args) => (0, getCredentials_1.getCredentials)(client, args), startAuthentication: () => (0, startAuthentication_1.startAuthentication)(client), verifyAuthentication: (args) => (0, verifyAuthentication_1.verifyAuthentication)(client, args) }); exports.passkeyServerActions = passkeyServerActions; //# sourceMappingURL=passkeyServer.js.map