65 Commits

Author SHA1 Message Date
Daniel Rochetti
2f8f702bbe
chore(client): update endpoint types 2025-01-23 (#123)
* chore(client): update endpoint types 2025-01-23

* chore(docs): update api reference
2025-01-23 16:18:25 -08:00
Daniel Rochetti
2b3fe03a30
chore(client): update endpoint types 2025-01-10 (#119)
* chore(client): update endpoint types 2025-01-10

* chore(docs): update reference docs
2025-01-10 09:30:53 -08:00
Daniel Rochetti
cec9fa5221
chore(client): update endpoint types (#116)
* chore(client): update endpoint types

* chore: update ref docs
2024-12-05 10:22:34 -08:00
Daniel Rochetti
a1c780a601
chore(client): prepare 1.2.0 release 2024-11-25 18:11:14 -08:00
Daniel Rochetti
1b5b50f8e3
feat(client): request abort signal support (#112)
* feat(client): request abort signal support

* fix: lint errors
2024-11-25 18:07:21 -08:00
Matteo Ferrando
9170021b77
feat: automatically do multi-part upload on 90+ MB files (#111)
* feat: introduce fal cdn v3 with storage API

* feat: automatically do multi-part upload on 90+ MB files

* fix: use new API from CDN

* alpha

* fix: include dependency

* chore: bump alpha

* refactor: remove semaphore

* refactor: remove console
2024-11-25 17:27:27 -08:00
Daniel Rochetti
840a305dfa
chore: bump version for client release 2024-11-21 13:07:35 -08:00
Daniel Rochetti
8c24bdf905
chore(lib): update endpoint types (#105)
* chore(lib): update endpoint types

* chore(docs): update client api reference docs
2024-11-19 09:39:12 -08:00
Daniel Rochetti
642f0b8b66
fix(client): queue client type safety (#103)
* fix(client): queue client type safety

* chore: update reference docs
2024-11-13 12:42:07 -08:00
Daniel Rochetti
ecded55c2f
feat(client): endpoint type definitions (#102)
* feat(client): endpoint type definitions

* fix(client): endpoint generation

* fix(demo): streaming page type

* chore: update reference docs

* chore: prepare client release

* chore: update reference docs
2024-11-13 00:16:08 -08:00
Daniel Rochetti
cd298d15b7
fix(client): resolve streaming promise on abort (#99)
* fix(client): resolve streaming promise on abort

* chore(docs): update client api reference
2024-10-30 20:17:57 -07:00
Daniel Rochetti
48bb6b3a50
fix(client): streaming abort error handling (#98) 2024-10-28 21:06:38 -07:00
Daniel Rochetti
83e21ef9ca
fix(client): auto request id on realtime client (#94)
* fix(client): auto request id on realtime client

Removed since some endpoints may fail when that field is present.
Fallback to user provided request id when needed.

* chore(client): update reference docs
2024-10-16 11:01:05 -07:00
Daniel Rochetti
0e26b8e098
fix(client): close realtime connection programmatically (#93)
* fix(client): close realtime connection programmatically

* chore(docs): api reference update
2024-10-10 13:33:45 -07:00
Daniel Rochetti
543b9208eb
feat: 1.0.0 release (#91)
* chore(client): rename function module

* chore: allow client to be created multiple times

singleton client is not the default but it still present as a compatibility layer

* chore: update docs

* feat(client): improved result typing

* chore: update demo app code

* chore: updated reference docs

* chore: update proxy code

* chore: alpha release

* chore: fix lint staged rule

* chore: clean-up docs

* chore: reference docs updated
2024-10-07 12:54:30 -07:00
Daniel Rochetti
39089b2462
feat(client): support http method in req middleware (#87)
* feat(client): support http method in req middleware

* fix(client): fix required property
2024-09-19 08:19:09 -07:00
Daniel Rochetti
b3ab5f0e15
fix(client): local creds warning on resolvers (#83) 2024-08-07 17:06:13 -07:00
Daniel Rochetti
c3a3c3d21a
chore: upgrade dependencies and tooling (#81)
* chore: remove uuid-random dependency

* chore: upgrade prettier

* chore(client): bump version for release
2024-08-07 15:45:15 -07:00
Daniel Rochetti
4eb8111cdc
fix(client): global reference when accessing fetch (#80) 2024-08-07 12:08:55 -07:00
Daniel Rochetti
3965a5d184
feat(client): local credentials warning suppress option (#79)
* feat(client): local credentials warning suppress option

* chore(client): bump version and release alpha
2024-08-07 10:18:27 -07:00
Daniel Rochetti
6edbf2948d
feat(client): binary chunk streaming support (#77)
* feat(client): binary chunk streaming support

* fix: buffer update

* fix: audio playing

* fix: media resource setup

* feat: allow streaming through the proxy

* fix: legacy urls env

* feat: streaming connection mode

* chore: bump client alpha version

* feat(proxy): enable response streaming when supported

* fix: queue streaming

* chore: deprecated endpoint id cleanup

* fix: client tests

* chore: demo page updates

* chore: bump version for release
2024-08-06 09:09:40 -07:00
Daniel Rochetti
d9ea6c7dd3
feat(client): subscribe to status (#76)
* feat(client): subscribe to status

* fix(client): timeout id type
2024-07-23 10:41:44 -07:00
Daniel Rochetti
903af74da1
feat: queue cancel support (#75)
* feat(client): queue request cancel support

* feat(proxy): add mapping to put requests
2024-07-22 12:59:45 -07:00
Daniel Rochetti
2839e796db
feat(client): allow custom fetch impl (#74)
* feat(client): allow custom fetch impl

* fix(samples): remove test call

* fix: proxy middleware order

* chore(demo): switch to queue polling by default
2024-07-22 12:54:44 -07:00
Daniel Rochetti
cf300e9cc0
fix(client): remove auto-upload of data uri (#73) 2024-07-11 08:49:14 -07:00
Daniel Rochetti
ab210d9da4
feat(client): enable both polling and streaming for queue status (#72) 2024-07-11 08:41:46 -07:00
Daniel Rochetti
4ea43b4cea
feat(client): stream queue status (#71)
* feat(client): stream queue status

* chore: remove console log

* fix: accumulative logs when streaming

* fix(client): stream logs on queue update

* chore(apps): remove pollInterval from sample apps
2024-06-25 15:00:01 -07:00
Daniel Rochetti
c7910163a7
chore(client): bump client version to 0.11.0 2024-06-11 09:45:40 -07:00
Daniel Rochetti
f7d9dec1aa
fix(client): remove trailing slash from url with params (#68) 2024-06-05 09:53:58 -07:00
Daniel Rochetti
8fc0b726c2
fix(client): add webhookUrl to subscribe options (#67)
* fix(client): add webhookUrl to subscribe options

* chore(client): bump version for release
2024-06-04 15:20:32 -07:00
Daniel Rochetti
cd2089768d
fix(client): storage upload array (#66) 2024-06-02 11:07:50 -07:00
Daniel Rochetti
5f15da9d83
feat(client): realtime msgpack payload (#65)
* feat(client): realtime msgpack payload

* chore: update realtime samples
2024-05-08 15:16:01 -07:00
Daniel Rochetti
18eb6ec28d
fix: check type before trying to upload (#63) 2024-04-16 18:02:50 -07:00
Daniel Rochetti
9262814578
feat: support recursive auto-upload (#62) 2024-04-15 08:33:38 -07:00
Daniel Rochetti
dfeb8689f4
feat: support app id with namespaces (#61)
* feat: support app id with namespaces

* chore: remove unwanted page

* fix: queue status url

* chore: bump version for release
2024-04-06 01:19:38 -07:00
Daniel Rochetti
335b817e9c
feat(client): add streaming support (#56)
* feat(client): add streaming support

* fix: variable type definition

* chore: add docs

* chore: bump to client 0.9.0
2024-03-06 08:44:04 -08:00
Daniel Rochetti
6d112c89c5
fix: connection timeout error (#55) 2024-02-26 14:28:50 -08:00
Daniel Rochetti
c3173cfa00
fix: queue submit app id (#52)
* fix: queue submit app id

* chore: bump client version
2024-02-21 08:26:22 -08:00
Daniel Rochetti
e0b7627f7a
feat(client): app id with path + realtime url (#51)
* feat: app id + path format support

* chore: bump client to 0.8.4
2024-02-20 18:59:37 -08:00
Vedat Baday
66d817b2a6
fix: nested blob upload (#48)
* fix: nested blob upload

* refactor: export to a utility function

* chore: bump version to 0.8.3
2024-02-15 16:30:00 -08:00
Daniel Rochetti
0f8efecf65
chore: publish create app cli (#44)
* chore: move folder to match package name

* chore: update dependencies
2024-01-18 11:06:28 -08:00
Daniel Rochetti
6cb27c0ca5
chore: release client 0.8.2 (#43)
* chore: client release 0.8.2

* fix: domain check on proxy
2024-01-16 09:47:39 -08:00
Daniel Rochetti
07f1b125f7
feat: fal.run url support (#40)
* feat: fal.run url support

* feat: new queue url format

* fix: build issue

* chore: change demo app ids
2024-01-15 15:14:21 -08:00
Daniel Rochetti
208073ce17
fix: react native uuid compatibility (#39) 2023-12-21 11:49:44 -08:00
Daniel Rochetti
f7e7541738
fix: msgpack dependency changed (#38)
* fix: msgpack dependency changed

* fix: textencoder polyfill for jest
2023-12-18 12:18:12 -08:00
Daniel Rochetti
6a89dd1ba0
fix(client): wrong usage of Buffer (#37) 2023-12-14 09:19:06 -08:00
Daniel Rochetti
e5cfd8ee38
feat: binary messages through ws + camera demo (#34)
* feat: binary messages through ws + camera demo

* chore: prepare release
2023-12-12 10:03:49 -08:00
Daniel Rochetti
6ad41e1bfa
feat(client): realtime state machine impl (#32)
* fix: connection state handling

* chore: reset token expiration

* feat: state machine experiment

* feat: new realtime state machine impl

* chore: update client to 0.7.0 before release

* fix: error handling x-fal-error

* chore(client): release v0.7.0

* fix(client): strict type check error
2023-12-04 14:44:56 -08:00
Daniel Rochetti
c020d97acd
fix: reconnect token state (#31) 2023-11-29 08:55:40 -08:00
Daniel Rochetti
145159a12f
feat(client): realtime client (#29)
* feat(client): realtime client

* chore: alpha release

* fix: remove os requirement

* fix: check if process is defined

* fix: ws connection key

* fix: outgoing request throttling logic

* chore: 0.6.0.alpha.4 release

* chore: update realtime demo

* chore: update preloaded scene

* feat: auth wip

* fix: compilation issue

* feat: basic auth impl missing error handling

* chore: remove console.log prepare 0.6.0

* fix: remove unsused code
2023-11-27 09:43:37 -08:00