Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor and async/await #87

Merged
merged 163 commits into from
Jan 20, 2021
Merged

Refactor and async/await #87

merged 163 commits into from
Jan 20, 2021

Commits on Dec 15, 2020

  1. refactor

    mifi committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    65739b5 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. replace request with got

    mifi committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    9a51ebe View commit details
    Browse the repository at this point in the history
  2. fix unit tests

    mifi committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    e76986a View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. migrate to github actions

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    8f7cf41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    086fc5f View commit details
    Browse the repository at this point in the history
  3. add forgotten yarn.lock

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    b4188c6 View commit details
    Browse the repository at this point in the history
  4. fix broken chai

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    46c23e3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    71370c2 View commit details
    Browse the repository at this point in the history
  6. fix jsdoc

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    cd020d3 View commit details
    Browse the repository at this point in the history
  7. fix jsdoc (2)

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    a75795c View commit details
    Browse the repository at this point in the history
  8. fix cb functions

    returning the promise is a backwards incompatible change
    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    fcb4cc5 View commit details
    Browse the repository at this point in the history
  9. fix bug

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    22a895c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5ba86d9 View commit details
    Browse the repository at this point in the history
  11. fix existing bug and its broken integration test

    The "delete this._streams[name]" code not a good idea, because it causes a race condition:
    If the user calls createAssembly immediately after addFile, it throws correctly as per the test requirement.
    However if if there is a delay between calling addFile and createAssembly,
    the 'error' event is emitted after createAssembly can get _streams and _streams will be empty
    so createAssembly will not throw the expected error
    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    24397fb View commit details
    Browse the repository at this point in the history
  12. fix existing bug

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    1f41fe8 View commit details
    Browse the repository at this point in the history
  13. fix bug

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    a5bfb87 View commit details
    Browse the repository at this point in the history
  14. fix broken test and async-ify

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    6c9ff87 View commit details
    Browse the repository at this point in the history
  15. fix bug in test code

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    87dadfd View commit details
    Browse the repository at this point in the history
  16. fix broken test

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    814d05c View commit details
    Browse the repository at this point in the history
  17. fix last broken test

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    4b10791 View commit details
    Browse the repository at this point in the history
  18. fix bug introduced

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    5fbc7a4 View commit details
    Browse the repository at this point in the history
  19. fix http error handling

    mifi committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    49fc8e4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    29b0562 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. refactor/simplify upload code

    mifi committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    bf7ec26 View commit details
    Browse the repository at this point in the history
  2. simplify _sendTusRequest

    mifi committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    d436590 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. replace underscore with lodash

    mifi committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    10b117b View commit details
    Browse the repository at this point in the history
  2. parallellize tus upload and fix broken uploadProgress

    the reduce code was broken and was giving only NaN
    thus uploadProgress never worked
    mifi committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    5ad3cb7 View commit details
    Browse the repository at this point in the history
  3. fix lint

    mifi committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    da19acc View commit details
    Browse the repository at this point in the history
  4. Allow adding non-streams transloadit#86 transloadit#50

    simplify and remove hacky logic (move file prop outside)
    mifi committed Dec 21, 2020
    Configuration menu
    Copy the full SHA
    b2df620 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2020

  1. improve require of lodash

    mifi committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    31bbbf1 View commit details
    Browse the repository at this point in the history
  2. refactor

    mifi committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    53d3291 View commit details
    Browse the repository at this point in the history
  3. remove transpiling and unused modules

    - set required node version to 10.0.0
    - rename progressCb to onProgress (more consistent with tus)
    - Improve readme
    - add logo to readme 💅
    mifi committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    f7be645 View commit details
    Browse the repository at this point in the history
  4. remove duplicate .eslintrc file

    (.eslintrc.js has precedence over .eslintrc)
    mifi committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    1dc361a View commit details
    Browse the repository at this point in the history
  5. fix example

    mifi committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    cd232ba View commit details
    Browse the repository at this point in the history
  6. refactor

    mifi committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    32fcdfa View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2020

  1. improve readme

    pull out onProgress (to keep usage example more simple)
    mifi committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    6e140b1 View commit details
    Browse the repository at this point in the history
  2. remove incorrect code from readme

    assembly errors are indeed thrown by the code
    mifi committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    ef66db4 View commit details
    Browse the repository at this point in the history
  3. improve/simplify webp example

    mifi committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    02742a5 View commit details
    Browse the repository at this point in the history
  4. fix retry bug and add test for this

    For some reason getAssembly did a retry on ALL errors
    this seems incorrect as it will cause calls to take unnecessarily long to execute,
    even though the assembly has completed (e.g. INVALID_FILE_META_DATA)
    mifi committed Dec 31, 2020
    Configuration menu
    Copy the full SHA
    4a3e12f View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2021

  1. remove abundant example

    (covered by convert_to_webp and resize_an_image)
    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    8eb20ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3742291 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a9cee9 View commit details
    Browse the repository at this point in the history
  4. fix broken unknown error handling

    and refactor common code
    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    19b3555 View commit details
    Browse the repository at this point in the history
  5. improve examples

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    d57d363 View commit details
    Browse the repository at this point in the history
  6. improve test

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    6763b75 View commit details
    Browse the repository at this point in the history
  7. fix todo

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    8de9ad6 View commit details
    Browse the repository at this point in the history
  8. simplify

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    f9ee77c View commit details
    Browse the repository at this point in the history
  9. improve test

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    e235068 View commit details
    Browse the repository at this point in the history
  10. improve documentation

    move calcsignature down (it's not that important)
    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    f745279 View commit details
    Browse the repository at this point in the history
  11. improve initial DX in readme

    provide an actual working example under Usage
    and how to get started
    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    ef6b237 View commit details
    Browse the repository at this point in the history
  12. improve readme

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    f219871 View commit details
    Browse the repository at this point in the history
  13. promisify API doc

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    35d493f View commit details
    Browse the repository at this point in the history
  14. fix examples

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    bf92bfd View commit details
    Browse the repository at this point in the history
  15. improve readme

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    fa1bb27 View commit details
    Browse the repository at this point in the history
  16. fix lint

    mifi committed Jan 1, 2021
    Configuration menu
    Copy the full SHA
    83d3a38 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2021

  1. fix build badge

    mifi committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    e03cc8c View commit details
    Browse the repository at this point in the history
  2. improve readme

    mifi committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    a75e377 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5c4399 View commit details
    Browse the repository at this point in the history
  4. fix whitespace (lint)

    mifi committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    9a0a544 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2021

  1. update readme

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    feb38ff View commit details
    Browse the repository at this point in the history
  2. async/awaitify PaginationStream

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    9cdab22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10717e9 View commit details
    Browse the repository at this point in the history
  4. fix test

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    1008490 View commit details
    Browse the repository at this point in the history
  5. simplify code

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    7c635c6 View commit details
    Browse the repository at this point in the history
  6. improve tests

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    6abb63d View commit details
    Browse the repository at this point in the history
  7. use smaller img for tests

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    d2231f1 View commit details
    Browse the repository at this point in the history
  8. fix typo

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    732328d View commit details
    Browse the repository at this point in the history
  9. add test for form field

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    6214537 View commit details
    Browse the repository at this point in the history
  10. fix examples path

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    e1fb74d View commit details
    Browse the repository at this point in the history
  11. add example of svg to png

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    911507d View commit details
    Browse the repository at this point in the history
  12. implement addStream test

    mifi committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    8fd8bab View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. upgrade tus.js to 2.2.0

    mifi committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    79d2155 View commit details
    Browse the repository at this point in the history
  2. fix lint

    mifi committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    9d828ba View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. upgrade tests to jest

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    9072ea7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9f96b5 View commit details
    Browse the repository at this point in the history
  3. Remove got's user-agent

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    478cb90 View commit details
    Browse the repository at this point in the history
  4. remove resume: true

    resuming was never implemented with tus 1.8 for node
    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    c0a6d71 View commit details
    Browse the repository at this point in the history
  5. fix test run scripts

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    dfdfee4 View commit details
    Browse the repository at this point in the history
  6. fix secrets

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    4b7fbb8 View commit details
    Browse the repository at this point in the history
  7. run integration tests in series

    Integration tests are not yet ready to run in parallel
    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    7640198 View commit details
    Browse the repository at this point in the history
  8. fix test that caused jest to hang

    it was not closing the server
    also make the test use async await
    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    c4349b4 View commit details
    Browse the repository at this point in the history
  9. increase delays

    due to error on github action
    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    599e5f5 View commit details
    Browse the repository at this point in the history
  10. try to disable failing tests

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    c629999 View commit details
    Browse the repository at this point in the history
  11. fix lint

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    df2de3e View commit details
    Browse the repository at this point in the history
  12. try to disable other test

    mifi committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    2589de4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    53d7c83 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. try to add coverage

    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    3c80c7d View commit details
    Browse the repository at this point in the history
  2. fix lint

    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    d216a5b View commit details
    Browse the repository at this point in the history
  3. fix build

    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    b1f98f7 View commit details
    Browse the repository at this point in the history
  4. use different gist account

    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    7892a3b View commit details
    Browse the repository at this point in the history
  5. Refactor and bugfixes

    - Clarify strange deleteAssembly logic
    - Also fix a bug where it would use assembly_url instead of assembly_ssl_url (which was insecure and could be mitm attacked)
    - improve logging
    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    4c8f0c7 View commit details
    Browse the repository at this point in the history
  6. fix test logic

    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    1a63fff View commit details
    Browse the repository at this point in the history
  7. unify error thrown upon existance of response.error

    it made some tests unstable because sometimes it threw new Error(result.error)
    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    810e88b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9fc5a54 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    14884cd View commit details
    Browse the repository at this point in the history
  10. improve readme examples

    mifi committed Jan 7, 2021
    Configuration menu
    Copy the full SHA
    c527f82 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2021

  1. Add more tests and remove retry

    simplify retrying
    only retry RATE_LIMIT_REACHED now
    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    21aaaea View commit details
    Browse the repository at this point in the history
  2. add extra check on retrry

    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    d0bcaf3 View commit details
    Browse the repository at this point in the history
  3. throw error also on 404

    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    f2dd8de View commit details
    Browse the repository at this point in the history
  4. Improve error handling and documentation (breaking)

    - Add assembly id to assembly error messages
    - pass on GOT errors
    - `Error.error` renamed to `Error.transloaditErrorCode`
    - `Error.assembly_id` renamed to `Error.assemblyId`
    - **All other JSON response properties from Transloadit server are removed** from the `Error` object, but can now be found in `err.response.body`.
    rest of properties can be found on under err.response?.body (e.g. err.response?.assembly_id)
    - refer to official docs more
    - improve error documentation
    - change replayAssemblyAsync(opts) -> replayAssemblyAsync(assemblyId, params)
    - change replayAssemblyNotificationAsync(opts) -> replayAssemblyNotificationAsync(assemblyId, params)
    - rename deleteAssembly->cancelAssembly
    - fix broken notifyUrl
    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    18e451b View commit details
    Browse the repository at this point in the history
  5. Add test for notify_url

    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    2fd65fa View commit details
    Browse the repository at this point in the history
  6. fix test

    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    570cce8 View commit details
    Browse the repository at this point in the history
  7. improve readme

    mifi committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    8d12e61 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2021

  1. Configuration menu
    Copy the full SHA
    d109e33 View commit details
    Browse the repository at this point in the history
  2. fix syntax error

    mifi committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    942ae7a View commit details
    Browse the repository at this point in the history
  3. Use debug module for logging

    mifi committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    44607bc View commit details
    Browse the repository at this point in the history
  4. improve readme

    mifi committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    aa0d5a3 View commit details
    Browse the repository at this point in the history
  5. improve readme

    mifi committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    991f457 View commit details
    Browse the repository at this point in the history
  6. improve createTemplate

    (json stringify is not needed)
    and improve readme
    mifi committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    4e313f9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f0e201 View commit details
    Browse the repository at this point in the history
  8. fix lint

    mifi committed Jan 10, 2021
    Configuration menu
    Copy the full SHA
    caff720 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. pull out logic

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    6ff1ed5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c343918 View commit details
    Browse the repository at this point in the history
  3. add retry example

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    41263c6 View commit details
    Browse the repository at this point in the history
  4. remove abundant timeout

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    271aa9c View commit details
    Browse the repository at this point in the history
  5. add maxRetries option

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    1497837 View commit details
    Browse the repository at this point in the history
  6. simplify

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    a501667 View commit details
    Browse the repository at this point in the history
  7. simplify

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    9090e53 View commit details
    Browse the repository at this point in the history
  8. fix undefined bug

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    80257f0 View commit details
    Browse the repository at this point in the history
  9. reuse

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    1ebb7c0 View commit details
    Browse the repository at this point in the history
  10. add timeout options and increase default timeout to 60s

    - for createAssemblyAsync
    - default timeout for all requests
    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    af38dcd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8d73175 View commit details
    Browse the repository at this point in the history
  12. convert recursion to while loop

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    146d8a4 View commit details
    Browse the repository at this point in the history
  13. add safety catch

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    9a762fa View commit details
    Browse the repository at this point in the history
  14. expose awaitAssemblyCompletion

    and add timeout for polling too
    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    a4c775e View commit details
    Browse the repository at this point in the history
  15. improve error message

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    45a4d79 View commit details
    Browse the repository at this point in the history
  16. pull out method

    mifi committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    45545fa View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    eb874f8 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2021

  1. improve readme

    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    4d45dac View commit details
    Browse the repository at this point in the history
  2. split up onProgress handler

    also simplify tests a bit
    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    e760f83 View commit details
    Browse the repository at this point in the history
  3. Warn existing callback users

    if calling createAssembly with a callback function now
    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    7df2d26 View commit details
    Browse the repository at this point in the history
  4. refactor tests

    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    be3d437 View commit details
    Browse the repository at this point in the history
  5. refactor tests

    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    675ff77 View commit details
    Browse the repository at this point in the history
  6. add assert

    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    76a92e4 View commit details
    Browse the repository at this point in the history
  7. add missing tests

    mifi committed Jan 14, 2021
    Configuration menu
    Copy the full SHA
    3f05be7 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2021

  1. return from polling instead of throwing error

    if result.ok is not ASSEMBLY_UPLOADING or ASSEMBLY_EXECUTING
    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    fe237b0 View commit details
    Browse the repository at this point in the history
  2. add test for ASSEMBLY_CANCELED

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    7865224 View commit details
    Browse the repository at this point in the history
  3. throw when createAssembly result contains "error" but 200

    also change signature of awaitAssemblyCompletion
    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    22c88c2 View commit details
    Browse the repository at this point in the history
  4. fix bug introduced

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    7187004 View commit details
    Browse the repository at this point in the history
  5. add improvements

    - throw on response.error also for replayAssembly
    - allow await replaying assembly completion
    - provide err.response.body also for errors thrown
    - improve readme
    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    b779dc1 View commit details
    Browse the repository at this point in the history
  6. add test for throw on 404

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    ccf1eed View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c4a9da View commit details
    Browse the repository at this point in the history
  8. don't throw unknown error if result.ok is not set

    this is not the task of the node-sdk
    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    45aa3e6 View commit details
    Browse the repository at this point in the history
  9. remove unfinished tests

    covered by other tests
    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0e90070 View commit details
    Browse the repository at this point in the history
  10. improve readme

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    3a85560 View commit details
    Browse the repository at this point in the history
  11. allow changing default timeout

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    0455a9e View commit details
    Browse the repository at this point in the history
  12. improve test

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    2dde464 View commit details
    Browse the repository at this point in the history
  13. add example

    mifi committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    77ad758 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2021

  1. fix readme

    mifi committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    86df65b View commit details
    Browse the repository at this point in the history
  2. simplify test

    mifi committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    a4bf05c View commit details
    Browse the repository at this point in the history
  3. make easier to log from tests

    mifi committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    11bb6c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22a3db2 View commit details
    Browse the repository at this point in the history
  5. add typescript defs to readme

    mifi committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    8ac1041 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4a66943 View commit details
    Browse the repository at this point in the history
  7. Remove undocumented fields option

    directly under createAssembly
    it was a duplicated functionality of the fields inside params
    mifi committed Jan 16, 2021
    Configuration menu
    Copy the full SHA
    8d0d5d7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f7e52b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Configuration menu
    Copy the full SHA
    afc20a0 View commit details
    Browse the repository at this point in the history
  2. remove addStream

    will be provided in legacy api
    mifi committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    515593d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    282a314 View commit details
    Browse the repository at this point in the history
  4. fix svg

    mifi committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    86f75a3 View commit details
    Browse the repository at this point in the history
  5. add TransloaditClientLegacy

    mifi committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    b0641eb View commit details
    Browse the repository at this point in the history
  6. fix node 10 whoops

    mifi committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    bfe3464 View commit details
    Browse the repository at this point in the history
  7. add reference to v2 docs

    mifi committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    707796f View commit details
    Browse the repository at this point in the history