@bitgo/sdk-coin-sui 5.11.1 → 5.11.2
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 +4 -0
- package/dist/src/lib/mystenlab/builder/Inputs.d.ts +3 -3
- package/dist/src/lib/mystenlab/builder/TransactionBlock.d.ts +36 -36
- package/dist/src/lib/mystenlab/builder/TransactionDataBlock.d.ts +103 -103
- package/dist/src/lib/mystenlab/builder/Transactions.d.ts +178 -178
- package/dist/src/lib/mystenlab/framework/framework.d.ts +1 -1
- package/dist/src/lib/mystenlab/types/events.d.ts +6 -6
- package/dist/src/lib/mystenlab/types/objects.d.ts +86 -86
- package/dist/src/lib/mystenlab/types/transactions.d.ts +608 -608
- package/dist/src/lib/mystenlab/types/validator.d.ts +8 -8
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.11.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@5.11.0...@bitgo/sdk-coin-sui@5.11.2) (2025-02-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-sui
|
|
9
|
+
|
|
6
10
|
## [5.11.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@5.11.0...@bitgo/sdk-coin-sui@5.11.1) (2025-02-20)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @bitgo/sdk-coin-sui
|
|
@@ -8,8 +8,8 @@ export declare const PureCallArg: import("superstruct").Struct<{
|
|
|
8
8
|
export declare const ObjectCallArg: import("superstruct").Struct<{
|
|
9
9
|
Object: {
|
|
10
10
|
ImmOrOwned: {
|
|
11
|
-
version: string | number;
|
|
12
11
|
objectId: string;
|
|
12
|
+
version: string | number;
|
|
13
13
|
digest: string;
|
|
14
14
|
};
|
|
15
15
|
} | {
|
|
@@ -22,8 +22,8 @@ export declare const ObjectCallArg: import("superstruct").Struct<{
|
|
|
22
22
|
}, {
|
|
23
23
|
Object: import("superstruct").Struct<{
|
|
24
24
|
ImmOrOwned: {
|
|
25
|
-
version: string | number;
|
|
26
25
|
objectId: string;
|
|
26
|
+
version: string | number;
|
|
27
27
|
digest: string;
|
|
28
28
|
};
|
|
29
29
|
} | {
|
|
@@ -41,8 +41,8 @@ export declare const BuilderCallArg: import("superstruct").Struct<{
|
|
|
41
41
|
} | {
|
|
42
42
|
Object: {
|
|
43
43
|
ImmOrOwned: {
|
|
44
|
-
version: string | number;
|
|
45
44
|
objectId: string;
|
|
45
|
+
version: string | number;
|
|
46
46
|
digest: string;
|
|
47
47
|
};
|
|
48
48
|
} | {
|
|
@@ -62,133 +62,133 @@ export declare class TransactionBlock {
|
|
|
62
62
|
version: 1;
|
|
63
63
|
transactions: ({
|
|
64
64
|
arguments: ({
|
|
65
|
-
index: number;
|
|
66
65
|
kind: "Input";
|
|
66
|
+
index: number;
|
|
67
67
|
type?: "object" | "pure" | undefined;
|
|
68
68
|
value?: any;
|
|
69
69
|
} | {
|
|
70
70
|
kind: "GasCoin";
|
|
71
71
|
} | {
|
|
72
|
-
index: number;
|
|
73
72
|
kind: "Result";
|
|
74
|
-
} | {
|
|
75
73
|
index: number;
|
|
74
|
+
} | {
|
|
76
75
|
kind: "NestedResult";
|
|
76
|
+
index: number;
|
|
77
77
|
resultIndex: number;
|
|
78
78
|
})[];
|
|
79
79
|
kind: "MoveCall";
|
|
80
80
|
typeArguments: string[];
|
|
81
81
|
target: `${string}::${string}::${string}`;
|
|
82
82
|
} | {
|
|
83
|
-
|
|
84
|
-
index: number;
|
|
83
|
+
objects: ({
|
|
85
84
|
kind: "Input";
|
|
85
|
+
index: number;
|
|
86
86
|
type?: "object" | "pure" | undefined;
|
|
87
87
|
value?: any;
|
|
88
88
|
} | {
|
|
89
89
|
kind: "GasCoin";
|
|
90
90
|
} | {
|
|
91
|
-
index: number;
|
|
92
91
|
kind: "Result";
|
|
93
|
-
} | {
|
|
94
92
|
index: number;
|
|
93
|
+
} | {
|
|
95
94
|
kind: "NestedResult";
|
|
96
|
-
resultIndex: number;
|
|
97
|
-
};
|
|
98
|
-
objects: ({
|
|
99
95
|
index: number;
|
|
96
|
+
resultIndex: number;
|
|
97
|
+
})[];
|
|
98
|
+
kind: "TransferObjects";
|
|
99
|
+
address: {
|
|
100
100
|
kind: "Input";
|
|
101
|
+
index: number;
|
|
101
102
|
type?: "object" | "pure" | undefined;
|
|
102
103
|
value?: any;
|
|
103
104
|
} | {
|
|
104
105
|
kind: "GasCoin";
|
|
105
106
|
} | {
|
|
106
|
-
index: number;
|
|
107
107
|
kind: "Result";
|
|
108
|
-
} | {
|
|
109
108
|
index: number;
|
|
109
|
+
} | {
|
|
110
110
|
kind: "NestedResult";
|
|
111
|
+
index: number;
|
|
111
112
|
resultIndex: number;
|
|
112
|
-
}
|
|
113
|
-
kind: "TransferObjects";
|
|
113
|
+
};
|
|
114
114
|
} | {
|
|
115
|
+
kind: "SplitCoins";
|
|
115
116
|
coin: {
|
|
116
|
-
index: number;
|
|
117
117
|
kind: "Input";
|
|
118
|
+
index: number;
|
|
118
119
|
type?: "object" | "pure" | undefined;
|
|
119
120
|
value?: any;
|
|
120
121
|
} | {
|
|
121
122
|
kind: "GasCoin";
|
|
122
123
|
} | {
|
|
123
|
-
index: number;
|
|
124
124
|
kind: "Result";
|
|
125
|
-
} | {
|
|
126
125
|
index: number;
|
|
126
|
+
} | {
|
|
127
127
|
kind: "NestedResult";
|
|
128
|
+
index: number;
|
|
128
129
|
resultIndex: number;
|
|
129
130
|
};
|
|
130
|
-
kind: "SplitCoins";
|
|
131
131
|
amounts: ({
|
|
132
|
-
index: number;
|
|
133
132
|
kind: "Input";
|
|
133
|
+
index: number;
|
|
134
134
|
type?: "object" | "pure" | undefined;
|
|
135
135
|
value?: any;
|
|
136
136
|
} | {
|
|
137
137
|
kind: "GasCoin";
|
|
138
138
|
} | {
|
|
139
|
-
index: number;
|
|
140
139
|
kind: "Result";
|
|
141
|
-
} | {
|
|
142
140
|
index: number;
|
|
141
|
+
} | {
|
|
143
142
|
kind: "NestedResult";
|
|
143
|
+
index: number;
|
|
144
144
|
resultIndex: number;
|
|
145
145
|
})[];
|
|
146
146
|
} | {
|
|
147
147
|
kind: "MergeCoins";
|
|
148
148
|
destination: {
|
|
149
|
-
index: number;
|
|
150
149
|
kind: "Input";
|
|
150
|
+
index: number;
|
|
151
151
|
type?: "object" | "pure" | undefined;
|
|
152
152
|
value?: any;
|
|
153
153
|
} | {
|
|
154
154
|
kind: "GasCoin";
|
|
155
155
|
} | {
|
|
156
|
-
index: number;
|
|
157
156
|
kind: "Result";
|
|
158
|
-
} | {
|
|
159
157
|
index: number;
|
|
158
|
+
} | {
|
|
160
159
|
kind: "NestedResult";
|
|
160
|
+
index: number;
|
|
161
161
|
resultIndex: number;
|
|
162
162
|
};
|
|
163
163
|
sources: ({
|
|
164
|
-
index: number;
|
|
165
164
|
kind: "Input";
|
|
165
|
+
index: number;
|
|
166
166
|
type?: "object" | "pure" | undefined;
|
|
167
167
|
value?: any;
|
|
168
168
|
} | {
|
|
169
169
|
kind: "GasCoin";
|
|
170
170
|
} | {
|
|
171
|
-
index: number;
|
|
172
171
|
kind: "Result";
|
|
173
|
-
} | {
|
|
174
172
|
index: number;
|
|
173
|
+
} | {
|
|
175
174
|
kind: "NestedResult";
|
|
175
|
+
index: number;
|
|
176
176
|
resultIndex: number;
|
|
177
177
|
})[];
|
|
178
178
|
} | {
|
|
179
179
|
objects: ({
|
|
180
|
-
index: number;
|
|
181
180
|
kind: "Input";
|
|
181
|
+
index: number;
|
|
182
182
|
type?: "object" | "pure" | undefined;
|
|
183
183
|
value?: any;
|
|
184
184
|
} | {
|
|
185
185
|
kind: "GasCoin";
|
|
186
186
|
} | {
|
|
187
|
-
index: number;
|
|
188
187
|
kind: "Result";
|
|
189
|
-
} | {
|
|
190
188
|
index: number;
|
|
189
|
+
} | {
|
|
191
190
|
kind: "NestedResult";
|
|
191
|
+
index: number;
|
|
192
192
|
resultIndex: number;
|
|
193
193
|
})[];
|
|
194
194
|
kind: "MakeMoveVec";
|
|
@@ -203,18 +203,18 @@ export declare class TransactionBlock {
|
|
|
203
203
|
modules: number[][];
|
|
204
204
|
})[];
|
|
205
205
|
inputs: {
|
|
206
|
-
index: number;
|
|
207
206
|
kind: "Input";
|
|
207
|
+
index: number;
|
|
208
208
|
type?: "object" | "pure" | undefined;
|
|
209
209
|
value?: any;
|
|
210
210
|
}[];
|
|
211
211
|
gasConfig: {
|
|
212
|
-
owner?: string | undefined;
|
|
213
212
|
payment?: {
|
|
214
|
-
version: string | number;
|
|
215
213
|
objectId: string;
|
|
214
|
+
version: string | number;
|
|
216
215
|
digest: string;
|
|
217
216
|
}[] | undefined;
|
|
217
|
+
owner?: string | undefined;
|
|
218
218
|
price?: string | undefined;
|
|
219
219
|
budget?: string | undefined;
|
|
220
220
|
};
|
|
@@ -239,8 +239,8 @@ export declare class TransactionBlock {
|
|
|
239
239
|
*
|
|
240
240
|
*/
|
|
241
241
|
input(type: 'object' | 'pure', value?: unknown): {
|
|
242
|
-
index: number;
|
|
243
242
|
kind: "Input";
|
|
243
|
+
index: number;
|
|
244
244
|
type?: "object" | "pure" | undefined;
|
|
245
245
|
value?: any;
|
|
246
246
|
};
|
|
@@ -248,8 +248,8 @@ export declare class TransactionBlock {
|
|
|
248
248
|
* Add a new object input to the transaction.
|
|
249
249
|
*/
|
|
250
250
|
object(value: ObjectId | ObjectCallArg): {
|
|
251
|
-
index: number;
|
|
252
251
|
kind: "Input";
|
|
252
|
+
index: number;
|
|
253
253
|
type?: "object" | "pure" | undefined;
|
|
254
254
|
value?: any;
|
|
255
255
|
};
|
|
@@ -267,8 +267,8 @@ export declare class TransactionBlock {
|
|
|
267
267
|
* based on how the input is used.
|
|
268
268
|
*/
|
|
269
269
|
type?: string): {
|
|
270
|
-
index: number;
|
|
271
270
|
kind: "Input";
|
|
271
|
+
index: number;
|
|
272
272
|
type?: "object" | "pure" | undefined;
|
|
273
273
|
value?: any;
|
|
274
274
|
};
|