Skip to content

Commit 22819f9

Browse files
feat(js): use build-client-streamed for JS SDK
Switch JavaScript SDK build to use build-client-streamed target (like Python SDK). This includes the streaming endpoints in the generated SDK. Changes: - Makefile: build-client-js uses build-client-streamed instead of build-client This allows the JS SDK to include StreamedListObjects endpoint while custom code in js-sdk repo (common.ts, client.ts) implements the streaming logic. Related: - openfga/js-sdk#280 - #76
1 parent 19d1271 commit 22819f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ test-client-js: build-client-js
6868

6969
.PHONY: build-client-js
7070
build-client-js:
71-
make build-client sdk_language=js tmpdir=${TMP_DIR}
71+
make build-client-streamed sdk_language=js tmpdir=${TMP_DIR}
7272
sed -i -e "s|_this|this|g" ${CLIENTS_OUTPUT_DIR}/fga-js-sdk/*.ts
7373
sed -i -e "s|_this|this|g" ${CLIENTS_OUTPUT_DIR}/fga-js-sdk/*.md
7474
rm -rf ${CLIENTS_OUTPUT_DIR}/fga-js-sdk/*-e

0 commit comments

Comments
 (0)