Skip to content

Commit

Permalink
v0.0.4 - ic_siwe, ic_siwe_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Jan 31, 2024
1 parent 963b5ab commit 09cb809
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions packages/ic_siwe/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ 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).

## [0.0.4] - 2021-10-31

Aligning version numbers with [ic_siwe_provider](https://github.com/kristoferlund/ic-siwe/tree/main/packages/ic_siwe_provider)

### Added

- `EthAddress` and `EthSignature` structs for type safety.
- Added basic validation of delegation targets. Duplicate targets are now rejected.

### Changed
- Library functions now mostly returns custom error types instead of strings. As a result, many error messages now differ slighlty to previous version.
- `prepare_login` and `login` now requires `EthAddress` and `EthSignature` structs instead of strings.
- Replaced `create_user_canister_pubkey` with a more readable implementation.


##

## [0.0.1] - 2024-01-23

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/ic_siwe/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ic_siwe"
version = "0.0.1"
version = "0.0.4"
edition = "2021"
authors = ["Kristofer Lund <kristofer@kristoferlund.se>"]
description = "Integrate Ethereum wallet-based authentication (SIWE) with applications on the Internet Computer (ICP) platform."
Expand Down
6 changes: 6 additions & 0 deletions packages/ic_siwe_provider/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +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).

## [0.0.4] - 2021-10-31

### Changed

- Service functions `prepare_login`, `login` and `get_delegation` have been renamed `siwe_prepare_login`, `siwe_login` and `siwe_get_delegation` respectively. See [ic_siwe_provider.did](./ic_siwe_provider.did) for details.

## [0.0.3] - 2024-01-15

- Sync version number with `ic-use-actor` and `ic-use-siwe-identity`.
Expand Down
9 changes: 6 additions & 3 deletions packages/ic_siwe_provider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[package]
name = "ic_siwe_provider"
version = "0.0.3"
version = "0.0.4"
edition = "2021"
authors = ["Kristofer Lund <kristofer@kristoferlund.se>"]
description = "Using the pre built ic_siwe_provider canister is the easiest way to integrate Ethereum wallet authentication into an Internet Computer (ICP) application."
license = "MIT"
homepage = "https://github.com/kristoferlund/ic-siwe"
repository = "https://github.com/kristoferlund/ic-siwe"

[lib]
crate-type = ["cdylib"]
Expand All @@ -24,5 +29,3 @@ pocket-ic = "2.0.1"
siwe = "0.6"
rand = "0.8.4"
ring = "0.16.20"


Binary file modified packages/ic_siwe_provider/ic_siwe_provider.wasm.gz
Binary file not shown.

0 comments on commit 09cb809

Please sign in to comment.