@typemove/aptos 1.2.6 → 1.2.7-rc.1
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 +3 -3
- package/package.json +2 -2
package/Readme.md
CHANGED
|
@@ -29,15 +29,15 @@ Use `yarn typemove-aptos --help` to see detail description.
|
|
|
29
29
|
A few examples:
|
|
30
30
|
- generate types for an address on mainnet:
|
|
31
31
|
```typescript
|
|
32
|
-
yarn typemove-aptos --target-dir
|
|
32
|
+
yarn typemove-aptos --target-dir=./src/types --abi-dir=./src/abis 0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af
|
|
33
33
|
```
|
|
34
34
|
- generate types for local ABI files stored in `./src/abis`:
|
|
35
35
|
```typescript
|
|
36
|
-
yarn typemove-aptos --target-dir
|
|
36
|
+
yarn typemove-aptos --target-dir=./src/types ./src/abis
|
|
37
37
|
```
|
|
38
38
|
- generate types using local node:
|
|
39
39
|
```typescript
|
|
40
|
-
yarn typemove-aptos --network
|
|
40
|
+
yarn typemove-aptos --network="http://localhost:8080" 0x48271d39d0b05bd6efca2278f22277d6fcc375504f9839fd73f74ace240861af
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
### Decode object
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typemove/aptos",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"commander": "^11.1.0",
|
|
35
35
|
"prettier": "^3.0.3",
|
|
36
36
|
"radash": "^11.0.0",
|
|
37
|
-
"@typemove/move": "1.2.
|
|
37
|
+
"@typemove/move": "1.2.7-rc.1"
|
|
38
38
|
},
|
|
39
39
|
"url": "https://github.com/sentioxyz/typemove",
|
|
40
40
|
"scripts": {
|