@indexing/jiti 0.0.70 → 0.0.72
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 +33 -10
- package/dist/main.js.map +1 -1
- package/dist/module.js +28 -5
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +48 -27
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -6,10 +6,6 @@ var $8zHUo$cosmjsstargate = require("@cosmjs/stargate");
|
|
|
6
6
|
var $8zHUo$bs58 = require("bs58");
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
function $parcel$export(e, n, v, s) {
|
|
10
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
11
|
-
}
|
|
12
|
-
|
|
13
9
|
function $parcel$exportWildcard(dest, source) {
|
|
14
10
|
Object.keys(source).forEach(function(key) {
|
|
15
11
|
if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
|
|
@@ -27,6 +23,10 @@ function $parcel$exportWildcard(dest, source) {
|
|
|
27
23
|
return dest;
|
|
28
24
|
}
|
|
29
25
|
|
|
26
|
+
function $parcel$export(e, n, v, s) {
|
|
27
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
30
|
function $parcel$interopDefault(a) {
|
|
31
31
|
return a && a.__esModule ? a.default : a;
|
|
32
32
|
}
|
|
@@ -35,10 +35,6 @@ $parcel$export(module.exports, "utils", () => $882b6d93070905b3$export$eab97d15b
|
|
|
35
35
|
$parcel$export(module.exports, "templates", () => $882b6d93070905b3$export$a8fc3402335b0b04);
|
|
36
36
|
$parcel$export(module.exports, "getAllTemplates", () => $882b6d93070905b3$export$cceb5167b935aafb);
|
|
37
37
|
$parcel$export(module.exports, "getTemplateByKey", () => $882b6d93070905b3$export$a07bfd14bbc36e4b);
|
|
38
|
-
$parcel$export(module.exports, "types", () => $faefaad95e5fcca0$exports);
|
|
39
|
-
var $faefaad95e5fcca0$exports = {};
|
|
40
|
-
|
|
41
|
-
|
|
42
38
|
var $d7167569386d0d4c$exports = {};
|
|
43
39
|
var $56acd58307ebf8e6$exports = {};
|
|
44
40
|
|
|
@@ -1405,13 +1401,14 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
1405
1401
|
$fc7ca671efecc378$var$SPL_TOKEN_2022_PROGRAM
|
|
1406
1402
|
].includes(programId)) {
|
|
1407
1403
|
// TRANSFER, TRANSFER CHECKED
|
|
1408
|
-
if (instSig.startsWith("3,") && inst.accounts.length
|
|
1404
|
+
if (instSig.startsWith("3,") && inst.accounts.length >= 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
|
|
1409
1405
|
const amountData = $fc7ca671efecc378$require$Buffer.from(instData).slice(1, 9);
|
|
1410
1406
|
if (amountData.length < 8) continue;
|
|
1411
1407
|
const amount = BigInt(amountData.readBigUInt64LE(0).toString());
|
|
1412
1408
|
const fromIdx = inst.accounts[0];
|
|
1413
1409
|
let toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
|
|
1414
|
-
if (
|
|
1410
|
+
if (programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 5) toIdx = inst.accounts[2];
|
|
1411
|
+
else if (programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 4 && instSig.startsWith("3,")) toIdx = inst.accounts[1];
|
|
1415
1412
|
let from = createdAccountsToOwner[allAccounts[fromIdx]];
|
|
1416
1413
|
let to = createdAccountsToOwner[allAccounts[toIdx]];
|
|
1417
1414
|
let mint;
|
|
@@ -2870,6 +2867,28 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
2870
2867
|
transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T"
|
|
2871
2868
|
}
|
|
2872
2869
|
]
|
|
2870
|
+
},
|
|
2871
|
+
{
|
|
2872
|
+
params: {
|
|
2873
|
+
network: "SOLANA",
|
|
2874
|
+
transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX",
|
|
2875
|
+
contractAddress: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp"
|
|
2876
|
+
},
|
|
2877
|
+
payload: "https://jiti.indexing.co/networks/solana/379199656",
|
|
2878
|
+
output: [
|
|
2879
|
+
{
|
|
2880
|
+
amount: 3074929252449n,
|
|
2881
|
+
blockNumber: 379199656,
|
|
2882
|
+
from: "EJ8trQpEqfFBrfdxccvspySexWPwci73Nhs2pUgkxwPQ",
|
|
2883
|
+
index: "3-1",
|
|
2884
|
+
timestamp: "2025-11-10T16:46:28.000Z",
|
|
2885
|
+
to: "AwUZyzJ9T9KD84kGTjNUBwzxWobysdX7wVeTXV8yVkG3",
|
|
2886
|
+
token: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp",
|
|
2887
|
+
tokenType: "TOKEN",
|
|
2888
|
+
transactionGasFee: 5000n,
|
|
2889
|
+
transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX"
|
|
2890
|
+
}
|
|
2891
|
+
]
|
|
2873
2892
|
}
|
|
2874
2893
|
]
|
|
2875
2894
|
};
|
|
@@ -10930,6 +10949,9 @@ var $59fb8e0333a5d25f$export$2e2bcd8739ae039 = $59fb8e0333a5d25f$var$rawTemplate
|
|
|
10930
10949
|
|
|
10931
10950
|
|
|
10932
10951
|
|
|
10952
|
+
var $faefaad95e5fcca0$exports = {};
|
|
10953
|
+
|
|
10954
|
+
|
|
10933
10955
|
const $882b6d93070905b3$export$eab97d15b1788b8d = {
|
|
10934
10956
|
...$d7167569386d0d4c$exports
|
|
10935
10957
|
};
|
|
@@ -10942,6 +10964,7 @@ function $882b6d93070905b3$export$cceb5167b935aafb() {
|
|
|
10942
10964
|
function $882b6d93070905b3$export$a07bfd14bbc36e4b(key) {
|
|
10943
10965
|
return $882b6d93070905b3$export$a8fc3402335b0b04[key];
|
|
10944
10966
|
}
|
|
10967
|
+
$parcel$exportWildcard(module.exports, $faefaad95e5fcca0$exports);
|
|
10945
10968
|
|
|
10946
10969
|
|
|
10947
10970
|
//# sourceMappingURL=main.js.map
|