@metamask/snaps-sdk
Version:
A library containing the core functionality for building MetaMask Snaps
19 lines • 837 B
text/typescript
/**
* 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.mjs";
export type { UriOptions } from "./internals/index.mjs";
export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, ISO8601DateStruct, uri, } from "./internals/index.mjs";
export type { Json, JsonRpcError, JsonRpcRequest, JsonRpcParams, } from "@metamask/utils";
export { assert } from "@metamask/utils";
export * from "./errors.mjs";
export * from "./error-wrappers.mjs";
export * from "./images.mjs";
export * from "./types/index.mjs";
export * from "./ui/index.mjs";
//# sourceMappingURL=index.d.mts.map