From d15331a7b8459ab52c1c16dd9eaa190879babe53 Mon Sep 17 00:00:00 2001 From: JohnWickkkk7 Date: Mon, 26 May 2025 21:16:51 +0800 Subject: [PATCH] chore: --- bindings/helpers.ts | 2 +- wrapper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/helpers.ts b/bindings/helpers.ts index b3e6ade9..7c614ad9 100644 --- a/bindings/helpers.ts +++ b/bindings/helpers.ts @@ -26,7 +26,7 @@ export function getSupportedMethods (solJson) { resetSupported: anyMethodExists(solJson, 'solidity_reset'), compileJsonSupported: anyMethodExists(solJson, 'compileJSON'), compileJsonMultiSupported: anyMethodExists(solJson, 'compileJSONMulti'), - compileJsonCallbackSuppported: anyMethodExists(solJson, 'compileJSONCallback'), + compileJsonCallbackSupported: anyMethodExists(solJson, 'compileJSONCallback'), compileJsonStandardSupported: anyMethodExists(solJson, 'compileStandard', 'solidity_compile') }; } diff --git a/wrapper.ts b/wrapper.ts index e9bf471e..1ab6a3eb 100755 --- a/wrapper.ts +++ b/wrapper.ts @@ -28,7 +28,7 @@ function wrapper (soljson) { features: { legacySingleInput: methodFlags.compileJsonStandardSupported, multipleInputs: methodFlags.compileJsonMultiSupported || methodFlags.compileJsonStandardSupported, - importCallback: methodFlags.compileJsonCallbackSuppported || methodFlags.compileJsonStandardSupported, + importCallback: methodFlags.compileJsonCallbackSupported || methodFlags.compileJsonStandardSupported, nativeStandardJSON: methodFlags.compileJsonStandardSupported }, compile: compileStandardWrapper.bind(this, compileBindings),