@typus/typus-perp-sdk 1.1.28-testnet-autobid → 1.1.29
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/src/user/history.js +1 -1
- package/package.json +1 -1
package/dist/src/user/history.js
CHANGED
|
@@ -375,7 +375,7 @@ function getGraphQLEvents(module_1, sender_1) {
|
|
|
375
375
|
graphql = JSON.stringify({
|
|
376
376
|
query: "\n {\n events(\n last: 50,\n ".concat(before, "\n filter: {\n eventType: \"").concat(module, "\",\n ").concat(senderFilter, "\n }\n ) {\n pageInfo {\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n }\n edges { cursor }\n nodes {\n transactionBlock { digest }\n sendingModule {\n name\n package { digest }\n }\n sender { address }\n timestamp\n contents {\n type { repr }\n json\n }\n }\n }}\n "),
|
|
377
377
|
});
|
|
378
|
-
return [4 /*yield*/, fetch("https://
|
|
378
|
+
return [4 /*yield*/, fetch("https://graphql.".concat(src_1.NETWORK.toLowerCase(), ".sui.io/graphql"), {
|
|
379
379
|
method: "POST",
|
|
380
380
|
headers: { "Content-Type": "application/json" },
|
|
381
381
|
body: graphql,
|