@msafe/sui3-sdk 0.0.33 → 0.0.35
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 +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
SDK for MSafe SUI V3
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## Test
|
|
7
6
|
|
|
8
7
|
### Local test
|
|
@@ -13,7 +12,7 @@ Make sure you have MySQL database installed and setup.
|
|
|
13
12
|
yarn test
|
|
14
13
|
```
|
|
15
14
|
|
|
16
|
-
The data will be written into the local database for further debug purpose.
|
|
15
|
+
The data will be written into the local database for further debug purpose.
|
|
17
16
|
|
|
18
17
|
### Unit test (CI)
|
|
19
18
|
|
|
@@ -21,17 +20,18 @@ The data will be written into the local database for further debug purpose.
|
|
|
21
20
|
yarn unit
|
|
22
21
|
```
|
|
23
22
|
|
|
24
|
-
Running this command will connect Sqlite DB only in memory.
|
|
23
|
+
Running this command will connect Sqlite DB only in memory.
|
|
25
24
|
|
|
26
25
|
### E2E test
|
|
26
|
+
|
|
27
27
|
1. make sure msafe_sui_local database exists in your mysql.
|
|
28
28
|
2. run api service:
|
|
29
|
-
1. git clone msafe-sui3-api: https://github.com/Momentum-Safe/msafe-sui-api
|
|
29
|
+
1. git clone msafe-sui3-api: <https://github.com/Momentum-Safe/msafe-sui-api>
|
|
30
30
|
2. run yarn start:dev
|
|
31
31
|
3. run syncing service:
|
|
32
|
-
1. git clone msafe-
|
|
32
|
+
1. git clone msafe-syncing: <https://github.com/Momentum-Safe/msafe-sui-chain-syncing>
|
|
33
33
|
2. run yarn start:dev
|
|
34
34
|
4. run processor:
|
|
35
|
-
1. git clone processor: https://github.com/Momentum-Safe/msafe-sui-processors
|
|
35
|
+
1. git clone processor: <https://github.com/Momentum-Safe/msafe-sui-processors>
|
|
36
36
|
2. run yarn start:dev
|
|
37
37
|
5. run tests in msafe-e2e.test.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@msafe/sui3-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"description": "SDK for MSafe SUI V3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"author": "MSafe <admin@m-safe.io>",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@msafe/sui3-utils": "^3.1.
|
|
24
|
+
"@msafe/sui3-utils": "^3.1.40",
|
|
25
25
|
"axios": "^1.6.6"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|