@object-ui/data-objectstack 5.3.2 → 5.4.1
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/CHANGELOG.md +15 -0
- package/package.json +4 -4
- package/src/connection.test.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @object-ui/data-objectstack
|
|
2
2
|
|
|
3
|
+
## 5.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @object-ui/types@5.4.1
|
|
8
|
+
- @object-ui/core@5.4.1
|
|
9
|
+
|
|
10
|
+
## 5.4.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [3a8c754]
|
|
15
|
+
- @object-ui/types@5.4.0
|
|
16
|
+
- @object-ui/core@5.4.0
|
|
17
|
+
|
|
3
18
|
## 5.3.2
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@object-ui/data-objectstack",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "ObjectStack Data Adapter for Object UI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"LICENSE"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@objectstack/client": "^
|
|
26
|
-
"@object-ui/core": "5.
|
|
27
|
-
"@object-ui/types": "5.
|
|
25
|
+
"@objectstack/client": "^5.2.0",
|
|
26
|
+
"@object-ui/core": "5.4.1",
|
|
27
|
+
"@object-ui/types": "5.4.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"tsup": "^8.5.1",
|
package/src/connection.test.ts
CHANGED
|
@@ -139,7 +139,7 @@ describe('getDiscovery', () => {
|
|
|
139
139
|
expect(discovery).toEqual(mockDiscovery);
|
|
140
140
|
expect((discovery as any)?.services?.auth?.enabled).toBe(false);
|
|
141
141
|
expect(fetchImpl).toHaveBeenCalledTimes(1);
|
|
142
|
-
expect(fetchImpl.mock.calls[0][0]).toContain('/api/v1/discovery');
|
|
142
|
+
expect((fetchImpl.mock.calls[0] as unknown as unknown[])[0]).toContain('/api/v1/discovery');
|
|
143
143
|
});
|
|
144
144
|
|
|
145
145
|
it('should return null when connection fails', async () => {
|