@scallop-io/sui-scallop-sdk 2.2.0 → 2.2.1-sponsored-feeds-alpha.1
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 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/builders/oracles/index.ts +40 -9
- package/src/models/scallopBuilder.ts +3 -0
package/dist/index.d.mts
CHANGED
|
@@ -1062,6 +1062,7 @@ declare class ScallopQuery implements ScallopQueryInterface {
|
|
|
1062
1062
|
type ScallopBuilderParams = {
|
|
1063
1063
|
query?: ScallopQuery;
|
|
1064
1064
|
usePythPullModel?: boolean;
|
|
1065
|
+
sponsoredFeeds?: string[];
|
|
1065
1066
|
useOnChainXOracleList?: boolean;
|
|
1066
1067
|
} & ScallopQueryParams;
|
|
1067
1068
|
/**
|
|
@@ -1079,6 +1080,7 @@ declare class ScallopBuilder implements ScallopBuilderInterface {
|
|
|
1079
1080
|
readonly query: ScallopQuery;
|
|
1080
1081
|
readonly usePythPullModel: boolean;
|
|
1081
1082
|
readonly useOnChainXOracleList: boolean;
|
|
1083
|
+
readonly sponsoredFeeds: string[];
|
|
1082
1084
|
constructor(params: ScallopBuilderParams);
|
|
1083
1085
|
get utils(): ScallopUtils;
|
|
1084
1086
|
get constants(): ScallopConstants;
|
package/dist/index.d.ts
CHANGED
|
@@ -1062,6 +1062,7 @@ declare class ScallopQuery implements ScallopQueryInterface {
|
|
|
1062
1062
|
type ScallopBuilderParams = {
|
|
1063
1063
|
query?: ScallopQuery;
|
|
1064
1064
|
usePythPullModel?: boolean;
|
|
1065
|
+
sponsoredFeeds?: string[];
|
|
1065
1066
|
useOnChainXOracleList?: boolean;
|
|
1066
1067
|
} & ScallopQueryParams;
|
|
1067
1068
|
/**
|
|
@@ -1079,6 +1080,7 @@ declare class ScallopBuilder implements ScallopBuilderInterface {
|
|
|
1079
1080
|
readonly query: ScallopQuery;
|
|
1080
1081
|
readonly usePythPullModel: boolean;
|
|
1081
1082
|
readonly useOnChainXOracleList: boolean;
|
|
1083
|
+
readonly sponsoredFeeds: string[];
|
|
1082
1084
|
constructor(params: ScallopBuilderParams);
|
|
1083
1085
|
get utils(): ScallopUtils;
|
|
1084
1086
|
get constants(): ScallopConstants;
|