diff --git a/README.md b/README.md index 34176baa..4b10c867 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This library generates TypeScript types from an `ink!`-based smart contract. # NOTE -This library is a modified version of 727-venture's typechain-polkadot library. Our team at prosopo is currently in the process of revamping the library to incorporate bug fixes, updates from polkadot libraries, and various improvements. Both the 727-venture and Brushfam iterations of this library seem to be in a state of disrepair, which prompted us to take it over. It's important to note that, at present, generating TypeScript code from a contract is functional, but only through the command line. The functionality of calling via JavaScript and the plugin system is currently flawed. We plan to address and rectify these issues in the near future. +This library is a modified version of 727-venture's typechain-polkadot library. Our team at prosopo is currently in the process of revamping the library to incorporate bug fixes, updates from polkadot libraries, and various improvements. ### Installation & import diff --git a/docs/about.md b/docs/about.md index b0df88fc..a3f75885 100644 --- a/docs/about.md +++ b/docs/about.md @@ -154,8 +154,8 @@ Add the following to your `package.json`: "@types/node": "^17.0.34", "ts-node": "^10.7.0", "typescript": "^4.6.4", - "@polkadot/api": "10.9.1", - "@polkadot/api-contract": "10.9.1", + "@polkadot/api": "^10.12.1", + "@polkadot/api-contract": "^10.12.1", "@polkadot/keyring": "^10.4.2", "@types/bn.js": "^5.1.0" } diff --git a/examples/README.md b/examples/README.md index 7e5e2cc3..928d9202 100644 --- a/examples/README.md +++ b/examples/README.md @@ -13,8 +13,8 @@ This directory contains examples of parsed contracts and pieces of advice how to "@types/node": "^17.0.34", "ts-node": "^10.7.0", "typescript": "^4.6.4", - "@polkadot/api": "10.9.1", - "@polkadot/api-contract": "10.9.1", + "@polkadot/api": "10.12.1", + "@polkadot/api-contract": "10.12.1", "@types/bn.js": "^5.1.0" } ``` diff --git a/examples/plugins/package.json b/examples/plugins/package.json index 9b024868..561ea98d 100644 --- a/examples/plugins/package.json +++ b/examples/plugins/package.json @@ -13,8 +13,8 @@ "@types/node": "^17.0.34", "ts-node": "^10.7.0", "typescript": "^5.2.2", - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "10.12.1", + "@polkadot/api-contract": "10.12.1", "@types/bn.js": "^5.1.0" }, "author": "Varex Silver", diff --git a/examples/psp22/package.json b/examples/psp22/package.json index 4764ce35..24c14123 100644 --- a/examples/psp22/package.json +++ b/examples/psp22/package.json @@ -13,8 +13,8 @@ "@types/node": "^18.8.0", "ts-node": "^10.7.0", "typescript": "^5.2.2", - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "10.12.1", + "@polkadot/api-contract": "10.12.1", "@types/bn.js": "^5.1.0" }, "author": "Supercolony-net", diff --git a/examples/psp34/package.json b/examples/psp34/package.json index 30556e8e..f9fbcd9a 100644 --- a/examples/psp34/package.json +++ b/examples/psp34/package.json @@ -13,8 +13,8 @@ "@types/node": "^18.8.0", "ts-node": "^10.7.0", "typescript": "^5.2.2", - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "10.12.1", + "@polkadot/api-contract": "10.12.1", "@types/bn.js": "^5.1.1" }, "author": "Supercolony-net", diff --git a/examples/psp34_enumerable/package.json b/examples/psp34_enumerable/package.json index ea04a237..3e5c21cc 100644 --- a/examples/psp34_enumerable/package.json +++ b/examples/psp34_enumerable/package.json @@ -13,8 +13,8 @@ "@types/node": "^18.8.0", "ts-node": "^10.7.0", "typescript": "^5.2.2", - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "^10.12.1", + "@polkadot/api-contract": "^10.12.1", "@types/bn.js": "^5.1.0" }, "author": "Supercolony-net", diff --git a/packages/typechain-polkadot-parser/package.json b/packages/typechain-polkadot-parser/package.json index 3a099030..dbba47af 100644 --- a/packages/typechain-polkadot-parser/package.json +++ b/packages/typechain-polkadot-parser/package.json @@ -20,8 +20,8 @@ }, "homepage": "https://github.com/prosopo/typechain-polkadot#readme", "dependencies": { - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "10.12.1", + "@polkadot/api-contract": "10.12.1", "@types/bn.js": "^5.1.0", "@types/node": "^18.0.3", "camelcase": "^6.3.0", diff --git a/packages/typechain-polkadot/package.json b/packages/typechain-polkadot/package.json index 746b6f89..5c4b03c3 100644 --- a/packages/typechain-polkadot/package.json +++ b/packages/typechain-polkadot/package.json @@ -23,8 +23,8 @@ }, "engineStrict": true, "dependencies": { - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "10.12.2", + "@polkadot/api-contract": "10.12.2", "@polkadot/keyring": "12.6.2", "@prosopo/typechain-polkadot-parser": "1.1.14", "@types/fs-extra": "^9.0.13", diff --git a/packages/typechain-types/package.json b/packages/typechain-types/package.json index f098714b..2683b269 100644 --- a/packages/typechain-types/package.json +++ b/packages/typechain-types/package.json @@ -27,8 +27,8 @@ "main": "dist/index.js", "homepage": "https://github.com/prosopo/typechain-polkadot#readme", "dependencies": { - "@polkadot/api": "10.11.2", - "@polkadot/api-contract": "10.11.2", + "@polkadot/api": "10.12.1", + "@polkadot/api-contract": "10.12.1", "@types/bn.js": "^5.1.0", "@types/node": "^18.0.3", "camelcase": "^6.3.0",