Skip to content

Commit

Permalink
Support gearVoucher.call tx and keepAlive parameter in gear txs (#1436
Browse files Browse the repository at this point in the history
)
  • Loading branch information
osipov-mit authored Oct 24, 2023
1 parent 9969691 commit 81222d9
Show file tree
Hide file tree
Showing 27 changed files with 421 additions and 184 deletions.
11 changes: 11 additions & 0 deletions api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 0.35.0

_09/29/2023_

### Changes
https://github.com/gear-tech/gear-js/pull/1436
- Support `gearVoucher.call` extrinsic according to https://github.com/gear-tech/gear/pull/3401
- Support `keepAlive` field in `sendMessage`, `sendReply`, `uploadProgram` and `createProgram` extrinsics accoriding to https://github.com/gear-tech/gear/pull/3425
- Bump `polkadot-js` version to 10.10.1
- Support different APIs for Vara and Vara Testnet Network

## 0.34.0

_09/29/2023_
Expand Down
1 change: 1 addition & 0 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const nodeVersion = await gearApi.nodeVersion();
const genesis = gearApi.genesisHash.toHex();
```

Since Vara and VaraTestnet can have different runtime versions, they can have different extrinsics signatures. If your application is running on the Vara Network it is more convinient to use the `VaraApi` class instead of `GearApi` and `VaraTestnetApi` for the Vara Testnet Network
---

## Payloads and metadata
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gear-js/api",
"version": "0.34.0",
"version": "0.35.0",
"description": "A JavaScript library that provides functionality to connect GEAR Component APIs.",
"main": "cjs/index.js",
"module": "index.js",
Expand Down
Loading

0 comments on commit 81222d9

Please sign in to comment.