@scallop-io/sui-scallop-sdk 2.0.2 → 2.0.3
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/models/scallopConstants.ts +3 -1
- package/src/models/suiKit.ts +19 -4
- package/src/queries/portfolioQuery.ts +1 -1
- package/src/types/model.ts +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -3024,7 +3024,7 @@ type ScallopCacheParams = {
|
|
|
3024
3024
|
walletAddress?: string;
|
|
3025
3025
|
cacheOptions?: QueryClientConfig;
|
|
3026
3026
|
config?: ScallopCacheConfig;
|
|
3027
|
-
} & SuiKitParams
|
|
3027
|
+
} & Partial<SuiKitParams>;
|
|
3028
3028
|
type ScallopIndexerParams = ScallopCacheParams & {
|
|
3029
3029
|
indexerApiUrl?: string;
|
|
3030
3030
|
axios?: AxiosInstance;
|
|
@@ -3051,7 +3051,7 @@ type ScallopBuilderParams = ScallopQueryParams & {
|
|
|
3051
3051
|
useOnChainXOracleList?: boolean;
|
|
3052
3052
|
};
|
|
3053
3053
|
type ScallopClientParams = ScallopBuilderParams;
|
|
3054
|
-
type ScallopParams = SuiKitParams & ScallopAddressParams & ScallopConstantsParams & {
|
|
3054
|
+
type ScallopParams = Partial<SuiKitParams> & ScallopAddressParams & ScallopConstantsParams & {
|
|
3055
3055
|
walletAddress?: string;
|
|
3056
3056
|
};
|
|
3057
3057
|
|
package/dist/index.d.ts
CHANGED
|
@@ -3024,7 +3024,7 @@ type ScallopCacheParams = {
|
|
|
3024
3024
|
walletAddress?: string;
|
|
3025
3025
|
cacheOptions?: QueryClientConfig;
|
|
3026
3026
|
config?: ScallopCacheConfig;
|
|
3027
|
-
} & SuiKitParams
|
|
3027
|
+
} & Partial<SuiKitParams>;
|
|
3028
3028
|
type ScallopIndexerParams = ScallopCacheParams & {
|
|
3029
3029
|
indexerApiUrl?: string;
|
|
3030
3030
|
axios?: AxiosInstance;
|
|
@@ -3051,7 +3051,7 @@ type ScallopBuilderParams = ScallopQueryParams & {
|
|
|
3051
3051
|
useOnChainXOracleList?: boolean;
|
|
3052
3052
|
};
|
|
3053
3053
|
type ScallopClientParams = ScallopBuilderParams;
|
|
3054
|
-
type ScallopParams = SuiKitParams & ScallopAddressParams & ScallopConstantsParams & {
|
|
3054
|
+
type ScallopParams = Partial<SuiKitParams> & ScallopAddressParams & ScallopConstantsParams & {
|
|
3055
3055
|
walletAddress?: string;
|
|
3056
3056
|
};
|
|
3057
3057
|
|