@typemove/sui 1.5.1 → 1.5.2-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.
Files changed (2) hide show
  1. package/Readme.md +8 -4
  2. package/package.json +2 -2
package/Readme.md CHANGED
@@ -1,4 +1,8 @@
1
- # Typemove
1
+ <p align="center">
2
+ <img src="../../images/logo.png" width="300" alt="TypeChain">
3
+ </p>
4
+
5
+ # TypeMove
2
6
  Generate TypeScript bindings for Sui contracts.
3
7
  ## Features
4
8
  - Code generation for SUI smart contract based on ABI
@@ -43,7 +47,7 @@ A few examples:
43
47
 
44
48
  ### Decode Object
45
49
  ```typescript
46
- import { defaultMoveCoder } from '../move-coder.js'
50
+ import { defaultMoveCoder } from '@typemove/sui'
47
51
  import { single_collateral } from './types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.js'
48
52
 
49
53
  const res = await defaultMoveCoder().decodedType(
@@ -52,8 +56,8 @@ const res = await defaultMoveCoder().decodedType(
52
56
  )
53
57
  ```
54
58
 
55
- <details>
56
- <summary>Without TypeMove</summary>
59
+ <details open>
60
+ <summary>Click to see what's like without TypeMove</summary>
57
61
 
58
62
  ```typescript
59
63
  export interface Info {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typemove/sui",
3
- "version": "1.5.1",
3
+ "version": "1.5.2-rc.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -36,7 +36,7 @@
36
36
  "commander": "^11.1.0",
37
37
  "prettier": "^3.2.4",
38
38
  "radash": "^11.0.0",
39
- "@typemove/move": "1.5.1"
39
+ "@typemove/move": "1.5.2-rc.1"
40
40
  },
41
41
  "url": "https://github.com/sentioxyz/typemove",
42
42
  "scripts": {