@ecency/sdk 2.3.88 → 2.3.89

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.
@@ -1,7 +1,7 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { MutationKey, UseMutationOptions, QueryClient, QueryKey, InfiniteData, UseQueryOptions, UseInfiniteQueryOptions, useMutation } from '@tanstack/react-query';
3
- import { O as Operation, P as PrivateKey, B as BroadcastResult, A as APIMethods, R as ResilienceOptions, a as Authority, b as PublicKey, c as OperationName, o as operations } from './hive-DmLj3VWL.js';
4
- export { d as AccountCreateOperation, e as AssetSymbol, C as CustomJsonOperation, T as HiveTxTransaction, M as Memo, f as OperationBody, S as Signature, g as callREST, h as callRPC, i as callRPCBroadcast, j as callWithQuorum, k as hiveTxConfig, u as hiveTxUtils } from './hive-DmLj3VWL.js';
3
+ import { O as Operation, P as PrivateKey, B as BroadcastResult, A as APIMethods, R as ResilienceOptions, S as ServerRpcProxyOptions, a as Authority, b as PublicKey, c as OperationName, o as operations } from './hive-B_MUq8sk.js';
4
+ export { d as AccountCreateOperation, e as AssetSymbol, C as CustomJsonOperation, T as HiveTxTransaction, M as Memo, f as OperationBody, g as Signature, h as callREST, i as callRPC, j as callRPCBroadcast, k as callWithQuorum, l as hiveTxConfig, u as hiveTxUtils } from './hive-B_MUq8sk.js';
5
5
 
6
6
  interface AiGenerationPrice {
7
7
  aspect_ratio: string;
@@ -1219,6 +1219,15 @@ declare namespace ConfigManager {
1219
1219
  * @param opts - e.g. `{ hedge: true }` to opt into hedged reads
1220
1220
  */
1221
1221
  function setResilience(opts: Partial<ResilienceOptions>): void;
1222
+ /**
1223
+ * Route allowlisted server-side RPC reads through a read-through cache in
1224
+ * front of the node pool (one cache per host, shared by every renderer
1225
+ * process). An optimization, never a dependency: any proxy failure falls
1226
+ * straight through to the node loop. No effect outside Node; null switches
1227
+ * it off. Delegates to the unified hive-tx `setServerRpcProxy`.
1228
+ * @param opts - `{ url, headers, timeoutMs, methods }` or null
1229
+ */
1230
+ function setServerRpcProxy(opts: ServerRpcProxyOptions | null): void;
1222
1231
  /**
1223
1232
  * Set DMCA filtering lists
1224
1233
  * @param lists - DMCA lists object containing accounts/tags/posts arrays