@steemit/steem-js 1.0.14 → 1.0.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/index.umd.js CHANGED
@@ -17463,151 +17463,116 @@
17463
17463
  validate: validate
17464
17464
  });
17465
17465
 
17466
+ /**
17467
+ * Registry of JSON-RPC methods exposed as steem.api.* helpers.
17468
+ *
17469
+ * Each entry's `api` field is the Steem node plugin namespace sent on the wire
17470
+ * (legacy HTTP transport uses JSON-RPC `call` with [api, method, params]).
17471
+ *
17472
+ * Routing policy (aligned with steemit/steem):
17473
+ * - condenser_api: legacy read helpers (get_accounts, get_content, discussions, …)
17474
+ * - database_api: chain/validation APIs still on the modern database_api plugin
17475
+ * - follow_api, network_broadcast_api, market_history_api, etc.: other plugins
17476
+ *
17477
+ * Methods removed from this list in v1.0.16 are no longer served by current nodes
17478
+ * (e.g. websocket subscriptions, category listings, proposed-transaction getters).
17479
+ */
17466
17480
  const methods = [
17467
17481
  {
17468
- api: 'database_api',
17469
- method: 'set_subscribe_callback',
17470
- params: ['callback', 'clearFilter']
17471
- },
17472
- {
17473
- api: 'database_api',
17474
- method: 'set_pending_transaction_callback',
17475
- params: ['cb']
17476
- },
17477
- {
17478
- api: 'database_api',
17479
- method: 'set_block_applied_callback',
17480
- params: ['cb']
17481
- },
17482
- {
17483
- api: 'database_api',
17484
- method: 'cancel_all_subscriptions'
17485
- },
17486
- {
17487
- api: 'database_api',
17482
+ api: 'condenser_api',
17488
17483
  method: 'get_trending_tags',
17489
17484
  params: ['afterTag', 'limit']
17490
17485
  },
17491
17486
  {
17492
- api: 'database_api',
17487
+ api: 'condenser_api',
17493
17488
  method: 'get_tags_used_by_author',
17494
17489
  params: ['author']
17495
17490
  },
17496
17491
  {
17497
- api: 'database_api',
17492
+ api: 'condenser_api',
17498
17493
  method: 'get_post_discussions_by_payout',
17499
17494
  params: ['query']
17500
17495
  },
17501
17496
  {
17502
- api: 'database_api',
17497
+ api: 'condenser_api',
17503
17498
  method: 'get_comment_discussions_by_payout',
17504
17499
  params: ['query']
17505
17500
  },
17506
17501
  {
17507
- api: 'database_api',
17502
+ api: 'condenser_api',
17508
17503
  method: 'get_discussions_by_trending',
17509
17504
  params: ['query']
17510
17505
  },
17511
17506
  {
17512
- api: 'database_api',
17513
- method: 'get_discussions_by_trending30',
17514
- params: ['query']
17515
- },
17516
- {
17517
- api: 'database_api',
17507
+ api: 'condenser_api',
17518
17508
  method: 'get_discussions_by_created',
17519
17509
  params: ['query']
17520
17510
  },
17521
17511
  {
17522
- api: 'database_api',
17512
+ api: 'condenser_api',
17523
17513
  method: 'get_discussions_by_active',
17524
17514
  params: ['query']
17525
17515
  },
17526
17516
  {
17527
- api: 'database_api',
17517
+ api: 'condenser_api',
17528
17518
  method: 'get_discussions_by_cashout',
17529
17519
  params: ['query']
17530
17520
  },
17531
17521
  {
17532
- api: 'database_api',
17533
- method: 'get_discussions_by_payout',
17534
- params: ['query']
17535
- },
17536
- {
17537
- api: 'database_api',
17522
+ api: 'condenser_api',
17538
17523
  method: 'get_discussions_by_votes',
17539
17524
  params: ['query']
17540
17525
  },
17541
17526
  {
17542
- api: 'database_api',
17527
+ api: 'condenser_api',
17543
17528
  method: 'get_discussions_by_children',
17544
17529
  params: ['query']
17545
17530
  },
17546
17531
  {
17547
- api: 'database_api',
17532
+ api: 'condenser_api',
17548
17533
  method: 'get_discussions_by_hot',
17549
17534
  params: ['query']
17550
17535
  },
17551
17536
  {
17552
- api: 'database_api',
17537
+ api: 'condenser_api',
17553
17538
  method: 'get_discussions_by_feed',
17554
17539
  params: ['query']
17555
17540
  },
17556
17541
  {
17557
- api: 'database_api',
17542
+ api: 'condenser_api',
17558
17543
  method: 'get_discussions_by_blog',
17559
17544
  params: ['query']
17560
17545
  },
17561
17546
  {
17562
- api: 'database_api',
17547
+ api: 'condenser_api',
17563
17548
  method: 'get_discussions_by_comments',
17564
17549
  params: ['query']
17565
17550
  },
17566
17551
  {
17567
- api: 'database_api',
17552
+ api: 'condenser_api',
17568
17553
  method: 'get_discussions_by_promoted',
17569
17554
  params: ['query']
17570
17555
  },
17571
17556
  {
17572
- api: 'database_api',
17557
+ api: 'condenser_api',
17573
17558
  method: 'get_block_header',
17574
17559
  params: ['blockNum']
17575
17560
  },
17576
17561
  {
17577
- api: 'database_api',
17562
+ api: 'condenser_api',
17578
17563
  method: 'get_block',
17579
17564
  params: ['blockNum']
17580
17565
  },
17581
17566
  {
17582
- api: 'database_api',
17567
+ api: 'condenser_api',
17583
17568
  method: 'get_ops_in_block',
17584
17569
  params: ['blockNum', 'onlyVirtual']
17585
17570
  },
17586
17571
  {
17587
- api: 'database_api',
17572
+ api: 'condenser_api',
17588
17573
  method: 'get_state',
17589
17574
  params: ['path']
17590
17575
  },
17591
- {
17592
- api: 'database_api',
17593
- method: 'get_trending_categories',
17594
- params: ['after', 'limit']
17595
- },
17596
- {
17597
- api: 'database_api',
17598
- method: 'get_best_categories',
17599
- params: ['after', 'limit']
17600
- },
17601
- {
17602
- api: 'database_api',
17603
- method: 'get_active_categories',
17604
- params: ['after', 'limit']
17605
- },
17606
- {
17607
- api: 'database_api',
17608
- method: 'get_recent_categories',
17609
- params: ['after', 'limit']
17610
- },
17611
17576
  {
17612
17577
  api: 'database_api',
17613
17578
  method: 'get_config'
@@ -17617,7 +17582,7 @@
17617
17582
  method: 'get_dynamic_global_properties'
17618
17583
  },
17619
17584
  {
17620
- api: 'database_api',
17585
+ api: 'condenser_api',
17621
17586
  method: 'get_chain_properties'
17622
17587
  },
17623
17588
  {
@@ -17625,7 +17590,7 @@
17625
17590
  method: 'get_feed_history'
17626
17591
  },
17627
17592
  {
17628
- api: 'database_api',
17593
+ api: 'condenser_api',
17629
17594
  method: 'get_current_median_history_price'
17630
17595
  },
17631
17596
  {
@@ -17633,11 +17598,11 @@
17633
17598
  method: 'get_witness_schedule'
17634
17599
  },
17635
17600
  {
17636
- api: 'database_api',
17601
+ api: 'condenser_api',
17637
17602
  method: 'get_hardfork_version'
17638
17603
  },
17639
17604
  {
17640
- api: 'database_api',
17605
+ api: 'condenser_api',
17641
17606
  method: 'get_next_scheduled_hardfork'
17642
17607
  },
17643
17608
  {
@@ -17646,46 +17611,46 @@
17646
17611
  params: ['key']
17647
17612
  },
17648
17613
  {
17649
- api: 'database_api',
17614
+ api: 'condenser_api',
17650
17615
  method: 'get_accounts',
17651
17616
  params: ['names']
17652
17617
  },
17653
17618
  {
17654
- api: 'database_api',
17619
+ api: 'condenser_api',
17655
17620
  method: 'get_account_references',
17656
17621
  params: ['accountId']
17657
17622
  },
17658
17623
  {
17659
- api: 'database_api',
17624
+ api: 'condenser_api',
17660
17625
  method: 'lookup_account_names',
17661
17626
  params: ['accountNames']
17662
17627
  },
17663
17628
  {
17664
- api: 'database_api',
17629
+ api: 'condenser_api',
17665
17630
  method: 'lookup_accounts',
17666
17631
  params: ['lowerBoundName', 'limit']
17667
17632
  },
17668
17633
  {
17669
- api: 'database_api',
17634
+ api: 'condenser_api',
17670
17635
  method: 'get_account_count'
17671
17636
  },
17672
17637
  {
17673
- api: 'database_api',
17638
+ api: 'condenser_api',
17674
17639
  method: 'get_conversion_requests',
17675
17640
  params: ['accountName']
17676
17641
  },
17677
17642
  {
17678
- api: 'database_api',
17643
+ api: 'condenser_api',
17679
17644
  method: 'get_account_history',
17680
17645
  params: ['account', 'from', 'limit']
17681
17646
  },
17682
17647
  {
17683
- api: 'database_api',
17648
+ api: 'condenser_api',
17684
17649
  method: 'get_owner_history',
17685
17650
  params: ['account']
17686
17651
  },
17687
17652
  {
17688
- api: 'database_api',
17653
+ api: 'condenser_api',
17689
17654
  method: 'get_recovery_request',
17690
17655
  params: ['account']
17691
17656
  },
@@ -17735,42 +17700,27 @@
17735
17700
  params: ['author', 'permlink']
17736
17701
  },
