-
> I think that using [zod](https://www.npmjs.com/package/zod) instead of superstruct is better option for NodeNext.
_Originally posted by @piquark6046 in https://github.com/AdguardTeam/tsurlfilter/…
-
Failed to compile.
./node_modules/@metamask/utils/dist/chunk-6C35XQOF.mjs
Attempted import error: 'Struct' is not exported from 'superstruct'.
The build process failed in a file named chunk-6C3…
-
This mostly involves work around deeply nested struct definitions i.e. unions of unions. We need a way to reliably throw the correct error and perhaps give a diff of thrown errors all at once.
-
### Checklist
- [X] I have updated to the latest available Home Assistant version.
- [X] I have cleared the cache of my browser.
- [X] I have tried a different browser to see if it is related to my b…
-
## Overview
```ts
type TokenBalance = {
accountIndex: number;
mint: string;
owner?: string;
uiTokenAmount: TokenAmount;
};
```
This type lacks the `programId` field specif…
-
Several parser libraries include disclaimers about email validation:
https://valibot.dev/api/email/
https://github.com/ianstormtaylor/superstruct?tab=readme-ov-file#why
https://github.com/eff…
-
## Description
I'm working on adding some features to `superstruct` that should make it easier to work with blinded vs. full payloads as enums https://github.com/sigp/superstruct/pull/35
It will…
-
# Description
It seems that using a single literal in an `enums` struct will not be interpreted by `Describe` properly when working with TS types that are literals. Is this the wrong usage of `enums`…
-
### What is the new or updated feature that you are suggesting?
Please consider adding support for `superstruct` https://docs.superstructjs.org/
### Why should this feature be included?
`superstruc…
-
## Description
Electra's new attestation type has introduced a match boilerplate.
https://github.com/sigp/lighthouse/blob/c4f2284dbe00ade38e93b1bac35c235386759cb9/consensus/types/src/beacon_bloc…