@gearbox-protocol/sdk 12.6.0-next.1 → 12.6.0-next.2

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.
@@ -3,6 +3,10 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
6
10
  var __copyProps = (to, from, except, desc) => {
7
11
  if (from && typeof from === "object" || typeof from === "function") {
8
12
  for (let key of __getOwnPropNames(from))
@@ -14,6 +18,13 @@ var __copyProps = (to, from, except, desc) => {
14
18
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
20
  var pricefeeds_exports = {};
21
+ __export(pricefeeds_exports, {
22
+ FetchPythPayloadsOptions: () => import_updates.FetchPythPayloadsOptions,
23
+ FetchRedstonePayloadsOptions: () => import_updates.FetchRedstonePayloadsOptions,
24
+ TimestampedCalldata: () => import_updates.TimestampedCalldata,
25
+ fetchPythPayloads: () => import_updates.fetchPythPayloads,
26
+ fetchRedstonePayloads: () => import_updates.fetchRedstonePayloads
27
+ });
17
28
  module.exports = __toCommonJS(pricefeeds_exports);
18
29
  __reExport(pricefeeds_exports, require("./AbstractLPPriceFeed.js"), module.exports);
19
30
  __reExport(pricefeeds_exports, require("./AbstractPriceFeed.js"), module.exports);
@@ -35,11 +46,17 @@ __reExport(pricefeeds_exports, require("./PriceFeedsRegister.js"), module.export
35
46
  __reExport(pricefeeds_exports, require("./PythPriceFeed.js"), module.exports);
36
47
  __reExport(pricefeeds_exports, require("./RedstonePriceFeed.js"), module.exports);
37
48
  __reExport(pricefeeds_exports, require("./types.js"), module.exports);
49
+ var import_updates = require("./updates/index.js");
38
50
  __reExport(pricefeeds_exports, require("./WstETHPriceFeed.js"), module.exports);
39
51
  __reExport(pricefeeds_exports, require("./YearnPriceFeed.js"), module.exports);
40
52
  __reExport(pricefeeds_exports, require("./ZeroPriceFeed.js"), module.exports);
41
53
  // Annotate the CommonJS export names for ESM import in node:
42
54
  0 && (module.exports = {
55
+ FetchPythPayloadsOptions,
56
+ FetchRedstonePayloadsOptions,
57
+ TimestampedCalldata,
58
+ fetchPythPayloads,
59
+ fetchRedstonePayloads,
43
60
  ...require("./AbstractLPPriceFeed.js"),
44
61
  ...require("./AbstractPriceFeed.js"),
45
62
  ...require("./BalancerStablePriceFeed.js"),
@@ -18,6 +18,20 @@ export * from "./PriceFeedsRegister.js";
18
18
  export * from "./PythPriceFeed.js";
19
19
  export * from "./RedstonePriceFeed.js";
20
20
  export * from "./types.js";
21
+ import {
22
+ FetchPythPayloadsOptions,
23
+ FetchRedstonePayloadsOptions,
24
+ fetchPythPayloads,
25
+ fetchRedstonePayloads,
26
+ TimestampedCalldata
27
+ } from "./updates/index.js";
21
28
  export * from "./WstETHPriceFeed.js";
22
29
  export * from "./YearnPriceFeed.js";
23
30
  export * from "./ZeroPriceFeed.js";
31
+ export {
32
+ FetchPythPayloadsOptions,
33
+ FetchRedstonePayloadsOptions,
34
+ TimestampedCalldata,
35
+ fetchPythPayloads,
36
+ fetchRedstonePayloads
37
+ };
@@ -18,6 +18,7 @@ export * from "./PriceFeedsRegister.js";
18
18
  export * from "./PythPriceFeed.js";
19
19
  export * from "./RedstonePriceFeed.js";
20
20
  export * from "./types.js";
21
+ export { FetchPythPayloadsOptions, FetchRedstonePayloadsOptions, fetchPythPayloads, fetchRedstonePayloads, TimestampedCalldata, } from "./updates/index.js";
21
22
  export * from "./WstETHPriceFeed.js";
22
23
  export * from "./YearnPriceFeed.js";
23
24
  export * from "./ZeroPriceFeed.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "12.6.0-next.1",
3
+ "version": "12.6.0-next.2",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",