@ayni.org/ayni-ui-core 0.1.0 → 0.3.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 +14 -0
- package/dist/appLinks.d.ts +42 -0
- package/dist/appLinks.js +120 -0
- package/dist/conversationDesign.d.ts +167 -0
- package/dist/conversationDesign.js +125 -0
- package/dist/flag.d.ts +2 -0
- package/dist/flag.js +7 -0
- package/dist/homeDesign.d.ts +242 -0
- package/dist/homeDesign.js +99 -0
- package/dist/index.d.ts +29 -4
- package/dist/index.js +35 -16
- package/dist/proofOfTrustDesign.d.ts +350 -0
- package/dist/proofOfTrustDesign.js +264 -0
- package/dist/reducer.d.ts +3 -1
- package/dist/reducer.js +17 -1
- package/dist/types.d.ts +7 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export interface ControllerRecord {
|
|
|
40
40
|
countryCode?: string;
|
|
41
41
|
pinned: boolean;
|
|
42
42
|
pinOrder: number;
|
|
43
|
+
/** when one of its agents first issued the person a credential, known from a completed `issue` flow card (D37) */
|
|
44
|
+
identifiedAt?: string;
|
|
43
45
|
}
|
|
44
46
|
export interface AgentRecord {
|
|
45
47
|
did: string;
|
|
@@ -139,12 +141,14 @@ export interface Transcript {
|
|
|
139
141
|
complete: boolean;
|
|
140
142
|
/** the run in progress, if any (one at a time per session, UI-CONV-003) */
|
|
141
143
|
run: RunProgress | null;
|
|
144
|
+
/** trust-bound events being served on the phone (UI-CAP-001); `flowId` when served as a flow (PROF-MAP-007) */
|
|
142
145
|
routed: Record<string, {
|
|
143
146
|
kind: string;
|
|
144
147
|
challengeType?: string;
|
|
145
148
|
status: string;
|
|
146
149
|
message?: string;
|
|
147
150
|
at: string;
|
|
151
|
+
flowId?: string;
|
|
148
152
|
}>;
|
|
149
153
|
/** current reactions per message, one per person (UI-CONV-011) */
|
|
150
154
|
reactions: Record<string, {
|
|
@@ -180,6 +184,9 @@ export interface RuntimeConfig {
|
|
|
180
184
|
defaultLocale?: string;
|
|
181
185
|
soundsEnabled: boolean;
|
|
182
186
|
installPromptEnabled: boolean;
|
|
187
|
+
/** store pages of the Ayni app, shown by the web fallback of an app link (CC-WEB-002); absent until published */
|
|
188
|
+
appStoreUrl?: string;
|
|
189
|
+
playStoreUrl?: string;
|
|
183
190
|
}
|
|
184
191
|
export interface BrandConfig {
|
|
185
192
|
appName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ayni.org/ayni-ui-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Framework-independent core of the Ayni UI (UI-SHELL-004): agents and controllers, trust resolution, sessions and binding, the conversation reducer, the local store and sync; shared by the browser UI and the Ayni app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|