Skip to content

Commit

Permalink
export missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
juliancwirko committed Sep 30, 2023
1 parent 5cd2e60 commit bbad2d9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 21 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### [0.9.4](https://github.com/useElven/core/releases/tag/v0.9.4) (2023-09-30)
- export `TransactionParams` type
- update dependencies

### [0.9.3](https://github.com/useElven/core/releases/tag/v0.9.3) (2023-09-28)
- support domains with the port number in native auth token initialization
- pass api url configuration (overwrite) to native auth token initialization
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
## useElven core

Please be aware that the tools are still in the development phase. You can use them, but versions below 1.0.0 will still have breaking changes.

### Docs

- [useElven.com](https://www.useElven.com)

The documentation is also under development. There will be more complete examples soon.
Please be aware that versions below 1.0.0 will still have breaking changes. Till then, please 'freeze' the version of useElven in your app, and decide when to upgrade.

### About

`useElven` is a set of hooks and tools designed to work with React-base applications.

It is a wrapper for [sdk-js](https://docs.multiversx.com/sdk-and-tools/sdk-js/) - a set of Typescript/Javascript libraries.

### Docs

- [useElven.com](https://www.useElven.com)

Below are a couple of steps for a quick start, but please check the docs and example apps.

### Install

```bash
Expand Down Expand Up @@ -85,8 +85,8 @@ All of these you can already find in [Next.js Dapp Template](https://github.com/

See ready to use demo templates:

- [Next.js Dapp Template](https://github.com/xdevguild/nextjs-dapp-template)
- [React + Vite Dapp Template](https://useElven-react-vite-demo.netlify.app)
- [Next.js Dapp Template (with Shadcn UI, Tailwind, Radix UI)](https://github.com/xdevguild/nextjs-dapp-template)
- [React + Vite Dapp Template (witch Chakra UI)](https://github.com/useElven/react-vite)

### Development

Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useelven/core",
"version": "0.9.3",
"version": "0.9.4",
"description": "Core hooks for MultiversX React DApps",
"license": "MIT",
"author": "Julian Ćwirko <julian.io>",
Expand Down Expand Up @@ -76,7 +76,7 @@
},
"devDependencies": {
"@types/lodash.clonedeep": "4.5.7",
"@types/node": "20.7.1",
"@types/node": "20.8.0",
"@types/react": "18.2.23",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { useLoginInfo } from './useLoginInfo';
import { useAccount } from './useAccount';
import { useNetwork } from './useNetwork';

interface TransactionParams {
export interface TransactionParams {
address: string;
gasLimit: IGasLimit;
data?: ITransactionPayload;
Expand Down

0 comments on commit bbad2d9

Please sign in to comment.