@snapshot-labs/snapshot.js 0.14.8 → 0.14.9

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.
@@ -3639,7 +3639,8 @@ function getScores(space_1, strategies_1, network_1, addresses_1) {
3639
3639
  }
3640
3640
  });
3641
3641
  }
3642
- function getVp(address, network, strategies, snapshot, space, delegation, options) {
3642
+ function getVp(address, network, strategies, snapshot, space, delegation, // @deprecated - kept for backward compatibility for integrators using this function, no longer sent to API
3643
+ options) {
3643
3644
  return __awaiter(this, void 0, void 0, function* () {
3644
3645
  const { url, headers } = formatScoreAPIUrl(options === null || options === void 0 ? void 0 : options.url);
3645
3646
  if (!isValidAddress(address)) {
@@ -3666,8 +3667,7 @@ function getVp(address, network, strategies, snapshot, space, delegation, option
3666
3667
  network,
3667
3668
  strategies,
3668
3669
  snapshot,
3669
- space,
3670
- delegation
3670
+ space
3671
3671
  }
3672
3672
  })
3673
3673
  };
@@ -3629,7 +3629,8 @@ function getScores(space_1, strategies_1, network_1, addresses_1) {
3629
3629
  }
3630
3630
  });
3631
3631
  }
3632
- function getVp(address, network, strategies, snapshot, space, delegation, options) {
3632
+ function getVp(address, network, strategies, snapshot, space, delegation, // @deprecated - kept for backward compatibility for integrators using this function, no longer sent to API
3633
+ options) {
3633
3634
  return __awaiter(this, void 0, void 0, function* () {
3634
3635
  const { url, headers } = formatScoreAPIUrl(options === null || options === void 0 ? void 0 : options.url);
3635
3636
  if (!isValidAddress(address)) {
@@ -3656,8 +3657,7 @@ function getVp(address, network, strategies, snapshot, space, delegation, option
3656
3657
  network,
3657
3658
  strategies,
3658
3659
  snapshot,
3659
- space,
3660
- delegation
3660
+ space
3661
3661
  }
3662
3662
  })
3663
3663
  };