Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hitlk/JSON-RPC-Java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: RandomOrg/JSON-RPC-Java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 13 files changed
  • 2 contributors

Commits on Jan 14, 2021

  1. Release 2 Update

    This library now supports Release 2 of the RANDOM.ORG JSON-RPC API.
    Updates:
    - New methods (generateIntegerSequences, generateSignedIntegerSequences, createIntegerSequenceCache and getResult)
    - New optional parameter JsonObject 'userData' can now be used with signed methods returning random values
    - Parameter 'base' can now be used on integer and integer sequences methods (Basic and Signed API). NOTE: basic methods 'generateIntegers' and 'generateIntegerSequences' return String values when the 'base' parameter is used, even when it is decimal (base = 10). For int values, simply use the method without 'base' parameter. The same applies to 'createIntegerCache' abd 'createIntegerSequenceCache'. Signed methods 'generateSignedIntegers' and 'generateSignedIntegerSequences' return int values for decimal base, String values otherwise.
    - Updated test cases to cover new methods and use JUnit ErrorCollector
    - getUsage() is called in the RandomOrgClient constructor to update remaining requests and bits
    - Minor bug fix to improve threading for serialized clients
    - Added error codes (RandomOrg Errors: 305, 306 and 307)
    = committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    19718ac View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2021

  1. Release 3 Update

    This library now supports Release 3 of the RANDOM.ORG JSON-RPC API.
    Updates:
    - New methods (createTickets, listTickets and getTicket)
    - Method overloading for all signed value-returning methods to contain the optional 'ticketId' parameter
    - Added RandomOrg error codes 420, 421, 422 and 423
    - Added tests for all new methods, error codes 420, 421 and 422 and signed methods with 'ticketId' parameter
    = committed Jan 29, 2021
    Configuration menu
    Copy the full SHA
    1ebffae View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Release 4 Updates

    This library now supports Release 4 of the RANDOM.ORG JSON-RPC API.
    Updates:
    - Method overloading for all (basic and signed) value-returning methods to contain the optional 'pregeneratedRandomization' parameter
    - Method overloading for all signed value-returning methods to contain the optional 'licenseData' parameter
    - Added methods to generate the signature verification URL and HTML forms (createURL and createHTML) using the random object and signature returned from any of the signed (value generating) methods; the URL and HTML form link to the same web page that is also shown when a result is verified using the online Signature Verification Form, see: https://api.random.org/signatures/form
    - Added tests for methods with the 'pregeneratedRandomization' parameter
    = committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    38ec489 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Update README.rst

    RandomOrg authored Dec 17, 2021
    Configuration menu
    Copy the full SHA
    6e8ecc0 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Added revealTickets method

    Added the new revealTickets method and the accompanying error (426). Also includes tests for the method (revealing a single ticket and multiple tickets) and the error.
    
    Updated the RandomOrgRANDOMORGError class to include the error code as a (private) property, accessible by using the getCode() method.
    
    Also updated the links in the descriptions.
    RandomOrg committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    e298691 View commit details
    Browse the repository at this point in the history
Loading