@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/main.js
CHANGED
|
@@ -121,9 +121,10 @@ const $25d5bdd23cba31eb$export$ace043a4f2efe476 = {
|
|
|
121
121
|
const changes = tx.changes;
|
|
122
122
|
for(let ci = 0; ci < changes.length; ci += 1){
|
|
123
123
|
if (!changes[ci]?.data) continue;
|
|
124
|
-
const { address: accountAddress, data: { data:
|
|
124
|
+
const { address: accountAddress, data: { data: changeData, type: changeType } } = changes[ci];
|
|
125
|
+
const { balance: balance, metadata: metadata, owner: owner } = changeData || {};
|
|
125
126
|
if (changeType === "0x1::fungible_asset::FungibleStore") {
|
|
126
|
-
if (!accountAddressMap[accountAddress]) accountAddressMap[accountAddress] = changes[ci + 1]?.data
|
|
127
|
+
if (!accountAddressMap[accountAddress]) accountAddressMap[accountAddress] = changes[ci + 1]?.data?.data?.owner;
|
|
127
128
|
const to = accountAddressMap[accountAddress];
|
|
128
129
|
const tokenAddress = metadata?.inner;
|
|
129
130
|
if (!to || !tokenAddress || to === sender) continue;
|
|
@@ -778,10 +779,13 @@ function $7fd98ef3967673b0$export$146821f89c094be4(evt) {
|
|
|
778
779
|
case "MESSAGE_TYPE_USER_DATA_ADD":
|
|
779
780
|
{
|
|
780
781
|
processed._dataType = "user_data";
|
|
781
|
-
|
|
782
|
-
if (key
|
|
783
|
-
|
|
784
|
-
|
|
782
|
+
let key = $7fd98ef3967673b0$var$getValueFromObject(data, "user_data_body.type");
|
|
783
|
+
if (typeof key === "string") {
|
|
784
|
+
key = key.trim().split("_").pop().toLowerCase();
|
|
785
|
+
processed.data = {
|
|
786
|
+
[key]: $7fd98ef3967673b0$var$getValueFromObject(data, "user_data_body.value")
|
|
787
|
+
};
|
|
788
|
+
}
|
|
785
789
|
break;
|
|
786
790
|
}
|
|
787
791
|
case "MESSAGE_TYPE_USERNAME_PROOF":
|
|
@@ -9307,32 +9311,49 @@ const $9af31dbb692f94e3$var$filterValuesTemplate = {
|
|
|
9307
9311
|
},
|
|
9308
9312
|
{
|
|
9309
9313
|
params: {},
|
|
9310
|
-
payload: "https://jiti.indexing.co/networks/cast_protocol/
|
|
9314
|
+
payload: "https://jiti.indexing.co/networks/cast_protocol/14872632",
|
|
9311
9315
|
output: [
|
|
9312
|
-
"
|
|
9313
|
-
"
|
|
9314
|
-
"
|
|
9315
|
-
"
|
|
9316
|
-
"
|
|
9317
|
-
"
|
|
9318
|
-
"
|
|
9319
|
-
"
|
|
9320
|
-
"
|
|
9321
|
-
"
|
|
9322
|
-
"
|
|
9323
|
-
"
|
|
9324
|
-
"
|
|
9316
|
+
"1051614",
|
|
9317
|
+
"1066546",
|
|
9318
|
+
"1117909",
|
|
9319
|
+
"1118563",
|
|
9320
|
+
"1125456",
|
|
9321
|
+
"1131909",
|
|
9322
|
+
"1142406",
|
|
9323
|
+
"1148280",
|
|
9324
|
+
"1162854",
|
|
9325
|
+
"1178996",
|
|
9326
|
+
"1197494",
|
|
9327
|
+
"1271844",
|
|
9328
|
+
"1284009",
|
|
9329
|
+
"1306705",
|
|
9330
|
+
"1314738",
|
|
9331
|
+
"1314747",
|
|
9332
|
+
"1315087",
|
|
9333
|
+
"1315140",
|
|
9334
|
+
"1316693",
|
|
9335
|
+
"1318078",
|
|
9336
|
+
"1322250",
|
|
9337
|
+
"1322625",
|
|
9338
|
+
"1326658",
|
|
9339
|
+
"1332646",
|
|
9340
|
+
"1333799",
|
|
9341
|
+
"1336836",
|
|
9342
|
+
"1337581",
|
|
9343
|
+
"1337966",
|
|
9344
|
+
"16353",
|
|
9345
|
+
"199989",
|
|
9346
|
+
"243056",
|
|
9347
|
+
"272115",
|
|
9348
|
+
"283733",
|
|
9325
9349
|
"285998",
|
|
9326
|
-
"
|
|
9327
|
-
"
|
|
9328
|
-
"
|
|
9329
|
-
"
|
|
9330
|
-
"
|
|
9331
|
-
"
|
|
9332
|
-
"
|
|
9333
|
-
"832276",
|
|
9334
|
-
"957217",
|
|
9335
|
-
"968720"
|
|
9350
|
+
"316323",
|
|
9351
|
+
"430267",
|
|
9352
|
+
"456627",
|
|
9353
|
+
"462627",
|
|
9354
|
+
"822718",
|
|
9355
|
+
"960767",
|
|
9356
|
+
"968965"
|
|
9336
9357
|
]
|
|
9337
9358
|
},
|
|
9338
9359
|
{
|