Socket
Socket
Sign inDemoInstall

abitype

Package Overview
Dependencies
Maintainers
0
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abitype - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

dist/cjs/version.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '1.0.4';
exports.version = '1.0.5';
//# sourceMappingURL=version.js.map

@@ -0,3 +1,4 @@

// biome-ignore lint/performance/noBarrelFile: <explanation>
export { customSolidityErrorsHumanReadableAbi, ensHumanReadableAbi, ensRegistryWithFallbackHumanReadableAbi, erc20HumanReadableAbi, nestedTupleArrayHumanReadableAbi, nounsAuctionHouseHumanReadableAbi, seaportHumanReadableAbi, wagmiMintExampleHumanReadableAbi, wethHumanReadableAbi, writingEditionsFactoryHumanReadableAbi, eip165HumanReadableAbi, } from '../abis/human-readable.js';
export { customSolidityErrorsAbi, ensAbi, ensRegistryWithFallbackAbi, erc20Abi, nestedTupleArrayAbi, nounsAuctionHouseAbi, seaportAbi, wagmiMintExampleAbi, wethAbi, writingEditionsFactoryAbi, eip165Abi, } from '../abis/json.js';
//# sourceMappingURL=abis.js.map

@@ -0,1 +1,2 @@

// biome-ignore lint/performance/noBarrelFile: <explanation>
export { BaseError } from '../errors.js';

@@ -2,0 +3,0 @@ export { narrow } from '../narrow.js';

@@ -0,2 +1,3 @@

// biome-ignore lint/performance/noBarrelFile: <explanation>
export { Address, SolidityAddress, SolidityBool, SolidityBytes, SolidityFunction, SolidityString, SolidityTuple, SolidityInt, SolidityArrayWithoutTuple, SolidityArrayWithTuple, SolidityArray, AbiParameter, AbiEventParameter, AbiStateMutability, AbiFunction, AbiConstructor, AbiFallback, AbiReceive, AbiEvent, AbiError, AbiItemType, Abi, TypedDataDomain, TypedDataType, TypedDataParameter, TypedData, } from '../zod.js';
//# sourceMappingURL=zod.js.map

@@ -1,2 +0,2 @@

export const version = '1.0.4';
export const version = '1.0.5';
//# sourceMappingURL=version.js.map

@@ -102,4 +102,11 @@ import type { AbiParameter, AbiStateMutability, AbiType, SolidityFixedArrayRange } from '../../abi.js';

Inputs: parameters;
StateMutability: scopeOrStateMutability extends `${Scope} ${infer stateMutability extends AbiStateMutability}` ? stateMutability : scopeOrStateMutability extends AbiStateMutability ? scopeOrStateMutability : 'nonpayable';
} : never;
StateMutability: _ParseStateMutability<scopeOrStateMutability>;
} : signature extends `function ${string}(${infer tail}` ? _UnwrapNameOrModifier<tail> extends {
nameOrModifier: infer scopeOrStateMutability extends string;
End: infer parameters;
} ? {
Inputs: parameters;
StateMutability: _ParseStateMutability<scopeOrStateMutability>;
} : never : never;
type _ParseStateMutability<signature extends string> = signature extends `${Scope} ${infer stateMutability extends AbiStateMutability}` ? stateMutability : signature extends AbiStateMutability ? signature : 'nonpayable';
type _ParseConstructorParametersAndStateMutability<signature extends string> = signature extends `constructor(${infer parameters}) payable` ? {

@@ -106,0 +113,0 @@ Inputs: parameters;

@@ -1,2 +0,2 @@

export declare const version = "1.0.4";
export declare const version = "1.0.5";
//# sourceMappingURL=version.d.ts.map
{
"name": "abitype",
"description": "Strict TypeScript types for Ethereum ABIs",
"version": "1.0.4",
"version": "1.0.5",
"license": "MIT",

@@ -15,4 +15,5 @@ "repository": "wevm/abitype",

"!src/**/*.bench.ts",
"!src/**/*.test-d.ts",
"!src/**/*.test.ts"
"!src/**/*.bench-d.ts",
"!src/**/*.test.ts",
"!src/**/*.test-d.ts"
],

@@ -19,0 +20,0 @@ "sideEffects": false,

@@ -0,1 +1,2 @@

// biome-ignore lint/performance/noBarrelFile: <explanation>
export {

@@ -2,0 +3,0 @@ customSolidityErrorsHumanReadableAbi,

@@ -35,2 +35,3 @@ export type {

// biome-ignore lint/performance/noBarrelFile: <explanation>
export { BaseError } from '../errors.js'

@@ -37,0 +38,0 @@

@@ -0,1 +1,2 @@

// biome-ignore lint/performance/noBarrelFile: <explanation>
export {

@@ -2,0 +3,0 @@ Address,

@@ -258,10 +258,23 @@ import type {

Inputs: parameters
StateMutability: scopeOrStateMutability extends `${Scope} ${infer stateMutability extends AbiStateMutability}`
? stateMutability
: scopeOrStateMutability extends AbiStateMutability
? scopeOrStateMutability
: 'nonpayable'
StateMutability: _ParseStateMutability<scopeOrStateMutability>
}
: never
: signature extends `function ${string}(${infer tail}`
? _UnwrapNameOrModifier<tail> extends {
nameOrModifier: infer scopeOrStateMutability extends string
End: infer parameters
}
? {
Inputs: parameters
StateMutability: _ParseStateMutability<scopeOrStateMutability>
}
: never
: never
type _ParseStateMutability<signature extends string> =
signature extends `${Scope} ${infer stateMutability extends AbiStateMutability}`
? stateMutability
: signature extends AbiStateMutability
? signature
: 'nonpayable'
type _ParseConstructorParametersAndStateMutability<signature extends string> =

@@ -268,0 +281,0 @@ signature extends `constructor(${infer parameters}) payable`

@@ -1,1 +0,1 @@

export const version = '1.0.4'
export const version = '1.0.5'

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc