@suigar/sdk 2.0.0-beta.1 → 2.0.0-beta.11
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/CHANGELOG.md +123 -0
- package/README.md +324 -111
- package/dist/chunk-TBJ5TYYE.js +341 -0
- package/dist/games-BHYRg31e.d.cts +98 -0
- package/dist/games-BHYRg31e.d.ts +98 -0
- package/dist/games.cjs +2 -0
- package/dist/games.d.cts +2 -0
- package/dist/games.d.ts +2 -0
- package/dist/games.js +1 -0
- package/dist/index-3P_LBbDM.d.cts +25 -0
- package/dist/index-3P_LBbDM.d.ts +25 -0
- package/dist/index.cjs +1082 -363
- package/dist/index.d.cts +390 -218
- package/dist/index.d.ts +390 -218
- package/dist/index.js +962 -461
- package/dist/utils.cjs +241 -0
- package/dist/utils.d.cts +180 -0
- package/dist/utils.d.ts +180 -0
- package/dist/utils.js +1 -0
- package/package.json +81 -79
package/package.json
CHANGED
|
@@ -1,80 +1,82 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
2
|
+
"name": "@suigar/sdk",
|
|
3
|
+
"version": "2.0.0-beta.11",
|
|
4
|
+
"description": "TypeScript SDK for Suigar v2 Move contracts on Sui.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"suigar",
|
|
7
|
+
"sui",
|
|
8
|
+
"sui-sdk",
|
|
9
|
+
"typescript",
|
|
10
|
+
"move",
|
|
11
|
+
"web3",
|
|
12
|
+
"games"
|
|
13
|
+
],
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"CHANGELOG.md",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"main": "./dist/index.cjs",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"require": "./dist/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./games": {
|
|
32
|
+
"types": "./dist/games.d.ts",
|
|
33
|
+
"import": "./dist/games.js",
|
|
34
|
+
"require": "./dist/games.cjs"
|
|
35
|
+
},
|
|
36
|
+
"./utils": {
|
|
37
|
+
"types": "./dist/utils.d.ts",
|
|
38
|
+
"import": "./dist/utils.js",
|
|
39
|
+
"require": "./dist/utils.cjs"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"engines": {
|
|
43
|
+
"node": ">=24"
|
|
44
|
+
},
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "git+https://github.com/Suigar-Gaming/sdk.git"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"bugs": {
|
|
53
|
+
"url": "https://github.com/Suigar-Gaming/sdk/issues"
|
|
54
|
+
},
|
|
55
|
+
"homepage": "https://docs.suigar.com/sdk",
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@mysten/bcs": "^2.0.3",
|
|
58
|
+
"@mysten/sui": "^2.16.0"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@mysten/bcs": "^2.0.3",
|
|
62
|
+
"@mysten/codegen": "^0.10.4",
|
|
63
|
+
"@mysten/sui": "^2.16.0",
|
|
64
|
+
"@types/node": "^24.0.0",
|
|
65
|
+
"tsup": "^8.5.1",
|
|
66
|
+
"tsx": "^4.21.0",
|
|
67
|
+
"typescript": "^5.9.3",
|
|
68
|
+
"vitest": "^4.1.5"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "pnpm clean && pnpm codegen && tsup",
|
|
72
|
+
"build:ci": "rm -rf dist && tsup",
|
|
73
|
+
"clean": "rm -rf dist src/contracts .vitest-cache",
|
|
74
|
+
"codegen": "node ./scripts/update-package-configs.mjs && sui-ts-codegen generate && pnpm lint",
|
|
75
|
+
"eslint:fix": "eslint . --fix",
|
|
76
|
+
"format": "pnpm prettier:fix",
|
|
77
|
+
"lint": "pnpm eslint:fix && pnpm prettier:fix",
|
|
78
|
+
"prettier:fix": "prettier --write --ignore-unknown .",
|
|
79
|
+
"test": "vitest run",
|
|
80
|
+
"typecheck": "tsc --noEmit"
|
|
81
|
+
}
|
|
82
|
+
}
|