@ocap/client 1.18.90 → 1.18.92
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/dist/browser.d.ts +34 -70
- package/dist/report.html +1 -1
- package/lib/node.d.ts +34 -70
- package/package.json +12 -12
package/dist/browser.d.ts
CHANGED
|
@@ -66,139 +66,103 @@ declare class GraphQLClient {
|
|
|
66
66
|
sendAccountMigrateTx(
|
|
67
67
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
68
68
|
extra?: any
|
|
69
|
-
): Promise<
|
|
69
|
+
): Promise<string>;
|
|
70
70
|
sendAcquireAssetV2Tx(
|
|
71
71
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
72
72
|
extra?: any
|
|
73
|
-
): Promise<
|
|
73
|
+
): Promise<string>;
|
|
74
74
|
sendAcquireAssetV3Tx(
|
|
75
75
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
76
76
|
extra?: any
|
|
77
|
-
): Promise<
|
|
77
|
+
): Promise<string>;
|
|
78
78
|
sendClaimBlockRewardTx(
|
|
79
79
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
80
80
|
extra?: any
|
|
81
|
-
): Promise<
|
|
82
|
-
sendClaimStakeTx(
|
|
83
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
84
|
-
extra?: any
|
|
85
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
81
|
+
): Promise<string>;
|
|
82
|
+
sendClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>, extra?: any): Promise<string>;
|
|
86
83
|
sendCloseRollupTx(
|
|
87
84
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
88
85
|
extra?: any
|
|
89
|
-
): Promise<
|
|
86
|
+
): Promise<string>;
|
|
90
87
|
sendConsumeAssetTx(
|
|
91
88
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
92
89
|
extra?: any
|
|
93
|
-
): Promise<
|
|
90
|
+
): Promise<string>;
|
|
94
91
|
sendCreateAssetTx(
|
|
95
92
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
96
93
|
extra?: any
|
|
97
|
-
): Promise<
|
|
94
|
+
): Promise<string>;
|
|
98
95
|
sendCreateFactoryTx(
|
|
99
96
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
100
97
|
extra?: any
|
|
101
|
-
): Promise<
|
|
98
|
+
): Promise<string>;
|
|
102
99
|
sendCreateRollupBlockTx(
|
|
103
100
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>,
|
|
104
101
|
extra?: any
|
|
105
|
-
): Promise<
|
|
102
|
+
): Promise<string>;
|
|
106
103
|
sendCreateRollupTx(
|
|
107
104
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
108
105
|
extra?: any
|
|
109
|
-
): Promise<
|
|
106
|
+
): Promise<string>;
|
|
110
107
|
sendCreateTokenTx(
|
|
111
108
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
112
109
|
extra?: any
|
|
113
|
-
): Promise<
|
|
114
|
-
sendDeclareTx(
|
|
115
|
-
|
|
116
|
-
extra?: any
|
|
117
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
118
|
-
sendDelegateTx(
|
|
119
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
120
|
-
extra?: any
|
|
121
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
110
|
+
): Promise<string>;
|
|
111
|
+
sendDeclareTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>, extra?: any): Promise<string>;
|
|
112
|
+
sendDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>, extra?: any): Promise<string>;
|
|
122
113
|
sendDepositTokenV2Tx(
|
|
123
114
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
124
115
|
extra?: any
|
|
125
|
-
): Promise<
|
|
126
|
-
sendExchangeTx(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
130
|
-
sendExchangeV2Tx(
|
|
131
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
132
|
-
extra?: any
|
|
133
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
134
|
-
sendJoinRollupTx(
|
|
135
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
136
|
-
extra?: any
|
|
137
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
116
|
+
): Promise<string>;
|
|
117
|
+
sendExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>, extra?: any): Promise<string>;
|
|
118
|
+
sendExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>, extra?: any): Promise<string>;
|
|
119
|
+
sendJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>, extra?: any): Promise<string>;
|
|
138
120
|
sendLeaveRollupTx(
|
|
139
121
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
140
122
|
extra?: any
|
|
141
|
-
): Promise<
|
|
123
|
+
): Promise<string>;
|
|
142
124
|
sendMigrateRollupTx(
|
|
143
125
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
144
126
|
extra?: any
|
|
145
|
-
): Promise<
|
|
146
|
-
sendMintAssetTx(
|
|
147
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
148
|
-
extra?: any
|
|
149
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
127
|
+
): Promise<string>;
|
|
128
|
+
sendMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>, extra?: any): Promise<string>;
|
|
150
129
|
sendPauseRollupTx(
|
|
151
130
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
152
131
|
extra?: any
|
|
153
|
-
): Promise<
|
|
132
|
+
): Promise<string>;
|
|
154
133
|
sendResumeRollupTx(
|
|
155
134
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
156
135
|
extra?: any
|
|
157
|
-
): Promise<
|
|
136
|
+
): Promise<string>;
|
|
158
137
|
sendRevokeDelegateTx(
|
|
159
138
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
160
139
|
extra?: any
|
|
161
|
-
): Promise<
|
|
140
|
+
): Promise<string>;
|
|
162
141
|
sendRevokeStakeTx(
|
|
163
142
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
164
143
|
extra?: any
|
|
165
|
-
): Promise<
|
|
166
|
-
sendSlashStakeTx(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
): Promise<
|
|
170
|
-
|
|
171
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
172
|
-
extra?: any
|
|
173
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
174
|
-
sendTransferTx(
|
|
175
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
176
|
-
extra?: any
|
|
177
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
178
|
-
sendTransferV2Tx(
|
|
179
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
180
|
-
extra?: any
|
|
181
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
182
|
-
sendTransferV3Tx(
|
|
183
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
184
|
-
extra?: any
|
|
185
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
144
|
+
): Promise<string>;
|
|
145
|
+
sendSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>, extra?: any): Promise<string>;
|
|
146
|
+
sendStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>, extra?: any): Promise<string>;
|
|
147
|
+
sendTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>, extra?: any): Promise<string>;
|
|
148
|
+
sendTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>, extra?: any): Promise<string>;
|
|
149
|
+
sendTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>, extra?: any): Promise<string>;
|
|
186
150
|
sendUpdateAssetTx(
|
|
187
151
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
188
152
|
extra?: any
|
|
189
|
-
): Promise<
|
|
153
|
+
): Promise<string>;
|
|
190
154
|
sendUpdateRollupTx(
|
|
191
155
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
192
156
|
extra?: any
|
|
193
|
-
): Promise<
|
|
157
|
+
): Promise<string>;
|
|
194
158
|
sendUpgradeNodeTx(
|
|
195
159
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
196
160
|
extra?: any
|
|
197
|
-
): Promise<
|
|
161
|
+
): Promise<string>;
|
|
198
162
|
sendWithdrawTokenV2Tx(
|
|
199
163
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
200
164
|
extra?: any
|
|
201
|
-
): Promise<
|
|
165
|
+
): Promise<string>;
|
|
202
166
|
encodeAccountMigrateTx(
|
|
203
167
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
|
|
204
168
|
): Promise<GraphQLClient.EncodeTxResult>;
|
package/dist/report.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8"/>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>@ocap/client [
|
|
6
|
+
<title>@ocap/client [7 Oct 2023 at 07:07]</title>
|
|
7
7
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
|
|
8
8
|
|
|
9
9
|
<script>
|
package/lib/node.d.ts
CHANGED
|
@@ -66,139 +66,103 @@ declare class GraphQLClient {
|
|
|
66
66
|
sendAccountMigrateTx(
|
|
67
67
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>,
|
|
68
68
|
extra?: any
|
|
69
|
-
): Promise<
|
|
69
|
+
): Promise<string>;
|
|
70
70
|
sendAcquireAssetV2Tx(
|
|
71
71
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV2Tx>>,
|
|
72
72
|
extra?: any
|
|
73
|
-
): Promise<
|
|
73
|
+
): Promise<string>;
|
|
74
74
|
sendAcquireAssetV3Tx(
|
|
75
75
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>,
|
|
76
76
|
extra?: any
|
|
77
|
-
): Promise<
|
|
77
|
+
): Promise<string>;
|
|
78
78
|
sendClaimBlockRewardTx(
|
|
79
79
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimBlockRewardTx>>,
|
|
80
80
|
extra?: any
|
|
81
|
-
): Promise<
|
|
82
|
-
sendClaimStakeTx(
|
|
83
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>,
|
|
84
|
-
extra?: any
|
|
85
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
81
|
+
): Promise<string>;
|
|
82
|
+
sendClaimStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ClaimStakeTx>>, extra?: any): Promise<string>;
|
|
86
83
|
sendCloseRollupTx(
|
|
87
84
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CloseRollupTx>>,
|
|
88
85
|
extra?: any
|
|
89
|
-
): Promise<
|
|
86
|
+
): Promise<string>;
|
|
90
87
|
sendConsumeAssetTx(
|
|
91
88
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ConsumeAssetTx>>,
|
|
92
89
|
extra?: any
|
|
93
|
-
): Promise<
|
|
90
|
+
): Promise<string>;
|
|
94
91
|
sendCreateAssetTx(
|
|
95
92
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateAssetTx>>,
|
|
96
93
|
extra?: any
|
|
97
|
-
): Promise<
|
|
94
|
+
): Promise<string>;
|
|
98
95
|
sendCreateFactoryTx(
|
|
99
96
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateFactoryTx>>,
|
|
100
97
|
extra?: any
|
|
101
|
-
): Promise<
|
|
98
|
+
): Promise<string>;
|
|
102
99
|
sendCreateRollupBlockTx(
|
|
103
100
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupBlockTx>>,
|
|
104
101
|
extra?: any
|
|
105
|
-
): Promise<
|
|
102
|
+
): Promise<string>;
|
|
106
103
|
sendCreateRollupTx(
|
|
107
104
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateRollupTx>>,
|
|
108
105
|
extra?: any
|
|
109
|
-
): Promise<
|
|
106
|
+
): Promise<string>;
|
|
110
107
|
sendCreateTokenTx(
|
|
111
108
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.CreateTokenTx>>,
|
|
112
109
|
extra?: any
|
|
113
|
-
): Promise<
|
|
114
|
-
sendDeclareTx(
|
|
115
|
-
|
|
116
|
-
extra?: any
|
|
117
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
118
|
-
sendDelegateTx(
|
|
119
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>,
|
|
120
|
-
extra?: any
|
|
121
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
110
|
+
): Promise<string>;
|
|
111
|
+
sendDeclareTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DeclareTx>>, extra?: any): Promise<string>;
|
|
112
|
+
sendDelegateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DelegateTx>>, extra?: any): Promise<string>;
|
|
122
113
|
sendDepositTokenV2Tx(
|
|
123
114
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.DepositTokenV2Tx>>,
|
|
124
115
|
extra?: any
|
|
125
|
-
): Promise<
|
|
126
|
-
sendExchangeTx(
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
130
|
-
sendExchangeV2Tx(
|
|
131
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>,
|
|
132
|
-
extra?: any
|
|
133
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
134
|
-
sendJoinRollupTx(
|
|
135
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>,
|
|
136
|
-
extra?: any
|
|
137
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
116
|
+
): Promise<string>;
|
|
117
|
+
sendExchangeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeTx>>, extra?: any): Promise<string>;
|
|
118
|
+
sendExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>, extra?: any): Promise<string>;
|
|
119
|
+
sendJoinRollupTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.JoinRollupTx>>, extra?: any): Promise<string>;
|
|
138
120
|
sendLeaveRollupTx(
|
|
139
121
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.LeaveRollupTx>>,
|
|
140
122
|
extra?: any
|
|
141
|
-
): Promise<
|
|
123
|
+
): Promise<string>;
|
|
142
124
|
sendMigrateRollupTx(
|
|
143
125
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MigrateRollupTx>>,
|
|
144
126
|
extra?: any
|
|
145
|
-
): Promise<
|
|
146
|
-
sendMintAssetTx(
|
|
147
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>,
|
|
148
|
-
extra?: any
|
|
149
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
127
|
+
): Promise<string>;
|
|
128
|
+
sendMintAssetTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintAssetTx>>, extra?: any): Promise<string>;
|
|
150
129
|
sendPauseRollupTx(
|
|
151
130
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.PauseRollupTx>>,
|
|
152
131
|
extra?: any
|
|
153
|
-
): Promise<
|
|
132
|
+
): Promise<string>;
|
|
154
133
|
sendResumeRollupTx(
|
|
155
134
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ResumeRollupTx>>,
|
|
156
135
|
extra?: any
|
|
157
|
-
): Promise<
|
|
136
|
+
): Promise<string>;
|
|
158
137
|
sendRevokeDelegateTx(
|
|
159
138
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeDelegateTx>>,
|
|
160
139
|
extra?: any
|
|
161
|
-
): Promise<
|
|
140
|
+
): Promise<string>;
|
|
162
141
|
sendRevokeStakeTx(
|
|
163
142
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.RevokeStakeTx>>,
|
|
164
143
|
extra?: any
|
|
165
|
-
): Promise<
|
|
166
|
-
sendSlashStakeTx(
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
): Promise<
|
|
170
|
-
|
|
171
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>,
|
|
172
|
-
extra?: any
|
|
173
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
174
|
-
sendTransferTx(
|
|
175
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>,
|
|
176
|
-
extra?: any
|
|
177
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
178
|
-
sendTransferV2Tx(
|
|
179
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>,
|
|
180
|
-
extra?: any
|
|
181
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
182
|
-
sendTransferV3Tx(
|
|
183
|
-
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>,
|
|
184
|
-
extra?: any
|
|
185
|
-
): Promise<GraphQLClient.ResponseSendTx>;
|
|
144
|
+
): Promise<string>;
|
|
145
|
+
sendSlashStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.SlashStakeTx>>, extra?: any): Promise<string>;
|
|
146
|
+
sendStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>, extra?: any): Promise<string>;
|
|
147
|
+
sendTransferTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferTx>>, extra?: any): Promise<string>;
|
|
148
|
+
sendTransferV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV2Tx>>, extra?: any): Promise<string>;
|
|
149
|
+
sendTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>, extra?: any): Promise<string>;
|
|
186
150
|
sendUpdateAssetTx(
|
|
187
151
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateAssetTx>>,
|
|
188
152
|
extra?: any
|
|
189
|
-
): Promise<
|
|
153
|
+
): Promise<string>;
|
|
190
154
|
sendUpdateRollupTx(
|
|
191
155
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpdateRollupTx>>,
|
|
192
156
|
extra?: any
|
|
193
|
-
): Promise<
|
|
157
|
+
): Promise<string>;
|
|
194
158
|
sendUpgradeNodeTx(
|
|
195
159
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.UpgradeNodeTx>>,
|
|
196
160
|
extra?: any
|
|
197
|
-
): Promise<
|
|
161
|
+
): Promise<string>;
|
|
198
162
|
sendWithdrawTokenV2Tx(
|
|
199
163
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.WithdrawTokenV2Tx>>,
|
|
200
164
|
extra?: any
|
|
201
|
-
): Promise<
|
|
165
|
+
): Promise<string>;
|
|
202
166
|
encodeAccountMigrateTx(
|
|
203
167
|
param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>
|
|
204
168
|
): Promise<GraphQLClient.EncodeTxResult>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/client",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.92",
|
|
4
4
|
"description": "graphql client to read/write data on arcblock blockchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphql",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"lib"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@arcblock/did": "1.18.
|
|
34
|
-
"@arcblock/did-util": "1.18.
|
|
35
|
-
"@arcblock/jwt": "1.18.
|
|
33
|
+
"@arcblock/did": "1.18.92",
|
|
34
|
+
"@arcblock/did-util": "1.18.92",
|
|
35
|
+
"@arcblock/jwt": "1.18.92",
|
|
36
36
|
"@arcblock/sdk-util": "^0.34.0",
|
|
37
|
-
"@arcblock/ws": "1.18.
|
|
38
|
-
"@ocap/asset": "1.18.
|
|
39
|
-
"@ocap/mcrypto": "1.18.
|
|
40
|
-
"@ocap/message": "1.18.
|
|
41
|
-
"@ocap/proto": "1.18.
|
|
42
|
-
"@ocap/util": "1.18.
|
|
43
|
-
"@ocap/wallet": "1.18.
|
|
37
|
+
"@arcblock/ws": "1.18.92",
|
|
38
|
+
"@ocap/asset": "1.18.92",
|
|
39
|
+
"@ocap/mcrypto": "1.18.92",
|
|
40
|
+
"@ocap/message": "1.18.92",
|
|
41
|
+
"@ocap/proto": "1.18.92",
|
|
42
|
+
"@ocap/util": "1.18.92",
|
|
43
|
+
"@ocap/wallet": "1.18.92",
|
|
44
44
|
"blueimp-md5": "^2.19.0",
|
|
45
45
|
"buffer": "6.0.3",
|
|
46
46
|
"debug": "^4.3.4",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"bugs": {
|
|
110
110
|
"url": "https://github.com/ArcBlock/asset-chain/issues"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "166a276e6865f140e5eed88aced8a4ad39186a74"
|
|
113
113
|
}
|