@embarkai/ui-kit 0.4.112 → 0.4.113
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/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +1 -1
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/iframe/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<meta http-equiv="X-Content-Type-Options" content="nosniff" />
|
|
16
16
|
<meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
|
|
17
17
|
|
|
18
|
-
<title>EmbarkAI Secure Wallet - iframe version 0.4.
|
|
18
|
+
<title>EmbarkAI Secure Wallet - iframe version 0.4.113</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -6342,7 +6342,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6342
6342
|
};
|
|
6343
6343
|
|
|
6344
6344
|
// src/iframe/main.ts
|
|
6345
|
-
var IFRAME_VERSION = "0.4.
|
|
6345
|
+
var IFRAME_VERSION = "0.4.113";
|
|
6346
6346
|
var IframeWallet = class {
|
|
6347
6347
|
// private finchpay: FinchPayRampAPI
|
|
6348
6348
|
// private rampnow: RampnowOnrampAPI
|
package/dist/index.cjs
CHANGED
|
@@ -30068,7 +30068,7 @@ var init_package = __esm({
|
|
|
30068
30068
|
"package.json"() {
|
|
30069
30069
|
package_default = {
|
|
30070
30070
|
name: "@embarkai/ui-kit",
|
|
30071
|
-
version: "0.4.
|
|
30071
|
+
version: "0.4.113",
|
|
30072
30072
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
30073
30073
|
type: "module",
|
|
30074
30074
|
main: "./dist/index.cjs",
|
|
@@ -34718,7 +34718,8 @@ function useSendDirectTransaction() {
|
|
|
34718
34718
|
const hash = await sendTransactionAsync({
|
|
34719
34719
|
to: params.to,
|
|
34720
34720
|
value: (0, import_viem23.parseEther)(params.value),
|
|
34721
|
-
data: params.data
|
|
34721
|
+
data: params.data,
|
|
34722
|
+
gas: params.gas
|
|
34722
34723
|
});
|
|
34723
34724
|
setTxHash(hash);
|
|
34724
34725
|
return hash;
|
package/dist/index.d.cts
CHANGED
|
@@ -1597,6 +1597,8 @@ interface DirectTransactionParams {
|
|
|
1597
1597
|
value: string;
|
|
1598
1598
|
data?: `0x${string}`;
|
|
1599
1599
|
chainId?: number;
|
|
1600
|
+
/** Gas limit override. When omitted, it is estimated via eth_estimateGas with no safety margin. */
|
|
1601
|
+
gas?: bigint;
|
|
1600
1602
|
}
|
|
1601
1603
|
interface UseSendDirectTransactionReturn {
|
|
1602
1604
|
sendTransaction: (params: DirectTransactionParams) => Promise<`0x${string}` | null>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1597,6 +1597,8 @@ interface DirectTransactionParams {
|
|
|
1597
1597
|
value: string;
|
|
1598
1598
|
data?: `0x${string}`;
|
|
1599
1599
|
chainId?: number;
|
|
1600
|
+
/** Gas limit override. When omitted, it is estimated via eth_estimateGas with no safety margin. */
|
|
1601
|
+
gas?: bigint;
|
|
1600
1602
|
}
|
|
1601
1603
|
interface UseSendDirectTransactionReturn {
|
|
1602
1604
|
sendTransaction: (params: DirectTransactionParams) => Promise<`0x${string}` | null>;
|
package/dist/index.js
CHANGED
|
@@ -29975,7 +29975,7 @@ var init_package = __esm({
|
|
|
29975
29975
|
"package.json"() {
|
|
29976
29976
|
package_default = {
|
|
29977
29977
|
name: "@embarkai/ui-kit",
|
|
29978
|
-
version: "0.4.
|
|
29978
|
+
version: "0.4.113",
|
|
29979
29979
|
description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
|
|
29980
29980
|
type: "module",
|
|
29981
29981
|
main: "./dist/index.cjs",
|
|
@@ -34546,7 +34546,8 @@ function useSendDirectTransaction() {
|
|
|
34546
34546
|
const hash = await sendTransactionAsync({
|
|
34547
34547
|
to: params.to,
|
|
34548
34548
|
value: parseEther3(params.value),
|
|
34549
|
-
data: params.data
|
|
34549
|
+
data: params.data,
|
|
34550
|
+
gas: params.gas
|
|
34550
34551
|
});
|
|
34551
34552
|
setTxHash(hash);
|
|
34552
34553
|
return hash;
|