@sentio/runtime 3.0.0-rc.1 → 3.0.0-rc.10
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/{chunk-3QIPRNAH.js → chunk-AFB5F2CR.js} +73 -13
- package/lib/{chunk-3QIPRNAH.js.map → chunk-AFB5F2CR.js.map} +1 -1
- package/lib/{chunk-OFR7W4ZG.js → chunk-ROBPWJIE.js} +24 -3
- package/lib/chunk-ROBPWJIE.js.map +1 -0
- package/lib/index.d.ts +4 -9
- package/lib/index.js +71 -10
- package/lib/index.js.map +1 -1
- package/lib/{processor-CIR4erWa.d.ts → processor-BUTmbpmJ.d.ts} +5 -5
- package/lib/processor-runner.js +2 -19
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +2 -2
- package/lib/test-processor.test.d.ts +1 -1
- package/package.json +1 -1
- package/src/db-context.ts +5 -4
- package/src/gen/processor/protos/processor.ts +17 -1
- package/src/gen/service/common/protos/common.ts +356 -1
- package/src/plugin.ts +4 -4
- package/src/service-manager.ts +0 -8
- package/src/service-v3.ts +2 -3
- package/src/state.ts +0 -19
- package/lib/chunk-6XHWJ2VS.js +0 -92
- package/lib/chunk-6XHWJ2VS.js.map +0 -1
- package/lib/chunk-OFR7W4ZG.js.map +0 -1
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
require_roots,
|
|
16
16
|
require_rpc,
|
|
17
17
|
require_writer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ROBPWJIE.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esm,
|
|
21
21
|
metrics
|
|
@@ -36097,9 +36097,9 @@ var require_eventemitter3 = __commonJS({
|
|
|
36097
36097
|
}
|
|
36098
36098
|
});
|
|
36099
36099
|
|
|
36100
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
36100
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/chain-id.js
|
|
36101
36101
|
var require_chain_id = __commonJS({
|
|
36102
|
-
"../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
36102
|
+
"../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/chain-id.js"(exports) {
|
|
36103
36103
|
"use strict";
|
|
36104
36104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36105
36105
|
exports.ChainIdToType = exports.ChainTypeToChainId = exports.ChainId = exports.NonEthChainId = exports.BTCChainId = exports.StarknetChainId = exports.CosmosChainId = exports.FuelChainId = exports.SolanaChainId = exports.SuiChainId = exports.AptosChainId = exports.EthChainId = exports.ChainType = void 0;
|
|
@@ -36157,10 +36157,12 @@ var require_chain_id = __commonJS({
|
|
|
36157
36157
|
EthChainId3["MERLIN_MAINNET"] = "4200";
|
|
36158
36158
|
EthChainId3["MANTLE"] = "5000";
|
|
36159
36159
|
EthChainId3["BASE"] = "8453";
|
|
36160
|
-
EthChainId3["
|
|
36160
|
+
EthChainId3["BASE_SEPOLIA"] = "84532";
|
|
36161
|
+
EthChainId3["MEV_COMMIT"] = "57173";
|
|
36161
36162
|
EthChainId3["PLASMA_MAINNET"] = "9745";
|
|
36162
36163
|
EthChainId3["PLASMA_TESTNET"] = "9746";
|
|
36163
36164
|
EthChainId3["MONAD_TESTNET"] = "10143";
|
|
36165
|
+
EthChainId3["MONAD_MAINNET"] = "143";
|
|
36164
36166
|
EthChainId3["HOLESKY"] = "17000";
|
|
36165
36167
|
EthChainId3["HOODI"] = "560048";
|
|
36166
36168
|
EthChainId3["MODE"] = "34443";
|
|
@@ -36186,6 +36188,7 @@ var require_chain_id = __commonJS({
|
|
|
36186
36188
|
EthChainId3["BLAST_SEPOLIA"] = "168587773";
|
|
36187
36189
|
EthChainId3["ABSTRACT"] = "2741";
|
|
36188
36190
|
EthChainId3["GOAT_MAINNET"] = "2345";
|
|
36191
|
+
EthChainId3["ARC_TESTNET"] = "5042002";
|
|
36189
36192
|
EthChainId3["CUSTOM"] = "customized";
|
|
36190
36193
|
})(EthChainId2 || (exports.EthChainId = EthChainId2 = {}));
|
|
36191
36194
|
var AptosChainId;
|
|
@@ -36208,6 +36211,7 @@ var require_chain_id = __commonJS({
|
|
|
36208
36211
|
SolanaChainId2["SOLANA_MAINNET"] = "sol_mainnet";
|
|
36209
36212
|
SolanaChainId2["SOLANA_TESTNET"] = "sol_testnet";
|
|
36210
36213
|
SolanaChainId2["SOLANA_PYTH"] = "sol_pyth";
|
|
36214
|
+
SolanaChainId2["FORGO_TESTNET"] = "forgo_testnet";
|
|
36211
36215
|
})(SolanaChainId || (exports.SolanaChainId = SolanaChainId = {}));
|
|
36212
36216
|
var FuelChainId;
|
|
36213
36217
|
(function(FuelChainId2) {
|
|
@@ -36277,9 +36281,9 @@ var require_chain_id = __commonJS({
|
|
|
36277
36281
|
}
|
|
36278
36282
|
});
|
|
36279
36283
|
|
|
36280
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
36284
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/chain-info.js
|
|
36281
36285
|
var require_chain_info = __commonJS({
|
|
36282
|
-
"../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
36286
|
+
"../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/chain-info.js"(exports) {
|
|
36283
36287
|
"use strict";
|
|
36284
36288
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36285
36289
|
exports.ChainInfo = exports.NonEthChainInfo = exports.CosmosChainInfo = exports.StarknetChainInfo = exports.FuelChainInfo = exports.SuiChainInfo = exports.SolanaChainInfo = exports.AptosChainInfo = exports.BTCChainInfo = exports.EthChainInfo = exports.EthVariation = exports.ExplorerApiType = void 0;
|
|
@@ -36680,6 +36684,23 @@ var require_chain_info = __commonJS({
|
|
|
36680
36684
|
lightIcon: "https://assets.sentio.xyz/chains/base.svg",
|
|
36681
36685
|
darkIcon: "https://assets.sentio.xyz/chains/base_blue.svg"
|
|
36682
36686
|
},
|
|
36687
|
+
[chain_id_1.EthChainId.BASE_SEPOLIA]: {
|
|
36688
|
+
name: "Base Sepolia",
|
|
36689
|
+
slug: "base-sepolia",
|
|
36690
|
+
chainId: chain_id_1.EthChainId.BASE_SEPOLIA,
|
|
36691
|
+
mainnetChainId: chain_id_1.EthChainId.BASE,
|
|
36692
|
+
variation: EthVariation.OPTIMISM,
|
|
36693
|
+
priceTokenAddress: "0x4200000000000000000000000000000000000006",
|
|
36694
|
+
tokenAddress: "0x0000000000000000000000000000000000000000",
|
|
36695
|
+
wrappedTokenAddress: "0x4200000000000000000000000000000000000006",
|
|
36696
|
+
tokenSymbol: "ETH",
|
|
36697
|
+
tokenDecimals: 18,
|
|
36698
|
+
explorerUrl: "https://sepolia.basescan.org",
|
|
36699
|
+
explorerApiType: ExplorerApiType.ETHERSCAN_V2,
|
|
36700
|
+
explorerApi: "https://api.etherscan.io/v2",
|
|
36701
|
+
lightIcon: "https://assets.sentio.xyz/chains/base.svg",
|
|
36702
|
+
darkIcon: "https://assets.sentio.xyz/chains/base_blue.svg"
|
|
36703
|
+
},
|
|
36683
36704
|
[chain_id_1.EthChainId.ZKSYNC_ERA]: {
|
|
36684
36705
|
name: "zkSync Era",
|
|
36685
36706
|
slug: "zksync-era",
|
|
@@ -37287,6 +37308,20 @@ var require_chain_info = __commonJS({
|
|
|
37287
37308
|
explorerApiType: ExplorerApiType.UNKNOWN,
|
|
37288
37309
|
lightIcon: "https://assets.sentio.xyz/chains/monad.svg"
|
|
37289
37310
|
},
|
|
37311
|
+
[chain_id_1.EthChainId.MONAD_MAINNET]: {
|
|
37312
|
+
name: "Monad Mainnet",
|
|
37313
|
+
slug: "monad-mainnet",
|
|
37314
|
+
chainId: chain_id_1.EthChainId.MONAD_MAINNET,
|
|
37315
|
+
variation: EthVariation.DEFAULT,
|
|
37316
|
+
priceTokenAddress: "0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701",
|
|
37317
|
+
tokenAddress: "0x0000000000000000000000000000000000000000",
|
|
37318
|
+
wrappedTokenAddress: "0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701",
|
|
37319
|
+
tokenSymbol: "MON",
|
|
37320
|
+
tokenDecimals: 18,
|
|
37321
|
+
explorerUrl: "https://monadexplorer.com",
|
|
37322
|
+
explorerApiType: ExplorerApiType.UNKNOWN,
|
|
37323
|
+
lightIcon: "https://assets.sentio.xyz/chains/monad.svg"
|
|
37324
|
+
},
|
|
37290
37325
|
[chain_id_1.EthChainId.BERACHAIN]: {
|
|
37291
37326
|
name: "Berachain",
|
|
37292
37327
|
slug: "berachain",
|
|
@@ -37411,6 +37446,22 @@ var require_chain_info = __commonJS({
|
|
|
37411
37446
|
lightIcon: "https://assets.sentio.xyz/chains/plasma.svg",
|
|
37412
37447
|
darkIcon: "https://assets.sentio.xyz/chains/plasma-dark.svg"
|
|
37413
37448
|
},
|
|
37449
|
+
[chain_id_1.EthChainId.ARC_TESTNET]: {
|
|
37450
|
+
name: "Arc Testnet",
|
|
37451
|
+
slug: "arc-testnet",
|
|
37452
|
+
chainId: chain_id_1.EthChainId.ARC_TESTNET,
|
|
37453
|
+
variation: EthVariation.DEFAULT,
|
|
37454
|
+
priceTokenAddress: "0x3600000000000000000000000000000000000000",
|
|
37455
|
+
tokenAddress: "0x3600000000000000000000000000000000000000",
|
|
37456
|
+
wrappedTokenAddress: "0x3600000000000000000000000000000000000000",
|
|
37457
|
+
tokenSymbol: "USDC",
|
|
37458
|
+
tokenDecimals: 6,
|
|
37459
|
+
explorerUrl: "https://testnet.arcscan.app",
|
|
37460
|
+
explorerApi: "https://testnet.arcscan.app",
|
|
37461
|
+
explorerApiType: ExplorerApiType.BLOCKSCOUT,
|
|
37462
|
+
lightIcon: "https://assets.sentio.xyz/chains/arc.svg",
|
|
37463
|
+
darkIcon: "https://assets.sentio.xyz/chains/arc-dark.svg"
|
|
37464
|
+
},
|
|
37414
37465
|
[chain_id_1.EthChainId.CUSTOM]: {
|
|
37415
37466
|
name: "Custom",
|
|
37416
37467
|
slug: "custom",
|
|
@@ -37556,6 +37607,14 @@ var require_chain_info = __commonJS({
|
|
|
37556
37607
|
explorerUrl: "https://solscan.io/",
|
|
37557
37608
|
suffix: "?cluster=custom&customUrl=https://pythnet.rpcpool.com",
|
|
37558
37609
|
lightIcon: "https://sentio.xyz/pyth.svg"
|
|
37610
|
+
},
|
|
37611
|
+
[chain_id_1.SolanaChainId.FORGO_TESTNET]: {
|
|
37612
|
+
name: "Forgo Testnet",
|
|
37613
|
+
slug: "forgo-testnet",
|
|
37614
|
+
chainId: chain_id_1.SolanaChainId.FORGO_TESTNET,
|
|
37615
|
+
explorerUrl: "https://fogoscan.com/",
|
|
37616
|
+
suffix: "?cluster=testnet",
|
|
37617
|
+
lightIcon: "https://sentio.xyz/solana.svg"
|
|
37559
37618
|
}
|
|
37560
37619
|
};
|
|
37561
37620
|
var SolanaSubTypePaths = {
|
|
@@ -37800,9 +37859,9 @@ var require_chain_info = __commonJS({
|
|
|
37800
37859
|
}
|
|
37801
37860
|
});
|
|
37802
37861
|
|
|
37803
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
37862
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/chain-name.js
|
|
37804
37863
|
var require_chain_name = __commonJS({
|
|
37805
|
-
"../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
37864
|
+
"../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/chain-name.js"(exports) {
|
|
37806
37865
|
"use strict";
|
|
37807
37866
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37808
37867
|
exports.getChainName = getChainName;
|
|
@@ -37830,9 +37889,9 @@ var require_chain_name = __commonJS({
|
|
|
37830
37889
|
}
|
|
37831
37890
|
});
|
|
37832
37891
|
|
|
37833
|
-
// ../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
37892
|
+
// ../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/index.js
|
|
37834
37893
|
var require_dist = __commonJS({
|
|
37835
|
-
"../../node_modules/.pnpm/@sentio+chain@3.4.
|
|
37894
|
+
"../../node_modules/.pnpm/@sentio+chain@3.4.15/node_modules/@sentio/chain/dist/index.js"(exports) {
|
|
37836
37895
|
"use strict";
|
|
37837
37896
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
37838
37897
|
if (k2 === void 0) k2 = k;
|
|
@@ -38378,11 +38437,12 @@ var DataBindingContext = class extends AbstractStoreContext {
|
|
|
38378
38437
|
this.processId = processId;
|
|
38379
38438
|
this.subject = subject;
|
|
38380
38439
|
}
|
|
38381
|
-
sendTemplateRequest(templates) {
|
|
38440
|
+
sendTemplateRequest(templates, unbind) {
|
|
38382
38441
|
this.subject.next({
|
|
38383
38442
|
processId: this.processId,
|
|
38384
38443
|
tplRequest: {
|
|
38385
|
-
templates
|
|
38444
|
+
templates,
|
|
38445
|
+
remove: unbind
|
|
38386
38446
|
}
|
|
38387
38447
|
});
|
|
38388
38448
|
}
|
|
@@ -60115,4 +60175,4 @@ long/umd/index.js:
|
|
|
60115
60175
|
@noble/curves/esm/secp256k1.js:
|
|
60116
60176
|
(*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
|
|
60117
60177
|
*/
|
|
60118
|
-
//# sourceMappingURL=chunk-
|
|
60178
|
+
//# sourceMappingURL=chunk-AFB5F2CR.js.map
|