@ecency/sdk 2.3.15 → 2.3.16
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/browser/{hive-DfGQ3XAe.d.ts → hive-fkgMnAQs.d.ts} +21 -1
- package/dist/browser/hive.d.ts +1 -1
- package/dist/browser/hive.js +2 -2
- package/dist/browser/hive.js.map +1 -1
- package/dist/browser/index.d.ts +10 -2
- package/dist/browser/index.js +3 -3
- package/dist/browser/index.js.map +1 -1
- package/dist/node/hive.cjs +2 -2
- package/dist/node/hive.cjs.map +1 -1
- package/dist/node/hive.mjs +2 -2
- package/dist/node/hive.mjs.map +1 -1
- package/dist/node/index.cjs +3 -3
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +3 -3
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -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, R as PrivateKey, i as BroadcastResult, g as Authority, S as PublicKey, P as OperationName, aj as operations } from './hive-
|
|
4
|
-
export { A as AccountCreateOperation, f as AssetSymbol, u as CustomJsonOperation, $ as HiveTxTransaction, M as Memo, N as OperationBody, _ as Signature, ae as callREST, af as callRPC, ag as callRPCBroadcast, ah as callWithQuorum, ai as hiveTxConfig,
|
|
3
|
+
import { O as Operation, R as PrivateKey, i as BroadcastResult, g as Authority, S as PublicKey, P as OperationName, aj as operations } from './hive-fkgMnAQs.js';
|
|
4
|
+
export { A as AccountCreateOperation, f as AssetSymbol, u as CustomJsonOperation, $ as HiveTxTransaction, M as Memo, N as OperationBody, _ as Signature, ae as callREST, af as callRPC, ag as callRPCBroadcast, ah as callWithQuorum, ai as hiveTxConfig, am as hiveTxUtils } from './hive-fkgMnAQs.js';
|
|
5
5
|
|
|
6
6
|
interface AiGenerationPrice {
|
|
7
7
|
aspect_ratio: string;
|
|
@@ -1015,6 +1015,14 @@ declare namespace ConfigManager {
|
|
|
1015
1015
|
* @param nodes - Array of Hive RPC node URLs
|
|
1016
1016
|
*/
|
|
1017
1017
|
function setHiveNodes(nodes: string[]): void;
|
|
1018
|
+
/**
|
|
1019
|
+
* Set the User-Agent sent on server-side (Node) requests to Hive nodes.
|
|
1020
|
+
* Lets an app label its own SSR/server traffic (otherwise Node's fetch sends a
|
|
1021
|
+
* bare `node` UA). No effect in browsers (User-Agent is a forbidden header) or
|
|
1022
|
+
* React Native (keeps its native UA). Delegates to the unified hive-tx setter.
|
|
1023
|
+
* @param userAgent - The User-Agent string (e.g. "ecency-web-ssr (+https://ecency.com)")
|
|
1024
|
+
*/
|
|
1025
|
+
function setUserAgent(userAgent: string): void;
|
|
1018
1026
|
/**
|
|
1019
1027
|
* Set DMCA filtering lists
|
|
1020
1028
|
* @param lists - DMCA lists object containing accounts/tags/posts arrays
|