Skip to content

Commit

Permalink
v1.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Mar 22, 2023
1 parent 7430a2f commit fcefc30
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions packages/typechain-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@727-ventures/typechain-compiler",
"version": "0.5.19",
"version": "1.0.0-beta.1",
"description": "Util to test and compile your rust project",
"bin": {
"typechain-compiler": "bin/index.js"
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"homepage": "https://github.com/727-ventures/typechain-polkadot#readme",
"dependencies": {
"@727-ventures/typechain-polkadot": "0.6.12",
"@727-ventures/typechain-polkadot": "1.0.0-beta.1",
"@types/consola": "^2.2.5",
"@types/yargs": "^17.0.10",
"chalk": "^4.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/typechain-polkadot-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@727-ventures/typechain-polkadot-parser",
"version": "0.3.6",
"version": "1.0.0",
"description": "Parser that can generate typescript definitions from ABI of the contract",
"scripts": {
"test": "ts-node index.ts"
Expand All @@ -16,8 +16,8 @@
},
"homepage": "https://github.com/727-ventures/typechain-polkadot#readme",
"dependencies": {
"@polkadot/api": "^9.13.4",
"@polkadot/api-contract": "^9.13.4",
"@polkadot/api": "^10.1.4",
"@polkadot/api-contract": "^10.1.4",
"@types/bn.js": "^5.1.0",
"@types/node": "^18.0.3",
"typescript": "^4.7.4",
Expand Down
10 changes: 5 additions & 5 deletions packages/typechain-polkadot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@727-ventures/typechain-polkadot",
"version": "0.6.12",
"version": "1.0.0-beta.1",
"scripts": {
"start": "ts-node index.ts --in artifacts --out out",
"lint": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\"",
Expand All @@ -21,10 +21,10 @@
},
"engineStrict": true,
"dependencies": {
"@polkadot/api": "^9.13.4",
"@polkadot/api-contract": "^9.13.4",
"@polkadot/keyring": "^10.2.1",
"@727-ventures/typechain-polkadot-parser": "0.3.6",
"@polkadot/api": "^10.1.4",
"@polkadot/api-contract": "^10.1.4",
"@polkadot/keyring": "^11.1.1",
"@727-ventures/typechain-polkadot-parser": "1.0.0",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.11.18",
"@types/yargs": "^17.0.10",
Expand Down
8 changes: 4 additions & 4 deletions packages/typechain-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@727-ventures/typechain-types",
"version": "0.0.24",
"version": "1.0.0-beta.1",
"description": "Types and utility function for TypeChain",
"repository": {
"type": "git",
Expand All @@ -24,11 +24,11 @@
"main": "dist/index.js",
"homepage": "https://github.com/727-ventures/typechain-polkadot#readme",
"dependencies": {
"@polkadot/api": "^9.13.4",
"@polkadot/api-contract": "^9.13.4",
"@polkadot/api": "^10.1.4",
"@polkadot/api-contract": "^10.1.4",
"@types/bn.js": "^5.1.0",
"@types/node": "^18.0.3",
"camelcase": "^6.3.0",
"typescript": "^4.9.4"
"typescript": "^4.9.5"
}
}
10 changes: 5 additions & 5 deletions tests/config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as PolkadotAPI from '@polkadot/api';
import {Keyring} from "@polkadot/api";
import type {KeyringPair} from "@polkadot/keyring/types";

export const GetAccounts = () => {
const keyring = new PolkadotAPI.Keyring({type: 'sr25519'});
const keyring = new Keyring({type: 'sr25519'});

const UserAlice: KeyringPair = keyring.addFromUri('//Alice');
const UserBob: KeyringPair = keyring.addFromUri('//Bob');
const UserCharlie: KeyringPair = keyring.addFromUri('//Charlie');
const UserAlice: KeyringPair = keyring.createFromUri('//Alice');
const UserBob: KeyringPair = keyring.createFromUri('//Bob');
const UserCharlie: KeyringPair = keyring.createFromUri('//Charlie');

return {
UserAlice, UserBob, UserCharlie,
Expand Down

0 comments on commit fcefc30

Please sign in to comment.