@scallop-io/sui-scallop-sdk 0.44.21 → 0.44.22

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.mjs CHANGED
@@ -4837,7 +4837,7 @@ var requireObligationInfo2 = async (...params) => {
4837
4837
  };
4838
4838
  };
4839
4839
  var getBindedObligationId = async (builder, veScaKey) => {
4840
- const borrowIncentivePkgId = builder.address.get("borrowIncentive.id");
4840
+ const borrowIncentiveObjectId = builder.address.get("borrowIncentive.object");
4841
4841
  const incentivePoolsId = builder.address.get(
4842
4842
  "borrowIncentive.incentivePools"
4843
4843
  );
@@ -4853,7 +4853,7 @@ var getBindedObligationId = async (builder, veScaKey) => {
4853
4853
  return false;
4854
4854
  const incentivePoolFields = incentivePoolsResponse.data.content.fields;
4855
4855
  const veScaBindTableId = incentivePoolFields.ve_sca_bind.fields.id.id;
4856
- const keyType = `${borrowIncentivePkgId}::typed_id::TypedID<${veScaPkgId}::ve_sca::VeScaKey>`;
4856
+ const keyType = `${borrowIncentiveObjectId}::typed_id::TypedID<${veScaPkgId}::ve_sca::VeScaKey>`;
4857
4857
  const veScaBindTableResponse = await client.getDynamicFieldObject({
4858
4858
  parentId: veScaBindTableId,
4859
4859
  name: {