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),