viz-js-lib 0.12.3 → 0.12.5
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/.qoder/repowiki/en/content/API Reference/Configuration Options.md +129 -86
- package/.qoder/repowiki/en/content/Broadcast Transactions/Broadcast Transactions.md +180 -118
- package/.qoder/repowiki/en/content/Testing & Development.md +209 -140
- package/.qoder/repowiki/en/content/Utilities & Helpers.md +81 -81
- package/.qoder/repowiki/en/meta/repowiki-metadata.json +1 -1
- package/dist/statistics.html +1 -1
- package/dist/viz-tests.min.js.gz +0 -0
- package/dist/viz.min.js +6 -6
- package/dist/viz.min.js.gz +0 -0
- package/lib/auth/serializer/src/ChainTypes.js +2 -1
- package/lib/auth/serializer/src/operations.js +35 -2
- package/lib/broadcast/operations.js +4 -0
- package/package.json +3 -2
- package/webpack/makeConfig.js +3 -0
package/dist/viz.min.js.gz
CHANGED
|
Binary file
|
|
@@ -572,10 +572,38 @@ var chain_properties_hf9 = new Serializer(3, {
|
|
|
572
572
|
witness_declaration_fee: asset,
|
|
573
573
|
withdraw_intervals: uint16
|
|
574
574
|
});
|
|
575
|
+
var chain_properties_hf13 = new Serializer(4, {
|
|
576
|
+
account_creation_fee: asset,
|
|
577
|
+
maximum_block_size: uint32,
|
|
578
|
+
create_account_delegation_ratio: uint32,
|
|
579
|
+
create_account_delegation_time: uint32,
|
|
580
|
+
min_delegation: asset,
|
|
581
|
+
min_curation_percent: int16,
|
|
582
|
+
max_curation_percent: int16,
|
|
583
|
+
bandwidth_reserve_percent: int16,
|
|
584
|
+
bandwidth_reserve_below: asset,
|
|
585
|
+
flag_energy_additional_cost: int16,
|
|
586
|
+
vote_accounting_min_rshares: uint32,
|
|
587
|
+
committee_request_approve_min_percent: int16,
|
|
588
|
+
inflation_witness_percent: int16,
|
|
589
|
+
inflation_ratio_committee_vs_reward_fund: int16,
|
|
590
|
+
inflation_recalc_period: uint32,
|
|
591
|
+
data_operations_cost_additional_bandwidth: uint32,
|
|
592
|
+
witness_miss_penalty_percent: int16,
|
|
593
|
+
witness_miss_penalty_duration: uint32,
|
|
594
|
+
create_invite_min_balance: asset,
|
|
595
|
+
committee_create_request_fee: asset,
|
|
596
|
+
create_paid_subscription_fee: asset,
|
|
597
|
+
account_on_sale_fee: asset,
|
|
598
|
+
subaccount_on_sale_fee: asset,
|
|
599
|
+
witness_declaration_fee: asset,
|
|
600
|
+
withdraw_intervals: uint16,
|
|
601
|
+
distribution_epoch_length: uint32
|
|
602
|
+
});
|
|
575
603
|
|
|
576
604
|
var versioned_chain_properties_update = new Serializer("versioned_chain_properties_update", {
|
|
577
605
|
owner: string,
|
|
578
|
-
props: static_variant([chain_properties_init, chain_properties_hf4, chain_properties_hf6, chain_properties_hf9])
|
|
606
|
+
props: static_variant([chain_properties_init, chain_properties_hf4, chain_properties_hf6, chain_properties_hf9, chain_properties_hf13])
|
|
579
607
|
});
|
|
580
608
|
|
|
581
609
|
var receive_award = new Serializer("receive_award", {
|
|
@@ -690,7 +718,12 @@ var outbid = new Serializer("outbid", {
|
|
|
690
718
|
bid: asset
|
|
691
719
|
});
|
|
692
720
|
|
|
693
|
-
|
|
721
|
+
var set_reward_sharing = new Serializer("set_reward_sharing", {
|
|
722
|
+
owner: string,
|
|
723
|
+
sharing_rate: uint16
|
|
724
|
+
});
|
|
725
|
+
|
|
726
|
+
operation.st_operations = [vote, content, transfer, transfer_to_vesting, withdraw_vesting, account_update, witness_update, account_witness_vote, account_witness_proxy, delete_content, custom, set_withdraw_vesting_route, request_account_recovery, recover_account, change_recovery_account, escrow_transfer, escrow_dispute, escrow_release, escrow_approve, delegate_vesting_shares, account_create, account_metadata, proposal_create, proposal_update, proposal_delete, chain_properties_update, author_reward, curation_reward, content_reward, fill_vesting_withdraw, shutdown_witness, hardfork, content_payout_update, content_benefactor_reward, return_vesting_delegation, committee_worker_create_request, committee_worker_cancel_request, committee_vote_request, committee_cancel_request, committee_approve_request, committee_pay_request, committee_payout_request, witness_reward, create_invite, claim_invite_balance, invite_registration, versioned_chain_properties_update, award, receive_award, benefactor_award, set_paid_subscription, paid_subscribe, paid_subscription_action, cancel_paid_subscription, set_account_price, set_subaccount_price, buy_account, account_sale, use_invite_balance, expire_escrow_ratification, fixed_award, target_account_sale, bid, outbid, set_reward_sharing];
|
|
694
727
|
|
|
695
728
|
//# -------------------------------
|
|
696
729
|
//# Generated code end S T O P
|
|
@@ -180,4 +180,8 @@ module.exports = [{
|
|
|
180
180
|
"roles": ["active"],
|
|
181
181
|
"operation": "use_invite_balance",
|
|
182
182
|
"params": ["initiator", "receiver", "invite_secret"]
|
|
183
|
+
}, {
|
|
184
|
+
"roles": ["active"],
|
|
185
|
+
"operation": "set_reward_sharing",
|
|
186
|
+
"params": ["owner", "sharing_rate"]
|
|
183
187
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viz-js-lib",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.5",
|
|
4
4
|
"description": "viz.js the JavaScript Library with API support for VIZ blockchain",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"browser": {
|
|
16
16
|
"ws": false,
|
|
17
|
-
"crypto": false
|
|
17
|
+
"crypto": false,
|
|
18
|
+
"async_hooks": false
|
|
18
19
|
},
|
|
19
20
|
"repository": {
|
|
20
21
|
"type": "git",
|