Skip to content

5.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@crhistianramirez crhistianramirez released this 06 Dec 20:13
· 268 commits to master since this release

Fixed

  • OrderCloudError was not serializing errors correctly (breaking change). There was a bug where ordercloud errors were incorrectly nested under an additional Errors property. This has been fixed to match the typescript type

    Before:

    catch(exception) {
        const ordercloudErrors = exception.errors.Errors;
    }

    After:

    catch(exception) {
        const ordercloudErrors = exception.errors;
    }