@orderly.network/affiliate 2.9.0-alpha.0 → 2.9.0

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.mjs CHANGED
@@ -40,7 +40,8 @@ var useVolumePrerequisite = () => {
40
40
  return usePrivateQuery(
41
41
  "/v1/referral/multi_level/volume_prerequisite",
42
42
  {
43
- revalidateOnFocus: false
43
+ revalidateOnFocus: false,
44
+ shouldRetryOnError: false
44
45
  }
45
46
  );
46
47
  };
@@ -48,7 +49,8 @@ var useMaxRebateRate = () => {
48
49
  return usePrivateQuery(
49
50
  "/v1/referral/multi_level/max_rebate_rate",
50
51
  {
51
- revalidateOnFocus: false
52
+ revalidateOnFocus: false,
53
+ shouldRetryOnError: false
52
54
  }
53
55
  );
54
56
  };
@@ -56,8 +58,8 @@ var useMultiLevelRebateInfo = () => {
56
58
  return usePrivateQuery(
57
59
  "/v1/referral/multi_level/rebate_info",
58
60
  {
59
- errorRetryCount: 0,
60
- revalidateOnFocus: false
61
+ revalidateOnFocus: false,
62
+ shouldRetryOnError: false
61
63
  }
62
64
  );
63
65
  };
@@ -65,7 +67,8 @@ var useMultiLevelStatistics = (time_range) => {
65
67
  return usePrivateQuery(
66
68
  `/v1/referral/multi_level/statistics?time_range=${time_range}`,
67
69
  {
68
- revalidateOnFocus: false
70
+ revalidateOnFocus: false,
71
+ shouldRetryOnError: false
69
72
  }
70
73
  );
71
74
  };