17737
17702
  {
17738
- api: 'database_api',
17703
+ api: 'condenser_api',
17739
17704
  method: 'get_content',
17740
17705
  params: ['author', 'permlink']
17741
17706
  },
17742
17707
  {
17743
- api: 'database_api',
17744
- method: 'get_account_notifications',
17745
- params: ['account', 'from', 'limit']
17746
- },
17747
- {
17748
- api: 'database_api',
17749
- method: 'get_account_reputation',
17750
- params: ['account']
17751
- },
17752
- {
17753
- api: 'database_api',
17708
+ api: 'condenser_api',
17754
17709
  method: 'get_escrow',
17755
17710
  params: ['from', 'escrowId']
17756
17711
  },
17757
17712
  {
17758
- api: 'database_api',
17713
+ api: 'condenser_api',
17759
17714
  method: 'get_withdraw_routes',
17760
17715
  params: ['account', 'withdrawRouteType']
17761
17716
  },
17762
17717
  {
17763
- api: 'database_api',
17764
- method: 'get_account_bandwidth',
17765
- params: ['account', 'bandwidthType']
17766
- },
17767
- {
17768
- api: 'database_api',
17718
+ api: 'condenser_api',
17769
17719
  method: 'get_savings_withdraw_from',
17770
17720
  params: ['account']
17771
17721
  },
