@scallop-io/sui-scallop-sdk 2.3.9 → 2.3.10

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/README.md CHANGED
@@ -51,8 +51,8 @@ This SDK is used to interact with [sui-lending-protocol](https://github.com/scal
51
51
  ...
52
52
  });
53
53
 
54
- const scallopAddress = await scallopSDK.getScallopAddress();
55
54
  const scallopConstants = await scallopSDK.getScallopConstants();
55
+ // Note: ScallopConstants inherits from ScallopAddress, so you can access addresses via scallopConstants
56
56
  const scallopQuery = await scallopSDK.createScallopQuery();
57
57
  const scallopBuilder = await scallopSDK.createScallopBuilder();
58
58
  const scallopUtils = await scallopSDK.createScallopUtils();
package/dist/index.d.mts CHANGED
@@ -1778,11 +1778,11 @@ declare class ScallopClient implements ScallopClientInterface {
1778
1778
  * @example
1779
1779
  * ```typescript
1780
1780
  * const sdk = new Scallop(<parameters>);
1781
- * const scallopAddress = await sdk.getScallopAddress();
1781
+ * const scallopConstants = await sdk.getScallopConstants();
1782
1782
  * const scallopBuilder = await sdk.createScallopBuilder();
1783
1783
  * const scallopClient = await sdk.createScallopClient();
1784
- * const scallopIndexer= await sdk.createScallopIndexer();
1785
- * const scallopUtils= await sdk.createScallopUtils();
1784
+ * const scallopIndexer = await sdk.createScallopIndexer();
1785
+ * const scallopUtils = await sdk.createScallopUtils();
1786
1786
  * ```
1787
1787
  */
1788
1788
  type ScallopParams = {
package/dist/index.d.ts CHANGED
@@ -1778,11 +1778,11 @@ declare class ScallopClient implements ScallopClientInterface {
1778
1778
  * @example
1779
1779
  * ```typescript
1780
1780
  * const sdk = new Scallop(<parameters>);
1781
- * const scallopAddress = await sdk.getScallopAddress();
1781
+ * const scallopConstants = await sdk.getScallopConstants();
1782
1782
  * const scallopBuilder = await sdk.createScallopBuilder();
1783
1783
  * const scallopClient = await sdk.createScallopClient();
1784
- * const scallopIndexer= await sdk.createScallopIndexer();
1785
- * const scallopUtils= await sdk.createScallopUtils();
1784
+ * const scallopIndexer = await sdk.createScallopIndexer();
1785
+ * const scallopUtils = await sdk.createScallopUtils();
1786
1786
  * ```
1787
1787
  */
1788
1788
  type ScallopParams = {