@scallop-io/sui-scallop-sdk 2.0.2-switchboard-alpha.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 +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +28 -30
- package/dist/index.mjs +4 -6
- package/package.json +1 -4
- package/src/builders/oracles/index.ts +1 -17
- package/src/models/scallopCache.ts +1 -1
- package/src/models/scallopConstants.ts +3 -1
- package/src/queries/portfolioQuery.ts +1 -1
- package/src/types/model.ts +0 -1
- package/src/builders/oracles/switchboard.ts +0 -233
package/dist/index.d.mts
CHANGED
|
@@ -112,7 +112,7 @@ declare class ScallopCache {
|
|
|
112
112
|
private interval;
|
|
113
113
|
private tokens;
|
|
114
114
|
private lastRefill;
|
|
115
|
-
constructor(params
|
|
115
|
+
constructor(params: ScallopCacheParams, instance?: ScallopCacheInstanceParams);
|
|
116
116
|
private get client();
|
|
117
117
|
private refill;
|
|
118
118
|
private removeTokens;
|
|
@@ -3044,7 +3044,6 @@ type ScallopConstantsParams = ScallopAddressParams & {
|
|
|
3044
3044
|
};
|
|
3045
3045
|
type ScallopUtilsParams = ScallopAddressParams & ScallopConstantsParams & {
|
|
3046
3046
|
pythEndpoints?: string[];
|
|
3047
|
-
switchboardSolanaRpc?: string;
|
|
3048
3047
|
};
|
|
3049
3048
|
type ScallopQueryParams = ScallopUtilsParams & ScallopIndexerParams;
|
|
3050
3049
|
type ScallopBuilderParams = ScallopQueryParams & {
|
package/dist/index.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ declare class ScallopCache {
|
|
|
112
112
|
private interval;
|
|
113
113
|
private tokens;
|
|
114
114
|
private lastRefill;
|
|
115
|
-
constructor(params
|
|
115
|
+
constructor(params: ScallopCacheParams, instance?: ScallopCacheInstanceParams);
|
|
116
116
|
private get client();
|
|
117
117
|
private refill;
|
|
118
118
|
private removeTokens;
|
|
@@ -3044,7 +3044,6 @@ type ScallopConstantsParams = ScallopAddressParams & {
|
|
|
3044
3044
|
};
|
|
3045
3045
|
type ScallopUtilsParams = ScallopAddressParams & ScallopConstantsParams & {
|
|
3046
3046
|
pythEndpoints?: string[];
|
|
3047
|
-
switchboardSolanaRpc?: string;
|
|
3048
3047
|
};
|
|
3049
3048
|
type ScallopQueryParams = ScallopUtilsParams & ScallopIndexerParams;
|
|
3050
3049
|
type ScallopBuilderParams = ScallopQueryParams & {
|