17772
17722
  {
17773
- api: 'database_api',
17723
+ api: 'condenser_api',
17774
17724
  method: 'get_savings_withdraw_to',
17775
17725
  params: ['account']
17776
17726
  },
@@ -17780,22 +17730,17 @@
17780
17730
  params: ['limit']
17781
17731
  },
17782
17732
  {
17783
- api: 'database_api',
17733
+ api: 'condenser_api',
17784
17734
  method: 'get_open_orders',
17785
17735
  params: ['owner']
17786
17736
  },
17787
- {
17788
- api: 'database_api',
17789
- method: 'get_liquidity_queue',
17790
- params: ['startAccount', 'limit']
17791
- },
17792
17737
  {
17793
17738
  api: 'database_api',
17794
17739
  method: 'get_transaction_hex',
17795
17740
  params: ['trx']
17796
17741
  },
17797
17742
  {
17798
- api: 'database_api',
17743
+ api: 'condenser_api',
17799
17744
  method: 'get_transaction',
17800
17745
  params: ['trxId']
17801
17746
  },
@@ -17820,52 +17765,52 @@
17820
17765
  params: ['nameOrId', 'signers']
17821
17766
  },
17822
17767
  {
17823
- api: 'database_api',
17768
+ api: 'condenser_api',
17824
17769
  method: 'get_active_votes',
17825
17770
  params: ['author', 'permlink']
17826
17771
  },
