@prettier-ai/dsh-client-ui-session 0.1.2-alpha.3 → 0.1.2-alpha.4
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.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/package.json +6 -12
- package/lib/invariant.js +0 -16
- package/lib/types/invariant.d.ts +0 -13
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-session/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 75fd792866afc29c6c99fd0879588e80b75b22dc
|
|
6
|
+
README.zh.md: bad90a7602bf097a3ba24e7a39c7cb8e5776d141
|
package/README.md
CHANGED
package/README.zh.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prettier-ai/dsh-client-ui-session",
|
|
3
3
|
"description": "Session Controller adapter for React and session-scoped slots",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
"types": "./lib/types/index.d.ts",
|
|
19
19
|
"default": "./lib/index.js"
|
|
20
20
|
},
|
|
21
|
-
"./invariant": {
|
|
22
|
-
"types": "./lib/types/invariant.d.ts",
|
|
23
|
-
"default": "./lib/invariant.js"
|
|
24
|
-
},
|
|
25
21
|
"./client": {
|
|
26
22
|
"types": "./lib/types/client/index.d.ts",
|
|
27
23
|
"default": "./lib/client.js"
|
|
@@ -45,17 +41,15 @@
|
|
|
45
41
|
"devDependencies": {
|
|
46
42
|
"@types/react": "~18.3.1",
|
|
47
43
|
"react": "^18.2.0",
|
|
48
|
-
"@prettier-ai/dsh-
|
|
49
|
-
"@prettier-ai/dsh-client-
|
|
44
|
+
"@prettier-ai/dsh-api-session-controller": "^0.1.2-alpha.4",
|
|
45
|
+
"@prettier-ai/dsh-client-store": "^0.1.2-alpha.4",
|
|
46
|
+
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.4",
|
|
50
47
|
"@prettier-ai/cordis": "^4.0.2",
|
|
51
|
-
"@prettier-ai/dsh-
|
|
52
|
-
"@prettier-ai/dsh-
|
|
53
|
-
"@prettier-ai/dsh-invariants": "^0.1.2-alpha.3",
|
|
54
|
-
"@prettier-ai/dsh-session": "^0.1.2-alpha.3"
|
|
48
|
+
"@prettier-ai/dsh-session": "^0.1.2-alpha.4",
|
|
49
|
+
"@prettier-ai/dsh-client-ui-renderer": "^0.1.2-alpha.4"
|
|
55
50
|
},
|
|
56
51
|
"files": [
|
|
57
52
|
"lib/index.js",
|
|
58
|
-
"lib/invariant.js",
|
|
59
53
|
"lib/client.js",
|
|
60
54
|
"lib/types/**/*.d.ts"
|
|
61
55
|
],
|
package/lib/invariant.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
const PACKAGE_NAME = "@prettier-ai/dsh-client-ui-session";
|
|
3
|
-
/** Cordis companion plugin name. */
|
|
4
|
-
const name = "client-ui-session-invariant";
|
|
5
|
-
/** Service required before the companion reserves package ownership. */
|
|
6
|
-
const inject = ["invariants"];
|
|
7
|
-
/** No runtime invariant: the adapter materialization path enforces Session binding consistency. */
|
|
8
|
-
const install = () => {};
|
|
9
|
-
/**
|
|
10
|
-
* Register this package's invariant companion.
|
|
11
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
12
|
-
* @returns the installed registration's disposer.
|
|
13
|
-
*/
|
|
14
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
15
|
-
//#endregion
|
|
16
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** Package-owned invariant companion for the Session UI adapter. */
|
|
2
|
-
import type { Context } from '@prettier-ai/cordis';
|
|
3
|
-
/** Cordis companion plugin name. */
|
|
4
|
-
export declare const name = "client-ui-session-invariant";
|
|
5
|
-
/** Service required before the companion reserves package ownership. */
|
|
6
|
-
export declare const inject: string[];
|
|
7
|
-
/**
|
|
8
|
-
* Register this package's invariant companion.
|
|
9
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
10
|
-
* @returns the installed registration's disposer.
|
|
11
|
-
*/
|
|
12
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
13
|
-
//# sourceMappingURL=invariant.d.ts.map
|