Skip to content

Commit 7eded08

Browse files
committed
update to latest rxfire
1 parent 8f8fd08 commit 7eded08

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"typescript": "^4.2.4"
102102
},
103103
"dependencies": {
104-
"rxfire": "^6.0.0",
104+
"rxfire": "^6.0.2",
105105
"rxjs": "^6.6.3 || ^7.0.1"
106106
},
107107
"resolutions": {

src/functions.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ export function useCallableFunctionResponse<RequestData, ResponseData>(
2020
const functions = useFunctions();
2121
const observableId = `functions:callableResponse:${functionName}:${JSON.stringify(options?.data)}:${JSON.stringify(options?.httpsCallableOptions)}`;
2222
const obsFactory = rxHttpsCallable<RequestData, ResponseData>(functions, functionName, options?.httpsCallableOptions);
23-
24-
//@ts-expect-error because RxFire doesn't make data optional. Remove when https://github.com/FirebaseExtended/rxfire/pull/34 is released.
2523
const observable$ = obsFactory(options?.data);
2624

2725
return useObservable(observableId, observable$, options);

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10637,10 +10637,10 @@ run-queue@^1.0.0, run-queue@^1.0.3:
1063710637
dependencies:
1063810638
aproba "^1.1.1"
1063910639

10640-
rxfire@^6.0.0:
10641-
version "6.0.0"
10642-
resolved "https://registry.yarnpkg.com/rxfire/-/rxfire-6.0.0.tgz#298d6bba7963d2338a51bac6930c88192e345a42"
10643-
integrity sha512-COpH7vtMrxc+iKqUS1A6CEZMJwIpMM/3H1jnKjYAhzhHQG1YaJYH4Q8EcMMNd0ZX7l8ag6hW1ppoB7j9ctJyfA==
10640+
rxfire@^6.0.2:
10641+
version "6.0.2"
10642+
resolved "https://registry.yarnpkg.com/rxfire/-/rxfire-6.0.2.tgz#2edf59e1b35401503e1bef368c40cbc17f1afb53"
10643+
integrity sha512-4Ob30tYy88sEDk92QzKznVvNjB13T0Z30aCC5hWkekaW2SzR3OHr4LO74IFGw7c/PoDUmQTzwwnncjq56pfOrQ==
1064410644
dependencies:
1064510645
tslib "^1.9.0 || ~2.1.0"
1064610646

0 commit comments

Comments
 (0)