17827
17772
  {
17828
- api: 'database_api',
17773
+ api: 'condenser_api',
17829
17774
  method: 'get_account_votes',
17830
17775
  params: ['voter']
17831
17776
  },
17832
17777
  {
17833
- api: 'database_api',
17778
+ api: 'condenser_api',
17834
17779
  method: 'get_content_replies',
17835
17780
  params: ['author', 'permlink']
17836
17781
  },
17837
17782
  {
17838
- api: 'database_api',
17783
+ api: 'condenser_api',
17839
17784
  method: 'get_discussions_by_author_before_date',
17840
17785
  params: ['author', 'startPermlink', 'beforeDate', 'limit']
17841
17786
  },
17842
17787
  {
17843
- api: 'database_api',
17788
+ api: 'condenser_api',
17844
17789
  method: 'get_replies_by_last_update',
17845
17790
  params: ['startAuthor', 'startPermlink', 'limit']
17846
17791
  },
17847
17792
  {
17848
- api: 'database_api',
17793
+ api: 'condenser_api',
17849
17794
  method: 'get_witnesses',
17850
17795
  params: ['witnessIds']
17851
17796
  },
17852
17797
  {
17853
- api: 'database_api',
17798
+ api: 'condenser_api',
17854
17799
  method: 'get_witness_by_account',
17855
17800
  params: ['accountName']
17856
17801
  },
17857
17802
  {
17858
- api: 'database_api',
17803
+ api: 'condenser_api',
17859
17804
  method: 'get_witnesses_by_vote',
17860
17805
  params: ['from', 'limit']
17861
17806
  },
17862
17807
  {
17863
- api: 'database_api',
17808
+ api: 'condenser_api',
17864
17809
  method: 'lookup_witness_accounts',
17865
17810
  params: ['lowerBoundName', 'limit']
17866
17811
  },
17867
17812
  {
17868
- api: 'database_api',
17813
+ api: 'condenser_api',
17869
17814
  method: 'get_witness_count'
17870
17815
  },
17871
17816
  {
@@ -17873,16 +17818,12 @@
17873
17818
  method: 'get_active_witnesses'
17874
17819
  },
17875
17820
  {
17876
- api: 'database_api',
17877
- method: 'get_miner_queue'
17878
- },
17879
- {
17880
- api: 'database_api',
17821
+ api: 'condenser_api',
17881
17822
  method: 'get_reward_fund',
17882
17823
  params: ['name']
17883
17824
  },
17884
17825
  {
17885
- api: 'database_api',
17826
+ api: 'condenser_api',
17886
17827
  method: 'get_vesting_delegations',
17887
17828
  params: ['account', 'from', 'limit']
17888
17829
  },
@@ -18003,81 +17944,6 @@
18003
17944
  params: ['account'],
18004
17945
  is_object: true
18005
17946
  },
