Comparing version 0.7.5 to 0.7.6
@@ -397,2 +397,14 @@ "use strict"; | ||
"params": [] | ||
}, { | ||
"api": "condenser_api", | ||
"method": "find_proposals", | ||
"params": ["id_set"] | ||
}, { | ||
"api": "condenser_api", | ||
"method": "list_proposals", | ||
"params": ["start", "limit", "order_by", "order_direction", "status"] | ||
}, { | ||
"api": "condenser_api", | ||
"method": "list_proposal_votes", | ||
"params": ["start", "limit", "order_by", "order_direction", "status"] | ||
}]; |
@@ -56,16 +56,21 @@ "use strict"; | ||
account_create_with_delegation: 41, | ||
fill_convert_request: 42, | ||
author_reward: 43, | ||
curation_reward: 44, | ||
comment_reward: 45, | ||
liquidity_reward: 46, | ||
interest: 47, | ||
fill_vesting_withdraw: 48, | ||
fill_order: 49, | ||
shutdown_witness: 50, | ||
fill_transfer_from_savings: 51, | ||
hardfork: 52, | ||
comment_payout_update: 53, | ||
return_vesting_delegation: 54, | ||
comment_benefactor_reward: 55 | ||
witness_set_properties: 42, | ||
account_update2: 43, | ||
create_proposal: 44, | ||
update_proposal_votes: 45, | ||
remove_proposal: 46, | ||
fill_convert_request: 47, | ||
author_reward: 48, | ||
curation_reward: 49, | ||
comment_reward: 50, | ||
liquidity_reward: 51, | ||
interest: 52, | ||
fill_vesting_withdraw: 53, | ||
fill_order: 54, | ||
shutdown_witness: 55, | ||
fill_transfer_from_savings: 56, | ||
hardfork: 57, | ||
comment_payout_update: 58, | ||
return_vesting_delegation: 59, | ||
comment_benefactor_reward: 60 | ||
}; | ||
@@ -72,0 +77,0 @@ |
@@ -98,3 +98,3 @@ "use strict"; | ||
Delete (these are custom types instead): | ||
let public_key = new Serializer( | ||
let public_key = new Serializer( | ||
"public_key", | ||
@@ -104,3 +104,3 @@ {key_data: bytes(33)} | ||
let asset = new Serializer( | ||
let asset = new Serializer( | ||
"asset", | ||
@@ -498,2 +498,43 @@ {amount: int64, | ||
var witness_set_properties = new Serializer("witness_set_properties", { | ||
owner: string, | ||
props: string, | ||
extensions: set(future_extensions) | ||
}); | ||
var account_update2 = new Serializer("account_update2", { | ||
account: string, | ||
owner: optional(authority), | ||
active: optional(authority), | ||
posting: optional(authority), | ||
memo_key: public_key, | ||
json_metadata: string, | ||
posting_json_metadata: string, | ||
extensions: set(future_extensions) | ||
}); | ||
var create_proposal = new Serializer("create_proposal", { | ||
creator: string, | ||
receiver: string, | ||
start_date: time_point_sec, | ||
end_date: time_point_sec, | ||
daily_pay: asset, | ||
subject: string, | ||
permlink: string, | ||
extensions: set(future_extensions) | ||
}); | ||
var update_proposal_votes = new Serializer("update_proposal_votes", { | ||
voter: string, | ||
proposal_ids: array(uint64), | ||
approve: bool, | ||
extensions: set(future_extensions) | ||
}); | ||
var remove_proposal = new Serializer("remove_proposal", { | ||
proposal_owner: string, | ||
proposal_ids: array(uint64), | ||
extensions: set(future_extensions) | ||
}); | ||
var fill_convert_request = new Serializer("fill_convert_request", { | ||
@@ -582,3 +623,3 @@ owner: string, | ||
operation.st_operations = [vote, comment, transfer, transfer_to_vesting, withdraw_vesting, limit_order_create, limit_order_cancel, feed_publish, convert, account_create, account_update, witness_update, account_witness_vote, account_witness_proxy, pow, custom, report_over_production, delete_comment, custom_json, comment_options, set_withdraw_vesting_route, limit_order_create2, claim_account, create_claimed_account, request_account_recovery, recover_account, change_recovery_account, escrow_transfer, escrow_dispute, escrow_release, pow2, escrow_approve, transfer_to_savings, transfer_from_savings, cancel_transfer_from_savings, custom_binary, decline_voting_rights, reset_account, set_reset_account, claim_reward_balance, delegate_vesting_shares, account_create_with_delegation, fill_convert_request, author_reward, curation_reward, comment_reward, liquidity_reward, interest, fill_vesting_withdraw, fill_order, shutdown_witness, fill_transfer_from_savings, hardfork, comment_payout_update, return_vesting_delegation, comment_benefactor_reward]; | ||
operation.st_operations = [vote, comment, transfer, transfer_to_vesting, withdraw_vesting, limit_order_create, limit_order_cancel, feed_publish, convert, account_create, account_update, witness_update, account_witness_vote, account_witness_proxy, pow, custom, report_over_production, delete_comment, custom_json, comment_options, set_withdraw_vesting_route, limit_order_create2, claim_account, create_claimed_account, request_account_recovery, recover_account, change_recovery_account, escrow_transfer, escrow_dispute, escrow_release, pow2, escrow_approve, transfer_to_savings, transfer_from_savings, cancel_transfer_from_savings, custom_binary, decline_voting_rights, reset_account, set_reset_account, claim_reward_balance, delegate_vesting_shares, account_create_with_delegation, witness_set_properties, account_update2, create_proposal, update_proposal_votes, remove_proposal, fill_convert_request, author_reward, curation_reward, comment_reward, liquidity_reward, interest, fill_vesting_withdraw, fill_order, shutdown_witness, fill_transfer_from_savings, hardfork, comment_payout_update, return_vesting_delegation, comment_benefactor_reward]; | ||
@@ -585,0 +626,0 @@ var transaction = new Serializer("transaction", { |
@@ -173,2 +173,22 @@ "use strict"; | ||
"roles": ["active", "owner"], | ||
"operation": "witness_set_properties", | ||
"params": ["owner", "props", "extensions"] | ||
}, { | ||
"roles": ["posting", "active", "owner"], | ||
"operation": "account_update2", | ||
"params": ["account", "owner", "active", "posting", "memo_key", "json_metadata", "posting_json_metadata", "extensions"] | ||
}, { | ||
"roles": ["active", "owner"], | ||
"operation": "create_proposal", | ||
"params": ["creator", "receiver", "start_date", "end_date", "daily_pay", "subject", "permlink", "extensions"] | ||
}, { | ||
"roles": ["active", "owner"], | ||
"operation": "update_proposal_votes", | ||
"params": ["voter", "proposal_ids", "approve", "extensions"] | ||
}, { | ||
"roles": ["active", "owner"], | ||
"operation": "remove_proposal", | ||
"params": ["proposal_owner", "proposal_ids", "extensions"] | ||
}, { | ||
"roles": ["active", "owner"], | ||
"operation": "fill_convert_request", | ||
@@ -175,0 +195,0 @@ "params": ["owner", "requestid", "amount_in", "amount_out"] |
@@ -5,2 +5,3 @@ "use strict"; | ||
var auth = require("./auth"); | ||
var memo = require("./auth/memo"); | ||
var broadcast = require("./broadcast"); | ||
@@ -14,2 +15,3 @@ var config = require("./config"); | ||
auth: auth, | ||
memo: memo, | ||
broadcast: broadcast, | ||
@@ -16,0 +18,0 @@ config: config, |
@@ -1,1 +0,1 @@ | ||
{"name":"steem","version":"0.7.5","description":"Steem.js the JavaScript API for Steem blockchain","main":"lib/index.js","scripts":{"test":"eslint --quiet src test; mocha -t 40000 --require babel-polyfill --require babel-register","test-auth":"npm test -- --grep 'steem.auth'","build":"npm run build-browser && npm run build-node","build-browser":"rm -rf dist && NODE_ENV=production node ./node_modules/webpack/bin/webpack.js && gzip -k -f ./dist/*.js && du -h ./dist/*","build-node":"mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib","prepublish":"npm run build"},"browser":{"ws":false,"crypto":false},"repository":{"type":"git","url":"git+https://github.com/steemit/steem-js.git"},"keywords":["steem","steemit","blockchain","steemjs"],"author":"Fabien (https://github.com/bonustrack)","license":"MIT","bugs":{"url":"https://github.com/steemit/steem-js/issues"},"homepage":"https://github.com/steemit/steem-js#readme","dependencies":{"@steemit/rpc-auth":"^1.1.1","bigi":"^1.4.2","bluebird":"^3.4.6","browserify-aes":"^1.0.6","bs58":"^4.0.0","buffer":"^5.0.6","bytebuffer":"^5.0.1","create-hash":"^1.1.2","create-hmac":"^1.1.4","cross-env":"^5.0.0","cross-fetch":"^1.1.1","debug":"^2.6.8","detect-node":"^2.0.3","ecurve":"^1.0.5","lodash":"^4.16.4","retry":"^0.12.0","secure-random":"^1.1.1","ws":"^3.3.2"},"devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.1.1","babel-loader":"^6.2.5","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.16.0","babel-preset-es2017":"^6.16.0","babel-register":"^6.14.0","bluebird":"^3.4.6","eslint":"^3.5.0","eslint-plugin-import":"^1.15.0","eslint-plugin-jsx-a11y":"^2.2.2","eslint-plugin-react":"^6.2.1","json-loader":"^0.5.4","mocha":"^3.0.2","mocha-make-stub":"^2.3.2","should":"^11.1.0","webpack":"^1.13.2","webpack-visualizer-plugin":"^0.1.5"},"contributors":["Fabien (https://github.com/bonustrack)","James Calfee (https://github.com/jcalfee)","Nilesh Suthar (https://github.com/nil1511)","Pedro Tacla Yamada (https://github.com/yamadapc)"]} | ||
{"name":"steem","version":"0.7.6","description":"Steem.js the JavaScript API for Steem blockchain","main":"lib/index.js","scripts":{"test":"eslint --quiet src test; mocha -t 40000 --require babel-polyfill --require babel-register","test-auth":"npm test -- --grep 'steem.auth'","build":"npm run build-browser && npm run build-node","build-browser":"rm -rf dist && NODE_ENV=production node ./node_modules/webpack/bin/webpack.js && gzip -k -f ./dist/*.js && du -h ./dist/*","build-node":"mkdir -p ./lib && cp -r ./src/* ./lib/ && babel ./src --out-dir ./lib","prepublish":"npm run build"},"browser":{"ws":false,"crypto":false},"repository":{"type":"git","url":"git+https://github.com/steemit/steem-js.git"},"keywords":["steem","steemit","blockchain","steemjs"],"author":"Fabien (https://github.com/bonustrack)","license":"MIT","bugs":{"url":"https://github.com/steemit/steem-js/issues"},"homepage":"https://github.com/steemit/steem-js#readme","dependencies":{"@steemit/rpc-auth":"^1.1.1","bigi":"^1.4.2","bluebird":"^3.4.6","browserify-aes":"^1.0.6","bs58":"^4.0.0","buffer":"^5.0.6","bytebuffer":"^5.0.1","create-hash":"^1.1.2","create-hmac":"^1.1.4","cross-env":"^5.0.0","cross-fetch":"^1.1.1","debug":"^2.6.8","detect-node":"^2.0.3","ecurve":"^1.0.5","lodash":"^4.16.4","retry":"^0.12.0","secure-random":"^1.1.2","ws":"^3.3.2"},"devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.1.1","babel-loader":"^6.2.5","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.16.0","babel-preset-es2017":"^6.16.0","babel-register":"^6.14.0","bluebird":"^3.4.6","eslint":"^3.5.0","eslint-plugin-import":"^1.15.0","eslint-plugin-jsx-a11y":"^2.2.2","eslint-plugin-react":"^6.2.1","json-loader":"^0.5.4","mocha":"^3.0.2","mocha-make-stub":"^2.3.2","should":"^11.1.0","webpack":"^1.13.2","webpack-visualizer-plugin":"^0.1.5"},"contributors":["Fabien (https://github.com/bonustrack)","James Calfee (https://github.com/jcalfee)","Nilesh Suthar (https://github.com/nil1511)","Pedro Tacla Yamada (https://github.com/yamadapc)"]} |
@@ -32,5 +32,5 @@ import Promise from 'bluebird'; | ||
steem.api.callAsync('condenser_api.get_version', []).then((result) => { | ||
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */ | ||
result.should.have.property('blockchain_version'); | ||
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP */ | ||
result.should.have.property('blockchain_version', '0.21.0') | ||
//result.should.have.property('blockchain_version', '0.22.0') | ||
@@ -52,5 +52,5 @@ steem.broadcast._prepareTransaction(tx).then(function(tx){ | ||
steem.api.callAsync('condenser_api.get_version', []).then((result) => { | ||
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */ | ||
result.should.have.property('blockchain_version'); | ||
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP */ | ||
result.should.have.property('blockchain_version', '0.21.0') | ||
//result.should.have.property('blockchain_version', '0.22.0') | ||
@@ -57,0 +57,0 @@ steem.broadcast.claimAccountAsync(activeWif, username, '0.000 TESTS', []).then((result) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17352054
82
11537
12
Updatedsecure-random@^1.1.2