Comparing version 0.0.0-canary.20240226T000921 to 0.0.0-canary.20240302T224936
@@ -50,3 +50,3 @@ "use strict"; | ||
exports.execConstructorSignature = execConstructorSignature; | ||
const fallbackSignatureRegex = /^fallback\(\)$/; | ||
const fallbackSignatureRegex = /^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/; | ||
function isFallbackSignature(signature) { | ||
@@ -53,0 +53,0 @@ return fallbackSignatureRegex.test(signature); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '0.0.0-canary.20240226T000921'; | ||
exports.version = '0.0.0-canary.20240302T224936'; | ||
//# sourceMappingURL=version.js.map |
@@ -42,4 +42,4 @@ import { execTyped } from '../../regex.js'; | ||
} | ||
// https://regexr.com/78u18 | ||
const fallbackSignatureRegex = /^fallback\(\)$/; | ||
// https://regexr.com/7srtn | ||
const fallbackSignatureRegex = /^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/; | ||
export function isFallbackSignature(signature) { | ||
@@ -46,0 +46,0 @@ return fallbackSignatureRegex.test(signature); |
@@ -1,2 +0,2 @@ | ||
export const version = '0.0.0-canary.20240226T000921'; | ||
export const version = '0.0.0-canary.20240302T224936'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.0.0-canary.20240226T000921"; | ||
export declare const version = "0.0.0-canary.20240302T224936"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "abitype", | ||
"description": "Strict TypeScript types for Ethereum ABIs", | ||
"version": "0.0.0-canary.20240226T000921", | ||
"version": "0.0.0-canary.20240302T224936", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "wevm/abitype", |
@@ -76,4 +76,5 @@ import type { AbiStateMutability } from '../../abi.js' | ||
// https://regexr.com/78u18 | ||
const fallbackSignatureRegex = /^fallback\(\)$/ | ||
// https://regexr.com/7srtn | ||
const fallbackSignatureRegex = | ||
/^fallback\(\) external(?:\s(?<stateMutability>payable{1}))?$/ | ||
export function isFallbackSignature(signature: string) { | ||
@@ -80,0 +81,0 @@ return fallbackSignatureRegex.test(signature) |
@@ -1,1 +0,1 @@ | ||
export const version = '0.0.0-canary.20240226T000921' | ||
export const version = '0.0.0-canary.20240302T224936' |
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
1156162
23898