@rebasepro/client 0.11.0 → 0.11.1-canary.g8caabf3
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 +4 -4
- package/src/collection.test.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.1-canary.g8caabf3",
|
|
5
5
|
"description": "HTTP SDK client for the Rebase custom backend",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/rebaseco"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@rebasepro/common": "0.11.
|
|
33
|
-
"@rebasepro/
|
|
34
|
-
"@rebasepro/
|
|
32
|
+
"@rebasepro/common": "0.11.1-canary.g8caabf3",
|
|
33
|
+
"@rebasepro/utils": "0.11.1-canary.g8caabf3",
|
|
34
|
+
"@rebasepro/types": "0.11.1-canary.g8caabf3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@jest/globals": "^30.4.1",
|
package/src/collection.test.ts
CHANGED
|
@@ -144,7 +144,7 @@ hasMore: false }
|
|
|
144
144
|
// Flat row access — no .values wrapper
|
|
145
145
|
expect(result.data[0].id).toBe("1");
|
|
146
146
|
expect((result.data[0] as Record<string, unknown>).name).toBe("Product A");
|
|
147
|
-
// No path field — that's
|
|
147
|
+
// No path field — that's admin leakage
|
|
148
148
|
expect((result.data[0] as Record<string, unknown>).path).toBeUndefined();
|
|
149
149
|
expect(result.meta.total).toBe(1);
|
|
150
150
|
});
|