Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
bump version and add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihirota committed Feb 27, 2024
1 parent 415bbab commit feff43d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.4.0] - 2024-02-27
## [4.0.0] - 2024-02-27

### Added

- Added on chain registration workflow for StarkEx V4 contract.
- [BREAKING CHANGE] Update `StarkSigner` interface to add 2 methods - `signMessage` and `getYCoordinate`.

## [3.3.0] - 2024-02-27

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@imtbl/core-sdk",
"version": "3.4.0",
"version": "4.0.0",
"description": "Immutable Core SDK",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
Expand Down
14 changes: 9 additions & 5 deletions src/types/signers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,24 @@ export interface StarkSigner {
*/
signMessage(message: string): Promise<string>;

/**
* Get the Signer address
* @returns the Signer's checksum address
*/
getAddress(): string | Promise<string>;

/**
* Signs the prefixed-message
* @params message - this must be a UTF8-message
* @returns the signed prefixed-message
*/
sign(message: string): Promise<ec.Signature>;

getYCoordinate(): string;

/**
* Get the Signer address
* @returns the Signer's checksum address
* Get the Y-coordinate of the public key
* @returns the Y-coordinate of the public key
*/
getAddress(): string | Promise<string>;
getYCoordinate(): string;
}

/**
Expand Down

0 comments on commit feff43d

Please sign in to comment.