Skip to content

Commit

Permalink
fix rarimo client parse cosmos context type error
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Dec 11, 2023
1 parent 7974f19 commit 7b64eae
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 18 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ 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).

## [2.0.0-rc.33] - 2023-12-11
### Fixed
- `@rarimo/client` - Parse cosmos context type error

## [2.0.0-rc.32] - 2023-12-01
### Added
- `@rarimo/client` - Core types
Expand Down Expand Up @@ -505,7 +509,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Under the hood changes
- Initiated repo with `@rarimo/provider` and `@rarimo/nft-checkout` packages

[Unreleased]: https://github.com/rarimo/js-sdk/compare/2.0.0-rc.32...HEAD
[Unreleased]: https://github.com/rarimo/js-sdk/compare/2.0.0-rc.33...HEAD
[2.0.0-rc.33]: https://github.com/rarimo/js-sdk/compare/2.0.0-rc.32...2.0.0-rc.33
[2.0.0-rc.32]: https://github.com/rarimo/js-sdk/compare/2.0.0-rc.31...2.0.0-rc.32
[2.0.0-rc.31]: https://github.com/rarimo/js-sdk/compare/2.0.0-rc.30...2.0.0-rc.31
[2.0.0-rc.30]: https://github.com/rarimo/js-sdk/compare/2.0.0-rc.29...2.0.0-rc.30
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-zkp-iden3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/auth-zkp-iden3",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Tools that authenticate a zero-knowledge proof and provide verifiable credentials from it.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/bridge",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Internal tools that other Rarimo packages use to bridge tokens.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/client",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "The Rarimo chain client",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/helpers/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import type { FetcherRequestOpts } from '@distributedlab/fetcher'
import type { CosmosRequestContext } from '@/types'

export const parseCosmosRequest = (
context: Partial<CosmosRequestContext>,
context?: Partial<CosmosRequestContext>,
): Partial<{
'x-cosmos-block-height': string
}> => {
return {
...(context.blockHeight && {
...(context?.blockHeight && {
'x-cosmos-block-height': context.blockHeight,
}),
}
Expand Down
2 changes: 1 addition & 1 deletion packages/identity-gen-iden3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/identity-gen-iden3",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Tools that generate distributed identities for the Iden3 protocol.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/nft-checkout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/nft-checkout",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Features of the Rarimo SDK that create cross-chain transactions based on the Rarimo protocol.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/provider",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "A common interface for access to wallets (EVM and non-EVM) in the Rarimo SDK, used by packages that provide access to wallets on specific chains such as @rarimo/providers-evm, @rarimo/providers-solana, and @rarimo/providers-near.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers-evm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/providers-evm",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Features of the Rarimo SDK that provide access to wallets and the ability to interact with them on EVM-compatible blockchains.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers-near/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/providers-near",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Features of the Rarimo SDK that provide access to wallets and the ability to interact with them on the NEAR blockchain.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/providers-solana/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/providers-solana",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Features of the Rarimo SDK that provide access to wallets and the ability to interact with them on the Solana blockchain.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-nft-checkout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/react-nft-checkout",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "React components that you can use in your UI to create cross-chain transactions with the Rarimo protocol.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/react-provider",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Tools to connect to wallets in React applications through the Rarimo SDK.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-zkp-iden3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/shared-zkp-iden3",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Utility functions, types and constants that other Rarimo packages use for identity functionality.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/shared",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Utility functions, types and constants shared across Rarimo packages.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/swap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/swap",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Internal tools that other Rarimo packages use to swap tokens.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/zkp-gen-iden3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rarimo/zkp-gen-iden3",
"version": "2.0.0-rc.32",
"version": "2.0.0-rc.33",
"description": "Tools that generate zero-knowledge proofs for the Iden3 protocol.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 7b64eae

Please sign in to comment.