@dfinity/oisy-wallet-signer
Version:
A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.
16 lines (15 loc) • 737 B
TypeScript
import type { Identity } from '@icp-sdk/core/agent';
import * as z from 'zod';
declare const IdentityNotAnonymousSchema: z.ZodCustom<Identity, Identity>;
export type IdentityNotAnonymous = z.infer<typeof IdentityNotAnonymousSchema>;
export declare const SignerHostSchema: z.ZodOptional<z.ZodURL>;
export type SignerHost = z.infer<typeof SignerHostSchema>;
export declare const SignerOptionsSchema: z.ZodObject<{
owner: z.ZodCustom<Identity, Identity>;
host: z.ZodOptional<z.ZodURL>;
sessionOptions: z.ZodOptional<z.ZodObject<{
sessionPermissionExpirationInMilliseconds: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>;
}, z.core.$strip>;
export type SignerOptions = z.infer<typeof SignerOptionsSchema>;
export {};