@hiver/connector-agent 4.14.0-beta.0 → 4.14.0-multiRef-beta.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.
Files changed (65) hide show
  1. package/app/connector-cards.d.ts.map +1 -1
  2. package/app/email-logger/index.d.ts.map +1 -1
  3. package/app/index.d.ts.map +1 -1
  4. package/app/integration-sense/index.d.ts.map +1 -1
  5. package/app/omni-email-logger/index.d.ts.map +1 -1
  6. package/app/provider.d.ts.map +1 -1
  7. package/features/connector-cards/components/card-list/card-content-value.d.ts +2 -2
  8. package/features/connector-cards/components/card-list/card-content-value.d.ts.map +1 -1
  9. package/features/connector-cards/components/card-list/list-item-modal.d.ts.map +1 -1
  10. package/features/connector-cards/components/card-list/style.d.ts +2 -0
  11. package/features/connector-cards/components/card-list/style.d.ts.map +1 -1
  12. package/features/connector-cards/constants/api.d.ts +0 -2
  13. package/features/connector-cards/constants/api.d.ts.map +1 -1
  14. package/features/connector-cards/utils.d.ts +1 -0
  15. package/features/connector-cards/utils.d.ts.map +1 -1
  16. package/features/toast-message/ToastRoot.d.ts +8 -0
  17. package/features/toast-message/ToastRoot.d.ts.map +1 -0
  18. package/features/toast-message/showMessage.d.ts.map +1 -1
  19. package/features/write-form/components/map-form-defaults/index.d.ts.map +1 -1
  20. package/features/write-form/components/write-form/index.d.ts.map +1 -1
  21. package/features/write-form/store/slice.d.ts.map +1 -1
  22. package/features/write-form/types/form.d.ts +1 -0
  23. package/features/write-form/types/form.d.ts.map +1 -1
  24. package/features/write-form/utils/response.d.ts.map +1 -1
  25. package/index.es.js +15074 -15378
  26. package/index.umd.js +1882 -1923
  27. package/package.json +2 -5
  28. package/store/hooks.d.ts +0 -2
  29. package/store/hooks.d.ts.map +1 -1
  30. package/store/index.d.ts +0 -6
  31. package/store/index.d.ts.map +1 -1
  32. package/store/slice.d.ts +4 -4
  33. package/store/slice.d.ts.map +1 -1
  34. package/testing/mocks/handlers/fetch-cards.d.ts +2 -2
  35. package/testing/mocks/handlers/fetch-cards.d.ts.map +1 -1
  36. package/testing/mocks/handlers/write-capability.d.ts.map +1 -1
  37. package/testing/mocks/handlers.d.ts.map +1 -1
  38. package/types/cards.d.ts +6 -6
  39. package/types/cards.d.ts.map +1 -1
  40. package/types/form.d.ts +2 -1
  41. package/types/form.d.ts.map +1 -1
  42. package/utils/form.d.ts +3 -3
  43. package/utils/form.d.ts.map +1 -1
  44. package/features/connector-cards/api/userAuth.d.ts +0 -25
  45. package/features/connector-cards/api/userAuth.d.ts.map +0 -1
  46. package/features/connector-cards/components/card-list/CardWithUserAuth.d.ts +0 -32
  47. package/features/connector-cards/components/card-list/CardWithUserAuth.d.ts.map +0 -1
  48. package/features/connector-cards/components/connection-in-progress-modal/index.d.ts +0 -19
  49. package/features/connector-cards/components/connection-in-progress-modal/index.d.ts.map +0 -1
  50. package/features/connector-cards/components/user-auth-card/__tests__/UserAuthCard.test.d.ts +0 -2
  51. package/features/connector-cards/components/user-auth-card/__tests__/UserAuthCard.test.d.ts.map +0 -1
  52. package/features/connector-cards/components/user-auth-card/index.d.ts +0 -33
  53. package/features/connector-cards/components/user-auth-card/index.d.ts.map +0 -1
  54. package/features/connector-cards/components/user-auth-card/style.d.ts +0 -29
  55. package/features/connector-cards/components/user-auth-card/style.d.ts.map +0 -1
  56. package/features/connector-cards/hooks/useUserAuthFlow.d.ts +0 -42
  57. package/features/connector-cards/hooks/useUserAuthFlow.d.ts.map +0 -1
  58. package/features/connector-cards/store/userAuth.d.ts +0 -85
  59. package/features/connector-cards/store/userAuth.d.ts.map +0 -1
  60. package/features/connector-cards/store/userAuth.test.d.ts +0 -2
  61. package/features/connector-cards/store/userAuth.test.d.ts.map +0 -1
  62. package/features/connector-cards/utils/registerUserAuthCallback.d.ts +0 -13
  63. package/features/connector-cards/utils/registerUserAuthCallback.d.ts.map +0 -1
  64. package/testing/mocks/handlers/user-auth.d.ts +0 -31
  65. package/testing/mocks/handlers/user-auth.d.ts.map +0 -1
