@embarkai/ui-kit 0.4.90 → 0.4.92
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 +2 -9
- package/dist/iframe/index.html +1 -1
- package/dist/iframe/main.js +1 -1
- package/dist/index.cjs +388 -324
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +270 -207
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -453,7 +453,7 @@ function DirectTransactionExample() {
|
|
|
453
453
|
to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
|
|
454
454
|
value: '1000000000000000000', // 1 ETH in wei
|
|
455
455
|
data: '0x', // optional contract call
|
|
456
|
-
feeType: 'standard'
|
|
456
|
+
feeType: 'standard' // (Optional) 'economy' | 'standard' | 'fast'
|
|
457
457
|
})
|
|
458
458
|
|
|
459
459
|
console.log('Transaction submitted:', userOpHash)
|
|
@@ -686,7 +686,7 @@ function BackendSubmissionExample() {
|
|
|
686
686
|
to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
|
|
687
687
|
value: '1000000000000000000', // 1 ETH in wei
|
|
688
688
|
data: '0x',
|
|
689
|
-
feeType: 'standard'
|
|
689
|
+
feeType: 'standard' // (Optional) 'economy' | 'standard' | 'fast'
|
|
690
690
|
})
|
|
691
691
|
|
|
692
692
|
// Send to backend for validation and submission
|
|
@@ -940,19 +940,12 @@ The simpliest way to customize cssv is via app index.css file:
|
|
|
940
940
|
|
|
941
941
|
/** text */
|
|
942
942
|
--embark-ui-fg: #000000;
|
|
943
|
-
--embark-ui-fg-h: rgba(0, 0, 0, 0.6);
|
|
944
|
-
--embark-ui-fg-a: rgba(0, 0, 0, 0.4);
|
|
945
943
|
--embark-ui-fg-inverted: #ffffff;
|
|
946
944
|
--embark-ui-fg-muted: rgba(0, 0, 0, 0.6);
|
|
947
945
|
|
|
948
946
|
/** backgrounds i.e. buttons bg etc */
|
|
949
947
|
--embark-ui-primary: #000000;
|
|
950
|
-
--embark-ui-primary-h: rgba(0, 0, 0, 0.8);
|
|
951
|
-
--embark-ui-primary-a: rgba(0, 0, 0, 0.6);
|
|
952
|
-
|
|
953
948
|
--embark-ui-secondary: #e4e4e4;
|
|
954
|
-
--embark-ui-secondary-h: rgba(228, 228, 228, 0.8);
|
|
955
|
-
--embark-ui-secondary-a: rgba(228, 228, 228, 0.6);
|
|
956
949
|
|
|
957
950
|
/** borders */
|
|
958
951
|
--embark-ui-bd: #ebebeb;
|
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.92</title>
|
|
19
19
|
|
|
20
20
|
<!-- Styles will be injected by build process -->
|
|
21
21
|
<style>
|
package/dist/iframe/main.js
CHANGED
|
@@ -6414,7 +6414,7 @@ var SigningManager = class extends TokenRefreshApiClient {
|
|
|
6414
6414
|
};
|
|
6415
6415
|
|
|
6416
6416
|
// src/iframe/main.ts
|
|
6417
|
-
var IFRAME_VERSION = "0.4.
|
|
6417
|
+
var IFRAME_VERSION = "0.4.92";
|
|
6418
6418
|
var IframeWallet = class {
|
|
6419
6419
|
constructor() {
|
|
6420
6420
|
__publicField(this, "messenger");
|