@indexing/jiti 0.0.50 → 0.0.52
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/main.js +51 -30
- package/dist/main.js.map +1 -1
- package/dist/module.js +51 -30
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -111,9 +111,10 @@ const $bea1ed486f96b980$export$ace043a4f2efe476 = {
|
|
|
111
111
|
const changes = tx.changes;
|
|
112
112
|
for(let ci = 0; ci < changes.length; ci += 1){
|
|
113
113
|
if (!changes[ci]?.data) continue;
|
|
114
|
-
const { address: accountAddress, data: { data:
|
|
114
|
+
const { address: accountAddress, data: { data: changeData, type: changeType } } = changes[ci];
|
|
115
|
+
const { balance: balance, metadata: metadata, owner: owner } = changeData || {};
|
|
115
116
|
if (changeType === "0x1::fungible_asset::FungibleStore") {
|
|
116
|
-
if (!accountAddressMap[accountAddress]) accountAddressMap[accountAddress] = changes[ci + 1]?.data
|
|
117
|
+
if (!accountAddressMap[accountAddress]) accountAddressMap[accountAddress] = changes[ci + 1]?.data?.data?.owner;
|
|
117
118
|
const to = accountAddressMap[accountAddress];
|
|
118
119
|
const tokenAddress = metadata?.inner;
|
|
119
120
|
if (!to || !tokenAddress || to === sender) continue;
|
|
@@ -768,10 +769,13 @@ function $8331f131029dede8$export$146821f89c094be4(evt) {
|
|
|
768
769
|
case "MESSAGE_TYPE_USER_DATA_ADD":
|
|
769
770
|
{
|
|
770
771
|
processed._dataType = "user_data";
|
|
771
|
-
|
|
772
|
-
if (key
|
|
773
|
-
|
|
774
|
-
|
|
772
|
+
let key = $8331f131029dede8$var$getValueFromObject(data, "user_data_body.type");
|
|
773
|
+
if (typeof key === "string") {
|
|
774
|
+
key = key.trim().split("_").pop().toLowerCase();
|
|
775
|
+
processed.data = {
|
|
776
|
+
[key]: $8331f131029dede8$var$getValueFromObject(data, "user_data_body.value")
|
|
777
|
+
};
|
|
778
|
+
}
|
|
775
779
|
break;
|
|
776
780
|
}
|
|
777
781
|
case "MESSAGE_TYPE_USERNAME_PROOF":
|
|
@@ -9297,32 +9301,49 @@ const $dc0c078500ed1fea$var$filterValuesTemplate = {
|
|
|
9297
9301
|
},
|
|
9298
9302
|
{
|
|
9299
9303
|
params: {},
|
|
9300
|
-
payload: "https://jiti.indexing.co/networks/cast_protocol/
|
|
9304
|
+
payload: "https://jiti.indexing.co/networks/cast_protocol/14872632",
|
|
9301
9305
|
output: [
|
|
9302
|
-
"
|
|
9303
|
-
"
|
|
9304
|
-
"
|
|
9305
|
-
"
|
|
9306
|
-
"
|
|
9307
|
-
"
|
|
9308
|
-
"
|
|
9309
|
-
"
|
|
9310
|
-
"
|
|
9311
|
-
"
|
|
9312
|
-
"
|
|
9313
|
-
"
|
|
9314
|
-
"
|
|
9306
|
+
"1051614",
|
|
9307
|
+
"1066546",
|
|
9308
|
+
"1117909",
|
|
9309
|
+
"1118563",
|
|
9310
|
+
"1125456",
|
|
9311
|
+
"1131909",
|
|
9312
|
+
"1142406",
|
|
9313
|
+
"1148280",
|
|
9314
|
+
"1162854",
|
|
9315
|
+
"1178996",
|
|
9316
|
+
"1197494",
|
|
9317
|
+
"1271844",
|
|
9318
|
+
"1284009",
|
|
9319
|
+
"1306705",
|
|
9320
|
+
"1314738",
|
|
9321
|
+
"1314747",
|
|
9322
|
+
"1315087",
|
|
9323
|
+
"1315140",
|
|
9324
|
+
"1316693",
|
|
9325
|
+
"1318078",
|
|
9326
|
+
"1322250",
|
|
9327
|
+
"1322625",
|
|
9328
|
+
"1326658",
|
|
9329
|
+
"1332646",
|
|
9330
|
+
"1333799",
|
|
9331
|
+
"1336836",
|
|
9332
|
+
"1337581",
|
|
9333
|
+
"1337966",
|
|
9334
|
+
"16353",
|
|
9335
|
+
"199989",
|
|
9336
|
+
"243056",
|
|
9337
|
+
"272115",
|
|
9338
|
+
"283733",
|
|
9315
9339
|
"285998",
|
|
9316
|
-
"
|
|
9317
|
-
"
|
|
9318
|
-
"
|
|
9319
|
-
"
|
|
9320
|
-
"
|
|
9321
|
-
"
|
|
9322
|
-
"
|
|
9323
|
-
"832276",
|
|
9324
|
-
"957217",
|
|
9325
|
-
"968720"
|
|
9340
|
+
"316323",
|
|
9341
|
+
"430267",
|
|
9342
|
+
"456627",
|
|
9343
|
+
"462627",
|
|
9344
|
+
"822718",
|
|
9345
|
+
"960767",
|
|
9346
|
+
"968965"
|
|
9326
9347
|
]
|
|
9327
9348
|
},
|
|
9328
9349
|
{
|