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: swellstores/swell-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.5.0
Choose a base ref
...
head repository: swellstores/swell-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.6.0
Choose a head ref
  • 8 commits
  • 6 files changed
  • 2 contributors

Commits on Dec 18, 2023

  1. fix: pass $req_id for auth and cached requests

    fix: replace deprecated listenerCount
    fix: promisify data in array
    refactor: Connection.receive method
    docs: add types for some Connection methods
    test: improve Connection.receive cases
    test: fix auth and cached cases
    awwit committed Dec 18, 2023
    Copy the full SHA
    2374852 View commit details

Commits on Dec 19, 2023

  1. fix: Promise check is moved to a separate function

    fix: generation of request id is moved to a separate function
    awwit committed Dec 19, 2023
    Copy the full SHA
    28f7741 View commit details
  2. Merge pull request #33 from swellstores/fix/add-req-id

    fix: pass $req_id for auth and cached requests
    awwit authored Dec 19, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9f1af81 View commit details

Commits on Dec 21, 2023

  1. fix: execute regular requests only after authorization

    feat: add module version to request data
    fix: check array length to avoid creating holes
    fix: move active requests to pending when connection has been closed
    test: should buffer regular requests until the connection is ready
    test: send pending execution requests after authorization
    awwit committed Dec 21, 2023
    Copy the full SHA
    c1d1622 View commit details
  2. fix: replace $req_lib with $user_agent

    fix: check that callback is function
    docs: describe Connection workflow
    awwit committed Dec 21, 2023
    Copy the full SHA
    aa6a0be View commit details
  3. Copy the full SHA
    4fe410a View commit details

Commits on Dec 22, 2023

  1. Merge pull request #34 from swellstores/fix/wait-for-auth

    fix: execute regular requests only after authorization
    awwit authored Dec 22, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3f81ea0 View commit details
  2. 5.6.0

    swellmike committed Dec 22, 2023
    Copy the full SHA
    6f75a15 View commit details
Showing with 527 additions and 143 deletions.
  1. +169 −75 lib/client.js
  2. +43 −10 lib/client.test.js
  3. +234 −51 lib/connection.js
  4. +78 −4 lib/connection.test.js
  5. +2 −2 package-lock.json
  6. +1 −1 package.json
Loading