This repository has been archived by the owner on May 16, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ImmutableX.ts * Cleanup exports. * refactor: token type as string instead of enum this allows consumer to avoid having to import TokenType enum * DX-1154 refactor interfaces with SignableToken (#149) * refactor: remove sender from transfer interfaces sender eth address can be filled in using the wallet connection * refactor(ERC20Deposit): remove unused field symbol * refactor: simplify request interfaces - Consolidate deposit/withdrawal interfaces with TokenAmount - Simplify order/transfer request interfaces - Remove decimals from ERC20 GetSignableToken requests [DX-1184] - Remove token_id from ERC20 encode asset api call * fix: optional chaining error response for 404 check * [DX-1156] fix: Undecimalise amounts on deposits (#151) Update depositETH and depositERC20 workflows to accept undecimalised amounts. * [DX-1153] Signed timestamp APIs to handle auth internally (#153) * [DX-1185]: Clean up dependencies (#162) * [DX-1224] Fix peer dependency warnings (#163) * DX-1152 remove stark key derivation (#150) Added export function createStarkSigner(privateKey: string): StarkSigner in utils/stark/stark-signer Added export function generatePrivateKey(): string in utils/stark/stark-curve to generate a new private key at this point it's the responsibility of the developer to store the key against Eth address Removed Stark key derivation from Eth signature - this is going to be moved to Wallet/Link SDK Removed ethereumjs-wallet dependency moved code and renamed some files * fix(isRegisteredOnchain): handle USER_UNREGISTERED (#169) Registration contract isRegistered method may throw `error.reason = 'USER_UNREGISTERED'` Updated to catch errors where reason is USER_UNREGISTERED to return false. For all other errors, throw exception. This issue was causing exceptions for registerAndDeposit/Withdraw methods when using unregistered(onchain) users. * [DX-1221] Annotate exposed functions & types (#170) * feat: Add typedoc annotations to custom types & refactor export structure * [DX-1235] Return expected response types (#172) * Beta release support (#181) * feat: Add beta tagging for releases * feat: add methods from MetadataRefreshesApi (#175) Co-authored-by: Chris James <[email protected]> Co-authored-by: Nik Ho <[email protected]> Co-authored-by: Kostia Kim <[email protected]> Co-authored-by: Matthew Muscat <[email protected]> Co-authored-by: Adaura <[email protected]>
- Loading branch information