@layr-labs/ecloud-sdk 1.0.0-devep2 → 1.0.0-devep4
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 +2 -2
- package/dist/billing.cjs +12 -3
- package/dist/billing.cjs.map +1 -1
- package/dist/billing.d.cts +1 -1
- package/dist/billing.d.ts +1 -1
- package/dist/billing.js +12 -3
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +78 -4
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +4 -4
- package/dist/browser.d.ts +4 -4
- package/dist/browser.js +78 -4
- package/dist/browser.js.map +1 -1
- package/dist/{compute-BbgMH6Ef.d.ts → compute-2WkiO-d8.d.ts} +1 -1
- package/dist/{compute-yAqGf5hM.d.cts → compute-CoBGVJXh.d.cts} +1 -1
- package/dist/compute.cjs +523 -152
- package/dist/compute.cjs.map +1 -1
- package/dist/compute.d.cts +2 -2
- package/dist/compute.d.ts +2 -2
- package/dist/compute.js +523 -152
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-CnlJ5yPE.d.cts → helpers-B8KBOdM4.d.ts} +26 -2
- package/dist/{helpers-GWlLS3gz.d.ts → helpers-BVSe7yTf.d.cts} +26 -2
- package/dist/{index-Bac4HjC0.d.cts → index-XhjPvHIY.d.cts} +2 -0
- package/dist/{index-Bac4HjC0.d.ts → index-XhjPvHIY.d.ts} +2 -0
- package/dist/index.cjs +519 -179
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +519 -179
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/billing.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Address, Hex, WalletClient, PublicClient } from 'viem';
|
|
2
|
-
import { a6 as SubscriptionOpts, a4 as SubscribeResponse, a0 as ProductSubscriptionResponse, g as CancelResponse, M as PaymentMethodsResponse, m as CreditPurchaseResponse } from './index-
|
|
2
|
+
import { a6 as SubscriptionOpts, a4 as SubscribeResponse, a0 as ProductSubscriptionResponse, g as CancelResponse, M as PaymentMethodsResponse, m as CreditPurchaseResponse } from './index-XhjPvHIY.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Main Billing namespace entry point
|
package/dist/billing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Address, Hex, WalletClient, PublicClient } from 'viem';
|
|
2
|
-
import { a6 as SubscriptionOpts, a4 as SubscribeResponse, a0 as ProductSubscriptionResponse, g as CancelResponse, M as PaymentMethodsResponse, m as CreditPurchaseResponse } from './index-
|
|
2
|
+
import { a6 as SubscriptionOpts, a4 as SubscribeResponse, a0 as ProductSubscriptionResponse, g as CancelResponse, M as PaymentMethodsResponse, m as CreditPurchaseResponse } from './index-XhjPvHIY.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Main Billing namespace entry point
|
package/dist/billing.js
CHANGED
|
@@ -448,6 +448,9 @@ var BILLING_ENVIRONMENTS = {
|
|
|
448
448
|
billingApiServerURL: "https://billingapi.eigencloud.xyz"
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
|
+
var PLATFORM_ENV_TESTNET_SEPOLIA = "testnet-sepolia";
|
|
452
|
+
var PLATFORM_ENV_MAINNET_ETHEREUM = "mainnet-ethereum";
|
|
453
|
+
var DEFAULT_APP_BASE_DOMAIN = "eigencloud.xyz";
|
|
451
454
|
var ENVIRONMENTS = {
|
|
452
455
|
"sepolia-dev": {
|
|
453
456
|
name: "sepolia",
|
|
@@ -458,7 +461,9 @@ var ENVIRONMENTS = {
|
|
|
458
461
|
kmsServerURL: "http://10.128.0.57:8080",
|
|
459
462
|
userApiServerURL: "https://userapi-compute-sepolia-dev.eigencloud.xyz",
|
|
460
463
|
defaultRPCURL: "https://ethereum-sepolia-rpc.publicnode.com",
|
|
461
|
-
usdcCreditsAddress: "0xbdA3897c3A428763B59015C64AB766c288C97376"
|
|
464
|
+
usdcCreditsAddress: "0xbdA3897c3A428763B59015C64AB766c288C97376",
|
|
465
|
+
platformEnv: PLATFORM_ENV_TESTNET_SEPOLIA,
|
|
466
|
+
appBaseDomain: DEFAULT_APP_BASE_DOMAIN
|
|
462
467
|
},
|
|
463
468
|
sepolia: {
|
|
464
469
|
name: "sepolia",
|
|
@@ -470,7 +475,9 @@ var ENVIRONMENTS = {
|
|
|
470
475
|
userApiServerURL: "https://userapi-compute-sepolia-prod.eigencloud.xyz",
|
|
471
476
|
defaultRPCURL: "https://ethereum-sepolia-rpc.publicnode.com",
|
|
472
477
|
billingRPCURL: "https://ethereum-rpc.publicnode.com",
|
|
473
|
-
usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d"
|
|
478
|
+
usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d",
|
|
479
|
+
platformEnv: PLATFORM_ENV_TESTNET_SEPOLIA,
|
|
480
|
+
appBaseDomain: DEFAULT_APP_BASE_DOMAIN
|
|
474
481
|
},
|
|
475
482
|
"mainnet-alpha": {
|
|
476
483
|
name: "mainnet-alpha",
|
|
@@ -481,7 +488,9 @@ var ENVIRONMENTS = {
|
|
|
481
488
|
kmsServerURL: "http://10.128.0.2:8080",
|
|
482
489
|
userApiServerURL: "https://userapi-compute.eigencloud.xyz",
|
|
483
490
|
defaultRPCURL: "https://ethereum-rpc.publicnode.com",
|
|
484
|
-
usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d"
|
|
491
|
+
usdcCreditsAddress: "0xed9c88640ca9149Bd9f7ee6620074af10F2E145d",
|
|
492
|
+
platformEnv: PLATFORM_ENV_MAINNET_ETHEREUM,
|
|
493
|
+
appBaseDomain: DEFAULT_APP_BASE_DOMAIN
|
|
485
494
|
}
|
|
486
495
|
};
|
|
487
496
|
var CHAIN_ID_TO_ENVIRONMENT = {
|