@layr-labs/ecloud-sdk 1.0.0-devep2 → 1.0.0-devep3

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/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- version=1.0.0-devep2
2
- commit=6556c862a68b0eb9962b654b22d428d984c9e6a5
1
+ version=1.0.0-devep3
2
+ commit=ae7213bb77bd5448778a2774d92c43d3d9a7cb67
package/dist/billing.cjs CHANGED
@@ -482,6 +482,9 @@ var BILLING_ENVIRONMENTS = {
482
482
  billingApiServerURL: "https://billingapi.eigencloud.xyz"
483
483
  }
484
484
  };
485
+ var PLATFORM_ENV_TESTNET_SEPOLIA = "testnet-sepolia";
486
+ var PLATFORM_ENV_MAINNET_ETHEREUM = "mainnet-ethereum";
487
+ var DEFAULT_APP_BASE_DOMAIN = "eigencloud.xyz";
485
488
  var ENVIRONMENTS = {
486
489
  "sepolia-dev": {
487
490
  name: "sepolia",
@@ -492,7 +495,9 @@ var ENVIRONMENTS = {
492
495
  kmsServerURL: "http://10.128.0.57:8080",
493
496
  userApiServerURL: "https://userapi-compute-sepolia-dev.eigencloud.xyz",
494
497
  defaultRPCURL: "https://ethereum-sepolia-rpc.publicnode.com",
495
- usdcCreditsAddress: "0xbdA3897c3A428763B59015C64AB766c288C97376"
498
+ usdcCreditsAddress: "0xbdA3897c3A428763B59015C64AB766c288C97376",
499
+ platformEnv: PLATFORM_ENV_TESTNET_SEPOLIA,
500
+ appBaseDomain: DEFAULT_APP_BASE_DOMAIN
496
501
  },
497
502
  sepolia: {
498
503
  name: "sepolia",
@@ -504,7 +509,9 @@ var ENVIRONMENTS = {
504
509
  userApiServerURL: "https://userapi-compute-sepolia-prod.eigencloud.xyz",
505
510
  defaultRPCURL: "https://ethereum-sepolia-rpc.publicnode.com",
506
511
  billingRPCURL: "https://ethereum-rpc.publicnode.com",
507
- usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d"
512
+ usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d",
513
+ platformEnv: PLATFORM_ENV_TESTNET_SEPOLIA,
514
+ appBaseDomain: DEFAULT_APP_BASE_DOMAIN
508
515
  },
509
516
  "mainnet-alpha": {
510
517
  name: "mainnet-alpha",
@@ -515,7 +522,9 @@ var ENVIRONMENTS = {
515
522
  kmsServerURL: "http://10.128.0.2:8080",
516
523
  userApiServerURL: "https://userapi-compute.eigencloud.xyz",
517
524
  defaultRPCURL: "https://ethereum-rpc.publicnode.com",
518
- usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d"
525
+ usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d",
526
+ platformEnv: PLATFORM_ENV_MAINNET_ETHEREUM,
527
+ appBaseDomain: DEFAULT_APP_BASE_DOMAIN
519
528
  }
520
529
  };
521
530
  var CHAIN_ID_TO_ENVIRONMENT = {