@fluxbase/sdk-react 2026.2.1 → 2026.2.2-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/use-saml.test.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxbase/sdk-react",
|
|
3
|
-
"version": "2026.2.
|
|
3
|
+
"version": "2026.2.2-rc.2",
|
|
4
4
|
"description": "React hooks for Fluxbase SDK",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@fluxbase/sdk": "^2026.
|
|
42
|
+
"@fluxbase/sdk": "^2026.2.2-rc.2",
|
|
43
43
|
"@tanstack/react-query": "^5.90.20",
|
|
44
44
|
"react": "^18.0.0 || ^19.0.0"
|
|
45
45
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@testing-library/react": "^16.3.2",
|
|
51
51
|
"@types/react": "^19.2.10",
|
|
52
52
|
"@vitest/coverage-v8": "^4.0.18",
|
|
53
|
-
"jsdom": "^
|
|
53
|
+
"jsdom": "^28.0.0",
|
|
54
54
|
"prettier": "^3.8.1",
|
|
55
55
|
"react": "^19.2.4",
|
|
56
56
|
"react-dom": "^19.2.4",
|
package/src/use-saml.test.ts
CHANGED
|
@@ -179,7 +179,7 @@ describe('useHandleSAMLCallback', () => {
|
|
|
179
179
|
|
|
180
180
|
expect(handleSAMLCallbackMock).toHaveBeenCalledWith('base64-response', undefined);
|
|
181
181
|
expect(response).toEqual(mockResult);
|
|
182
|
-
expect(result.current.isSuccess).toBe(true);
|
|
182
|
+
await waitFor(() => expect(result.current.isSuccess).toBe(true));
|
|
183
183
|
});
|
|
184
184
|
|
|
185
185
|
it('should pass provider to callback handler', async () => {
|