@ecency/sdk 2.3.89 → 2.3.91

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, 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';
3
+ import { O as Operation, P as PrivateKey, B as BroadcastResult, A as APIMethods, R as ResilienceOptions, S as ServerRpcProxyOptions, r as rpcProxyStats, a as Authority, b as PublicKey, c as OperationName, o as operations } from './hive-BCPImNej.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-BCPImNej.js';
5
5
 
6
6
  interface AiGenerationPrice {
7
7
  aspect_ratio: string;
@@ -1228,6 +1228,16 @@ declare namespace ConfigManager {
1228
1228
  * @param opts - `{ url, headers, timeoutMs, methods }` or null
1229
1229
  */
1230
1230
  function setServerRpcProxy(opts: ServerRpcProxyOptions | null): void;
1231
+ /**
1232
+ * The live counters of that proxy path: `served` (answered by the proxy),
1233
+ * `fallback` with a per-reason breakdown (the read went to the node pool
1234
+ * after a proxy failure) and `skipped` (breaker open). The same object the
1235
+ * call path increments, exposed here because the root build carries its own
1236
+ * copy of the hive-tx internals; a consumer importing `rpcProxyStats` from
1237
+ * the `/hive` entry would read a different, never-incremented instance.
1238
+ * Read-only by contract: the web tier prints it, nothing resets it.
1239
+ */
1240
+ function getServerRpcProxyStats(): Readonly<typeof rpcProxyStats>;
1231
1241
  /**
1232
1242
  * Set DMCA filtering lists
1233
1243
  * @param lists - DMCA lists object containing accounts/tags/posts arrays