@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.mjs
CHANGED
|
@@ -4553,7 +4553,7 @@ var Seeds = /* @__PURE__ */ ((Seeds2) => {
|
|
|
4553
4553
|
Seeds2["GlobalState"] = "global_state";
|
|
4554
4554
|
Seeds2["BondState"] = "bond_state";
|
|
4555
4555
|
Seeds2["ValidatorBond"] = "validator_bond";
|
|
4556
|
-
Seeds2["
|
|
4556
|
+
Seeds2["StandardBond"] = "standard";
|
|
4557
4557
|
Seeds2["CrowdFundingBond"] = "crowdfunding";
|
|
4558
4558
|
return Seeds2;
|
|
4559
4559
|
})(Seeds || {});
|
|
@@ -4563,11 +4563,11 @@ var ENV_PROGRAM_ID = {
|
|
|
4563
4563
|
|
|
4564
4564
|
// src/types/index.ts
|
|
4565
4565
|
var bondTypeToSeed = {
|
|
4566
|
-
|
|
4566
|
+
standard: "standard" /* StandardBond */,
|
|
4567
4567
|
crowdfunding: "crowdfunding" /* CrowdFundingBond */
|
|
4568
4568
|
};
|
|
4569
4569
|
var BondTypeVariant = {
|
|
4570
|
-
|
|
4570
|
+
Standard: { standard: {} },
|
|
4571
4571
|
Crowdfunding: { crowdfunding: {} }
|
|
4572
4572
|
};
|
|
4573
4573
|
var BondStateStatusVariant = {
|
|
@@ -6006,7 +6006,7 @@ var jbond_default = {
|
|
|
6006
6006
|
{
|
|
6007
6007
|
name: "BondInitializeData",
|
|
6008
6008
|
docs: [
|
|
6009
|
-
"Data required to initialize a
|
|
6009
|
+
"Data required to initialize a standard bond"
|
|
6010
6010
|
],
|
|
6011
6011
|
type: {
|
|
6012
6012
|
kind: "struct",
|
|
@@ -6070,7 +6070,7 @@ var jbond_default = {
|
|
|
6070
6070
|
{
|
|
6071
6071
|
name: "bond_type",
|
|
6072
6072
|
docs: [
|
|
6073
|
-
"The type of bond (e.g.,
|
|
6073
|
+
"The type of bond (e.g., Standard, Crowdfunding)"
|
|
6074
6074
|
],
|
|
6075
6075
|
type: {
|
|
6076
6076
|
defined: {
|
|
@@ -6182,7 +6182,7 @@ var jbond_default = {
|
|
|
6182
6182
|
kind: "enum",
|
|
6183
6183
|
variants: [
|
|
6184
6184
|
{
|
|
6185
|
-
name: "
|
|
6185
|
+
name: "Standard"
|
|
6186
6186
|
},
|
|
6187
6187
|
{
|
|
6188
6188
|
name: "Crowdfunding"
|