@sentio/runtime 3.0.0-rc.9 → 3.0.1-rc.1

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.
Files changed (25) hide show
  1. package/lib/{chunk-MV6JXS2P.js → chunk-I45UXGDM.js} +1 -7
  2. package/lib/{chunk-4FNYVNIX.js → chunk-KVGBPLGJ.js} +76 -16
  3. package/lib/{chunk-4FNYVNIX.js.map → chunk-KVGBPLGJ.js.map} +1 -1
  4. package/lib/{chunk-CPJKSHSV.js → chunk-PCB4OKW7.js} +1 -2
  5. package/lib/{getMachineId-bsd-ZJR2OQTA.js → getMachineId-bsd-QYFPRONP.js} +2 -2
  6. package/lib/{getMachineId-darwin-OW6SYINH.js → getMachineId-darwin-XC67FIUW.js} +2 -2
  7. package/lib/{getMachineId-linux-L5XPRJBN.js → getMachineId-linux-4G7ZY7LQ.js} +2 -2
  8. package/lib/{getMachineId-unsupported-B3NMIOO3.js → getMachineId-unsupported-5IH5IW7P.js} +2 -2
  9. package/lib/{getMachineId-win-TT64F63B.js → getMachineId-win-WSA3TUKL.js} +2 -2
  10. package/lib/index.js +2 -2
  11. package/lib/processor-runner.js +14433 -27568
  12. package/lib/processor-runner.js.map +1 -1
  13. package/lib/service-worker.js +5 -5
  14. package/package.json +1 -1
  15. package/src/db-context.ts +0 -1
  16. package/src/otlp.ts +20 -12
  17. package/src/processor-runner.ts +3 -3
  18. package/src/service-v3.ts +11 -18
  19. /package/lib/{chunk-MV6JXS2P.js.map → chunk-I45UXGDM.js.map} +0 -0
  20. /package/lib/{chunk-CPJKSHSV.js.map → chunk-PCB4OKW7.js.map} +0 -0
  21. /package/lib/{getMachineId-bsd-ZJR2OQTA.js.map → getMachineId-bsd-QYFPRONP.js.map} +0 -0
  22. /package/lib/{getMachineId-darwin-OW6SYINH.js.map → getMachineId-darwin-XC67FIUW.js.map} +0 -0
  23. /package/lib/{getMachineId-linux-L5XPRJBN.js.map → getMachineId-linux-4G7ZY7LQ.js.map} +0 -0
  24. /package/lib/{getMachineId-unsupported-B3NMIOO3.js.map → getMachineId-unsupported-5IH5IW7P.js.map} +0 -0
  25. /package/lib/{getMachineId-win-TT64F63B.js.map → getMachineId-win-WSA3TUKL.js.map} +0 -0
@@ -1685,13 +1685,7 @@ export {
1685
1685
  createNoopMeter,
1686
1686
  ValueType,
1687
1687
  TraceFlags,
1688
- INVALID_SPAN_CONTEXT,
1689
- isValidTraceId,
1690
- isValidSpanId,
1691
1688
  isSpanContextValid,
1692
- SamplingDecision,
1693
- SpanKind,
1694
- SpanStatusCode,
1695
1689
  context,
1696
1690
  diag,
1697
1691
  metrics,
@@ -1700,4 +1694,4 @@ export {
1700
1694
  esm_exports,
1701
1695
  init_esm
1702
1696
  };
1703
- //# sourceMappingURL=chunk-MV6JXS2P.js.map
1697
+ //# sourceMappingURL=chunk-I45UXGDM.js.map
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  init_esm,
21
21
  metrics
22
- } from "./chunk-MV6JXS2P.js";
22
+ } from "./chunk-I45UXGDM.js";
23
23
  import {
24
24
  __commonJS,
25
25
  __esm,
@@ -36097,9 +36097,9 @@ var require_eventemitter3 = __commonJS({
36097
36097
  }
36098
36098
  });
36099
36099
 
