@ecency/sdk 2.0.21 → 2.0.22
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/index.d.ts
CHANGED
|
@@ -309,6 +309,21 @@ interface PlatformAdapter {
|
|
|
309
309
|
* - Handles WebSocket communication with auth app
|
|
310
310
|
*/
|
|
311
311
|
broadcastWithHiveAuth?: (username: string, ops: Operation[], keyType: "posting" | "active" | "owner" | "memo") => Promise<TransactionConfirmation>;
|
|
312
|
+
/**
|
|
313
|
+
* Broadcast operations using HiveSigner with platform-specific UI.
|
|
314
|
+
*
|
|
315
|
+
* @param username - Username to broadcast for
|
|
316
|
+
* @param ops - Operations to broadcast
|
|
317
|
+
* @param keyType - Key authority required
|
|
318
|
+
* @returns Transaction confirmation
|
|
319
|
+
*
|
|
320
|
+
* @remarks
|
|
321
|
+
* - Mobile: Opens full-screen WebView for HiveSigner hot signing
|
|
322
|
+
* - Web: May redirect to HiveSigner or use popup
|
|
323
|
+
* - When provided, used instead of direct token-based API broadcast
|
|
324
|
+
* - Required for active operations where the access token lacks authority
|
|
325
|
+
*/
|
|
326
|
+
broadcastWithHiveSigner?: (username: string, ops: Operation[], keyType: "posting" | "active" | "owner" | "memo") => Promise<TransactionConfirmation>;
|
|
312
327
|
/**
|
|
313
328
|
* Record user activity for analytics (optional).
|
|
314
329
|
*
|