@@ -1,13 +0,0 @@
1
- /**
2
- * Wires the bifrost transport's 412 USER_AUTH_REQUIRED hook to the
3
- * agent app's redux store. Bifrost is host-agnostic by design — it
4
- * holds a callback reference rather than importing redux directly,
5
- * so we attach the dispatcher here on the agent side.
6
- *
7
- * Idempotent: hosts that initialize the agent multiple times in
8
- * one page session (rare but possible in single-page consumers)
9
- * won't double-fire the dispatch because the callback assignment
10
- * just overwrites the previous reference.
11
- */
12
- export declare const registerUserAuthCallback: () => void;
13
- //# sourceMappingURL=registerUserAuthCallback.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"registerUserAuthCallback.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-cards/utils/registerUserAuthCallback.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,QAAO,IAsB3C,CAAC"}
@@ -1,31 +0,0 @@
1
- /**
2
- * MSW handlers for the user-tier auth lifecycle endpoints (see
3
- * custom-integrations qa-user-auth-framework).
4
- *
5
- * The mock cycles per-connector through a deterministic state for
6
- * dev exploration:
7
- * - First read for any unknown connectorId returns `disconnected`.
8
- * - After POST /user-auth/start completes, subsequent reads return
9
- * `in_progress` for the first 4 seconds (so the in-progress
10
- * modal is visible without needing a real OAuth round-trip),
11
- * then flip to `connected`.
12
- *
13
- * Override the default for specific connectorIds via the
14
- * VITE_USER_AUTH_MOCK_STATE env var (JSON map). Useful for
15
- * Storybook / Chromatic snapshots of the four states.
16
- */
17
- interface MockEntry {
18
- state: 'disconnected' | 'in_progress' | 'connected' | 'reauth_required' | 'workspace_mismatch';
19
- reason?: string;
20
- externalUserId?: string;
21
- inProgressUntil?: number;
22
- }
23
- export declare const handlers: import('msw').HttpHandler[];
24
- /**
25
- * Test helpers — reset state between test cases so each test starts
26
- * from a clean slate.
27
- */
28
- export declare const __resetUserAuthMockState: () => void;
29
- export declare const __setUserAuthMockEntry: (connectorId: string, entry: MockEntry) => void;
30
- export {};
31
- //# sourceMappingURL=user-auth.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user-auth.d.ts","sourceRoot":"","sources":["../../../../src/testing/mocks/handlers/user-auth.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;GAeG;AAEH,UAAU,SAAS;IACjB,KAAK,EAAE,cAAc,GAAG,aAAa,GAAG,WAAW,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;IAC/F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AA0FD,eAAO,MAAM,QAAQ,6BAAqE,CAAC;AAE3F;;;GAGG;AACH,eAAO,MAAM,wBAAwB,YAEpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gBAAiB,MAAM,SAAS,SAAS,SAE3E,CAAC"}