@xyo-network/react-ethereum-gas-price-blocknative-plugin 2.45.5 → 2.46.7
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/cjs/Plugin.js.map +1 -1
- package/dist/cjs/components/Card/Card.js.map +1 -1
- package/dist/cjs/components/Card/CardContent.js.map +1 -1
- package/dist/cjs/components/Card/CardHeader.js.map +1 -1
- package/dist/docs.json +18 -18
- package/dist/esm/Plugin.js.map +1 -1
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/Card/CardContent.js.map +1 -1
- package/dist/esm/components/Card/CardHeader.js.map +1 -1
- package/dist/types/Plugin.d.ts +2 -2
- package/dist/types/Plugin.d.ts.map +1 -1
- package/dist/types/components/Card/Card.d.ts +2 -2
- package/dist/types/components/Card/Card.d.ts.map +1 -1
- package/dist/types/components/Card/CardContent.d.ts +2 -2
- package/dist/types/components/Card/CardContent.d.ts.map +1 -1
- package/dist/types/components/Card/CardHeader.d.ts +2 -2
- package/dist/types/components/Card/CardHeader.d.ts.map +1 -1
- package/dist/types/components/Details/Box/BlocknativeGasPriceDetailsBox.d.ts +2 -2
- package/dist/types/components/Details/Box/BlocknativeGasPriceDetailsBox.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/Plugin.ts +4 -4
- package/src/components/Card/Card.tsx +2 -2
- package/src/components/Card/CardContent.tsx +2 -2
- package/src/components/Card/CardHeader.tsx +2 -2
- package/src/components/Details/Box/BlocknativeGasPriceDetailsBox.tsx +2 -2
package/dist/cjs/Plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;AAAA,kHAAsG;AAEtG,kEAAqE;AACrE,
|
|
1
|
+
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;AAAA,kHAAsG;AAEtG,kEAAqE;AACrE,4EAAkG;AAElG,6CAA2H;AAE9G,QAAA,iCAAiC,qBACzC,IAAA,gDAAyB,EAAC;IAC3B,SAAS,EAAE,CAAC,OAAiB,EAAE,EAAE,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,MAAK,yEAA+B;IACrF,UAAU,EAAE;QACV,MAAM,EAAE;YACN,KAAK,EAAE,wCAAsB;SAC9B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,0CAA6B;SAC1C;QACD,IAAI,EAAE;YACJ,OAAO,EAAE,2CAA8B;YACvC,MAAM,EAAE,0CAA6B;SACtC;KACF;IACD,IAAI,EAAE,gCAAgC;CACvC,CAAC,EACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA+C;AAE/C,iCAAkC;AAElC,+CAA8D;AAC9D,6CAA4D;AAE/C,QAAA,uBAAuB,GAAG,IAAA,kBAAU,
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":";;;;;AAAA,4CAA+C;AAE/C,iCAAkC;AAElC,+CAA8D;AAC9D,6CAA4D;AAE/C,QAAA,uBAAuB,GAAG,IAAA,kBAAU,EAAiD,CAAC,EAAqB,EAAE,GAAG,EAAE,EAAE;QAA9B,EAAE,OAAO,OAAY,EAAP,KAAK,sBAAnB,WAAqB,CAAF;IACpH,OAAO,CACL,wBAAC,eAAI,kBAAC,GAAG,EAAE,GAAG,IAAM,KAAK,eACvB,uBAAC,0CAA6B,IAAC,OAAO,EAAE,OAAO,GAAI,EACnD,uBAAC,4CAA8B,IAAC,OAAO,EAAE,OAAO,GAAI,KAC/C,CACR,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,+BAAuB,CAAC,WAAW,GAAG,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.js","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAmE;AAEnE,kEAA8E;AAE9E,4DAA8D;AAC9D,qEAAoC;AACpC,iCAAkC;AAElC,oCAAoD;AAEvC,QAAA,8BAA8B,GAAG,IAAA,kBAAU,
|
|
1
|
+
{"version":3,"file":"CardContent.js","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAmE;AAEnE,kEAA8E;AAE9E,4DAA8D;AAC9D,qEAAoC;AACpC,iCAAkC;AAElC,oCAAoD;AAEvC,QAAA,8BAA8B,GAAG,IAAA,kBAAU,EAAwD,CAAC,EAAqB,EAAE,GAAG,EAAE,EAAE;;QAA9B,EAAE,OAAO,OAAY,EAAP,KAAK,sBAAnB,WAAqB,CAAF;IAClI,MAAM,eAAe,GAAG,OAAO,CAAC,CAAC,CAAE,OAA4C,CAAC,CAAC,CAAC,SAAS,CAAA;IAC3F,MAAM,aAAa,GAAG,IAAA,iCAAyB,EAAC,eAAe,CAAC,CAAA;IAEhE,IAAI,IAAA,iBAAO,EAAC,eAAe,CAAC,IAAI,CAAC,CAAA,MAAA,eAAe,CAAC,WAAW,0CAAE,MAAM,CAAA,EAAE;QACpE,OAAO,uBAAC,iCAAkB,IAAC,SAAS,EAAC,wCAAwC,EAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAI,CAAA;KAC/F;IAED,OAAO,CACL,wBAAC,sBAAW,kBAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE,IAAM,KAAK,eAC3F,uBAAC,eAAI,kBAAC,SAAS,QAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,gBACpE,aAAa;qBACZ,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,QAAQ,0CAAE,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC1C,uBAAC,eAAI,kBAAoB,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,gBACvD,uBAAC,4BAAU,IAAC,QAAQ,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EAAE,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC,GAAI,KAD1E,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CAEhB,CACR,CAAC,CAAA,IACC,EACP,uBAAC,qCAAmB,IAAC,eAAe,EAAE,eAAe,EAAE,UAAU,EAAC,OAAO,EAAC,EAAE,EAAE,CAAC,GAAI,KACvE,CACf,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,sCAA8B,CAAC,WAAW,GAAG,gCAAgC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":";;;;AAEA,kEAAwE;AAExE,iCAAkC;AAElC,oCAAoD;AACpD,gCAAoC;AAEvB,QAAA,6BAA6B,GAAG,IAAA,kBAAU,
|
|
1
|
+
{"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":";;;;AAEA,kEAAwE;AAExE,iCAAkC;AAElC,oCAAoD;AACpD,gCAAoC;AAEvB,QAAA,6BAA6B,GAAG,IAAA,kBAAU,EAAuD,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE;IACjI,MAAM,eAAe,GAAG,OAAO,CAAC,CAAC,CAAE,OAA4C,CAAC,CAAC,CAAC,SAAS,CAAA;IAC3F,MAAM,aAAa,GAAG,IAAA,iCAAyB,EAAC,eAAe,CAAC,CAAA;IAChE,OAAO,uBAAC,2CAAyB,IAAC,KAAK,EAAE,iBAAW,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,EAAE,GAAG,GAAI,CAAA;AAClG,CAAC,CAAC,CAAA;AAEF,qCAA6B,CAAC,WAAW,GAAG,+BAA+B,CAAA"}
|
package/dist/docs.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/index.ts",
|
|
18
18
|
"line": 7,
|
|
19
19
|
"character": 0,
|
|
20
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/index.ts#L7"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"target": 23
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/Plugin.ts",
|
|
36
36
|
"line": 8,
|
|
37
37
|
"character": 13,
|
|
38
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
38
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/Plugin.ts#L8"
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
41
|
"type": {
|
|
42
42
|
"type": "reference",
|
|
43
|
-
"name": "
|
|
43
|
+
"name": "PayloadRenderPlugin"
|
|
44
44
|
},
|
|
45
45
|
"defaultValue": "..."
|
|
46
46
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Card/Card.tsx",
|
|
56
56
|
"line": 8,
|
|
57
57
|
"character": 13,
|
|
58
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
58
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Card/Card.tsx#L8"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
"signatures": [
|
|
@@ -117,8 +117,8 @@
|
|
|
117
117
|
"flags": {},
|
|
118
118
|
"sources": [
|
|
119
119
|
{
|
|
120
|
-
"fileName": "node_modules/@xyo-network/payload-model/dist/types/
|
|
121
|
-
"line":
|
|
120
|
+
"fileName": "node_modules/@xyo-network/payload-model/dist/types/Payload.d.ts",
|
|
121
|
+
"line": 20,
|
|
122
122
|
"character": 17
|
|
123
123
|
}
|
|
124
124
|
]
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
]
|
|
128
128
|
}
|
|
129
129
|
],
|
|
130
|
-
"name": "
|
|
130
|
+
"name": "PayloadRenderProps"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"type": "reference",
|
|
@@ -1404,7 +1404,7 @@
|
|
|
1404
1404
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Card/CardContent.tsx",
|
|
1405
1405
|
"line": 11,
|
|
1406
1406
|
"character": 13,
|
|
1407
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1407
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Card/CardContent.tsx#L11"
|
|
1408
1408
|
}
|
|
1409
1409
|
],
|
|
1410
1410
|
"signatures": [
|
|
@@ -1466,8 +1466,8 @@
|
|
|
1466
1466
|
"flags": {},
|
|
1467
1467
|
"sources": [
|
|
1468
1468
|
{
|
|
1469
|
-
"fileName": "node_modules/@xyo-network/payload-model/dist/types/
|
|
1470
|
-
"line":
|
|
1469
|
+
"fileName": "node_modules/@xyo-network/payload-model/dist/types/Payload.d.ts",
|
|
1470
|
+
"line": 20,
|
|
1471
1471
|
"character": 17
|
|
1472
1472
|
}
|
|
1473
1473
|
]
|
|
@@ -1476,7 +1476,7 @@
|
|
|
1476
1476
|
]
|
|
1477
1477
|
}
|
|
1478
1478
|
],
|
|
1479
|
-
"name": "
|
|
1479
|
+
"name": "PayloadRenderProps"
|
|
1480
1480
|
},
|
|
1481
1481
|
{
|
|
1482
1482
|
"type": "reflection",
|
|
@@ -1679,7 +1679,7 @@
|
|
|
1679
1679
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Card/CardHeader.tsx",
|
|
1680
1680
|
"line": 10,
|
|
1681
1681
|
"character": 13,
|
|
1682
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1682
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Card/CardHeader.tsx#L10"
|
|
1683
1683
|
}
|
|
1684
1684
|
],
|
|
1685
1685
|
"signatures": [
|
|
@@ -1741,8 +1741,8 @@
|
|
|
1741
1741
|
"flags": {},
|
|
1742
1742
|
"sources": [
|
|
1743
1743
|
{
|
|
1744
|
-
"fileName": "node_modules/@xyo-network/payload-model/dist/types/
|
|
1745
|
-
"line":
|
|
1744
|
+
"fileName": "node_modules/@xyo-network/payload-model/dist/types/Payload.d.ts",
|
|
1745
|
+
"line": 20,
|
|
1746
1746
|
"character": 17
|
|
1747
1747
|
}
|
|
1748
1748
|
]
|
|
@@ -1751,7 +1751,7 @@
|
|
|
1751
1751
|
]
|
|
1752
1752
|
}
|
|
1753
1753
|
],
|
|
1754
|
-
"name": "
|
|
1754
|
+
"name": "PayloadRenderProps"
|
|
1755
1755
|
},
|
|
1756
1756
|
{
|
|
1757
1757
|
"type": "reflection",
|
|
@@ -1978,7 +1978,7 @@
|
|
|
1978
1978
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Details/Box/BlocknativeGasPriceDetailsBox.tsx",
|
|
1979
1979
|
"line": 13,
|
|
1980
1980
|
"character": 13,
|
|
1981
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1981
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/components/Details/Box/BlocknativeGasPriceDetailsBox.tsx#L13"
|
|
1982
1982
|
}
|
|
1983
1983
|
],
|
|
1984
1984
|
"signatures": [
|
|
@@ -2008,7 +2008,7 @@
|
|
|
2008
2008
|
"types": [
|
|
2009
2009
|
{
|
|
2010
2010
|
"type": "reference",
|
|
2011
|
-
"name": "
|
|
2011
|
+
"name": "PayloadDetailsRenderProps"
|
|
2012
2012
|
},
|
|
2013
2013
|
{
|
|
2014
2014
|
"type": "reference",
|
|
@@ -2108,7 +2108,7 @@
|
|
|
2108
2108
|
"fileName": "packages/plugins/packages/ethereum-gas/packages/blocknative/src/index.ts",
|
|
2109
2109
|
"line": 1,
|
|
2110
2110
|
"character": 0,
|
|
2111
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
2111
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/plugins/packages/ethereum-gas/packages/blocknative/src/index.ts#L1"
|
|
2112
2112
|
}
|
|
2113
2113
|
]
|
|
2114
2114
|
}
|
package/dist/esm/Plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAA;AAEtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,yBAAyB,
|
|
1
|
+
{"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAA;AAEtG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,yBAAyB,EAAuB,MAAM,mCAAmC,CAAA;AAElG,OAAO,EAAE,8BAA8B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE3H,MAAM,CAAC,MAAM,iCAAiC,GAAwB;IACpE,GAAG,yBAAyB,CAAC;QAC3B,SAAS,EAAE,CAAC,OAAiB,EAAE,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,+BAA+B;QACrF,UAAU,EAAE;YACV,MAAM,EAAE;gBACN,KAAK,EAAE,sBAAsB;aAC9B;YACD,GAAG,EAAE;gBACH,UAAU,EAAE,6BAA6B;aAC1C;YACD,IAAI,EAAE;gBACJ,OAAO,EAAE,8BAA8B;gBACvC,MAAM,EAAE,6BAA6B;aACtC;SACF;QACD,IAAI,EAAE,gCAAgC;KACvC,CAAC;CACH,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,8BAA8B,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAa,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,8BAA8B,EAAE,MAAM,eAAe,CAAA;AAC9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAiD,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC/H,OAAO,CACL,MAAC,IAAI,IAAC,GAAG,EAAE,GAAG,KAAM,KAAK,aACvB,KAAC,6BAA6B,IAAC,OAAO,EAAE,OAAO,GAAI,EACnD,KAAC,8BAA8B,IAAC,OAAO,EAAE,OAAO,GAAI,IAC/C,CACR,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,uBAAuB,CAAC,WAAW,GAAG,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.js","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAoB,IAAI,EAAE,MAAM,eAAe,CAAA;AAEnE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAE9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,OAAO,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAEpD,MAAM,CAAC,MAAM,8BAA8B,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"CardContent.js","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAoB,IAAI,EAAE,MAAM,eAAe,CAAA;AAEnE,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAE9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,OAAO,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAEpD,MAAM,CAAC,MAAM,8BAA8B,GAAG,UAAU,CAAwD,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC7I,MAAM,eAAe,GAAG,OAAO,CAAC,CAAC,CAAE,OAA4C,CAAC,CAAC,CAAC,SAAS,CAAA;IAC3F,MAAM,aAAa,GAAG,yBAAyB,CAAC,eAAe,CAAC,CAAA;IAEhE,IAAI,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE;QACpE,OAAO,KAAC,kBAAkB,IAAC,SAAS,EAAC,wCAAwC,EAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAI,CAAA;KAC/F;IAED,OAAO,CACL,MAAC,WAAW,IAAC,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,EAAE,KAAM,KAAK,aAC3F,KAAC,IAAI,IAAC,SAAS,QAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,YACpE,aAAa;oBACZ,aAAa,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAC1C,KAAC,IAAI,IAAoB,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,YACvD,KAAC,UAAU,IAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC,GAAI,IAD1E,KAAK,EAAE,KAAK,CAEhB,CACR,CAAC,GACC,EACP,KAAC,mBAAmB,IAAC,eAAe,EAAE,eAAe,EAAE,UAAU,EAAC,OAAO,EAAC,EAAE,EAAE,CAAC,GAAI,IACvE,CACf,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,8BAA8B,CAAC,WAAW,GAAG,gCAAgC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAA;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,
|
|
1
|
+
{"version":3,"file":"CardHeader.js","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAA;AAExE,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAuD,CAAC,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE;IACjI,MAAM,eAAe,GAAG,OAAO,CAAC,CAAC,CAAE,OAA4C,CAAC,CAAC,CAAC,SAAS,CAAA;IAC3F,MAAM,aAAa,GAAG,yBAAyB,CAAC,eAAe,CAAC,CAAA;IAChE,OAAO,KAAC,yBAAyB,IAAC,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,GAAG,EAAE,GAAG,GAAI,CAAA;AAClG,CAAC,CAAC,CAAA;AAEF,6BAA6B,CAAC,WAAW,GAAG,+BAA+B,CAAA"}
|
package/dist/types/Plugin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const EthereumGasPriceBlocknativePlugin:
|
|
1
|
+
import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
|
|
2
|
+
export declare const EthereumGasPriceBlocknativePlugin: PayloadRenderPlugin;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6B,
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAIlG,eAAO,MAAM,iCAAiC,EAAE,mBAiB/C,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const BlocknativeGasPriceCard: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
+
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
|
3
|
+
export declare const BlocknativeGasPriceCard: import("react").ForwardRefExoticComponent<Omit<PayloadRenderProps<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
4
|
schema: string;
|
|
5
5
|
}> & Omit<import("@mui/material").PaperProps<"div", {}>, "classes"> & {
|
|
6
6
|
classes?: Partial<import("@mui/material").CardClasses> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAMtE,eAAO,MAAM,uBAAuB;;;;;;;;osJAOlC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const BlocknativeGasPriceCardContent: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
+
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
|
3
|
+
export declare const BlocknativeGasPriceCardContent: import("react").ForwardRefExoticComponent<Omit<PayloadRenderProps<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
4
|
schema: string;
|
|
5
5
|
}> & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAOtE,eAAO,MAAM,8BAA8B;;;;;;;;+IAqBzC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const BlocknativeGasPriceCardHeader: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
+
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
|
3
|
+
export declare const BlocknativeGasPriceCardHeader: import("react").ForwardRefExoticComponent<Omit<PayloadRenderProps<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
4
4
|
schema: string;
|
|
5
5
|
}> & {
|
|
6
6
|
action?: import("react").ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAMtE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;4PAIxC,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
export declare const BlocknativeGasPriceDetailsBox: import("react").ForwardRefExoticComponent<
|
|
2
|
+
import { PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin';
|
|
3
|
+
export declare const BlocknativeGasPriceDetailsBox: import("react").ForwardRefExoticComponent<PayloadDetailsRenderProps & import("@xylabs/react-flexbox").BusyBoxProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
//# sourceMappingURL=BlocknativeGasPriceDetailsBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlocknativeGasPriceDetailsBox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Box/BlocknativeGasPriceDetailsBox.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BlocknativeGasPriceDetailsBox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Details/Box/BlocknativeGasPriceDetailsBox.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AAQ7E,eAAO,MAAM,6BAA6B,qKAiCzC,CAAA"}
|
package/package.json
CHANGED
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/react-flexbox": "^2.16.11",
|
|
14
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^2.
|
|
15
|
-
"@xyo-network/payload-model": "^2.
|
|
16
|
-
"@xyo-network/react-gas-price": "^2.46.
|
|
17
|
-
"@xyo-network/react-payload-plugin": "^2.46.
|
|
18
|
-
"@xyo-network/react-shared": "^2.46.
|
|
14
|
+
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "^2.53.2",
|
|
15
|
+
"@xyo-network/payload-model": "^2.53.2",
|
|
16
|
+
"@xyo-network/react-gas-price": "^2.46.7",
|
|
17
|
+
"@xyo-network/react-payload-plugin": "^2.46.7",
|
|
18
|
+
"@xyo-network/react-shared": "^2.46.7",
|
|
19
19
|
"lodash": "^4.17.21"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@storybook/react": "^6.5.16",
|
|
23
23
|
"@xylabs/ts-scripts-yarn3": "^2.16.1",
|
|
24
24
|
"@xylabs/tsconfig-react": "^2.16.1",
|
|
25
|
-
"@xyo-network/react-storybook": "^2.46.
|
|
25
|
+
"@xyo-network/react-storybook": "^2.46.7",
|
|
26
26
|
"require-from-string": "^2.0.2",
|
|
27
27
|
"typescript": "^4.9.5"
|
|
28
28
|
},
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
},
|
|
79
79
|
"sideEffects": false,
|
|
80
80
|
"types": "dist/types/index.d.ts",
|
|
81
|
-
"version": "2.
|
|
81
|
+
"version": "2.46.7"
|
|
82
82
|
}
|
package/src/Plugin.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { XyoEthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
2
|
-
import {
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model'
|
|
3
3
|
import { EthereumGasPriceAvatar } from '@xyo-network/react-gas-price'
|
|
4
|
-
import { createPayloadRenderPlugin,
|
|
4
|
+
import { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
|
|
5
5
|
|
|
6
6
|
import { BlocknativeGasPriceCardContent, BlocknativeGasPriceCardHeader, BlocknativeGasPriceDetailsBox } from './components'
|
|
7
7
|
|
|
8
|
-
export const EthereumGasPriceBlocknativePlugin:
|
|
8
|
+
export const EthereumGasPriceBlocknativePlugin: PayloadRenderPlugin = {
|
|
9
9
|
...createPayloadRenderPlugin({
|
|
10
|
-
canRender: (payload?:
|
|
10
|
+
canRender: (payload?: Payload) => payload?.schema === XyoEthereumGasBlocknativeSchema,
|
|
11
11
|
components: {
|
|
12
12
|
avatar: {
|
|
13
13
|
image: EthereumGasPriceAvatar,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Card, CardProps } from '@mui/material'
|
|
2
|
-
import {
|
|
2
|
+
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin'
|
|
3
3
|
import { forwardRef } from 'react'
|
|
4
4
|
|
|
5
5
|
import { BlocknativeGasPriceCardContent } from './CardContent'
|
|
6
6
|
import { BlocknativeGasPriceCardHeader } from './CardHeader'
|
|
7
7
|
|
|
8
|
-
export const BlocknativeGasPriceCard = forwardRef<HTMLDivElement,
|
|
8
|
+
export const BlocknativeGasPriceCard = forwardRef<HTMLDivElement, PayloadRenderProps & CardProps>(({ payload, ...props }, ref) => {
|
|
9
9
|
return (
|
|
10
10
|
<Card ref={ref} {...props}>
|
|
11
11
|
<BlocknativeGasPriceCardHeader payload={payload} />
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CardContent, CardContentProps, Grid } from '@mui/material'
|
|
2
2
|
import { XyoEthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
3
3
|
import { GasFeeCard, ToggleRawPayloadBox } from '@xyo-network/react-gas-price'
|
|
4
|
-
import {
|
|
4
|
+
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin'
|
|
5
5
|
import { PayloadDataMissing } from '@xyo-network/react-shared'
|
|
6
6
|
import isEmpty from 'lodash/isEmpty'
|
|
7
7
|
import { forwardRef } from 'react'
|
|
8
8
|
|
|
9
9
|
import { useBlocknativeTransformer } from '../hooks'
|
|
10
10
|
|
|
11
|
-
export const BlocknativeGasPriceCardContent = forwardRef<HTMLDivElement,
|
|
11
|
+
export const BlocknativeGasPriceCardContent = forwardRef<HTMLDivElement, PayloadRenderProps & CardContentProps>(({ payload, ...props }, ref) => {
|
|
12
12
|
const gasPricePayload = payload ? (payload as XyoEthereumGasBlocknativePayload) : undefined
|
|
13
13
|
const parsedPayload = useBlocknativeTransformer(gasPricePayload)
|
|
14
14
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CardHeaderProps } from '@mui/material'
|
|
2
2
|
import { XyoEthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
3
3
|
import { GasPriceWitnessCardHeader } from '@xyo-network/react-gas-price'
|
|
4
|
-
import {
|
|
4
|
+
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin'
|
|
5
5
|
import { forwardRef } from 'react'
|
|
6
6
|
|
|
7
7
|
import { useBlocknativeTransformer } from '../hooks'
|
|
8
8
|
import { RenderTitle } from '../lib'
|
|
9
9
|
|
|
10
|
-
export const BlocknativeGasPriceCardHeader = forwardRef<HTMLDivElement,
|
|
10
|
+
export const BlocknativeGasPriceCardHeader = forwardRef<HTMLDivElement, PayloadRenderProps & CardHeaderProps>(({ payload }, ref) => {
|
|
11
11
|
const gasPricePayload = payload ? (payload as XyoEthereumGasBlocknativePayload) : undefined
|
|
12
12
|
const parsedPayload = useBlocknativeTransformer(gasPricePayload)
|
|
13
13
|
return <GasPriceWitnessCardHeader title={RenderTitle} parsedPayload={parsedPayload} ref={ref} />
|
|
@@ -2,7 +2,7 @@ import { Grid } from '@mui/material'
|
|
|
2
2
|
import { FlexBoxProps, FlexCol } from '@xylabs/react-flexbox'
|
|
3
3
|
import { XyoEthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
4
4
|
import { GasFeeCard, GasPriceWitnessHeaderBox, ToggleRawPayloadBox } from '@xyo-network/react-gas-price'
|
|
5
|
-
import {
|
|
5
|
+
import { PayloadDetailsRenderProps } from '@xyo-network/react-payload-plugin'
|
|
6
6
|
import { PayloadDataMissing } from '@xyo-network/react-shared'
|
|
7
7
|
import isEmpty from 'lodash/isEmpty'
|
|
8
8
|
import { forwardRef } from 'react'
|
|
@@ -10,7 +10,7 @@ import { forwardRef } from 'react'
|
|
|
10
10
|
import { useBlocknativeTransformer } from '../../hooks'
|
|
11
11
|
import { RenderTitle } from '../../lib'
|
|
12
12
|
|
|
13
|
-
export const BlocknativeGasPriceDetailsBox = forwardRef<HTMLDivElement,
|
|
13
|
+
export const BlocknativeGasPriceDetailsBox = forwardRef<HTMLDivElement, PayloadDetailsRenderProps & FlexBoxProps>(
|
|
14
14
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
15
|
({ payload, listMode, ...props }, ref) => {
|
|
16
16
|
const gasPricePayload: XyoEthereumGasBlocknativePayload | undefined = payload ? (payload as XyoEthereumGasBlocknativePayload) : undefined
|