@openzeppelin/ui-builder-adapter-stellar 0.11.0 → 0.13.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 +16 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -14
- package/dist/index.js.map +1 -1
- package/package.json +5 -4
- package/src/configuration/__tests__/rpc.test.ts +0 -1
- package/src/mapping/constants.ts +12 -6
- package/src/mapping/type-mapper.ts +6 -6
- package/src/networks/README.md +1 -1
- package/src/networks/mainnet.ts +3 -1
- package/src/networks/testnet.ts +3 -1
package/dist/index.cjs
CHANGED
|
@@ -3443,14 +3443,14 @@ var STELLAR_TYPE_TO_FIELD_TYPE = {
|
|
|
3443
3443
|
ScSymbol: "text",
|
|
3444
3444
|
// Numeric types - unsigned integers
|
|
3445
3445
|
U32: "number",
|
|
3446
|
-
U64: "
|
|
3447
|
-
U128: "
|
|
3448
|
-
U256: "
|
|
3446
|
+
U64: "bigint",
|
|
3447
|
+
U128: "bigint",
|
|
3448
|
+
U256: "bigint",
|
|
3449
3449
|
// Numeric types - signed integers
|
|
3450
3450
|
I32: "number",
|
|
3451
|
-
I64: "
|
|
3452
|
-
I128: "
|
|
3453
|
-
I256: "
|
|
3451
|
+
I64: "bigint",
|
|
3452
|
+
I128: "bigint",
|
|
3453
|
+
I256: "bigint",
|
|
3454
3454
|
// Boolean type
|
|
3455
3455
|
Bool: "checkbox",
|
|
3456
3456
|
// Byte types
|
|
@@ -3549,14 +3549,14 @@ function getStellarCompatibleFieldTypes(parameterType) {
|
|
|
3549
3549
|
Address: ["blockchain-address", "text"],
|
|
3550
3550
|
// Unsigned integers
|
|
3551
3551
|
U32: ["number", "amount", "text"],
|
|
3552
|
-
U64: ["number", "amount", "text"],
|
|
3553
|
-
U128: ["number", "amount", "text"],
|
|
3554
|
-
U256: ["number", "amount", "text"],
|
|
3552
|
+
U64: ["bigint", "number", "amount", "text"],
|
|
3553
|
+
U128: ["bigint", "number", "amount", "text"],
|
|
3554
|
+
U256: ["bigint", "number", "amount", "text"],
|
|
3555
3555
|
// Signed integers
|
|
3556
3556
|
I32: ["number", "amount", "text"],
|
|
3557
|
-
I64: ["
|
|
3558
|
-
I128: ["
|
|
3559
|
-
I256: ["
|
|
3557
|
+
I64: ["bigint", "number", "text"],
|
|
3558
|
+
I128: ["bigint", "number", "text"],
|
|
3559
|
+
I256: ["bigint", "number", "text"],
|
|
3560
3560
|
// Boolean
|
|
3561
3561
|
Bool: ["checkbox", "select", "radio", "text"],
|
|
3562
3562
|
// String types
|
|
@@ -5006,6 +5006,7 @@ var StellarAdapter = class {
|
|
|
5006
5006
|
};
|
|
5007
5007
|
|
|
5008
5008
|
// src/networks/mainnet.ts
|
|
5009
|
+
var import_react11 = require("@web3icons/react");
|
|
5009
5010
|
var stellarPublic = {
|
|
5010
5011
|
id: "stellar-public",
|
|
5011
5012
|
exportConstName: "stellarPublic",
|
|
@@ -5018,10 +5019,11 @@ var stellarPublic = {
|
|
|
5018
5019
|
sorobanRpcUrl: "https://mainnet.sorobanrpc.com",
|
|
5019
5020
|
networkPassphrase: "Public Global Stellar Network ; September 2015",
|
|
5020
5021
|
explorerUrl: "https://stellar.expert/explorer/public",
|
|
5021
|
-
|
|
5022
|
+
iconComponent: import_react11.NetworkStellar
|
|
5022
5023
|
};
|
|
5023
5024
|
|
|
5024
5025
|
// src/networks/testnet.ts
|
|
5026
|
+
var import_react12 = require("@web3icons/react");
|
|
5025
5027
|
var stellarTestnet = {
|
|
5026
5028
|
id: "stellar-testnet",
|
|
5027
5029
|
exportConstName: "stellarTestnet",
|
|
@@ -5034,7 +5036,7 @@ var stellarTestnet = {
|
|
|
5034
5036
|
sorobanRpcUrl: "https://soroban-testnet.stellar.org",
|
|
5035
5037
|
networkPassphrase: "Test SDF Network ; September 2015",
|
|
5036
5038
|
explorerUrl: "https://stellar.expert/explorer/testnet",
|
|
5037
|
-
|
|
5039
|
+
iconComponent: import_react12.NetworkStellar
|
|
5038
5040
|
};
|
|
5039
5041
|
|
|
5040
5042
|
// src/networks/index.ts
|