Comparing version 0.9.6 to 0.9.7
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '0.9.6'; | ||
exports.version = '0.9.7'; | ||
//# sourceMappingURL=version.js.map |
@@ -36,3 +36,3 @@ "use strict"; | ||
exports.AbiParameter = zod_1.z.lazy(() => zod_1.z.intersection(zod_1.z.object({ | ||
name: Identifier.optional(), | ||
name: zod_1.z.union([Identifier.optional(), zod_1.z.literal('')]), | ||
internalType: zod_1.z.string().optional(), | ||
@@ -39,0 +39,0 @@ }), zod_1.z.union([ |
@@ -1,2 +0,2 @@ | ||
export const version = '0.9.6'; | ||
export const version = '0.9.7'; | ||
//# sourceMappingURL=version.js.map |
@@ -33,3 +33,3 @@ import { z } from 'zod'; | ||
export const AbiParameter = z.lazy(() => z.intersection(z.object({ | ||
name: Identifier.optional(), | ||
name: z.union([Identifier.optional(), z.literal('')]), | ||
internalType: z.string().optional(), | ||
@@ -36,0 +36,0 @@ }), z.union([ |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.9.6"; | ||
export declare const version = "0.9.7"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "abitype", | ||
"description": "Strict TypeScript types for Ethereum ABIs", | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "wagmi-dev/abitype", |
@@ -44,3 +44,3 @@ <br/> | ||
```ts | ||
import type { AbiParametersToPrimitiveTypes, ExtractAbiFunctions, ExtractAbiFunctionNames } from 'abitype' | ||
import type { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from 'abitype' | ||
import { erc20Abi } from 'abitype/test' | ||
@@ -47,0 +47,0 @@ |
@@ -1,1 +0,1 @@ | ||
export const version = '0.9.6' | ||
export const version = '0.9.7' |
@@ -55,3 +55,3 @@ import { z } from 'zod' | ||
z.object({ | ||
name: Identifier.optional(), | ||
name: z.union([Identifier.optional(), z.literal('')]), | ||
/** Representation used by Solidity compiler */ | ||
@@ -58,0 +58,0 @@ internalType: z.string().optional(), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1171074