Commit Graph

10 Commits

Author SHA1 Message Date
dependabot[bot] 430654e0b0 build(deps): bump node-fetch from 3.3.1 to 3.3.2 (#166)
* build(deps): bump node-fetch from 3.3.1 to 3.3.2

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Rebuild distributable

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-07-26 18:21:33 +01:00
Iain Sproat f761cbf854 tests(integration): mock server validates requests (#130)
* tests(integration): mock server validates requests

* chore(logging): improve error message

* more logging improvements

* fix logging which failed if response was not json

* Use createError method in mock server

* Improve mock server error presentation

* Add speckle_function_command to integration test using github action

* fix broken merge; ours strategy was too agressive

* Resolve 'a sequence was not expected' error message in main.yml

* Tidy up commit to match existing in main

* use tag if available, otherwise commit sha.
2023-06-23 15:58:26 +02:00
Gergő Jedlicska 1008ed0ee1 use commmit sha as version 2023-06-22 18:22:19 +02:00
Gergő Jedlicska 43e56a8ca7 compile action 2023-06-22 17:41:25 +02:00
Iain Sproat 17d75370e8 GitHub action should match server (#94)
* fix(response): should match server
2023-05-19 13:24:09 +01:00
Iain Sproat 6365357c7c fix(post schema): match server expectations (#93)
* fix(post schema): match server expectations
* Update example specklefunction
* remove steps property from specklefunction definition
2023-05-19 13:05:36 +01:00
dependabot[bot] 89d7932ec2 build(deps): bump zod-validation-error from 1.1.0 to 1.2.1 (#30)
* build(deps): bump zod-validation-error from 1.1.0 to 1.2.1

Bumps [zod-validation-error](https://github.com/causaly/zod-validation-error) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/causaly/zod-validation-error/releases)
- [Changelog](https://github.com/causaly/zod-validation-error/blob/main/CHANGELOG.md)
- [Commits](https://github.com/causaly/zod-validation-error/compare/v1.1.0...v1.2.1)

---
updated-dependencies:
- dependency-name: zod-validation-error
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(dist): update generated files in dist directory

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-04-04 18:12:55 +01:00
Iain Sproat 336f03c1ed feat(client): The client should retry (#16)
* feat(client): implement backoff retries

* feat(client): retries are implemented with exponential backoff & jitter
2023-03-24 22:04:45 +00:00
Iain Sproat 1fceda4724 test(coverage): 100% test coverage & refactor to vitest and msw (#6)
* chore(refactor): tests use vitest and msw
* fix(directory): Ensure filenames conform to eslint requirements
* chore(yarn): Specify node engine version
* fix(yarn): use the proper nodelinker
* fix(GitHub workflow): yarn install with caching
* docs(README): update to match changes

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2023-03-23 15:37:32 +00:00
Iain Sproat 1f8e68e47b Reorganise ./dist directory and move ./mockserver (#5)
* Reorganise ./dist directory and move ./mockserver

* fix(pre-commit): remove exclusions for non-existent directories
2023-03-21 23:29:58 +00:00