@sentio/sdk-bundle 2.59.0-rc.18 → 2.59.0-rc.19
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/lib/aptos/builtin/0x1.js +1 -1
- package/lib/aptos/builtin/0x3.js +2 -2
- package/lib/aptos/builtin/0x4.js +2 -2
- package/lib/aptos/builtin/index.js +3 -3
- package/lib/aptos/ext/index.js +1 -1
- package/lib/aptos/index.js +1 -1
- package/lib/{chunk-X6PVF3OK.js → chunk-DLMETINH.js} +2 -2
- package/lib/{chunk-R6L5M7OB.js → chunk-GWJ5ORG7.js} +1 -16
- package/lib/{chunk-R6L5M7OB.js.map → chunk-GWJ5ORG7.js.map} +1 -1
- package/lib/{chunk-AO4RFUBV.js → chunk-HJGGJ6J3.js} +2 -2
- package/lib/testing/index.js +5 -5
- package/package.json +2 -2
- /package/lib/{chunk-X6PVF3OK.js.map → chunk-DLMETINH.js.map} +0 -0
- /package/lib/{chunk-AO4RFUBV.js.map → chunk-HJGGJ6J3.js.map} +0 -0
package/lib/aptos/builtin/0x1.js
CHANGED
package/lib/aptos/builtin/0x3.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
token_coin_swap,
|
|
7
7
|
token_event_store,
|
|
8
8
|
token_transfers
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-HJGGJ6J3.js";
|
|
10
|
+
import "../../chunk-GWJ5ORG7.js";
|
|
11
11
|
import "../../chunk-7KCZ3VV3.js";
|
|
12
12
|
import "../../chunk-4ZWH3564.js";
|
|
13
13
|
import "../../chunk-742S42NO.js";
|
package/lib/aptos/builtin/0x4.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
property_map,
|
|
7
7
|
royalty,
|
|
8
8
|
token
|
|
9
|
-
} from "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-DLMETINH.js";
|
|
10
|
+
import "../../chunk-GWJ5ORG7.js";
|
|
11
11
|
import "../../chunk-7KCZ3VV3.js";
|
|
12
12
|
import "../../chunk-4ZWH3564.js";
|
|
13
13
|
import "../../chunk-742S42NO.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as createRequireSdkShim } from 'module'; const require = createRequireSdkShim(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
x3_exports
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-HJGGJ6J3.js";
|
|
5
5
|
import {
|
|
6
6
|
x4_exports
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-DLMETINH.js";
|
|
8
8
|
import {
|
|
9
9
|
x1_exports
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-GWJ5ORG7.js";
|
|
11
11
|
import "../../chunk-7KCZ3VV3.js";
|
|
12
12
|
import "../../chunk-4ZWH3564.js";
|
|
13
13
|
import "../../chunk-742S42NO.js";
|
package/lib/aptos/ext/index.js
CHANGED
package/lib/aptos/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
defaultMoveCoder,
|
|
6
6
|
defaultMoveCoderForClient,
|
|
7
7
|
loadAllTypes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GWJ5ORG7.js";
|
|
9
9
|
import {
|
|
10
10
|
TypeDescriptor
|
|
11
11
|
} from "./chunk-PG3J2ONQ.js";
|
|
@@ -1326,4 +1326,4 @@ export {
|
|
|
1326
1326
|
loadAllTypes2 as loadAllTypes,
|
|
1327
1327
|
x4_exports
|
|
1328
1328
|
};
|
|
1329
|
-
//# sourceMappingURL=chunk-
|
|
1329
|
+
//# sourceMappingURL=chunk-DLMETINH.js.map
|
|
@@ -21330,9 +21330,6 @@ var AptosTransactionProcessor = class {
|
|
|
21330
21330
|
txn.events = [];
|
|
21331
21331
|
}
|
|
21332
21332
|
const evt = JSON.parse(data.rawEvent);
|
|
21333
|
-
if (txn.sender && processor.config.network === AptosNetwork.INITIA_ECHELON) {
|
|
21334
|
-
txn.sender = convertToInitiaAddress(txn.sender);
|
|
21335
|
-
}
|
|
21336
21333
|
const ctx = new AptosContext(
|
|
21337
21334
|
processor.moduleName,
|
|
21338
21335
|
processor.config.network,
|
|
@@ -21367,9 +21364,6 @@ var AptosTransactionProcessor = class {
|
|
|
21367
21364
|
throw new import_nice_grpc2.ServerError(import_nice_grpc2.Status.INVALID_ARGUMENT, "call is null");
|
|
21368
21365
|
}
|
|
21369
21366
|
const tx = JSON.parse(data.rawTransaction);
|
|
21370
|
-
if (tx.sender && processor.config.network === AptosNetwork.INITIA_ECHELON) {
|
|
21371
|
-
tx.sender = convertToInitiaAddress(tx.sender);
|
|
21372
|
-
}
|
|
21373
21367
|
const ctx = new AptosContext(
|
|
21374
21368
|
processor.moduleName,
|
|
21375
21369
|
processor.config.network,
|
|
@@ -21700,15 +21694,6 @@ function configure(options) {
|
|
|
21700
21694
|
};
|
|
21701
21695
|
}
|
|
21702
21696
|
__name(configure, "configure");
|
|
21703
|
-
function convertToInitiaAddress(address) {
|
|
21704
|
-
if (address.startsWith("0x")) {
|
|
21705
|
-
address = address.slice(2);
|
|
21706
|
-
}
|
|
21707
|
-
address = address.replace(/^0+/, "");
|
|
21708
|
-
const base64Address = Buffer.from(address, "hex").toString("base64");
|
|
21709
|
-
return `init1${base64Address}`;
|
|
21710
|
-
}
|
|
21711
|
-
__name(convertToInitiaAddress, "convertToInitiaAddress");
|
|
21712
21697
|
import("node:process").then((p8) => p8.stdout.write(""));
|
|
21713
21698
|
|
|
21714
21699
|
// src/aptos/aptos-resource-processor-template.ts
|
|
@@ -40829,4 +40814,4 @@ export {
|
|
|
40829
40814
|
@noble/curves/esm/bn254.js:
|
|
40830
40815
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
|
40831
40816
|
*/
|
|
40832
|
-
//# sourceMappingURL=chunk-
|
|
40817
|
+
//# sourceMappingURL=chunk-GWJ5ORG7.js.map
|