18006
- {
18007
- api: 'database_api',
18008
- method: 'get_escrow_by_from',
18009
- params: ['from', 'escrowId']
18010
- },
18011
- {
18012
- api: 'database_api',
18013
- method: 'get_escrow_by_to',
18014
- params: ['to', 'escrowId']
18015
- },
18016
- {
18017
- api: 'database_api',
18018
- method: 'get_escrow_by_agent',
18019
- params: ['agent', 'escrowId']
18020
- },
18021
- {
18022
- api: 'database_api',
18023
- method: 'get_account_bandwidth_by_type',
18024
- params: ['account', 'bandwidthType']
18025
- },
18026
- {
18027
- api: 'database_api',
18028
- method: 'get_account_bandwidth_by_type_and_time',
18029
- params: ['account', 'bandwidthType', 'time']
18030
- },
18031
- {
18032
- api: 'database_api',
18033
- method: 'get_proposed_transactions',
18034
- params: ['account']
18035
- },
18036
- {
18037
- api: 'database_api',
18038
- method: 'get_proposed_transaction',
18039
- params: ['account', 'proposalId']
18040
- },
18041
- {
18042
- api: 'database_api',
18043
- method: 'get_proposed_transaction_expirations',
18044
- params: ['account']
18045
- },
18046
- {
18047
- api: 'database_api',
18048
- method: 'get_proposed_transaction_approvals',
18049
- params: ['account']
18050
- },
18051
- {
18052
- api: 'database_api',
18053
- method: 'get_proposed_transaction_approvals_by_id',
18054
- params: ['proposalId']
18055
- },
18056
- {
18057
- api: 'database_api',
18058
- method: 'get_proposed_transaction_approvals_by_account',
18059
- params: ['account']
18060
- },
18061
- {
18062
- api: 'database_api',
18063
- method: 'get_proposed_transaction_approvals_by_account_and_id',
18064
- params: ['account', 'proposalId']
18065
- },
18066
- {
18067
- api: 'database_api',
18068
- method: 'get_proposed_transaction_approvals_by_account_and_time',
18069
- params: ['account', 'time']
18070
- },
18071
- {
18072
- api: 'database_api',
18073
- method: 'get_proposed_transaction_approvals_by_account_and_time_and_id',
18074
- params: ['account', 'time', 'proposalId']
18075
- },
18076
- {
18077
- api: 'database_api',
18078
- method: 'get_proposed_transaction_approvals_by_account_and_time_and_id_and_approver',
18079
- params: ['account', 'time', 'proposalId', 'approver']
18080
- }
18081
17947
  ];
18082
17948
 
18083
17949
  var retry$2 = {};
@@ -18496,6 +18362,10 @@
18496
18362
  isBroadcastOperation(method) {
18497
18363
  return this.nonRetriableOperations.includes(method);
18498
18364
  }
