@openzeppelin/adapter-stellar 1.0.1-rc.0 → 1.1.0
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/index.cjs +28 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +30 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/index.ts +20 -0
- package/src/wallet/components/account/AccountDisplay.tsx +1 -1
package/dist/index.cjs
CHANGED
|
@@ -28,6 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
const require_config = require('./config.cjs');
|
|
29
29
|
const require_metadata = require('./metadata.cjs');
|
|
30
30
|
const require_networks = require('./networks-DgUFSTiC.cjs');
|
|
31
|
+
let _openzeppelin_ui_components = require("@openzeppelin/ui-components");
|
|
31
32
|
let _openzeppelin_ui_types = require("@openzeppelin/ui-types");
|
|
32
33
|
let _openzeppelin_ui_utils = require("@openzeppelin/ui-utils");
|
|
33
34
|
let _stellar_stellar_sdk = require("@stellar/stellar-sdk");
|
|
@@ -40,7 +41,6 @@ let _openzeppelin_relayer_sdk = require("@openzeppelin/relayer-sdk");
|
|
|
40
41
|
let _stellar_stellar_xdr_json_package_json = require("@stellar/stellar-xdr-json/package.json");
|
|
41
42
|
_stellar_stellar_xdr_json_package_json = __toESM(_stellar_stellar_xdr_json_package_json);
|
|
42
43
|
let lossless_json = require("lossless-json");
|
|
43
|
-
let _openzeppelin_ui_components = require("@openzeppelin/ui-components");
|
|
44
44
|
let lucide_react = require("lucide-react");
|
|
45
45
|
let react_hook_form = require("react-hook-form");
|
|
46
46
|
let lodash_es_startCase_js = require("lodash-es/startCase.js");
|
|
@@ -7045,7 +7045,7 @@ const CustomAccountDisplay = ({ className, size, variant, fullWidth }) => {
|
|
|
7045
7045
|
showTooltip: true,
|
|
7046
7046
|
showCopyButton: true,
|
|
7047
7047
|
showCopyButtonOnHover: true,
|
|
7048
|
-
className: (0, _openzeppelin_ui_utils.cn)(sizeProps.textSize, "font-medium")
|
|
7048
|
+
className: (0, _openzeppelin_ui_utils.cn)(sizeProps.textSize, "font-sans font-medium")
|
|
7049
7049
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
7050
7050
|
className: (0, _openzeppelin_ui_utils.cn)(sizeProps.subTextSize, "text-muted-foreground -mt-0.5"),
|
|
7051
7051
|
children: "Stellar Account"
|
|
@@ -7553,6 +7553,32 @@ var StellarAdapter = class {
|
|
|
7553
7553
|
|
|
7554
7554
|
//#endregion
|
|
7555
7555
|
//#region src/index.ts
|
|
7556
|
+
(0, _openzeppelin_ui_utils.validatePeerVersions)("@openzeppelin/adapter-stellar", {
|
|
7557
|
+
"@openzeppelin/ui-components": {
|
|
7558
|
+
installed: _openzeppelin_ui_components.VERSION,
|
|
7559
|
+
minimum: {
|
|
7560
|
+
"@openzeppelin/ui-components": "1.7.0",
|
|
7561
|
+
"@openzeppelin/ui-types": "1.12.0",
|
|
7562
|
+
"@openzeppelin/ui-utils": "1.4.0"
|
|
7563
|
+
}["@openzeppelin/ui-components"]
|
|
7564
|
+
},
|
|
7565
|
+
"@openzeppelin/ui-types": {
|
|
7566
|
+
installed: _openzeppelin_ui_types.VERSION,
|
|
7567
|
+
minimum: {
|
|
7568
|
+
"@openzeppelin/ui-components": "1.7.0",
|
|
7569
|
+
"@openzeppelin/ui-types": "1.12.0",
|
|
7570
|
+
"@openzeppelin/ui-utils": "1.4.0"
|
|
7571
|
+
}["@openzeppelin/ui-types"]
|
|
7572
|
+
},
|
|
7573
|
+
"@openzeppelin/ui-utils": {
|
|
7574
|
+
installed: _openzeppelin_ui_utils.VERSION,
|
|
7575
|
+
minimum: {
|
|
7576
|
+
"@openzeppelin/ui-components": "1.7.0",
|
|
7577
|
+
"@openzeppelin/ui-types": "1.12.0",
|
|
7578
|
+
"@openzeppelin/ui-utils": "1.4.0"
|
|
7579
|
+
}["@openzeppelin/ui-utils"]
|
|
7580
|
+
}
|
|
7581
|
+
});
|
|
7556
7582
|
const ecosystemDefinition = {
|
|
7557
7583
|
...require_metadata.ecosystemMetadata,
|
|
7558
7584
|
networks: require_networks.stellarNetworks,
|