Comparing version
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '0.0.0-canary-20241107200558'; | ||
exports.version = '0.0.0-canary-20241108090507'; | ||
//# sourceMappingURL=version.js.map |
/** @internal */ | ||
export const version = '0.0.0-canary-20241107200558'; | ||
export const version = '0.0.0-canary-20241108090507'; | ||
//# sourceMappingURL=version.js.map |
@@ -7,3 +7,3 @@ import type { Generic, MethodNameGeneric } from '../RpcSchema.js'; | ||
params?: unknown; | ||
} & (IsNarrowable<methodName, schema['Request']['method']> extends true ? IsNarrowable<schema, Generic> extends true ? Extract<schema, { | ||
} & (methodName extends schema['Request']['method'] ? IsNarrowable<schema, Generic> extends true ? Extract<schema, { | ||
Request: { | ||
@@ -10,0 +10,0 @@ method: methodName; |
/** @internal */ | ||
export declare const version = "0.0.0-canary-20241107200558"; | ||
export declare const version = "0.0.0-canary-20241108090507"; | ||
//# sourceMappingURL=version.d.ts.map |
# ox | ||
## 0.0.0-canary-20241107200558 | ||
## 0.0.0-canary-20241108090507 | ||
### Patch Changes | ||
- [`b7de4f2`](https://github.com/wevm/ox/commit/b7de4f2180520fd7f2bf08955df6e676d75db93e) Thanks [@jxom](https://github.com/jxom)! - Fixed \`RpcSchema\` inference on \`params\`. | ||
## 0.1.0 | ||
### Minor Changes | ||
- [`4297bcf`](https://github.com/wevm/ox/commit/4297bcf0acef7f1f208ba3770d679fefa0c2cb8d) Thanks [@jxom](https://github.com/jxom)! - Initial release. |
@@ -13,3 +13,3 @@ import type { Generic, MethodNameGeneric } from '../RpcSchema.js' | ||
params?: unknown | ||
} & (IsNarrowable<methodName, schema['Request']['method']> extends true | ||
} & (methodName extends schema['Request']['method'] | ||
? IsNarrowable<schema, Generic> extends true | ||
@@ -16,0 +16,0 @@ ? Extract<schema, { Request: { method: methodName } }>['Request'] |
{ | ||
"name": "ox", | ||
"description": "Ethereum Standard Library", | ||
"version": "0.0.0-canary-20241107200558", | ||
"version": "0.0.0-canary-20241108090507", | ||
"main": "./_cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./_esm/index.js", |
/** @internal */ | ||
export const version = '0.0.0-canary-20241107200558' | ||
export const version = '0.0.0-canary-20241108090507' |
Sorry, the diff of this file is not supported yet
4750251
0