18365
+ /**
18366
+ * POST JSON-RPC to the node. Body uses method `call` with params [api, methodName, args]
18367
+ * for backwards compatibility with steemd; alternatively use Api.call('plugin.method', …).
18368
+ */
18499
18369
  send(api, data, callback) {
18500
18370
  if (typeof callback !== 'function') {
18501
18371
  callback = () => { };
@@ -26111,7 +25981,7 @@
26111
25981
  bb.writeUint16(dataObj.percent_steem_dollars ?? 0);
26112
25982
  serializeBool(bb, dataObj.allow_votes);
26113
25983
  serializeBool(bb, dataObj.allow_curation_rewards);
26114
- serializeExtensions(bb, dataObj.extensions);
25984
+ serializeCommentOptionsExtensions(bb, dataObj.extensions);
26115
25985
  }
26116
25986
  /**
26117
25987
  * Serialize custom_json operation
@@ -26188,7 +26058,7 @@
26188
26058
  *
26189
26059
  * Format: int64 amount (little-endian) + uint8 precision + 7-byte symbol (UTF-8, null-padded).
26190
26060
  *
26191
- * This helper is reused across all operations中涉及资产字段的地方,例如:
26061
+ * This helper is reused for asset fields across all operations, e.g.
26192
26062
  * - amount / vesting_shares / reward_* / *_pays
26193
26063
  */
26194
26064
  function serializeAsset(bb, amount) {
@@ -26208,7 +26078,7 @@
26208
26078
  }
26209
26079
  /**
26210
26080
  * Write a string using ByteBuffer's writeVString method.
26211
- * 所有字符串字段统一通过该 helper 序列化,避免直接到处调用 ByteBuffer API
26081
+ * All string fields are serialized through this helper to avoid calling ByteBuffer API directly everywhere.
26212
26082
  */
26213
26083
  function writeString(bb, str) {
26214
26084
  bb.writeVString(str);
@@ -26216,8 +26086,8 @@
26216
26086
  /**
26217
26087
  * Serialize a time_point_sec-style field.
26218
26088
  *
26219
- * 接受 ISO 字符串 / Date / 秒级数字,最终写入 uint32(自 epoch 起的秒数)。
26220
- * 常用于 proposal start/endescrow_deadline 等字段。
26089
+ * Accepts ISO string / Date / seconds number; writes uint32 (seconds since epoch).
26090
+ * Used for proposal start/end, escrow_deadline, and similar fields.
26221
26091
  */
26222
26092
  function serializeTimePointSec(bb, value) {
26223
26093
  let seconds;
@@ -26230,7 +26100,7 @@
26230
26100
  seconds = Math.floor(value.getTime() / 1000);
26231
26101
  }
26232
26102
  else if (typeof value === 'number') {
26233
- // 这里假定已是秒级时间戳
26103
+ // Assume value is already in seconds
26234
26104
  seconds = value;
26235
26105
  }
26236
26106
  else {
@@ -26240,29 +26110,61 @@
26240
26110
  }
26241
26111
  /**
26242
26112
  * Serialize a generic bool flag as uint8(0/1).
26243
- * 后续在多处 optional / approve / decline 字段可统一复用。
26113
+ * Reused for optional / approve / decline and similar fields.
26244
26114
  */
26245
26115
  function serializeBool(bb, value) {
26246
26116
  bb.writeUint8(value ? 1 : 0);
26247
26117
  }
26248
26118
  /**
26249
- * Serialize a future_extensions / extensions 风格字段。
26119
+ * Serialize comment_options extensions (flat_set<comment_options_extension>).
26120
+ * Used only for comment_options operation. Supports tag 0 (comment_payout_beneficiaries).
26121
+ * Beneficiaries are sorted alphabetically by account name before encoding to satisfy Steem protocol.
26122
+ * Other extension tags are skipped; only tag 0 is serialized.
26123
+ */
26124
+ function serializeCommentOptionsExtensions(bb, extensions) {
26125
+ if (!Array.isArray(extensions) || extensions.length === 0) {
26126
+ bb.writeVarint32(0);
26127
+ return;
26128
+ }
26129
+ // Only serialize tag 0 (comment_payout_beneficiaries); skip unknown tags
26130
+ const supported = extensions.filter((ext) => {
26131
+ const tag = Array.isArray(ext) && ext.length >= 1 ? Number(ext[0]) : -1;
26132
+ return tag === 0;
26133
+ });
26134
+ bb.writeVarint32(supported.length);
26135
+ for (const ext of supported) {
26136
+ const tag = ext[0];
26137
+ const value = ext[1];
26138
+ bb.writeVarint32(tag);
26139
+ if (tag === 0) {
26140
+ const beneficiaries = Array.isArray(value?.beneficiaries) ? value.beneficiaries.slice() : [];
26141
+ beneficiaries.sort((a, b) => String(a.account).localeCompare(String(b.account)));
26142
+ bb.writeVarint32(beneficiaries.length);
26143
+ for (const b of beneficiaries) {
26144
+ writeString(bb, String(b.account ?? ''));
26145
+ bb.writeUint16(Number(b.weight) & 0xffff);
26146
+ }
26147
+ }
26148
+ }
26149
+ }
26150
+ /**
26151
+ * Serialize a future_extensions / extensions-style field.
26250
26152
  *
26251
- * 目前大多数链上交易中 extensions 仍为空集合,协议格式是:
26153
+ * For most on-chain transactions extensions are still an empty set. Protocol format:
26252
26154
  * - varint32 length
26253
- * - 后续按约定序列化各元素(当前实现仅支持空或简单 JSON 字符串)
26155
+ * - then each element serialized per convention (current implementation supports empty only).
26254
26156
  *
26255
- * 为兼容现有使用场景,这里暂时只写入长度,忽略实际内容;当需要支持
26256
- * 具体 extension 类型时,可以在保持签名兼容性的前提下扩展实现。
26157
+ * To stay compatible with existing usage, we only write length 0 and ignore content here;
26158
+ * when supporting specific extension types, extend this after verification.
26257
26159
  */
26258
26160
  function serializeExtensions(bb, extensions) {
26259
26161
  if (!Array.isArray(extensions) || extensions.length === 0) {
26260
26162
  bb.writeVarint32(0);
26261
26163
  return;
26262
26164
  }
26263
- // 协议上 extensions future_extensions,目前主网基本为 0
26264
- // 为避免序列化出与 C++ 节点不兼容的数据,这里保守起见仍写入 0
26265
- // 如果未来需要支持非空 extensions,可在测试验证后放开以下逻辑:
26165
+ // Protocol-wise extensions are future_extensions; on mainnet they are typically 0.
26166
+ // To avoid serializing data incompatible with C++ nodes, we still write 0 conservatively.
26167
+ // To support non-empty extensions in the future, enable the logic below after tests:
26266
26168
  //
26267
26169
  // bb.writeVarint32(extensions.length);
26268
26170
  // for (const ext of extensions) {
@@ -26574,6 +26476,7 @@
26574
26476
  this._setTransport(options);
26575
26477
  this._setLogger(options);
26576
26478
  this.options = options;
26479
+ // Register steem.api.* from src/api/methods.ts; each call uses method.api as the RPC namespace.
26577
26480
  methods.forEach(method => {
26578
26481
  const methodName = method.method_name || camelCase(method.method);
26579
26482
  const methodParams = method.params || [];
@@ -26707,6 +26610,11 @@
26707
26610
  }
26708
26611
  return this.transport.stop();
26709
26612
  }
26613
+ /**
26614
+ * Send a JSON-RPC request via the active transport.
26615
+ * HTTP uses the legacy `call` wrapper: params are [apiNamespace, methodName, args].
26616
+ * @param api Plugin namespace (e.g. condenser_api, database_api)
26617
+ */
26710
26618
  send(api, data, callback) {
26711
26619
  let cb = callback;
26712
26620
  if (this.__logger) {
@@ -27240,7 +27148,8 @@
27240
27148
  });
27241
27149
  }
27242
27150
  /**
27243
- * Verify transaction authority.
27151
+ * Verify transaction authority (database_api.verify_authority on the node).
27152
+ * Prefer verifyAuthorityAsync; dynamically generated helpers also exist from methods.ts.
27244
27153
  * @param trx Transaction object to verify
27245
27154
  * @param callback Optional callback function
27246
27155
  * @returns Promise with verification result if no callback provided
@@ -27275,7 +27184,7 @@
27275
27184
  });
27276
27185
  }
27277
27186
  /**
27278
- * Verify account authority.
27187
+ * Verify account authority (database_api.verify_account_authority on the node).
27279
27188
  * @param nameOrId Account name or ID
27280
27189
  * @param signers Array of signer public keys
27281
27190
  * @param callback Optional callback function
@@ -29351,7 +29260,7 @@
29351
29260
  operations,
29352
29261
  utils: utils$n,
29353
29262
  ...crypto$1,
29354
- version: '1.0.14',
29263
+ version: '1.0.16',
29355
29264
  config: {
29356
29265
  set: (options) => {
29357
29266
  // If nodes is provided, extract the first node as url for API