UNPKG

@metamask/snaps-sdk

Version:

A library containing the core functionality for building MetaMask Snaps

19 lines 837 B
/** * The main entry point for the Snaps SDK, which can be accessed by importing * from `@metamask/snaps-sdk`. * * @module Main * @primaryExport * @showGroups */ export type { EnumToUnion } from "./internals/index.cjs"; export type { UriOptions } from "./internals/index.cjs"; export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, ISO8601DateStruct, uri, } from "./internals/index.cjs"; export type { Json, JsonRpcError, JsonRpcRequest, JsonRpcParams, } from "@metamask/utils"; export { assert } from "@metamask/utils"; export * from "./errors.cjs"; export * from "./error-wrappers.cjs"; export * from "./images.cjs"; export * from "./types/index.cjs"; export * from "./ui/index.cjs"; //# sourceMappingURL=index.d.cts.map