@jpool/bond-sdk 0.9.0-next.22 → 0.9.0-next.23
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.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -17,7 +17,7 @@ declare enum Seeds {
|
|
|
17
17
|
GlobalState = "global_state",
|
|
18
18
|
BondState = "bond_state",
|
|
19
19
|
ValidatorBond = "validator_bond",
|
|
20
|
-
|
|
20
|
+
StandardBond = "standard",
|
|
21
21
|
CrowdFundingBond = "crowdfunding"
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
@@ -1231,7 +1231,7 @@ type Jbond = {
|
|
|
1231
1231
|
{
|
|
1232
1232
|
"name": "bondInitializeData";
|
|
1233
1233
|
"docs": [
|
|
1234
|
-
"Data required to initialize a
|
|
1234
|
+
"Data required to initialize a standard bond"
|
|
1235
1235
|
];
|
|
1236
1236
|
"type": {
|
|
1237
1237
|
"kind": "struct";
|
|
@@ -1295,7 +1295,7 @@ type Jbond = {
|
|
|
1295
1295
|
{
|
|
1296
1296
|
"name": "bondType";
|
|
1297
1297
|
"docs": [
|
|
1298
|
-
"The type of bond (e.g.,
|
|
1298
|
+
"The type of bond (e.g., Standard, Crowdfunding)"
|
|
1299
1299
|
];
|
|
1300
1300
|
"type": {
|
|
1301
1301
|
"defined": {
|
|
@@ -1407,7 +1407,7 @@ type Jbond = {
|
|
|
1407
1407
|
"kind": "enum";
|
|
1408
1408
|
"variants": [
|
|
1409
1409
|
{
|
|
1410
|
-
"name": "
|
|
1410
|
+
"name": "standard";
|
|
1411
1411
|
},
|
|
1412
1412
|
{
|
|
1413
1413
|
"name": "crowdfunding";
|
|
@@ -1632,11 +1632,11 @@ type BondStateStats = {
|
|
|
1632
1632
|
status: SessionStatus;
|
|
1633
1633
|
};
|
|
1634
1634
|
declare const bondTypeToSeed: {
|
|
1635
|
-
|
|
1635
|
+
standard: Seeds;
|
|
1636
1636
|
crowdfunding: Seeds;
|
|
1637
1637
|
};
|
|
1638
1638
|
declare const BondTypeVariant: {
|
|
1639
|
-
|
|
1639
|
+
Standard: BondType;
|
|
1640
1640
|
Crowdfunding: BondType;
|
|
1641
1641
|
};
|
|
1642
1642
|
declare const BondStateStatusVariant: {
|
|
@@ -1948,9 +1948,9 @@ declare class JBondClient {
|
|
|
1948
1948
|
bondType: ({
|
|
1949
1949
|
crowdfunding?: undefined;
|
|
1950
1950
|
} & {
|
|
1951
|
-
|
|
1951
|
+
standard: Record<string, never>;
|
|
1952
1952
|
}) | ({
|
|
1953
|
-
|
|
1953
|
+
standard?: undefined;
|
|
1954
1954
|
} & {
|
|
1955
1955
|
crowdfunding: Record<string, never>;
|
|
1956
1956
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare enum Seeds {
|
|
|
17
17
|
GlobalState = "global_state",
|
|
18
18
|
BondState = "bond_state",
|
|
19
19
|
ValidatorBond = "validator_bond",
|
|
20
|
-
|
|
20
|
+
StandardBond = "standard",
|
|
21
21
|
CrowdFundingBond = "crowdfunding"
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
@@ -1231,7 +1231,7 @@ type Jbond = {
|
|
|
1231
1231
|
{
|
|
1232
1232
|
"name": "bondInitializeData";
|
|
1233
1233
|
"docs": [
|
|
1234
|
-
"Data required to initialize a
|
|
1234
|
+
"Data required to initialize a standard bond"
|
|
1235
1235
|
];
|
|
1236
1236
|
"type": {
|
|
1237
1237
|
"kind": "struct";
|
|
@@ -1295,7 +1295,7 @@ type Jbond = {
|
|
|
1295
1295
|
{
|
|
1296
1296
|
"name": "bondType";
|
|
1297
1297
|
"docs": [
|
|
1298
|
-
"The type of bond (e.g.,
|
|
1298
|
+
"The type of bond (e.g., Standard, Crowdfunding)"
|
|
1299
1299
|
];
|
|
1300
1300
|
"type": {
|
|
1301
1301
|
"defined": {
|
|
@@ -1407,7 +1407,7 @@ type Jbond = {
|
|
|
1407
1407
|
"kind": "enum";
|
|
1408
1408
|
"variants": [
|
|
1409
1409
|
{
|
|
1410
|
-
"name": "
|
|
1410
|
+
"name": "standard";
|
|
1411
1411
|
},
|
|
1412
1412
|
{
|
|
1413
1413
|
"name": "crowdfunding";
|
|
@@ -1632,11 +1632,11 @@ type BondStateStats = {
|
|
|
1632
1632
|
status: SessionStatus;
|
|
1633
1633
|
};
|
|
1634
1634
|
declare const bondTypeToSeed: {
|
|
1635
|
-
|
|
1635
|
+
standard: Seeds;
|
|
1636
1636
|
crowdfunding: Seeds;
|
|
1637
1637
|
};
|
|
1638
1638
|
declare const BondTypeVariant: {
|
|
1639
|
-
|
|
1639
|
+
Standard: BondType;
|
|
1640
1640
|
Crowdfunding: BondType;
|
|
1641
1641
|
};
|
|
1642
1642
|
declare const BondStateStatusVariant: {
|
|
@@ -1948,9 +1948,9 @@ declare class JBondClient {
|
|
|
1948
1948
|
bondType: ({
|
|
1949
1949
|
crowdfunding?: undefined;
|
|
1950
1950
|
} & {
|
|
1951
|
-
|
|
1951
|
+
standard: Record<string, never>;
|
|
1952
1952
|
}) | ({
|
|
1953
|
-
|
|
1953
|
+
standard?: undefined;
|
|
1954
1954
|
} & {
|
|
1955
1955
|
crowdfunding: Record<string, never>;
|
|
1956
1956
|
});
|
package/dist/index.js
CHANGED
|
@@ -4579,7 +4579,7 @@ var Seeds = /* @__PURE__ */ ((Seeds2) => {
|
|
|
4579
4579
|
Seeds2["GlobalState"] = "global_state";
|
|
4580
4580
|
Seeds2["BondState"] = "bond_state";
|
|
4581
4581
|
Seeds2["ValidatorBond"] = "validator_bond";
|
|
4582
|
-
Seeds2["
|
|
4582
|
+
Seeds2["StandardBond"] = "standard";
|
|
4583
4583
|
Seeds2["CrowdFundingBond"] = "crowdfunding";
|
|
4584
4584
|
return Seeds2;
|
|
4585
4585
|
})(Seeds || {});
|
|
@@ -4593,11 +4593,11 @@ init_cjs_shims();
|
|
|
4593
4593
|
// src/types/index.ts
|
|
4594
4594
|
init_cjs_shims();
|
|
4595
4595
|
var bondTypeToSeed = {
|
|
4596
|
-
|
|
4596
|
+
standard: "standard" /* StandardBond */,
|
|
4597
4597
|
crowdfunding: "crowdfunding" /* CrowdFundingBond */
|
|
4598
4598
|
};
|
|
4599
4599
|
var BondTypeVariant = {
|
|
4600
|
-
|
|
4600
|
+
Standard: { standard: {} },
|
|
4601
4601
|
Crowdfunding: { crowdfunding: {} }
|
|
4602
4602
|
};
|
|
4603
4603
|
var BondStateStatusVariant = {
|
|
@@ -6041,7 +6041,7 @@ var jbond_default = {
|
|
|
6041
6041
|
{
|
|
6042
6042
|
name: "BondInitializeData",
|
|
6043
6043
|
docs: [
|
|
6044
|
-
"Data required to initialize a
|
|
6044
|
+
"Data required to initialize a standard bond"
|
|
6045
6045
|
],
|
|
6046
6046
|
type: {
|
|
6047
6047
|
kind: "struct",
|
|
@@ -6105,7 +6105,7 @@ var jbond_default = {
|
|
|
6105
6105
|
{
|
|
6106
6106
|
name: "bond_type",
|
|
6107
6107
|
docs: [
|
|
6108
|
-
"The type of bond (e.g.,
|
|
6108
|
+
"The type of bond (e.g., Standard, Crowdfunding)"
|
|
6109
6109
|
],
|
|
6110
6110
|
type: {
|
|
6111
6111
|
defined: {
|
|
@@ -6217,7 +6217,7 @@ var jbond_default = {
|
|
|
6217
6217
|
kind: "enum",
|
|
6218
6218
|
variants: [
|
|
6219
6219
|
{
|
|
6220
|
-
name: "
|
|
6220
|
+
name: "Standard"
|
|
6221
6221
|
},
|
|
6222
6222
|
{
|
|
6223
6223
|
name: "Crowdfunding"
|