@metamask/snaps-sdk
Advanced tools
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.ISO8601DateStruct = void 0; | ||
| const superstruct_1 = require("@metamask/superstruct"); | ||
| const luxon_1 = require("luxon"); | ||
| /** | ||
| * Regex to match the offset part of an ISO 8601 date. | ||
| */ | ||
| const offsetRegex = /Z|([+-]\d{2}:?\d{2})$/u; | ||
| /** | ||
| * Refines a string as an ISO 8601 date. | ||
| */ | ||
| exports.ISO8601DateStruct = (0, superstruct_1.refine)((0, superstruct_1.string)(), 'ISO 8601 date', (value) => { | ||
| const parsedDate = luxon_1.DateTime.fromISO(value); | ||
| if (!parsedDate.isValid) { | ||
| return 'Not a valid ISO 8601 date'; | ||
| } | ||
| if (!offsetRegex.test(value)) { | ||
| // Luxon doesn't have a reliable way to check if timezone info was not provided | ||
| return 'ISO 8601 date must have timezone information'; | ||
| } | ||
| return true; | ||
| }); | ||
| //# sourceMappingURL=time.cjs.map |
| {"version":3,"file":"time.cjs","sourceRoot":"","sources":["../../src/internals/time.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,iCAAiC;AAEjC;;GAEG;AACH,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAE7C;;GAEG;AACU,QAAA,iBAAiB,GAAG,IAAA,oBAAM,EAAC,IAAA,oBAAM,GAAE,EAAE,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;IAC3E,MAAM,UAAU,GAAG,gBAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAE3C,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QACxB,OAAO,2BAA2B,CAAC;IACrC,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7B,+EAA+E;QAC/E,OAAO,8CAA8C,CAAC;IACxD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC,CAAC","sourcesContent":["import { refine, string } from '@metamask/superstruct';\nimport { DateTime } from 'luxon';\n\n/**\n * Regex to match the offset part of an ISO 8601 date.\n */\nconst offsetRegex = /Z|([+-]\\d{2}:?\\d{2})$/u;\n\n/**\n * Refines a string as an ISO 8601 date.\n */\nexport const ISO8601DateStruct = refine(string(), 'ISO 8601 date', (value) => {\n const parsedDate = DateTime.fromISO(value);\n\n if (!parsedDate.isValid) {\n return 'Not a valid ISO 8601 date';\n }\n\n if (!offsetRegex.test(value)) {\n // Luxon doesn't have a reliable way to check if timezone info was not provided\n return 'ISO 8601 date must have timezone information';\n }\n\n return true;\n});\n"]} |
| /** | ||
| * Refines a string as an ISO 8601 date. | ||
| */ | ||
| export declare const ISO8601DateStruct: import("@metamask/superstruct").Struct<string, null>; | ||
| //# sourceMappingURL=time.d.cts.map |
| {"version":3,"file":"time.d.cts","sourceRoot":"","sources":["../../src/internals/time.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,iBAAiB,sDAa5B,CAAC"} |
| /** | ||
| * Refines a string as an ISO 8601 date. | ||
| */ | ||
| export declare const ISO8601DateStruct: import("@metamask/superstruct").Struct<string, null>; | ||
| //# sourceMappingURL=time.d.mts.map |
| {"version":3,"file":"time.d.mts","sourceRoot":"","sources":["../../src/internals/time.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,iBAAiB,sDAa5B,CAAC"} |
| import { refine, string } from "@metamask/superstruct"; | ||
| import { DateTime } from "luxon"; | ||
| /** | ||
| * Regex to match the offset part of an ISO 8601 date. | ||
| */ | ||
| const offsetRegex = /Z|([+-]\d{2}:?\d{2})$/u; | ||
| /** | ||
| * Refines a string as an ISO 8601 date. | ||
| */ | ||
| export const ISO8601DateStruct = refine(string(), 'ISO 8601 date', (value) => { | ||
| const parsedDate = DateTime.fromISO(value); | ||
| if (!parsedDate.isValid) { | ||
| return 'Not a valid ISO 8601 date'; | ||
| } | ||
| if (!offsetRegex.test(value)) { | ||
| // Luxon doesn't have a reliable way to check if timezone info was not provided | ||
| return 'ISO 8601 date must have timezone information'; | ||
| } | ||
| return true; | ||
| }); | ||
| //# sourceMappingURL=time.mjs.map |
| {"version":3,"file":"time.mjs","sourceRoot":"","sources":["../../src/internals/time.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,8BAA8B;AACvD,OAAO,EAAE,QAAQ,EAAE,cAAc;AAEjC;;GAEG;AACH,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,EAAE,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;IAC3E,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAE3C,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC;QACxB,OAAO,2BAA2B,CAAC;IACrC,CAAC;IAED,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7B,+EAA+E;QAC/E,OAAO,8CAA8C,CAAC;IACxD,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC,CAAC","sourcesContent":["import { refine, string } from '@metamask/superstruct';\nimport { DateTime } from 'luxon';\n\n/**\n * Regex to match the offset part of an ISO 8601 date.\n */\nconst offsetRegex = /Z|([+-]\\d{2}:?\\d{2})$/u;\n\n/**\n * Refines a string as an ISO 8601 date.\n */\nexport const ISO8601DateStruct = refine(string(), 'ISO 8601 date', (value) => {\n const parsedDate = DateTime.fromISO(value);\n\n if (!parsedDate.isValid) {\n return 'Not a valid ISO 8601 date';\n }\n\n if (!offsetRegex.test(value)) {\n // Luxon doesn't have a reliable way to check if timezone info was not provided\n return 'ISO 8601 date must have timezone information';\n }\n\n return true;\n});\n"]} |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.DateTimePicker = void 0; | ||
| const component_1 = require("../../component.cjs"); | ||
| const TYPE = 'DateTimePicker'; | ||
| /** | ||
| * A date/time picker component, which is used to create a date/time picker field. | ||
| * | ||
| * @param props - The props of the component. | ||
| * @param props.name - The name of the date/time picker field. This is used to identify the | ||
| * date/time picker field in the form data. | ||
| * @param props.value - The value of the date/time picker field. | ||
| * @param props.type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'. | ||
| * Defaults to 'datetime'. | ||
| * @param props.placeholder - The placeholder text of the date/time picker field. | ||
| * @param props.disabled - Whether the date/time picker field is disabled. | ||
| * @param props.disablePast - Whether to allow selection of past dates. Defaults to false. | ||
| * @param props.disableFuture - Whether to allow selection of future dates. Defaults to false. | ||
| */ | ||
| exports.DateTimePicker = (0, component_1.createSnapComponent)(TYPE); | ||
| //# sourceMappingURL=DateTimePicker.cjs.map |
| {"version":3,"file":"DateTimePicker.cjs","sourceRoot":"","sources":["../../../../src/jsx/components/form/DateTimePicker.ts"],"names":[],"mappings":";;;AAAA,mDAAsD;AA0BtD,MAAM,IAAI,GAAG,gBAAgB,CAAC;AAE9B;;;;;;;;;;;;;GAaG;AACU,QAAA,cAAc,GAAG,IAAA,+BAAmB,EAG/C,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../../component';\n\n/**\n * The props of the {@link DateTimePicker} component.\n *\n * @property name - The name of the date/time picker field. This is used to identify the\n * date/time picker field in the form data.\n * @property value - The value of the date/time picker field. Must be an ISO 8601 date string with\n * timezone information.\n * @property type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'.\n * Defaults to 'datetime'.\n * @property placeholder - The placeholder text of the date/time picker field.\n * @property disabled - Whether the date/time picker field is disabled.\n * @property disablePast - Whether to allow selection of past dates. Defaults to false.\n * @property disableFuture - Whether to allow selection of future dates. Defaults to false.\n */\nexport type DateTimePickerProps = {\n name: string;\n value?: string | undefined;\n type?: 'date' | 'time' | 'datetime' | undefined;\n placeholder?: string | undefined;\n disabled?: boolean | undefined;\n disablePast?: boolean | undefined;\n disableFuture?: boolean | undefined;\n};\n\nconst TYPE = 'DateTimePicker';\n\n/**\n * A date/time picker component, which is used to create a date/time picker field.\n *\n * @param props - The props of the component.\n * @param props.name - The name of the date/time picker field. This is used to identify the\n * date/time picker field in the form data.\n * @param props.value - The value of the date/time picker field.\n * @param props.type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'.\n * Defaults to 'datetime'.\n * @param props.placeholder - The placeholder text of the date/time picker field.\n * @param props.disabled - Whether the date/time picker field is disabled.\n * @param props.disablePast - Whether to allow selection of past dates. Defaults to false.\n * @param props.disableFuture - Whether to allow selection of future dates. Defaults to false.\n */\nexport const DateTimePicker = createSnapComponent<\n DateTimePickerProps,\n typeof TYPE\n>(TYPE);\n\n/**\n * A DateTimePicker element.\n *\n * @see DateTimePicker\n */\nexport type DateTimePickerElement = ReturnType<typeof DateTimePicker>;\n"]} |
| /** | ||
| * The props of the {@link DateTimePicker} component. | ||
| * | ||
| * @property name - The name of the date/time picker field. This is used to identify the | ||
| * date/time picker field in the form data. | ||
| * @property value - The value of the date/time picker field. Must be an ISO 8601 date string with | ||
| * timezone information. | ||
| * @property type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'. | ||
| * Defaults to 'datetime'. | ||
| * @property placeholder - The placeholder text of the date/time picker field. | ||
| * @property disabled - Whether the date/time picker field is disabled. | ||
| * @property disablePast - Whether to allow selection of past dates. Defaults to false. | ||
| * @property disableFuture - Whether to allow selection of future dates. Defaults to false. | ||
| */ | ||
| export type DateTimePickerProps = { | ||
| name: string; | ||
| value?: string | undefined; | ||
| type?: 'date' | 'time' | 'datetime' | undefined; | ||
| placeholder?: string | undefined; | ||
| disabled?: boolean | undefined; | ||
| disablePast?: boolean | undefined; | ||
| disableFuture?: boolean | undefined; | ||
| }; | ||
| /** | ||
| * A date/time picker component, which is used to create a date/time picker field. | ||
| * | ||
| * @param props - The props of the component. | ||
| * @param props.name - The name of the date/time picker field. This is used to identify the | ||
| * date/time picker field in the form data. | ||
| * @param props.value - The value of the date/time picker field. | ||
| * @param props.type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'. | ||
| * Defaults to 'datetime'. | ||
| * @param props.placeholder - The placeholder text of the date/time picker field. | ||
| * @param props.disabled - Whether the date/time picker field is disabled. | ||
| * @param props.disablePast - Whether to allow selection of past dates. Defaults to false. | ||
| * @param props.disableFuture - Whether to allow selection of future dates. Defaults to false. | ||
| */ | ||
| export declare const DateTimePicker: import("../../component.cjs").SnapComponent<DateTimePickerProps, "DateTimePicker">; | ||
| /** | ||
| * A DateTimePicker element. | ||
| * | ||
| * @see DateTimePicker | ||
| */ | ||
| export type DateTimePickerElement = ReturnType<typeof DateTimePicker>; | ||
| //# sourceMappingURL=DateTimePicker.d.cts.map |
| {"version":3,"file":"DateTimePicker.d.cts","sourceRoot":"","sources":["../../../../src/jsx/components/form/DateTimePicker.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,CAAC;AAIF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,gFAGpB,CAAC;AAER;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC"} |
| /** | ||
| * The props of the {@link DateTimePicker} component. | ||
| * | ||
| * @property name - The name of the date/time picker field. This is used to identify the | ||
| * date/time picker field in the form data. | ||
| * @property value - The value of the date/time picker field. Must be an ISO 8601 date string with | ||
| * timezone information. | ||
| * @property type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'. | ||
| * Defaults to 'datetime'. | ||
| * @property placeholder - The placeholder text of the date/time picker field. | ||
| * @property disabled - Whether the date/time picker field is disabled. | ||
| * @property disablePast - Whether to allow selection of past dates. Defaults to false. | ||
| * @property disableFuture - Whether to allow selection of future dates. Defaults to false. | ||
| */ | ||
| export type DateTimePickerProps = { | ||
| name: string; | ||
| value?: string | undefined; | ||
| type?: 'date' | 'time' | 'datetime' | undefined; | ||
| placeholder?: string | undefined; | ||
| disabled?: boolean | undefined; | ||
| disablePast?: boolean | undefined; | ||
| disableFuture?: boolean | undefined; | ||
| }; | ||
| /** | ||
| * A date/time picker component, which is used to create a date/time picker field. | ||
| * | ||
| * @param props - The props of the component. | ||
| * @param props.name - The name of the date/time picker field. This is used to identify the | ||
| * date/time picker field in the form data. | ||
| * @param props.value - The value of the date/time picker field. | ||
| * @param props.type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'. | ||
| * Defaults to 'datetime'. | ||
| * @param props.placeholder - The placeholder text of the date/time picker field. | ||
| * @param props.disabled - Whether the date/time picker field is disabled. | ||
| * @param props.disablePast - Whether to allow selection of past dates. Defaults to false. | ||
| * @param props.disableFuture - Whether to allow selection of future dates. Defaults to false. | ||
| */ | ||
| export declare const DateTimePicker: import("../../component.mjs").SnapComponent<DateTimePickerProps, "DateTimePicker">; | ||
| /** | ||
| * A DateTimePicker element. | ||
| * | ||
| * @see DateTimePicker | ||
| */ | ||
| export type DateTimePickerElement = ReturnType<typeof DateTimePicker>; | ||
| //# sourceMappingURL=DateTimePicker.d.mts.map |
| {"version":3,"file":"DateTimePicker.d.mts","sourceRoot":"","sources":["../../../../src/jsx/components/form/DateTimePicker.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,CAAC;AAIF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,cAAc,gFAGpB,CAAC;AAER;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC"} |
| import { createSnapComponent } from "../../component.mjs"; | ||
| const TYPE = 'DateTimePicker'; | ||
| /** | ||
| * A date/time picker component, which is used to create a date/time picker field. | ||
| * | ||
| * @param props - The props of the component. | ||
| * @param props.name - The name of the date/time picker field. This is used to identify the | ||
| * date/time picker field in the form data. | ||
| * @param props.value - The value of the date/time picker field. | ||
| * @param props.type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'. | ||
| * Defaults to 'datetime'. | ||
| * @param props.placeholder - The placeholder text of the date/time picker field. | ||
| * @param props.disabled - Whether the date/time picker field is disabled. | ||
| * @param props.disablePast - Whether to allow selection of past dates. Defaults to false. | ||
| * @param props.disableFuture - Whether to allow selection of future dates. Defaults to false. | ||
| */ | ||
| export const DateTimePicker = createSnapComponent(TYPE); | ||
| //# sourceMappingURL=DateTimePicker.mjs.map |
| {"version":3,"file":"DateTimePicker.mjs","sourceRoot":"","sources":["../../../../src/jsx/components/form/DateTimePicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,4BAAwB;AA0BtD,MAAM,IAAI,GAAG,gBAAgB,CAAC;AAE9B;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAG/C,IAAI,CAAC,CAAC","sourcesContent":["import { createSnapComponent } from '../../component';\n\n/**\n * The props of the {@link DateTimePicker} component.\n *\n * @property name - The name of the date/time picker field. This is used to identify the\n * date/time picker field in the form data.\n * @property value - The value of the date/time picker field. Must be an ISO 8601 date string with\n * timezone information.\n * @property type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'.\n * Defaults to 'datetime'.\n * @property placeholder - The placeholder text of the date/time picker field.\n * @property disabled - Whether the date/time picker field is disabled.\n * @property disablePast - Whether to allow selection of past dates. Defaults to false.\n * @property disableFuture - Whether to allow selection of future dates. Defaults to false.\n */\nexport type DateTimePickerProps = {\n name: string;\n value?: string | undefined;\n type?: 'date' | 'time' | 'datetime' | undefined;\n placeholder?: string | undefined;\n disabled?: boolean | undefined;\n disablePast?: boolean | undefined;\n disableFuture?: boolean | undefined;\n};\n\nconst TYPE = 'DateTimePicker';\n\n/**\n * A date/time picker component, which is used to create a date/time picker field.\n *\n * @param props - The props of the component.\n * @param props.name - The name of the date/time picker field. This is used to identify the\n * date/time picker field in the form data.\n * @param props.value - The value of the date/time picker field.\n * @param props.type - The type of the date/time picker field. Can be 'date', 'time', or 'datetime'.\n * Defaults to 'datetime'.\n * @param props.placeholder - The placeholder text of the date/time picker field.\n * @param props.disabled - Whether the date/time picker field is disabled.\n * @param props.disablePast - Whether to allow selection of past dates. Defaults to false.\n * @param props.disableFuture - Whether to allow selection of future dates. Defaults to false.\n */\nexport const DateTimePicker = createSnapComponent<\n DateTimePickerProps,\n typeof TYPE\n>(TYPE);\n\n/**\n * A DateTimePicker element.\n *\n * @see DateTimePicker\n */\nexport type DateTimePickerElement = ReturnType<typeof DateTimePicker>;\n"]} |
+9
-1
@@ -10,2 +10,9 @@ # Changelog | ||
| ## [10.2.0] | ||
| ### Added | ||
| - Add `DateTimePicker` component ([#3698](https://github.com/MetaMask/snaps/pull/3698)) | ||
| - Move `ISO8601DateStruct` from `@metamask/snaps-utils` to `@metamask/snaps-sdk` ([#3698](https://github.com/MetaMask/snaps/pull/3698)) | ||
| ## [10.1.0] | ||
@@ -670,3 +677,4 @@ | ||
| [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@10.1.0...HEAD | ||
| [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@10.2.0...HEAD | ||
| [10.2.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@10.1.0...@metamask/snaps-sdk@10.2.0 | ||
| [10.1.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@10.0.0...@metamask/snaps-sdk@10.1.0 | ||
@@ -673,0 +681,0 @@ [10.0.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@9.3.0...@metamask/snaps-sdk@10.0.0 |
+192
-192
@@ -12,6 +12,6 @@ /// <reference types="node" /> | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -27,6 +27,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -42,6 +42,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -70,6 +70,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -85,6 +85,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -100,6 +100,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -128,6 +128,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -143,6 +143,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -158,6 +158,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -186,6 +186,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -201,6 +201,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -216,6 +216,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -244,6 +244,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -259,6 +259,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -274,6 +274,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -302,6 +302,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -317,6 +317,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -332,6 +332,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -358,6 +358,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -373,6 +373,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -388,6 +388,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -416,6 +416,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -431,6 +431,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -446,6 +446,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -474,6 +474,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -489,6 +489,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -504,6 +504,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -532,6 +532,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -547,6 +547,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -562,6 +562,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -590,6 +590,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -605,6 +605,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -620,6 +620,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -648,6 +648,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -663,6 +663,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -678,6 +678,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -706,6 +706,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -721,6 +721,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -736,6 +736,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -762,6 +762,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -777,6 +777,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -792,6 +792,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -820,6 +820,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -835,6 +835,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -850,6 +850,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -878,6 +878,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -893,6 +893,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -908,6 +908,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -914,0 +914,0 @@ readonly code: number; |
+192
-192
@@ -12,6 +12,6 @@ /// <reference types="node" /> | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -27,6 +27,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -42,6 +42,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -70,6 +70,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -85,6 +85,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -100,6 +100,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -128,6 +128,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -143,6 +143,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -158,6 +158,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -186,6 +186,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -201,6 +201,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -216,6 +216,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -244,6 +244,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -259,6 +259,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -274,6 +274,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -302,6 +302,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -317,6 +317,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -332,6 +332,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -358,6 +358,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -373,6 +373,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -388,6 +388,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -416,6 +416,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -431,6 +431,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -446,6 +446,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -474,6 +474,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -489,6 +489,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -504,6 +504,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -532,6 +532,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -547,6 +547,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -562,6 +562,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -590,6 +590,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -605,6 +605,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -620,6 +620,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -648,6 +648,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -663,6 +663,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -678,6 +678,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -706,6 +706,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -721,6 +721,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -736,6 +736,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -762,6 +762,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -777,6 +777,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -792,6 +792,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -820,6 +820,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -835,6 +835,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -850,6 +850,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -878,6 +878,6 @@ readonly code: number; | ||
| new (message?: string | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -893,6 +893,6 @@ readonly code: number; | ||
| new (data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -908,6 +908,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, import("@metamask/utils").Json> | undefined, data?: Record<string, import("@metamask/utils").Json> | undefined): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, import("@metamask/utils").Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -914,0 +914,0 @@ readonly code: number; |
+2
-1
@@ -17,3 +17,3 @@ "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.assert = exports.nonEmptyRecord = exports.selectiveUnion = exports.typedUnion = exports.enumValue = exports.union = exports.literal = exports.SNAP_ERROR_MESSAGE = exports.SNAP_ERROR_CODE = exports.getErrorStack = exports.getErrorMessage = exports.getErrorData = void 0; | ||
| exports.assert = exports.ISO8601DateStruct = exports.nonEmptyRecord = exports.selectiveUnion = exports.typedUnion = exports.enumValue = exports.union = exports.literal = exports.SNAP_ERROR_MESSAGE = exports.SNAP_ERROR_CODE = exports.getErrorStack = exports.getErrorMessage = exports.getErrorData = void 0; | ||
| var internals_1 = require("./internals/index.cjs"); | ||
@@ -31,2 +31,3 @@ Object.defineProperty(exports, "getErrorData", { enumerable: true, get: function () { return internals_1.getErrorData; } }); | ||
| Object.defineProperty(exports, "nonEmptyRecord", { enumerable: true, get: function () { return internals_1.nonEmptyRecord; } }); | ||
| Object.defineProperty(exports, "ISO8601DateStruct", { enumerable: true, get: function () { return internals_1.ISO8601DateStruct; } }); | ||
| var utils_1 = require("@metamask/utils"); | ||
@@ -33,0 +34,0 @@ Object.defineProperty(exports, "assert", { enumerable: true, get: function () { return utils_1.assert; } }); |
+1
-1
| export type { EnumToUnion } from "./internals/index.cjs"; | ||
| export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, } from "./internals/index.cjs"; | ||
| export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, ISO8601DateStruct, } from "./internals/index.cjs"; | ||
| export type { Json, JsonRpcError, JsonRpcRequest, JsonRpcParams, } from "@metamask/utils"; | ||
@@ -4,0 +4,0 @@ export { assert } from "@metamask/utils"; |
+1
-1
| export type { EnumToUnion } from "./internals/index.mjs"; | ||
| export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, } from "./internals/index.mjs"; | ||
| export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, ISO8601DateStruct, } from "./internals/index.mjs"; | ||
| export type { Json, JsonRpcError, JsonRpcRequest, JsonRpcParams, } from "@metamask/utils"; | ||
@@ -4,0 +4,0 @@ export { assert } from "@metamask/utils"; |
+1
-1
@@ -1,2 +0,2 @@ | ||
| export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord } from "./internals/index.mjs"; | ||
| export { getErrorData, getErrorMessage, getErrorStack, SNAP_ERROR_CODE, SNAP_ERROR_MESSAGE, literal, union, enumValue, typedUnion, selectiveUnion, nonEmptyRecord, ISO8601DateStruct } from "./internals/index.mjs"; | ||
| export { assert } from "@metamask/utils"; | ||
@@ -3,0 +3,0 @@ export * from "./errors.mjs"; |
@@ -18,6 +18,6 @@ /// <reference types="node" /> | ||
| new (message?: string): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -33,6 +33,6 @@ readonly code: number; | ||
| new (data?: Record<string, Json>): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -48,6 +48,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, Json>, data?: Record<string, Json>): { | ||
| readonly "__#16449@#code": number; | ||
| readonly "__#16449@#message": string; | ||
| readonly "__#16449@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#16449@#stack"?: string | undefined; | ||
| readonly "__#16823@#code": number; | ||
| readonly "__#16823@#message": string; | ||
| readonly "__#16823@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#16823@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -54,0 +54,0 @@ readonly code: number; |
@@ -18,6 +18,6 @@ /// <reference types="node" /> | ||
| new (message?: string): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -33,6 +33,6 @@ readonly code: number; | ||
| new (data?: Record<string, Json>): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -48,6 +48,6 @@ readonly code: number; | ||
| new (message?: string | Record<string, Json>, data?: Record<string, Json>): { | ||
| readonly "__#8229@#code": number; | ||
| readonly "__#8229@#message": string; | ||
| readonly "__#8229@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#8229@#stack"?: string | undefined; | ||
| readonly "__#8417@#code": number; | ||
| readonly "__#8417@#message": string; | ||
| readonly "__#8417@#data"?: Record<string, Json> | undefined; | ||
| readonly "__#8417@#stack"?: string | undefined; | ||
| readonly name: string; | ||
@@ -54,0 +54,0 @@ readonly code: number; |
@@ -22,2 +22,3 @@ "use strict"; | ||
| __exportStar(require("./svg.cjs"), exports); | ||
| __exportStar(require("./time.cjs"), exports); | ||
| //# sourceMappingURL=index.cjs.map |
@@ -7,2 +7,3 @@ export * from "./error-wrappers.cjs"; | ||
| export * from "./svg.cjs"; | ||
| export * from "./time.cjs"; | ||
| //# sourceMappingURL=index.d.cts.map |
@@ -7,2 +7,3 @@ export * from "./error-wrappers.mjs"; | ||
| export * from "./svg.mjs"; | ||
| export * from "./time.mjs"; | ||
| //# sourceMappingURL=index.d.mts.map |
@@ -6,2 +6,3 @@ export * from "./error-wrappers.mjs"; | ||
| export * from "./svg.mjs"; | ||
| export * from "./time.mjs"; | ||
| //# sourceMappingURL=index.mjs.map |
@@ -5,2 +5,3 @@ import type { AccountSelectorElement } from "./AccountSelector.cjs"; | ||
| import type { CheckboxElement } from "./Checkbox.cjs"; | ||
| import type { DateTimePickerElement } from "./DateTimePicker.cjs"; | ||
| import type { DropdownElement } from "./Dropdown.cjs"; | ||
@@ -22,3 +23,3 @@ import type { FileInputElement } from "./FileInput.cjs"; | ||
| error?: string | undefined; | ||
| children: [InputElement, GenericSnapChildren] | [GenericSnapChildren, InputElement] | [GenericSnapChildren, InputElement, GenericSnapChildren] | DropdownElement | RadioGroupElement | FileInputElement | InputElement | CheckboxElement | SelectorElement | AssetSelectorElement | AddressInputElement | AccountSelectorElement; | ||
| children: [InputElement, GenericSnapChildren] | [GenericSnapChildren, InputElement] | [GenericSnapChildren, InputElement, GenericSnapChildren] | DropdownElement | DateTimePickerElement | RadioGroupElement | FileInputElement | InputElement | CheckboxElement | SelectorElement | AssetSelectorElement | AddressInputElement | AccountSelectorElement; | ||
| }; | ||
@@ -25,0 +26,0 @@ /** |
@@ -5,2 +5,3 @@ import type { AccountSelectorElement } from "./AccountSelector.mjs"; | ||
| import type { CheckboxElement } from "./Checkbox.mjs"; | ||
| import type { DateTimePickerElement } from "./DateTimePicker.mjs"; | ||
| import type { DropdownElement } from "./Dropdown.mjs"; | ||
@@ -22,3 +23,3 @@ import type { FileInputElement } from "./FileInput.mjs"; | ||
| error?: string | undefined; | ||
| children: [InputElement, GenericSnapChildren] | [GenericSnapChildren, InputElement] | [GenericSnapChildren, InputElement, GenericSnapChildren] | DropdownElement | RadioGroupElement | FileInputElement | InputElement | CheckboxElement | SelectorElement | AssetSelectorElement | AddressInputElement | AccountSelectorElement; | ||
| children: [InputElement, GenericSnapChildren] | [GenericSnapChildren, InputElement] | [GenericSnapChildren, InputElement, GenericSnapChildren] | DropdownElement | DateTimePickerElement | RadioGroupElement | FileInputElement | InputElement | CheckboxElement | SelectorElement | AssetSelectorElement | AddressInputElement | AccountSelectorElement; | ||
| }; | ||
@@ -25,0 +26,0 @@ /** |
@@ -22,2 +22,3 @@ "use strict"; | ||
| __exportStar(require("./Checkbox.cjs"), exports); | ||
| __exportStar(require("./DateTimePicker.cjs"), exports); | ||
| __exportStar(require("./Dropdown.cjs"), exports); | ||
@@ -24,0 +25,0 @@ __exportStar(require("./Option.cjs"), exports); |
@@ -6,2 +6,3 @@ import type { AccountSelectorElement } from "./AccountSelector.cjs"; | ||
| import type { CheckboxElement } from "./Checkbox.cjs"; | ||
| import type { DateTimePickerElement } from "./DateTimePicker.cjs"; | ||
| import type { DropdownElement } from "./Dropdown.cjs"; | ||
@@ -22,2 +23,3 @@ import type { FieldElement } from "./Field.cjs"; | ||
| export * from "./Checkbox.cjs"; | ||
| export * from "./DateTimePicker.cjs"; | ||
| export * from "./Dropdown.cjs"; | ||
@@ -33,3 +35,3 @@ export * from "./Option.cjs"; | ||
| export * from "./SelectorOption.cjs"; | ||
| export type StandardFormElement = AccountSelectorElement | AddressInputElement | AssetSelectorElement | ButtonElement | CheckboxElement | FormElement | FieldElement | FileInputElement | InputElement | DropdownElement | OptionElement | RadioElement | RadioGroupElement | SelectorElement | SelectorOptionElement; | ||
| export type StandardFormElement = AccountSelectorElement | AddressInputElement | AssetSelectorElement | ButtonElement | CheckboxElement | DateTimePickerElement | FormElement | FieldElement | FileInputElement | InputElement | DropdownElement | OptionElement | RadioElement | RadioGroupElement | SelectorElement | SelectorOptionElement; | ||
| //# sourceMappingURL=index.d.cts.map |
@@ -6,2 +6,3 @@ import type { AccountSelectorElement } from "./AccountSelector.mjs"; | ||
| import type { CheckboxElement } from "./Checkbox.mjs"; | ||
| import type { DateTimePickerElement } from "./DateTimePicker.mjs"; | ||
| import type { DropdownElement } from "./Dropdown.mjs"; | ||
@@ -22,2 +23,3 @@ import type { FieldElement } from "./Field.mjs"; | ||
| export * from "./Checkbox.mjs"; | ||
| export * from "./DateTimePicker.mjs"; | ||
| export * from "./Dropdown.mjs"; | ||
@@ -33,3 +35,3 @@ export * from "./Option.mjs"; | ||
| export * from "./SelectorOption.mjs"; | ||
| export type StandardFormElement = AccountSelectorElement | AddressInputElement | AssetSelectorElement | ButtonElement | CheckboxElement | FormElement | FieldElement | FileInputElement | InputElement | DropdownElement | OptionElement | RadioElement | RadioGroupElement | SelectorElement | SelectorOptionElement; | ||
| export type StandardFormElement = AccountSelectorElement | AddressInputElement | AssetSelectorElement | ButtonElement | CheckboxElement | DateTimePickerElement | FormElement | FieldElement | FileInputElement | InputElement | DropdownElement | OptionElement | RadioElement | RadioGroupElement | SelectorElement | SelectorOptionElement; | ||
| //# sourceMappingURL=index.d.mts.map |
@@ -6,2 +6,3 @@ export * from "./AccountSelector.mjs"; | ||
| export * from "./Checkbox.mjs"; | ||
| export * from "./DateTimePicker.mjs"; | ||
| export * from "./Dropdown.mjs"; | ||
@@ -8,0 +9,0 @@ export * from "./Option.mjs"; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.RowStruct = exports.BannerStruct = exports.TooltipStruct = exports.TooltipContentStruct = exports.TooltipChildStruct = exports.ValueStruct = exports.TextStruct = exports.SkeletonStruct = exports.LinkStruct = exports.HeadingStruct = exports.DividerStruct = exports.CopyableStruct = exports.FooterStruct = exports.FooterChildStruct = exports.SectionStruct = exports.FormStruct = exports.FormChildStruct = exports.BoxStruct = exports.BoxChildrenStruct = exports.AvatarStruct = exports.FormattingStruct = exports.ItalicStruct = exports.BoldStruct = exports.FieldStruct = exports.FieldChildUnionStruct = exports.FileInputStruct = exports.RadioGroupStruct = exports.RadioStruct = exports.AssetSelectorStruct = exports.SelectorStruct = exports.SelectorOptionStruct = exports.CardStruct = exports.AccountSelectorStruct = exports.AddressStruct = exports.DropdownStruct = exports.OptionStruct = exports.AddressInputStruct = exports.InputStruct = exports.NumberInputPropsStruct = exports.PasswordInputPropsStruct = exports.TextInputPropsStruct = exports.GenericInputPropsStruct = exports.CheckboxStruct = exports.ButtonStruct = exports.IconStruct = exports.ImageStruct = exports.BorderRadiusStruct = exports.ElementStruct = exports.StringElementStruct = exports.KeyStruct = void 0; | ||
| exports.assertJSXElement = exports.isJSXElementUnsafe = exports.isJSXElement = exports.JSXElementStruct = exports.RootJSXElementStruct = exports.ContainerStruct = exports.BoxChildStruct = exports.SpinnerStruct = void 0; | ||
| exports.BannerStruct = exports.TooltipStruct = exports.TooltipContentStruct = exports.TooltipChildStruct = exports.ValueStruct = exports.TextStruct = exports.SkeletonStruct = exports.LinkStruct = exports.HeadingStruct = exports.DividerStruct = exports.CopyableStruct = exports.FooterStruct = exports.FooterChildStruct = exports.SectionStruct = exports.FormStruct = exports.FormChildStruct = exports.BoxStruct = exports.BoxChildrenStruct = exports.AvatarStruct = exports.FormattingStruct = exports.ItalicStruct = exports.BoldStruct = exports.FieldStruct = exports.FieldChildUnionStruct = exports.FileInputStruct = exports.RadioGroupStruct = exports.RadioStruct = exports.AssetSelectorStruct = exports.SelectorStruct = exports.SelectorOptionStruct = exports.CardStruct = exports.AccountSelectorStruct = exports.AddressStruct = exports.DateTimePickerStruct = exports.DropdownStruct = exports.OptionStruct = exports.AddressInputStruct = exports.InputStruct = exports.NumberInputPropsStruct = exports.PasswordInputPropsStruct = exports.TextInputPropsStruct = exports.GenericInputPropsStruct = exports.CheckboxStruct = exports.ButtonStruct = exports.IconStruct = exports.ImageStruct = exports.BorderRadiusStruct = exports.ElementStruct = exports.StringElementStruct = exports.KeyStruct = void 0; | ||
| exports.assertJSXElement = exports.isJSXElementUnsafe = exports.isJSXElement = exports.JSXElementStruct = exports.RootJSXElementStruct = exports.ContainerStruct = exports.BoxChildStruct = exports.SpinnerStruct = exports.RowStruct = void 0; | ||
| const superstruct_1 = require("@metamask/superstruct"); | ||
@@ -227,2 +227,14 @@ const utils_1 = require("@metamask/utils"); | ||
| /** | ||
| * A struct for the {@link DateTimePickerElement} type. | ||
| */ | ||
| exports.DateTimePickerStruct = element('DateTimePicker', { | ||
| name: (0, superstruct_1.string)(), | ||
| type: (0, superstruct_1.optional)((0, internals_1.nullUnion)([(0, internals_1.literal)('date'), (0, internals_1.literal)('time'), (0, internals_1.literal)('datetime')])), | ||
| placeholder: (0, superstruct_1.optional)((0, superstruct_1.string)()), | ||
| disabled: (0, superstruct_1.optional)((0, superstruct_1.boolean)()), | ||
| disablePast: (0, superstruct_1.optional)((0, superstruct_1.boolean)()), | ||
| disableFuture: (0, superstruct_1.optional)((0, superstruct_1.boolean)()), | ||
| value: (0, superstruct_1.optional)(internals_1.ISO8601DateStruct), | ||
| }); | ||
| /** | ||
| * A struct for the {@link AddressElement} type. | ||
@@ -360,2 +372,3 @@ */ | ||
| exports.SelectorStruct, | ||
| exports.DateTimePickerStruct, | ||
| ]; | ||
@@ -690,2 +703,3 @@ /** | ||
| exports.CopyableStruct, | ||
| exports.DateTimePickerStruct, | ||
| exports.DividerStruct, | ||
@@ -752,2 +766,3 @@ exports.DropdownStruct, | ||
| exports.CopyableStruct, | ||
| exports.DateTimePickerStruct, | ||
| exports.DividerStruct, | ||
@@ -754,0 +769,0 @@ exports.HeadingStruct, |
| import type { Struct } from "@metamask/superstruct"; | ||
| import type { GenericSnapElement, Key, SnapElement, SnapsChildren, StringElement } from "./component.cjs"; | ||
| import type { AssetSelectorElement, AccountSelectorElement, SkeletonElement, AddressElement, AddressInputElement, BoldElement, BoxElement, ButtonElement, CheckboxElement, CardElement, CopyableElement, DividerElement, DropdownElement, OptionElement, RadioElement, RadioGroupElement, FieldElement, FormElement, HeadingElement, ImageElement, InputElement, ItalicElement, JSXElement, LinkElement, RowElement, SpinnerElement, StandardFormattingElement, TextElement, TooltipElement, ValueElement, FileInputElement, ContainerElement, FooterElement, IconElement, SectionElement, SelectorElement, SelectorOptionElement, BannerElement } from "./components/index.cjs"; | ||
| import type { AssetSelectorElement, AccountSelectorElement, SkeletonElement, AddressElement, AddressInputElement, BoldElement, BoxElement, ButtonElement, CheckboxElement, CardElement, CopyableElement, DividerElement, DropdownElement, OptionElement, RadioElement, RadioGroupElement, FieldElement, FormElement, HeadingElement, ImageElement, InputElement, ItalicElement, JSXElement, LinkElement, RowElement, SpinnerElement, StandardFormattingElement, TextElement, TooltipElement, ValueElement, FileInputElement, ContainerElement, FooterElement, IconElement, SectionElement, SelectorElement, SelectorOptionElement, BannerElement, DateTimePickerElement } from "./components/index.cjs"; | ||
| import type { Describe } from "../internals/index.cjs"; | ||
@@ -122,2 +122,6 @@ /** | ||
| /** | ||
| * A struct for the {@link DateTimePickerElement} type. | ||
| */ | ||
| export declare const DateTimePickerStruct: Describe<DateTimePickerElement>; | ||
| /** | ||
| * A struct for the {@link AddressElement} type. | ||
@@ -166,3 +170,3 @@ */ | ||
| borderRadius?: import("./components/index.cjs").BorderRadius; | ||
| }, "Image"> | SnapElement<import("./components/index.cjs").ButtonProps, "Button"> | SnapElement<import("./components/index.cjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.cjs").FormProps, "Form"> | SnapElement<import("./components/index.cjs").InputProps, "Input"> | SnapElement<import("./components/index.cjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| }, "Image"> | SnapElement<import("./components/index.cjs").ButtonProps, "Button"> | SnapElement<import("./components/index.cjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.cjs").DateTimePickerProps, "DateTimePicker"> | SnapElement<import("./components/index.cjs").FormProps, "Form"> | SnapElement<import("./components/index.cjs").InputProps, "Input"> | SnapElement<import("./components/index.cjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| name: string; | ||
@@ -290,3 +294,3 @@ value?: string | undefined; | ||
| borderRadius?: import("./components/index.cjs").BorderRadius; | ||
| }, "Image"> | SnapElement<import("./components/index.cjs").ButtonProps, "Button"> | SnapElement<import("./components/index.cjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.cjs").FormProps, "Form"> | SnapElement<import("./components/index.cjs").InputProps, "Input"> | SnapElement<import("./components/index.cjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| }, "Image"> | SnapElement<import("./components/index.cjs").ButtonProps, "Button"> | SnapElement<import("./components/index.cjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.cjs").DateTimePickerProps, "DateTimePicker"> | SnapElement<import("./components/index.cjs").FormProps, "Form"> | SnapElement<import("./components/index.cjs").InputProps, "Input"> | SnapElement<import("./components/index.cjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| name: string; | ||
@@ -316,3 +320,3 @@ value?: string | undefined; | ||
| borderRadius?: import("./components/index.cjs").BorderRadius; | ||
| }, "Image"> | SnapElement<import("./components/index.cjs").ButtonProps, "Button"> | SnapElement<import("./components/index.cjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.cjs").FormProps, "Form"> | SnapElement<import("./components/index.cjs").InputProps, "Input"> | SnapElement<import("./components/index.cjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| }, "Image"> | SnapElement<import("./components/index.cjs").ButtonProps, "Button"> | SnapElement<import("./components/index.cjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.cjs").DateTimePickerProps, "DateTimePicker"> | SnapElement<import("./components/index.cjs").FormProps, "Form"> | SnapElement<import("./components/index.cjs").InputProps, "Input"> | SnapElement<import("./components/index.cjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| name: string; | ||
@@ -319,0 +323,0 @@ value?: string | undefined; |
| import type { Struct } from "@metamask/superstruct"; | ||
| import type { GenericSnapElement, Key, SnapElement, SnapsChildren, StringElement } from "./component.mjs"; | ||
| import type { AssetSelectorElement, AccountSelectorElement, SkeletonElement, AddressElement, AddressInputElement, BoldElement, BoxElement, ButtonElement, CheckboxElement, CardElement, CopyableElement, DividerElement, DropdownElement, OptionElement, RadioElement, RadioGroupElement, FieldElement, FormElement, HeadingElement, ImageElement, InputElement, ItalicElement, JSXElement, LinkElement, RowElement, SpinnerElement, StandardFormattingElement, TextElement, TooltipElement, ValueElement, FileInputElement, ContainerElement, FooterElement, IconElement, SectionElement, SelectorElement, SelectorOptionElement, BannerElement } from "./components/index.mjs"; | ||
| import type { AssetSelectorElement, AccountSelectorElement, SkeletonElement, AddressElement, AddressInputElement, BoldElement, BoxElement, ButtonElement, CheckboxElement, CardElement, CopyableElement, DividerElement, DropdownElement, OptionElement, RadioElement, RadioGroupElement, FieldElement, FormElement, HeadingElement, ImageElement, InputElement, ItalicElement, JSXElement, LinkElement, RowElement, SpinnerElement, StandardFormattingElement, TextElement, TooltipElement, ValueElement, FileInputElement, ContainerElement, FooterElement, IconElement, SectionElement, SelectorElement, SelectorOptionElement, BannerElement, DateTimePickerElement } from "./components/index.mjs"; | ||
| import type { Describe } from "../internals/index.mjs"; | ||
@@ -122,2 +122,6 @@ /** | ||
| /** | ||
| * A struct for the {@link DateTimePickerElement} type. | ||
| */ | ||
| export declare const DateTimePickerStruct: Describe<DateTimePickerElement>; | ||
| /** | ||
| * A struct for the {@link AddressElement} type. | ||
@@ -166,3 +170,3 @@ */ | ||
| borderRadius?: import("./components/index.mjs").BorderRadius; | ||
| }, "Image"> | SnapElement<import("./components/index.mjs").ButtonProps, "Button"> | SnapElement<import("./components/index.mjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.mjs").FormProps, "Form"> | SnapElement<import("./components/index.mjs").InputProps, "Input"> | SnapElement<import("./components/index.mjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| }, "Image"> | SnapElement<import("./components/index.mjs").ButtonProps, "Button"> | SnapElement<import("./components/index.mjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.mjs").DateTimePickerProps, "DateTimePicker"> | SnapElement<import("./components/index.mjs").FormProps, "Form"> | SnapElement<import("./components/index.mjs").InputProps, "Input"> | SnapElement<import("./components/index.mjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| name: string; | ||
@@ -290,3 +294,3 @@ value?: string | undefined; | ||
| borderRadius?: import("./components/index.mjs").BorderRadius; | ||
| }, "Image"> | SnapElement<import("./components/index.mjs").ButtonProps, "Button"> | SnapElement<import("./components/index.mjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.mjs").FormProps, "Form"> | SnapElement<import("./components/index.mjs").InputProps, "Input"> | SnapElement<import("./components/index.mjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| }, "Image"> | SnapElement<import("./components/index.mjs").ButtonProps, "Button"> | SnapElement<import("./components/index.mjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.mjs").DateTimePickerProps, "DateTimePicker"> | SnapElement<import("./components/index.mjs").FormProps, "Form"> | SnapElement<import("./components/index.mjs").InputProps, "Input"> | SnapElement<import("./components/index.mjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| name: string; | ||
@@ -316,3 +320,3 @@ value?: string | undefined; | ||
| borderRadius?: import("./components/index.mjs").BorderRadius; | ||
| }, "Image"> | SnapElement<import("./components/index.mjs").ButtonProps, "Button"> | SnapElement<import("./components/index.mjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.mjs").FormProps, "Form"> | SnapElement<import("./components/index.mjs").InputProps, "Input"> | SnapElement<import("./components/index.mjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| }, "Image"> | SnapElement<import("./components/index.mjs").ButtonProps, "Button"> | SnapElement<import("./components/index.mjs").CheckboxProps, "Checkbox"> | SnapElement<import("./components/index.mjs").DateTimePickerProps, "DateTimePicker"> | SnapElement<import("./components/index.mjs").FormProps, "Form"> | SnapElement<import("./components/index.mjs").InputProps, "Input"> | SnapElement<import("./components/index.mjs").DropdownProps, "Dropdown"> | SnapElement<{ | ||
| name: string; | ||
@@ -319,0 +323,0 @@ value?: string | undefined; |
| import { is, boolean, optional, array, lazy, nullable, number, object, record, string, tuple, refine, assign, union } from "@metamask/superstruct"; | ||
| import { CaipAccountIdStruct, CaipChainIdStruct, hasProperty, HexChecksumAddressStruct, isPlainObject, JsonStruct } from "@metamask/utils"; | ||
| import { IconName } from "./components/index.mjs"; | ||
| import { literal, nullUnion, selectiveUnion, svg, typedUnion } from "../internals/index.mjs"; | ||
| import { literal, nullUnion, selectiveUnion, svg, typedUnion, ISO8601DateStruct } from "../internals/index.mjs"; | ||
| import { NonEip155AssetTypeStruct, NonEip155ChainIdStruct, NonEip155CaipAccountIdsMatchedByAddressAndNamespaceStruct } from "../types/index.mjs"; | ||
@@ -223,2 +223,14 @@ /** | ||
| /** | ||
| * A struct for the {@link DateTimePickerElement} type. | ||
| */ | ||
| export const DateTimePickerStruct = element('DateTimePicker', { | ||
| name: string(), | ||
| type: optional(nullUnion([literal('date'), literal('time'), literal('datetime')])), | ||
| placeholder: optional(string()), | ||
| disabled: optional(boolean()), | ||
| disablePast: optional(boolean()), | ||
| disableFuture: optional(boolean()), | ||
| value: optional(ISO8601DateStruct), | ||
| }); | ||
| /** | ||
| * A struct for the {@link AddressElement} type. | ||
@@ -356,2 +368,3 @@ */ | ||
| SelectorStruct, | ||
| DateTimePickerStruct, | ||
| ]; | ||
@@ -686,2 +699,3 @@ /** | ||
| CopyableStruct, | ||
| DateTimePickerStruct, | ||
| DividerStruct, | ||
@@ -748,2 +762,3 @@ DropdownStruct, | ||
| CopyableStruct, | ||
| DateTimePickerStruct, | ||
| DividerStruct, | ||
@@ -750,0 +765,0 @@ HeadingStruct, |
@@ -137,3 +137,3 @@ import type { Infer } from "@metamask/superstruct"; | ||
| borderRadius?: import("../jsx/index.cjs").BorderRadius; | ||
| }, "Image"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").ButtonProps, "Button"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").CheckboxProps, "Checkbox"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").FormProps, "Form"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").InputProps, "Input"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").DropdownProps, "Dropdown"> | import("../jsx/index.cjs").SnapElement<{ | ||
| }, "Image"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").ButtonProps, "Button"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").CheckboxProps, "Checkbox"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").DateTimePickerProps, "DateTimePicker"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").FormProps, "Form"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").InputProps, "Input"> | import("../jsx/index.cjs").SnapElement<import("../jsx/index.cjs").DropdownProps, "Dropdown"> | import("../jsx/index.cjs").SnapElement<{ | ||
| name: string; | ||
@@ -140,0 +140,0 @@ value?: string | undefined; |
@@ -137,3 +137,3 @@ import type { Infer } from "@metamask/superstruct"; | ||
| borderRadius?: import("../jsx/index.mjs").BorderRadius; | ||
| }, "Image"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").ButtonProps, "Button"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").CheckboxProps, "Checkbox"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").FormProps, "Form"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").InputProps, "Input"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").DropdownProps, "Dropdown"> | import("../jsx/index.mjs").SnapElement<{ | ||
| }, "Image"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").ButtonProps, "Button"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").CheckboxProps, "Checkbox"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").DateTimePickerProps, "DateTimePicker"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").FormProps, "Form"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").InputProps, "Input"> | import("../jsx/index.mjs").SnapElement<import("../jsx/index.mjs").DropdownProps, "Dropdown"> | import("../jsx/index.mjs").SnapElement<{ | ||
| name: string; | ||
@@ -140,0 +140,0 @@ value?: string | undefined; |
+4
-2
| { | ||
| "name": "@metamask/snaps-sdk", | ||
| "version": "10.1.0", | ||
| "version": "10.2.0", | ||
| "description": "A library containing the core functionality for building MetaMask Snaps", | ||
@@ -98,3 +98,4 @@ "keywords": [ | ||
| "@metamask/superstruct": "^3.2.1", | ||
| "@metamask/utils": "^11.8.1" | ||
| "@metamask/utils": "^11.8.1", | ||
| "luxon": "^3.5.0" | ||
| }, | ||
@@ -106,2 +107,3 @@ "devDependencies": { | ||
| "@types/jest": "^27.5.1", | ||
| "@types/luxon": "^3", | ||
| "deepmerge": "^4.2.2", | ||
@@ -108,0 +110,0 @@ "depcheck": "^1.4.7", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1836139
1.37%1146
1.42%7831
1.5%6
20%16
6.67%7
40%+ Added
+ Added