@embarkai/ui-kit 0.4.95 → 0.4.97
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/README.md +3 -3
- package/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +3519 -3595
- package/dist/index.cjs +6405 -5235
- package/dist/index.d.cts +171 -4
- package/dist/index.d.ts +171 -4
- package/dist/index.js +5836 -4675
- package/dist/styles.css +1 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -411,7 +411,7 @@ function TransactionExample() {
|
|
|
411
411
|
const handleSend = async () => {
|
|
412
412
|
try {
|
|
413
413
|
const userOpHash = await sendTransaction({
|
|
414
|
-
to: '
|
|
414
|
+
to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
|
|
415
415
|
value: '1000000000000000000', // 1 ETH in wei
|
|
416
416
|
data: '0x' // Optional contract call data
|
|
417
417
|
})
|
|
@@ -450,7 +450,7 @@ function DirectTransactionExample() {
|
|
|
450
450
|
try {
|
|
451
451
|
// Send transaction directly with full control
|
|
452
452
|
const userOpHash = await sendUserOperation(session, {
|
|
453
|
-
to: '
|
|
453
|
+
to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
|
|
454
454
|
value: '1000000000000000000', // 1 ETH in wei
|
|
455
455
|
data: '0x', // optional contract call
|
|
456
456
|
feeType: 'standard' // (Optional) 'economy' | 'standard' | 'fast'
|
|
@@ -683,7 +683,7 @@ function BackendSubmissionExample() {
|
|
|
683
683
|
|
|
684
684
|
// Prepare and sign UserOp without sending to bundler
|
|
685
685
|
const { userOp, userOpHash } = await prepareUserOperation(session, {
|
|
686
|
-
to: '
|
|
686
|
+
to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
|
|
687
687
|
value: '1000000000000000000', // 1 ETH in wei
|
|
688
688
|
data: '0x',
|
|
689
689
|
feeType: 'standard' // (Optional) 'economy' | 'standard' | 'fast'
|
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.97</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|