36100
- // ../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/chain-id.js
36100
+ // ../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/chain-id.js
36101
36101
  var require_chain_id = __commonJS({
36102
- "../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/chain-id.js"(exports) {
36102
+ "../../node_modules/.pnpm/@sentio+chain@3.4.18/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;
@@ -36139,6 +36139,8 @@ var require_chain_id = __commonJS({
36139
36139
  EthChainId3["CRONOS_TESTNET"] = "338";
36140
36140
  EthChainId3["ASTAR"] = "592";
36141
36141
  EthChainId3["DERIVE"] = "957";
36142
+ EthChainId3["STABLE_TESTNET"] = "2201";
36143
+ EthChainId3["STABLE_MAINNET"] = "998";
36142
36144
  EthChainId3["HYPER_EVM"] = "999";
36143
36145
  EthChainId3["POLYGON_ZKEVM"] = "1101";
36144
36146
  EthChainId3["CONFLUX"] = "1030";
@@ -36162,6 +36164,7 @@ var require_chain_id = __commonJS({
36162
36164
  EthChainId3["PLASMA_MAINNET"] = "9745";
36163
36165
  EthChainId3["PLASMA_TESTNET"] = "9746";
36164
36166
  EthChainId3["MONAD_TESTNET"] = "10143";
36167
+ EthChainId3["MONAD_MAINNET"] = "143";
36165
36168
  EthChainId3["HOLESKY"] = "17000";
36166
36169
  EthChainId3["HOODI"] = "560048";
36167
36170
  EthChainId3["MODE"] = "34443";
@@ -36187,6 +36190,7 @@ var require_chain_id = __commonJS({
36187
36190
  EthChainId3["BLAST_SEPOLIA"] = "168587773";
36188
36191
  EthChainId3["ABSTRACT"] = "2741";
36189
36192
  EthChainId3["GOAT_MAINNET"] = "2345";
36193
+ EthChainId3["ARC_TESTNET"] = "5042002";
36190
36194
  EthChainId3["CUSTOM"] = "customized";
36191
36195
  })(EthChainId2 || (exports.EthChainId = EthChainId2 = {}));
36192
36196
  var AptosChainId;
@@ -36279,9 +36283,9 @@ var require_chain_id = __commonJS({
36279
36283
  }
36280
36284
  });
36281
36285
 
36282
- // ../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/chain-info.js
36286
+ // ../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/chain-info.js
36283
36287
  var require_chain_info = __commonJS({
36284
- "../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/chain-info.js"(exports) {
36288
+ "../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/chain-info.js"(exports) {
36285
36289
  "use strict";
36286
36290
  Object.defineProperty(exports, "__esModule", { value: true });
36287
36291
  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;
@@ -37296,6 +37300,7 @@ var require_chain_info = __commonJS({
37296
37300
  name: "Monad Testnet",
37297
37301
  slug: "monad-testnet",
37298
37302
  chainId: chain_id_1.EthChainId.MONAD_TESTNET,
37303
+ mainnetChainId: chain_id_1.EthChainId.MONAD_MAINNET,
37299
37304
  variation: EthVariation.DEFAULT,
37300
37305
  priceTokenAddress: "0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701",
37301
37306
  tokenAddress: "0x0000000000000000000000000000000000000000",
@@ -37306,6 +37311,20 @@ var require_chain_info = __commonJS({
37306
37311
  explorerApiType: ExplorerApiType.UNKNOWN,
37307
37312
  lightIcon: "https://assets.sentio.xyz/chains/monad.svg"
37308
37313
  },
37314
+ [chain_id_1.EthChainId.MONAD_MAINNET]: {
37315
+ name: "Monad Mainnet",
37316
+ slug: "monad-mainnet",
37317
+ chainId: chain_id_1.EthChainId.MONAD_MAINNET,
37318
+ variation: EthVariation.DEFAULT,
37319
+ priceTokenAddress: "0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701",
37320
+ tokenAddress: "0x0000000000000000000000000000000000000000",
37321
+ wrappedTokenAddress: "0x760AfE86e5de5fa0Ee542fc7B7B713e1c5425701",
37322
+ tokenSymbol: "MON",
37323
+ tokenDecimals: 18,
37324
+ explorerUrl: "https://monadexplorer.com",
37325
+ explorerApiType: ExplorerApiType.UNKNOWN,
37326
+ lightIcon: "https://assets.sentio.xyz/chains/monad.svg"
37327
+ },
37309
37328
  [chain_id_1.EthChainId.BERACHAIN]: {
37310
37329
  name: "Berachain",
37311
37330
  slug: "berachain",
@@ -37430,6 +37449,51 @@ var require_chain_info = __commonJS({
37430
37449
  lightIcon: "https://assets.sentio.xyz/chains/plasma.svg",
37431
37450
  darkIcon: "https://assets.sentio.xyz/chains/plasma-dark.svg"
37432
37451
  },
37452
+ [chain_id_1.EthChainId.ARC_TESTNET]: {
37453
+ name: "Arc Testnet",
37454
+ slug: "arc-testnet",
37455
+ chainId: chain_id_1.EthChainId.ARC_TESTNET,
37456
+ variation: EthVariation.DEFAULT,
37457
+ priceTokenAddress: "0x3600000000000000000000000000000000000000",
37458
+ tokenAddress: "0x3600000000000000000000000000000000000000",
37459
+ wrappedTokenAddress: "0x3600000000000000000000000000000000000000",
37460
+ tokenSymbol: "USDC",
37461
+ tokenDecimals: 6,
37462
+ explorerUrl: "https://testnet.arcscan.app",
37463
+ explorerApi: "https://testnet.arcscan.app",
37464
+ explorerApiType: ExplorerApiType.BLOCKSCOUT,
37465
+ lightIcon: "https://assets.sentio.xyz/chains/arc.svg",
37466
+ darkIcon: "https://assets.sentio.xyz/chains/arc-dark.svg"
37467
+ },
37468
+ [chain_id_1.EthChainId.STABLE_TESTNET]: {
37469
+ name: "Stable Testnet",
37470
+ slug: "stable-testnet",
37471
+ chainId: chain_id_1.EthChainId.STABLE_TESTNET,
37472
+ mainnetChainId: chain_id_1.EthChainId.STABLE_MAINNET,
37473
+ variation: EthVariation.DEFAULT,
37474
+ priceTokenAddress: "0x0000000000000000000000000000000000001000",
37475
+ tokenAddress: "0x0000000000000000000000000000000000001000",
37476
+ wrappedTokenAddress: "0x0000000000000000000000000000000000001000",
37477
+ tokenSymbol: "gUSDT",
37478
+ tokenDecimals: 18,
37479
+ explorerUrl: "https://testnet.stablescan.xyz",
37480
+ lightIcon: "https://assets.sentio.xyz/chains/stable.svg",
37481
+ darkIcon: "https://assets.sentio.xyz/chains/stable-dark.svg"
37482
+ },
37483
+ [chain_id_1.EthChainId.STABLE_MAINNET]: {
37484
+ name: "Stable Mainnet",
37485
+ slug: "stable-mainnet",
37486
+ chainId: chain_id_1.EthChainId.STABLE_MAINNET,
37487
+ variation: EthVariation.DEFAULT,
37488
+ priceTokenAddress: "0x0000000000000000000000000000000000001000",
37489
+ tokenAddress: "0x0000000000000000000000000000000000001000",
37490
+ wrappedTokenAddress: "0x0000000000000000000000000000000000001000",
37491
+ tokenSymbol: "gUSDT",
37492
+ tokenDecimals: 18,
37493
+ explorerUrl: "https://stablescan.xyz",
37494
+ lightIcon: "https://assets.sentio.xyz/chains/stable.svg",
37495
+ darkIcon: "https://assets.sentio.xyz/chains/stable-dark.svg"
37496
+ },
37433
37497
  [chain_id_1.EthChainId.CUSTOM]: {
37434
37498
  name: "Custom",
37435
37499
  slug: "custom",
@@ -37827,9 +37891,9 @@ var require_chain_info = __commonJS({
37827
37891
  }
37828
37892
  });
37829
37893
 
37830
- // ../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/chain-name.js
37894
+ // ../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/chain-name.js
37831
37895
  var require_chain_name = __commonJS({
37832
- "../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/chain-name.js"(exports) {
37896
+ "../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/chain-name.js"(exports) {
37833
37897
  "use strict";
37834
37898
  Object.defineProperty(exports, "__esModule", { value: true });
37835
37899
  exports.getChainName = getChainName;
@@ -37857,9 +37921,9 @@ var require_chain_name = __commonJS({
37857
37921
  }
37858
37922
  });
37859
37923
 
37860
- // ../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/index.js
37924
+ // ../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/index.js
37861
37925
  var require_dist = __commonJS({
37862
- "../../node_modules/.pnpm/@sentio+chain@3.4.13/node_modules/@sentio/chain/dist/index.js"(exports) {
37926
+ "../../node_modules/.pnpm/@sentio+chain@3.4.18/node_modules/@sentio/chain/dist/index.js"(exports) {
37863
37927
  "use strict";
37864
37928
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
37865
37929
  if (k2 === void 0) k2 = k;
@@ -38423,7 +38487,6 @@ var DataBindingContext = class extends AbstractStoreContext {
38423
38487
  });
38424
38488
  }
38425
38489
  doSend(resp) {
38426
- console.debug("sending db request, processId ", this.processId, "opId", resp.dbRequest?.opId);
38427
38490
  this.subject.next({
38428
38491
  ...resp,
38429
38492
  processId: this.processId
@@ -60035,12 +60098,9 @@ export {
60035
60098
  require_lib,
60036
60099
  Endpoints,
60037
60100
  configureEndpoints,
60038
- require_lib2,
60039
60101
  require_src3 as require_src,
60040
- es_exports2 as es_exports,
60041
- init_es2 as init_es,
60042
- require_lib3,
60043
- require_lib4,
60102
+ require_lib3 as require_lib2,
60103
+ require_lib4 as require_lib3,
60044
60104
  from,
60045
60105
  withAbort,
60046
60106
  GLOBAL_CONFIG,
@@ -60143,4 +60203,4 @@ long/umd/index.js:
60143
60203
  @noble/curves/esm/secp256k1.js:
60144
60204
  (*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) *)
60145
60205
  */
60146
- //# sourceMappingURL=chunk-4FNYVNIX.js.map
60206
+ //# sourceMappingURL=chunk-KVGBPLGJ.js.map