@layr-labs/ecloud-sdk 0.4.0 → 0.4.1-dev
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 +4 -1
- 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 +4 -1
- package/dist/billing.js.map +1 -1
- package/dist/browser.cjs +6 -2
- 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 +6 -2
- package/dist/browser.js.map +1 -1
- package/dist/{compute-CC55YQ_a.d.ts → compute-BurtCz2l.d.ts} +1 -1
- package/dist/{compute-BRDk7QM4.d.cts → compute-CGbWIlic.d.cts} +1 -1
- package/dist/compute.cjs +6 -2
- 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 +6 -2
- package/dist/compute.js.map +1 -1
- package/dist/{helpers-BcoV07Me.d.ts → helpers-B3ZK7w_7.d.ts} +1 -1
- package/dist/{helpers-DdtPaQr9.d.cts → helpers-CXevm4tr.d.cts} +1 -1
- package/dist/{index-BEbhrwWl.d.cts → index-0GwdZDmQ.d.cts} +2 -0
- package/dist/{index-BEbhrwWl.d.ts → index-0GwdZDmQ.d.ts} +2 -0
- package/dist/index.cjs +6 -2
- 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 +6 -2
- 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 { av as SubscriptionOpts, aq as SubscribeResponse, au as ProductSubscriptionResponse, at as CancelResponse } from './index-
|
|
2
|
+
import { av as SubscriptionOpts, aq as SubscribeResponse, au as ProductSubscriptionResponse, at as CancelResponse } from './index-0GwdZDmQ.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 { av as SubscriptionOpts, aq as SubscribeResponse, au as ProductSubscriptionResponse, at as CancelResponse } from './index-
|
|
2
|
+
import { av as SubscriptionOpts, aq as SubscribeResponse, au as ProductSubscriptionResponse, at as CancelResponse } from './index-0GwdZDmQ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Main Billing namespace entry point
|
package/dist/billing.js
CHANGED
|
@@ -492,7 +492,7 @@ function getBillingEnvironmentConfig(build) {
|
|
|
492
492
|
return config;
|
|
493
493
|
}
|
|
494
494
|
function getBuildType() {
|
|
495
|
-
const buildTimeType = true ? "
|
|
495
|
+
const buildTimeType = true ? "dev"?.toLowerCase() : void 0;
|
|
496
496
|
const runtimeType = process.env.BUILD_TYPE?.toLowerCase();
|
|
497
497
|
const buildType = buildTimeType || runtimeType;
|
|
498
498
|
if (buildType === "dev") {
|
|
@@ -1900,6 +1900,9 @@ async function executeBatch(options, logger = noopLogger) {
|
|
|
1900
1900
|
if (gas?.maxPriorityFeePerGas) {
|
|
1901
1901
|
txRequest.maxPriorityFeePerGas = gas.maxPriorityFeePerGas;
|
|
1902
1902
|
}
|
|
1903
|
+
if (gas?.nonce != null) {
|
|
1904
|
+
txRequest.nonce = gas.nonce;
|
|
1905
|
+
}
|
|
1903
1906
|
const hash = await walletClient.sendTransaction(txRequest);
|
|
1904
1907
|
logger.info(`Transaction sent: ${hash}`);
|
|
1905
1908
|
const receipt = await waitForReceipt(publicClient, hash, logger);
|