@brendanbank/atrium-host-bundle-utils 0.31.4 → 0.32.0
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/README.md +2 -2
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.d.ts.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -111,8 +111,8 @@ or hosts that want axios-shaped retry).
|
|
|
111
111
|
|
|
112
112
|
## Versioning
|
|
113
113
|
|
|
114
|
-
The package version tracks atrium's image version. Pin `^0.
|
|
115
|
-
"compatible with atrium 0.
|
|
114
|
+
The package version tracks atrium's image version. Pin `^0.32` for
|
|
115
|
+
"compatible with atrium 0.32.x"; bump together with the atrium image
|
|
116
116
|
to pick up new registry slots and SDK helpers.
|
|
117
117
|
|
|
118
118
|
## See also
|
package/dist/react/index.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare function AtriumProvider({ client, fetchUserContext, children, }:
|
|
|
50
50
|
/** Stable cache key for the `/users/me/context` query. Exported so
|
|
51
51
|
* hosts can `queryClient.invalidateQueries({ queryKey: ME_QUERY_KEY })`
|
|
52
52
|
* after a flow that changed the user's roles or permissions. */
|
|
53
|
-
export declare const ME_QUERY_KEY: readonly [
|
|
53
|
+
export declare const ME_QUERY_KEY: readonly ['atrium', 'me'];
|
|
54
54
|
/** Fetch the signed-in user's RBAC context. Returns the standard
|
|
55
55
|
* TanStack Query result so callers can surface loading and error
|
|
56
56
|
* states — `data` is `null` when the user is not signed in (atrium
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EACV,iBAAi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ACzB,IAAI,CAeR;AAED;;kDAEkD;AAClD,wBAAgB,kCAAkC,IAAI,IAAI,CAEzD;AAkDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAqCyC;AACzC,wBAAgB,aAAa,IAAI,sBAAsB,CAMtD;AAED;;kDAEkD;AAClD,wBAAgB,8BAA8B,IAAI,IAAI,CAErD;AAmDD;;;;;;;;;;;;;;;;;;;;;;;;;;gDA0BgD;AAChD,wBAAgB,oBAAoB,IAAI,iBAAiB,CAMxD;AAED;4EAC4E;AAC5E,wBAAgB,qCAAqC,IAAI,IAAI,CAE5D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brendanbank/atrium-host-bundle-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"description": "Runtime helpers, Vite preset, and React hooks for atrium host bundles. Wraps the dual-tree mount pattern, the host-bundle Vite library config, and the /api/users/me/context hook so a host's main.tsx is ~10 lines of registration calls.",
|
|
5
5
|
"license": "BSD-2-Clause",
|
|
6
6
|
"type": "module",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@brendanbank/atrium-host-types": "0.
|
|
28
|
+
"@brendanbank/atrium-host-types": "0.32.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@tanstack/react-query": "^5.0.0",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@tanstack/react-query": "^5.100.5",
|
|
47
|
-
"@testing-library/jest-dom": "^
|
|
47
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
48
48
|
"@testing-library/react": "^16.3.2",
|
|
49
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^26.6.5",
|
|
50
50
|
"@types/react": "^19.2.14",
|
|
51
51
|
"@types/react-dom": "^19.2.3",
|
|
52
|
-
"jsdom": "^
|
|
53
|
-
"msw": "^
|
|
52
|
+
"jsdom": "^30.1.3",
|
|
53
|
+
"msw": "^3.0.3",
|
|
54
54
|
"react": "^19.2.5",
|
|
55
55
|
"react-dom": "^19.2.5",
|
|
56
|
-
"typescript": "^
|
|
56
|
+
"typescript": "^7.0.2",
|
|
57
57
|
"vite": "^8.3.5",
|
|
58
|
-
"vite-plugin-css-injected-by-js": "^
|
|
58
|
+
"vite-plugin-css-injected-by-js": "^5.0.2",
|
|
59
59
|
"vitest": "^5.0.0"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|