@optique/valibot 0.9.0-dev.217 → 0.9.0-dev.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -171,7 +171,6 @@ function inferMetavar(schema) {
171
171
  */
172
172
  function valibot$1(schema, options = {}) {
173
173
  return {
174
- $mode: "sync",
175
174
  metavar: options.metavar ?? inferMetavar(schema),
176
175
  parse(input) {
177
176
  const result = (0, valibot.safeParse)(schema, input);
package/dist/index.d.cts CHANGED
@@ -108,6 +108,6 @@ interface ValibotParserOptions {
108
108
  *
109
109
  * @since 0.7.0
110
110
  */
111
- declare function valibot<T>(schema: v.BaseSchema<unknown, T, v.BaseIssue<unknown>>, options?: ValibotParserOptions): ValueParser<"sync", T>;
111
+ declare function valibot<T>(schema: v.BaseSchema<unknown, T, v.BaseIssue<unknown>>, options?: ValibotParserOptions): ValueParser<T>;
112
112
  //#endregion
113
113
  export { ValibotParserOptions, valibot };
package/dist/index.d.ts CHANGED
@@ -108,6 +108,6 @@ interface ValibotParserOptions {
108
108
  *
109
109
  * @since 0.7.0
110
110
  */
111
- declare function valibot<T>(schema: v.BaseSchema<unknown, T, v.BaseIssue<unknown>>, options?: ValibotParserOptions): ValueParser<"sync", T>;
111
+ declare function valibot<T>(schema: v.BaseSchema<unknown, T, v.BaseIssue<unknown>>, options?: ValibotParserOptions): ValueParser<T>;
112
112
  //#endregion
113
113
  export { ValibotParserOptions, valibot };
package/dist/index.js CHANGED
@@ -148,7 +148,6 @@ function inferMetavar(schema) {
148
148
  */
149
149
  function valibot(schema, options = {}) {
150
150
  return {
151
- $mode: "sync",
152
151
  metavar: options.metavar ?? inferMetavar(schema),
153
152
  parse(input) {
154
153
  const result = safeParse(schema, input);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/valibot",
3
- "version": "0.9.0-dev.217+7fc9df46",
3
+ "version": "0.9.0-dev.224+d01487f2",
4
4
  "description": "Valibot value parsers for Optique",
5
5
  "keywords": [
6
6
  "CLI",