starkware-libs / starkex-js

JavaScript SDK for StarkEx
https://starkware.co/starkex/api/
28 stars 18 forks source link

feat(2847512314): Add Stark Error Code #16

Closed danielgluskin-starkware closed 2 years ago

danielgluskin-starkware commented 2 years ago

Description of the Changes

Add stark-error-codes.

Used as follows:

console.log(StarkExClient.StarkErrorCode.INVALID_BATCH_ID); // 7
console.log(StarkExClient.StarkErrorCode[7]); // INVALID_BATCH_ID

Solves #2847512314


Checklist

dan-ziv commented 2 years ago

:tada: This PR is included in version 0.1.0-dev.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: