64 Commits

Author SHA1 Message Date
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
badayvedat
21bb392a19 fix: type updates 2024-06-06 18:54:09 +03:00
badayvedat
fc461ed48b feat: add comfy namespace and update comfy examples 2024-06-06 18:34:57 +03: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
Sunil Pai
501663a311 fix: don't crash inside cloudflare workers 2023-12-05 11:43:47 +00: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
Daniel Rochetti
a6624f4487
fix: serverless-client doc references 2023-11-21 13:26:51 -08:00
Daniel Rochetti
c5840192da
feat(client): allow to disable auto-upload 2023-11-20 09:13:18 -08:00
Daniel Rochetti
24727b61aa
chore: release client 0.5.3 2023-11-18 13:50:14 -08:00
Burkay Gur
09c77be1f2
feat(client): add metrics to queue status (#27)
* Add metrics to queue status

* Update libs/client/src/types.ts

Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>

---------

Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>
2023-11-18 13:46:39 -08:00
Daniel Rochetti
7f2bb5e77d
feat(client): webhook url support on queue submit (#26) 2023-11-10 10:25:38 -08:00
Daniel Rochetti
2d027fe7a6
fix(client): data uri upload filename (#23) 2023-11-08 21:05:27 -08:00
Daniel Rochetti
78ffa58162
feat: client file upload (#18)
* feat: client file upload

* feat: signed upload

* fix: add multipart header

* fix: remove unused file

* chore(wip): own signature impl

* feat: use gcs presigned upload

* fix: invalid export

* fix: rest api host url

* feat: final upload logic and sample
2023-11-02 19:30:46 -07:00
Daniel Rochetti
3a98fd6d0f
feat: next proxy app router support (#22)
* feat: add nextjs app router support

* chore: rename nextjs page router demo

* feat: support nextjs app router with example

* chore(proxy): bump to 0.4.0

* chore: update package-lock.json

* chore: remove formidable

* chore: update package-lock.json

* fix: page export

* fix: type issues

* fix: remove comment

* fix: eslint any warning

* chore: client version bump 0.4.2
2023-10-30 09:01:15 -07:00
Daniel Rochetti
759d58a306
fix(client): queue status path (#21) 2023-10-27 10:42:00 -07:00
Daniel Rochetti
4797a8d4c4
fix(client): queue path support (#20) 2023-10-27 10:25:38 -07:00
Matteo Ferrando
c0d2c94f3c lint 2023-10-26 13:48:16 -04:00
Matteo Ferrando
347a6d118a default to false 2023-10-26 13:18:15 -04:00
Matteo Ferrando
1ee2832e2b comments 2023-10-25 12:53:13 -04:00
Matteo Ferrando
48829672cb
Update libs/client/src/function.ts
Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>
2023-10-25 12:43:33 -04:00