dedot 0.0.1-alpha.23 → 0.0.1-alpha.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/cjs/packageInfo.js +1 -1
- package/package.json +7 -7
- package/packageInfo.js +1 -1
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ yarn add -D @dedot/chaintypes
|
|
|
115
115
|
npm i -D @dedot/chaintypes
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
Initialize a `
|
|
118
|
+
Initialize a `Dedot` instance using the `ChainApi` interface for a target chain to enable types & APIs suggestion/autocompletion for that particular chain:
|
|
119
119
|
```typescript
|
|
120
120
|
import { Dedot } from 'dedot';
|
|
121
121
|
import type { PolkadotApi, KusamaApi, MoonbeamApi, AstarApi } from '@dedot/chaintypes';
|
|
@@ -239,6 +239,12 @@ await api.query.system.events(async (eventRecords) => {
|
|
|
239
239
|
|
|
240
240
|
`dedot` take a lot of inspirations from project [@polkadot/api](https://github.com/polkadot-js/api). A big thank to all the maintainers/contributors of this awesome library.
|
|
241
241
|
|
|
242
|
+
Proudly supported by Web3 Foundation Grants Program.
|
|
243
|
+
<p align="left">
|
|
244
|
+
<img width="479" src="https://user-images.githubusercontent.com/6867026/227230786-0796214a-3e3f-42af-94e9-d4122c730b62.png">
|
|
245
|
+
</p>
|
|
246
|
+
|
|
247
|
+
|
|
242
248
|
### License
|
|
243
249
|
|
|
244
250
|
[Apache-2.0](https://github.com/dedotdev/dedot/blob/main/LICENSE)
|
package/cjs/packageInfo.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// THIS FILE IS AUTO-GENERATED, DO NOT EDIT!
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.packageInfo = void 0;
|
|
5
|
-
exports.packageInfo = { name: 'dedot', version: '0.0.1-alpha.
|
|
5
|
+
exports.packageInfo = { name: 'dedot', version: '0.0.1-alpha.23' };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dedot",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.24",
|
|
4
4
|
"description": "A fast & lightweight JavaScript/TypeScript client for Polkadot & Substrate",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"homepage": "https://github.com/dedotdev/dedot",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"main": "./cjs/index.js",
|
|
13
13
|
"type": "module",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@dedot/chaintypes": "0.0.1-alpha.
|
|
16
|
-
"@dedot/codecs": "0.0.1-alpha.
|
|
17
|
-
"@dedot/shape": "0.0.1-alpha.
|
|
18
|
-
"@dedot/specs": "0.0.1-alpha.
|
|
19
|
-
"@dedot/utils": "0.0.1-alpha.
|
|
15
|
+
"@dedot/chaintypes": "0.0.1-alpha.24",
|
|
16
|
+
"@dedot/codecs": "0.0.1-alpha.24",
|
|
17
|
+
"@dedot/shape": "0.0.1-alpha.24",
|
|
18
|
+
"@dedot/specs": "0.0.1-alpha.24",
|
|
19
|
+
"@dedot/utils": "0.0.1-alpha.24",
|
|
20
20
|
"@polkadot/rpc-provider": "^10.11.2",
|
|
21
21
|
"@polkadot/util": "^12.6.2",
|
|
22
22
|
"@polkadot/util-crypto": "^12.6.2",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@polkadot/keyring": "^12.6.2",
|
|
37
37
|
"@polkadot/types": "^10.11.2"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "1f9e0958a787fbbd99b965e1955d7cdce076ca28",
|
|
40
40
|
"module": "./index.js",
|
|
41
41
|
"types": "./index.d.ts",
|
|
42
42
|
"exports": {
|
package/packageInfo.js
CHANGED