@everfur/sdk 1.4.1 → 1.5.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/{Chat.d-qQVN6VLp.d.ts → Chat.d-BCfyvzX8.d.ts} +1 -1
- package/dist/{Chat.d-Bl-_TsvQ.d.cts → Chat.d-Od44h51D.d.cts} +1 -1
- package/dist/{DepthViews.d-PmjccZLr.d.cts → DepthViews.d-BGspxovy.d.cts} +1 -1
- package/dist/{DepthViews.d-aOChkwU2.d.ts → DepthViews.d-BIHVrf9r.d.ts} +1 -1
- package/dist/{DepthViews.d-ktxIIsnb.d.cts → DepthViews.d-BaLh7Lsi.d.cts} +1 -1
- package/dist/{DepthViews.d-CpF_Y_z9.d.ts → DepthViews.d-CEVk9poG.d.ts} +1 -1
- package/dist/ErrorPolicyPort.d-BIdmYQnk.d.cts +43 -0
- package/dist/ErrorPolicyPort.d-BnI5qWg4.d.ts +43 -0
- package/dist/{RecordsPage.d-BfMSOsg_.d.ts → RecordsPage.d-D10RIgdc.d.ts} +1 -1
- package/dist/{RecordsPage.d-DWjFpZs1.d.cts → RecordsPage.d-DbhYNSbq.d.cts} +1 -1
- package/dist/animations/index.d.cts +3 -3
- package/dist/animations/index.d.ts +3 -3
- package/dist/{attachments.d-DOmkQ_8O.d.ts → attachments.d-BlukNfIf.d.ts} +1 -1
- package/dist/{attachments.d-DBlHzWYy.d.cts → attachments.d-CF4lLuGK.d.cts} +1 -1
- package/dist/{bookingCopy.d-ITpabqPr.d.ts → bookingCopy.d-BuDv16WP.d.ts} +12 -12
- package/dist/{bookingCopy.d-B39JAmIZ.d.cts → bookingCopy.d-rnBSqOSN.d.cts} +12 -12
- package/dist/{callCopy.d-Bw6oZT54.d.cts → callCopy.d-BQxpwXqT.d.cts} +3 -3
- package/dist/{callCopy.d-Bw6oZT54.d.ts → callCopy.d-BQxpwXqT.d.ts} +3 -3
- package/dist/{callRoom.d-B1DoYdJe.d.cts → callRoom.d-9Dm7XnUr.d.cts} +1 -1
- package/dist/{callRoom.d-Dqm1rUqT.d.ts → callRoom.d-t-khijDv.d.ts} +1 -1
- package/dist/{casesRepository.d-De4ZtgJ_.d.cts → casesRepository.d-CVuKTkJo.d.cts} +1 -1
- package/dist/{casesRepository.d-DsEeFd0F.d.ts → casesRepository.d-Dn1fK1b2.d.ts} +1 -1
- package/dist/chat/index.cjs +21 -21
- package/dist/chat/index.d.cts +12 -12
- package/dist/chat/index.d.ts +12 -12
- package/dist/chat/index.js +21 -21
- package/dist/chat/lite/index.cjs +21 -21
- package/dist/chat/lite/index.d.cts +12 -12
- package/dist/chat/lite/index.d.ts +12 -12
- package/dist/chat/lite/index.js +21 -21
- package/dist/{chatHandoffToken.d-B4-iQ35P.d.cts → chatHandoffToken.d-BjfmIxXk.d.cts} +6 -6
- package/dist/{chatHandoffToken.d-Br3Gw3w-.d.ts → chatHandoffToken.d-CFiI6IMc.d.ts} +6 -6
- package/dist/{checkin.d-CAKQydg8.d.cts → checkin.d-BP3ZWBfX.d.cts} +5 -5
- package/dist/{checkin.d-qvYXugN3.d.ts → checkin.d-CokpahFL.d.ts} +5 -5
- package/dist/{chunk-PJHMKQ5C.js → chunk-4KFFE42Z.js} +19 -19
- package/dist/{chunk-7MMJ7CYN.js → chunk-6IHY7HS7.js} +1 -1
- package/dist/{chunk-6I4REU4U.js → chunk-BMYNDBUR.js} +1 -1
- package/dist/{chunk-5OK2AF63.js → chunk-HHCGXQJR.js} +19 -19
- package/dist/client/index.cjs +31 -31
- package/dist/client/index.d.cts +19 -16
- package/dist/client/index.d.ts +19 -16
- package/dist/client/index.js +30 -30
- package/dist/{clinicBatch.d-B3YJc8IO.d.cts → clinicBatch.d-C0xx5L4j.d.cts} +3 -3
- package/dist/{clinicBatch.d-DhvQuPHV.d.ts → clinicBatch.d-DNi4UURs.d.ts} +3 -3
- package/dist/{config.d-DRoQ2lAx.d.ts → config.d-B7Z-KTGq.d.ts} +10 -2
- package/dist/{config.d-BiVy0fLx.d.cts → config.d-ClAI2RZ6.d.cts} +10 -2
- package/dist/consent/index.d.cts +6 -6
- package/dist/consent/index.d.ts +6 -6
- package/dist/{context.d-DZfxKxNi.d.cts → context.d-Bj6-xYPA.d.cts} +11 -5
- package/dist/{context.d-FjU7dQP7.d.ts → context.d-DS1GXUEY.d.ts} +11 -5
- package/dist/{copy.d-Ce_8KuZg.d.cts → copy.d--F5A9cXK.d.cts} +3 -3
- package/dist/{copy.d-BP36f_63.d.ts → copy.d-DmxuFJFe.d.ts} +3 -3
- package/dist/core/index.cjs +41 -40
- package/dist/core/index.d.cts +16 -16
- package/dist/core/index.d.ts +16 -16
- package/dist/core/index.js +41 -40
- package/dist/{depth.d-DzMMmRN4.d.ts → depth.d-CgzYE6_n.d.ts} +3 -3
- package/dist/{depth.d-BtlcIqPJ.d.cts → depth.d-DLaP0o8Y.d.cts} +3 -3
- package/dist/{entitlementRepository.d-BltqS1W8.d.ts → entitlementRepository.d-CkUTlVAb.d.ts} +2 -2
- package/dist/{entitlementRepository.d-wfqpUIKN.d.cts → entitlementRepository.d-DVTp-BB9.d.cts} +2 -2
- package/dist/{focus.d-BX7oahFk.d.cts → focus.d-CLTjm6In.d.cts} +1 -1
- package/dist/{focus.d-armXecf0.d.ts → focus.d-u-HYvim0.d.ts} +1 -1
- package/dist/health-plan/index.d.cts +15 -15
- package/dist/health-plan/index.d.ts +15 -15
- package/dist/{healthPlanRepository.d-DBx7-NLE.d.cts → healthPlanRepository.d-B22kjrYa.d.cts} +3 -3
- package/dist/{healthPlanRepository.d-C7K9dJK5.d.ts → healthPlanRepository.d-CwRXeoM7.d.ts} +3 -3
- package/dist/{idempotency.d-Dak2-pON.d.cts → idempotency.d-CFVMhWcv.d.cts} +1 -1
- package/dist/{idempotency.d-symqJ8Tt.d.ts → idempotency.d-dOFfV91-.d.ts} +1 -1
- package/dist/{identity.d-DOKJFaiz.d.ts → identity.d-D4VtpqRr.d.ts} +1 -1
- package/dist/{identity.d-DIH9h3Le.d.cts → identity.d-DDpXOtas.d.cts} +1 -1
- package/dist/{inbox.d-AuGKeaZv.d.cts → inbox.d-CPcMMz-Y.d.cts} +2 -2
- package/dist/{inbox.d-B5b57OXc.d.ts → inbox.d-DJ9xgU1Z.d.ts} +2 -2
- package/dist/index.cjs +246 -245
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +244 -243
- package/dist/{introEvents.d-ehik7PEn.d.cts → introEvents.d-B7acmGwf.d.cts} +1 -1
- package/dist/{introEvents.d-S4Q4BOSt.d.ts → introEvents.d-DW3gLljE.d.ts} +1 -1
- package/dist/{layout.d-Bm2_1wa4.d.ts → layout.d-C8y_ki1V.d.ts} +1 -1
- package/dist/{layout.d-CFF-nBXf.d.cts → layout.d-DfaFM_lp.d.cts} +1 -1
- package/dist/{models.d-DOwpK1ZF.d.ts → models.d-BKmOfoqV.d.cts} +2 -2
- package/dist/{models.d-Su_BBBTW.d.cts → models.d-BULqCO2R.d.ts} +2 -2
- package/dist/notifications/inbox/index.d.cts +7 -7
- package/dist/notifications/inbox/index.d.ts +7 -7
- package/dist/notifications/index.d.cts +8 -8
- package/dist/notifications/index.d.ts +8 -8
- package/dist/{optInView.d-DbGx1A9R.d.cts → optInView.d-ByDJMrMv.d.cts} +13 -13
- package/dist/{optInView.d-xnIxCLlH.d.ts → optInView.d-DVshLxbD.d.ts} +13 -13
- package/dist/{parse.d-DtHmpAMT.d.cts → parse.d-BDZ7ffgj.d.cts} +4 -1
- package/dist/{parse.d-DtHmpAMT.d.ts → parse.d-BDZ7ffgj.d.ts} +4 -1
- package/dist/{pets.d-BEqKykpu.d.ts → pets.d-BpLObpfM.d.ts} +1 -1
- package/dist/{pets.d-BS6sLxY-.d.cts → pets.d-DXhzTNuI.d.cts} +1 -1
- package/dist/{petsRepository.d-iHrHkXM2.d.ts → petsRepository.d-_QfM7F6T.d.ts} +1 -1
- package/dist/{petsRepository.d-DB5CNKsK.d.cts → petsRepository.d-ai_tZ3lu.d.cts} +1 -1
- package/dist/records/depth/index.d.cts +10 -10
- package/dist/records/depth/index.d.ts +10 -10
- package/dist/records/index.cjs +1 -1
- package/dist/records/index.d.cts +11 -11
- package/dist/records/index.d.ts +11 -11
- package/dist/records/index.js +1 -1
- package/dist/{requestFunnel.d-SySe6xHp.d.cts → requestFunnel.d-BwZDfWVD.d.cts} +3 -3
- package/dist/{requestFunnel.d-CehftayS.d.ts → requestFunnel.d-DKBPTpsy.d.ts} +3 -3
- package/dist/{route.d-DSSSpSB-.d.cts → route.d-DCzQh4ix.d.cts} +3 -3
- package/dist/{route.d-B395-hNX.d.ts → route.d-DSYEd2MR.d.ts} +3 -3
- package/dist/{runtimeTypes.d-DAz0Tgw5.d.ts → runtimeTypes.d-BzUig75K.d.ts} +11 -7
- package/dist/{runtimeTypes.d-DPh1Wh15.d.cts → runtimeTypes.d-CL4l7ta4.d.cts} +11 -7
- package/dist/{screenProps.d-Bd2yphad.d.cts → screenProps.d-6xmE1C-V.d.cts} +2 -2
- package/dist/{screenProps.d-D9Vi-Afl.d.ts → screenProps.d-fHBKArt_.d.ts} +2 -2
- package/dist/{sdkConfigStore.d-VPvsIL8E.d.ts → sdkConfigStore.d-BNCVVEWC.d.ts} +1 -1
- package/dist/{sdkConfigStore.d-BHrzkVpP.d.cts → sdkConfigStore.d-C2BAr9kI.d.cts} +1 -1
- package/dist/server/events/index.cjs +4 -4
- package/dist/server/events/index.d.cts +2 -2
- package/dist/server/events/index.d.ts +2 -2
- package/dist/server/events/index.js +4 -4
- package/dist/server/index.cjs +9 -9
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +9 -9
- package/dist/shop/index.d.cts +3 -3
- package/dist/shop/index.d.ts +3 -3
- package/dist/slots/index.d.cts +6 -6
- package/dist/slots/index.d.ts +6 -6
- package/dist/tabs/index.cjs +87 -84
- package/dist/tabs/index.d.cts +15 -15
- package/dist/tabs/index.d.ts +15 -15
- package/dist/tabs/index.js +95 -92
- package/dist/televet/booking/index.cjs +75 -75
- package/dist/televet/booking/index.d.cts +8 -8
- package/dist/televet/booking/index.d.ts +8 -8
- package/dist/televet/booking/index.js +3 -3
- package/dist/televet/call/index.d.cts +2 -2
- package/dist/televet/call/index.d.ts +2 -2
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/rn/index.d.cts +10 -10
- package/dist/testing/rn/index.d.ts +10 -10
- package/dist/testing/web/index.d.cts +10 -10
- package/dist/testing/web/index.d.ts +10 -10
- package/dist/texting/index.d.cts +6 -6
- package/dist/texting/index.d.ts +6 -6
- package/dist/{threadOptions.d-bEAFkIsC.d.cts → threadOptions.d-Bqy5d5Fx.d.cts} +1 -1
- package/dist/{threadOptions.d-U5YBUKM-.d.ts → threadOptions.d-DOEIpk1t.d.ts} +1 -1
- package/dist/{threadOptions.d-DUQxxHyM.d.cts → threadOptions.d-Dc57dm7h.d.cts} +5 -5
- package/dist/{threadOptions.d-DnM9UcMx.d.ts → threadOptions.d-NSlFx-Lp.d.ts} +5 -5
- package/dist/{timelineRows.d-DXppCSCg.d.cts → timelineRows.d-7w8NsNi4.d.cts} +1 -1
- package/dist/{timelineRows.d-9Uhf4q5d.d.ts → timelineRows.d-CthNM5hV.d.ts} +1 -1
- package/dist/{useHealthPlanSubscription.d-CRBPMlsc.d.ts → useHealthPlanSubscription.d-CV7M21HS.d.ts} +3 -3
- package/dist/{useHealthPlanSubscription.d-DfjTYv1u.d.cts → useHealthPlanSubscription.d-SA9-SuKe.d.cts} +3 -3
- package/dist/{useInboxUnread.d-CP3KwSkn.d.ts → useInboxUnread.d-CXiaR3BZ.d.ts} +1 -1
- package/dist/{useInboxUnread.d-DiE_NbtS.d.cts → useInboxUnread.d-DERpMelw.d.cts} +1 -1
- package/dist/{usePresentation.d-DUYzYXgA.d.cts → usePresentation.d-BJzFicRQ.d.cts} +2 -2
- package/dist/{usePresentation.d-Buxz2Jkt.d.ts → usePresentation.d-DgSGIWS-.d.ts} +2 -2
- package/dist/{useRecordsDepth.d-l6D0ZS4l.d.cts → useRecordsDepth.d-C9W45gwS.d.cts} +1 -1
- package/dist/{useRecordsDepth.d-DG2GiAyt.d.ts → useRecordsDepth.d-ZX2rhcUx.d.ts} +1 -1
- package/dist/{useUnread.d-B6Ehu0ao.d.ts → useUnread.d-CedFK4k6.d.ts} +4 -4
- package/dist/{useUnread.d-7-cuCooM.d.cts → useUnread.d-DST1GMmL.d.cts} +4 -4
- package/dist/{view.d-ufGX_MKK.d.cts → view.d-3lxzyJlL.d.cts} +6 -6
- package/dist/{view.d-iTInze7B.d.ts → view.d-DRiYNQJ8.d.ts} +6 -6
- package/dist/web/consent/index.d.cts +6 -6
- package/dist/web/consent/index.d.ts +6 -6
- package/dist/web/health-plan/index.cjs +1 -1
- package/dist/web/health-plan/index.d.cts +16 -16
- package/dist/web/health-plan/index.d.ts +16 -16
- package/dist/web/health-plan/index.js +1 -1
- package/dist/web/inbox/index.d.cts +9 -8
- package/dist/web/inbox/index.d.ts +9 -8
- package/dist/web/index.cjs +191 -190
- package/dist/web/index.d.cts +28 -28
- package/dist/web/index.d.ts +28 -28
- package/dist/web/index.js +191 -190
- package/dist/web/intro/index.d.cts +8 -8
- package/dist/web/intro/index.d.ts +8 -8
- package/dist/web/notifications/index.d.cts +7 -7
- package/dist/web/notifications/index.d.ts +7 -7
- package/dist/web/records/depth/index.d.cts +10 -10
- package/dist/web/records/depth/index.d.ts +10 -10
- package/dist/web/records/index.d.cts +13 -13
- package/dist/web/records/index.d.ts +13 -13
- package/dist/web/records-sheet/index.cjs +1 -1
- package/dist/web/records-sheet/index.js +1 -1
- package/dist/web/shop/index.cjs +1 -1
- package/dist/web/shop/index.d.cts +3 -3
- package/dist/web/shop/index.d.ts +3 -3
- package/dist/web/shop/index.js +1 -1
- package/dist/web/televet/booking/index.cjs +6 -6
- package/dist/web/televet/booking/index.d.cts +9 -9
- package/dist/web/televet/booking/index.d.ts +9 -9
- package/dist/web/televet/booking/index.js +6 -6
- package/dist/web/televet/call/index.cjs +1 -1
- package/dist/web/televet/call/index.d.cts +2 -2
- package/dist/web/televet/call/index.d.ts +2 -2
- package/dist/web/televet/call/index.js +1 -1
- package/dist/web/texting/index.d.cts +6 -6
- package/dist/web/texting/index.d.ts +6 -6
- package/dist/web/ui/index.cjs +1 -1
- package/dist/web/ui/index.js +33 -33
- package/package.json +1 -32
- package/dist/ErrorPolicyPort.d-68yrE3BE.d.ts +0 -23
- package/dist/ErrorPolicyPort.d-DirW9hgO.d.cts +0 -23
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
3
3
|
import { P as PetRef } from './ids.d-B2GAAifq.cjs';
|
|
4
4
|
import { a as RecordsClinicTarget, b as RecordsAuthorizationSignature } from './clinicModels.d-BXgKZqDb.cjs';
|
|
5
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
6
|
-
import { A as AuthContext } from './identity.d-
|
|
7
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
5
|
+
import { R as RequestFunnel } from './requestFunnel.d-BwZDfWVD.cjs';
|
|
6
|
+
import { A as AuthContext } from './identity.d-DDpXOtas.cjs';
|
|
7
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
8
8
|
import { e as RecordsRequestView } from './models.d-D75NFs32.cjs';
|
|
9
9
|
|
|
10
10
|
interface HttpRecordsClinicRepositoryDeps {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
3
3
|
import { P as PetRef } from './ids.d-B2GAAifq.js';
|
|
4
4
|
import { a as RecordsClinicTarget, b as RecordsAuthorizationSignature } from './clinicModels.d-CaS64-P-.js';
|
|
5
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
6
|
-
import { A as AuthContext } from './identity.d-
|
|
7
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
5
|
+
import { R as RequestFunnel } from './requestFunnel.d-DKBPTpsy.js';
|
|
6
|
+
import { A as AuthContext } from './identity.d-D4VtpqRr.js';
|
|
7
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BnI5qWg4.js';
|
|
8
8
|
import { e as RecordsRequestView } from './models.d-C7d9Li6n.js';
|
|
9
9
|
|
|
10
10
|
interface HttpRecordsClinicRepositoryDeps {
|
|
@@ -462,6 +462,12 @@ interface EverfurConfig {
|
|
|
462
462
|
readonly transport?: TransportPort;
|
|
463
463
|
/** Structured, redacted LogPort events when true. */
|
|
464
464
|
readonly debug?: boolean;
|
|
465
|
+
/**
|
|
466
|
+
* Your app's own version (for example `4.12.0` or `4.12.0 (812)`). Optional. When set, the React Native SDK sends it
|
|
467
|
+
* as `X-Everfur-App-Version` and every error it hands your hooks carries it, so a problem can be traced to one
|
|
468
|
+
* release of your app. Up to 64 characters of letters, digits, spaces and `. _ + - ( )`; anything else is ignored.
|
|
469
|
+
*/
|
|
470
|
+
readonly appVersion?: string;
|
|
465
471
|
}
|
|
466
472
|
/**
|
|
467
473
|
* The validated, frozen subset the Layer 1 transport / identity actually consume.
|
|
@@ -474,6 +480,8 @@ interface ResolvedClientConfig {
|
|
|
474
480
|
readonly sdkVersion: string;
|
|
475
481
|
readonly platform: SdkPlatform;
|
|
476
482
|
readonly debug: boolean;
|
|
483
|
+
/** The host app's version, normalized by `normalizeAppVersion`; null or absent when unknown or unusable. */
|
|
484
|
+
readonly appVersion?: string | null;
|
|
477
485
|
}
|
|
478
486
|
/**
|
|
479
487
|
* What the FACADE knows and partner config must not decide. Threaded from the runtime factory into
|
|
@@ -547,7 +555,7 @@ declare function resolveClientConfig(config: EverfurConfig, options?: ResolveCli
|
|
|
547
555
|
declare function tryResolveApiBaseUrl(apiBaseUrl?: string): BaseUrlOutcome;
|
|
548
556
|
/** Resolve the base URL, throwing on failure. Thin wrapper over `tryResolveApiBaseUrl`. */
|
|
549
557
|
declare function resolveApiBaseUrl(apiBaseUrl?: string): string;
|
|
550
|
-
/** The always-on SDK protocol headers (version / platform / contract
|
|
551
|
-
declare function buildBaseHeaders(cfg: Pick<ResolvedClientConfig, 'sdkVersion' | 'platform' | 'contractVersion'>): Record<string, string>;
|
|
558
|
+
/** The always-on SDK protocol headers (version / platform / contract, plus the host app version when known). */
|
|
559
|
+
declare function buildBaseHeaders(cfg: Pick<ResolvedClientConfig, 'sdkVersion' | 'platform' | 'contractVersion' | 'appVersion'>): Record<string, string>;
|
|
552
560
|
|
|
553
561
|
export { eventSourceByteSource as $, type AcceptedFrame as A, type ByteSource as B, type ClientConfigFailure as C, type DeltaFrame as D, type ErrorFrame as E, type Frame as F, SDK_PLATFORM as G, type HeartbeatFrame as H, type ServerRequestIdSource as I, type TransportDeps as J, acceptedFrame as K, analysisCompleteFrame as L, type MultipartBody as M, analysisStartedFrame as N, assertNever as O, bufferedTextByteSource as P, buildBaseHeaders as Q, type RawResponse as R, type SdkPlatform as S, type TransportPort as T, type UnknownFrame as U, checkPublishableKey as V, createHttpTransport as W, deltaFrame as X, doneFrame as Y, errorFrame as Z, errorFromResponse as _, type AnalysisCompleteFrame as a, eventSourceRequestId as a0, fetchByteSource as a1, getGlobalFetch as a2, heartbeatFrame as a3, networkError as a4, parseSse as a5, requestIdOf as a6, requestJson as a7, requestRaw as a8, resolveApiBaseUrl as a9, resolveClientConfig as aa, tryResolveApiBaseUrl as ab, tryResolveClientConfig as ac, unknownFrame as ad, type AnalysisStartedFrame as b, type DoneFrame as c, type EverfurRequest as d, type EverfurRequestBase as e, type FrameBase as f, type FrameKind as g, type FreeCapRefusal as h, type HttpMethod as i, type UrgencyLevel as j, type FetchLike as k, type EventSourceFactory as l, type ClientConfigFailureReason as m, type ClientConfigOutcome as n, DEFAULT_CONTRACT_VERSION as o, EMPTY_FRAME_ARRAYS as p, ENV_API_BASE_URL as q, type EventSourceInit as r, type EventSourceLike as s, type EventSourceMessage as t, type EverfurConfig as u, type FetchInit as v, type FetchResponseLike as w, type ReadableStreamLike as x, type ResolveClientConfigOptions as y, type ResolvedClientConfig as z };
|
|
@@ -462,6 +462,12 @@ interface EverfurConfig {
|
|
|
462
462
|
readonly transport?: TransportPort;
|
|
463
463
|
/** Structured, redacted LogPort events when true. */
|
|
464
464
|
readonly debug?: boolean;
|
|
465
|
+
/**
|
|
466
|
+
* Your app's own version (for example `4.12.0` or `4.12.0 (812)`). Optional. When set, the React Native SDK sends it
|
|
467
|
+
* as `X-Everfur-App-Version` and every error it hands your hooks carries it, so a problem can be traced to one
|
|
468
|
+
* release of your app. Up to 64 characters of letters, digits, spaces and `. _ + - ( )`; anything else is ignored.
|
|
469
|
+
*/
|
|
470
|
+
readonly appVersion?: string;
|
|
465
471
|
}
|
|
466
472
|
/**
|
|
467
473
|
* The validated, frozen subset the Layer 1 transport / identity actually consume.
|
|
@@ -474,6 +480,8 @@ interface ResolvedClientConfig {
|
|
|
474
480
|
readonly sdkVersion: string;
|
|
475
481
|
readonly platform: SdkPlatform;
|
|
476
482
|
readonly debug: boolean;
|
|
483
|
+
/** The host app's version, normalized by `normalizeAppVersion`; null or absent when unknown or unusable. */
|
|
484
|
+
readonly appVersion?: string | null;
|
|
477
485
|
}
|
|
478
486
|
/**
|
|
479
487
|
* What the FACADE knows and partner config must not decide. Threaded from the runtime factory into
|
|
@@ -547,7 +555,7 @@ declare function resolveClientConfig(config: EverfurConfig, options?: ResolveCli
|
|
|
547
555
|
declare function tryResolveApiBaseUrl(apiBaseUrl?: string): BaseUrlOutcome;
|
|
548
556
|
/** Resolve the base URL, throwing on failure. Thin wrapper over `tryResolveApiBaseUrl`. */
|
|
549
557
|
declare function resolveApiBaseUrl(apiBaseUrl?: string): string;
|
|
550
|
-
/** The always-on SDK protocol headers (version / platform / contract
|
|
551
|
-
declare function buildBaseHeaders(cfg: Pick<ResolvedClientConfig, 'sdkVersion' | 'platform' | 'contractVersion'>): Record<string, string>;
|
|
558
|
+
/** The always-on SDK protocol headers (version / platform / contract, plus the host app version when known). */
|
|
559
|
+
declare function buildBaseHeaders(cfg: Pick<ResolvedClientConfig, 'sdkVersion' | 'platform' | 'contractVersion' | 'appVersion'>): Record<string, string>;
|
|
552
560
|
|
|
553
561
|
export { eventSourceByteSource as $, type AcceptedFrame as A, type ByteSource as B, type ClientConfigFailure as C, type DeltaFrame as D, type ErrorFrame as E, type Frame as F, SDK_PLATFORM as G, type HeartbeatFrame as H, type ServerRequestIdSource as I, type TransportDeps as J, acceptedFrame as K, analysisCompleteFrame as L, type MultipartBody as M, analysisStartedFrame as N, assertNever as O, bufferedTextByteSource as P, buildBaseHeaders as Q, type RawResponse as R, type SdkPlatform as S, type TransportPort as T, type UnknownFrame as U, checkPublishableKey as V, createHttpTransport as W, deltaFrame as X, doneFrame as Y, errorFrame as Z, errorFromResponse as _, type AnalysisCompleteFrame as a, eventSourceRequestId as a0, fetchByteSource as a1, getGlobalFetch as a2, heartbeatFrame as a3, networkError as a4, parseSse as a5, requestIdOf as a6, requestJson as a7, requestRaw as a8, resolveApiBaseUrl as a9, resolveClientConfig as aa, tryResolveApiBaseUrl as ab, tryResolveClientConfig as ac, unknownFrame as ad, type AnalysisStartedFrame as b, type DoneFrame as c, type EverfurRequest as d, type EverfurRequestBase as e, type FrameBase as f, type FrameKind as g, type FreeCapRefusal as h, type HttpMethod as i, type UrgencyLevel as j, type FetchLike as k, type EventSourceFactory as l, type ClientConfigFailureReason as m, type ClientConfigOutcome as n, DEFAULT_CONTRACT_VERSION as o, EMPTY_FRAME_ARRAYS as p, ENV_API_BASE_URL as q, type EventSourceInit as r, type EventSourceLike as s, type EventSourceMessage as t, type EverfurConfig as u, type FetchInit as v, type FetchResponseLike as w, type ReadableStreamLike as x, type ResolveClientConfigOptions as y, type ResolvedClientConfig as z };
|
package/dist/consent/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
import { E as EverfurConsentScope } from '../copy.d
|
|
5
|
-
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../copy.d
|
|
4
|
+
import { E as EverfurConsentScope } from '../copy.d--F5A9cXK.cjs';
|
|
5
|
+
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../copy.d--F5A9cXK.cjs';
|
|
6
6
|
import { E as EverfurError } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
7
7
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.cjs';
|
|
8
|
-
export { a as AnonIdentityProvider, A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
9
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, j as UrgencyLevel } from '../config.d-
|
|
8
|
+
export { a as AnonIdentityProvider, A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity.d-DDpXOtas.cjs';
|
|
9
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, j as UrgencyLevel } from '../config.d-ClAI2RZ6.cjs';
|
|
10
10
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../ids.d-B2GAAifq.cjs';
|
|
11
11
|
export { E as EverfurResult } from '../EverfurResult.d-BFH-3s6E.cjs';
|
|
12
|
-
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-
|
|
13
|
-
import '../requestFunnel.d-
|
|
12
|
+
export { E as ErrorPolicyPort, a as EverfurErrorContext } from '../ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
13
|
+
import '../requestFunnel.d-BwZDfWVD.cjs';
|
|
14
14
|
|
|
15
15
|
interface EverfurConsentToggleProps {
|
|
16
16
|
/** Which act this row is. One row is one act; two acts are two rows, never one switch. */
|
package/dist/consent/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
import { E as EverfurConsentScope } from '../copy.d-
|
|
5
|
-
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../copy.d-
|
|
4
|
+
import { E as EverfurConsentScope } from '../copy.d-DmxuFJFe.js';
|
|
5
|
+
export { C as CONSENT_COPY, a as CONSENT_SCOPE_COPY, b as CONSENT_VERSION_MAX, c as ConsentRepository, d as ConsentRepositoryDeps, e as ConsentRowView, f as ConsentRuntime, g as ConsentScopeCopy, h as EVERFUR_CONSENT_SCOPES, i as EverfurConsentDecision, j as EverfurConsentOptions, k as EverfurConsentScopeState, l as EverfurConsentState, m as EverfurConsentStatus, n as EverfurConsentVerdict, o as consentRowView, p as createConsentRepository, q as createConsentRepositoryOver, r as isEverfurConsentScope, u as useEverfurConsent, s as useEverfurConsentRepository } from '../copy.d-DmxuFJFe.js';
|
|
6
6
|
import { E as EverfurError } from '../EverfurError.d-8NHtlgzA.js';
|
|
7
7
|
export { a as EverfurErrorCategory, b as EverfurErrorCode } from '../EverfurError.d-8NHtlgzA.js';
|
|
8
|
-
export { a as AnonIdentityProvider, A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity.d-
|
|
9
|
-
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, j as UrgencyLevel } from '../config.d-
|
|
8
|
+
export { a as AnonIdentityProvider, A as AuthContext, I as IdentityProvider, M as MintedToken, T as TokenProvider } from '../identity.d-D4VtpqRr.js';
|
|
9
|
+
export { A as AcceptedFrame, a as AnalysisCompleteFrame, b as AnalysisStartedFrame, D as DeltaFrame, c as DoneFrame, E as ErrorFrame, d as EverfurRequest, e as EverfurRequestBase, F as Frame, f as FrameBase, g as FrameKind, h as FreeCapRefusal, H as HeartbeatFrame, i as HttpMethod, M as MultipartBody, T as TransportPort, U as UnknownFrame, j as UrgencyLevel } from '../config.d-B7Z-KTGq.js';
|
|
10
10
|
export { B as Brand, C as ConversationId, P as PetRef, R as RecordsRequestId, U as UserRef, _ as __brand } from '../ids.d-B2GAAifq.js';
|
|
11
11
|
export { E as EverfurResult } from '../EverfurResult.d-D_-254ZY.js';
|
|
12
|
-
export { E as ErrorPolicyPort } from '../ErrorPolicyPort.d-
|
|
13
|
-
import '../requestFunnel.d-
|
|
12
|
+
export { E as ErrorPolicyPort, a as EverfurErrorContext } from '../ErrorPolicyPort.d-BnI5qWg4.js';
|
|
13
|
+
import '../requestFunnel.d-DKBPTpsy.js';
|
|
14
14
|
|
|
15
15
|
interface EverfurConsentToggleProps {
|
|
16
16
|
/** Which act this row is. One row is one act; two acts are two rows, never one switch. */
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { U as UserRef, P as PetRef } from './ids.d-B2GAAifq.cjs';
|
|
4
4
|
import { C as CapabilityName, a as CapabilityDecision } from './resolve.d-BTC3b6FW.cjs';
|
|
5
|
-
import { S as SecureStorePort, c as LogSink, a as EverfurEventHandler, g as EverfurRuntime } from './runtimeTypes.d-
|
|
6
|
-
import { T as TokenProvider } from './identity.d-
|
|
7
|
-
import { T as TransportPort } from './config.d-
|
|
5
|
+
import { S as SecureStorePort, c as LogSink, a as EverfurEventHandler, g as EverfurRuntime } from './runtimeTypes.d-CL4l7ta4.cjs';
|
|
6
|
+
import { T as TokenProvider } from './identity.d-DDpXOtas.cjs';
|
|
7
|
+
import { T as TransportPort } from './config.d-ClAI2RZ6.cjs';
|
|
8
8
|
import { K as KvPort, I as ImageCachePort } from './cacheEpoch.d-DknKn3S0.cjs';
|
|
9
9
|
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.cjs';
|
|
10
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
10
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
11
11
|
import { C as CameraPort } from './CameraPort.d-Cv31Pz7g.cjs';
|
|
12
12
|
import { U as UploadTransport } from './ports.d-BX4f4UsB.cjs';
|
|
13
13
|
import { U as UploadPort } from './unreadStore.d-Donv4bcF.cjs';
|
|
14
14
|
import { E as EverfurThemeInput } from './branding.d-CqDLKj1U.cjs';
|
|
15
15
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
16
|
-
import { b as WidgetPetProfile } from './petsRepository.d-
|
|
16
|
+
import { b as WidgetPetProfile } from './petsRepository.d-ai_tZ3lu.cjs';
|
|
17
17
|
import { n as EverfurTheme } from './tokens.d-DDiPRgye.cjs';
|
|
18
18
|
|
|
19
19
|
interface EverfurConfig {
|
|
@@ -52,6 +52,12 @@ interface EverfurConfig {
|
|
|
52
52
|
readonly imageCache?: ImageCachePort;
|
|
53
53
|
/** Structured, redacted LogPort events when true. */
|
|
54
54
|
readonly debug?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Your app's own version (for example `4.12.0` or `4.12.0 (812)`). Optional. On React Native it is sent as
|
|
57
|
+
* `X-Everfur-App-Version`, and every error the SDK hands your hooks carries it in its `context`. Up to 64
|
|
58
|
+
* characters of letters, digits, spaces and `. _ + - ( )`; anything else is ignored.
|
|
59
|
+
*/
|
|
60
|
+
readonly appVersion?: string;
|
|
55
61
|
/**
|
|
56
62
|
* Lifecycle events: `ready`, `error`, `session_expired`, `conversation_started`, `unread_changed` (see `EverfurClientEvent`).
|
|
57
63
|
* `unread_changed` arrives only while `useEverfurUnread` is mounted.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { U as UserRef, P as PetRef } from './ids.d-B2GAAifq.js';
|
|
4
4
|
import { C as CapabilityName, a as CapabilityDecision } from './resolve.d-BTC3b6FW.js';
|
|
5
|
-
import { S as SecureStorePort, c as LogSink, a as EverfurEventHandler, g as EverfurRuntime } from './runtimeTypes.d-
|
|
6
|
-
import { T as TokenProvider } from './identity.d-
|
|
7
|
-
import { T as TransportPort } from './config.d-
|
|
5
|
+
import { S as SecureStorePort, c as LogSink, a as EverfurEventHandler, g as EverfurRuntime } from './runtimeTypes.d-BzUig75K.js';
|
|
6
|
+
import { T as TokenProvider } from './identity.d-D4VtpqRr.js';
|
|
7
|
+
import { T as TransportPort } from './config.d-B7Z-KTGq.js';
|
|
8
8
|
import { K as KvPort, I as ImageCachePort } from './cacheEpoch.d-DknKn3S0.js';
|
|
9
9
|
import { T as TelemetryPort } from './TelemetryPort.d-BDNr00hu.js';
|
|
10
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
10
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BnI5qWg4.js';
|
|
11
11
|
import { C as CameraPort } from './CameraPort.d-Cv31Pz7g.js';
|
|
12
12
|
import { U as UploadTransport } from './ports.d-BX4f4UsB.js';
|
|
13
13
|
import { U as UploadPort } from './unreadStore.d-CLnChKca.js';
|
|
14
14
|
import { E as EverfurThemeInput } from './branding.d-XrZYClN4.js';
|
|
15
15
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
16
|
-
import { b as WidgetPetProfile } from './petsRepository.d-
|
|
16
|
+
import { b as WidgetPetProfile } from './petsRepository.d-_QfM7F6T.js';
|
|
17
17
|
import { n as EverfurTheme } from './tokens.d-DDiPRgye.js';
|
|
18
18
|
|
|
19
19
|
interface EverfurConfig {
|
|
@@ -52,6 +52,12 @@ interface EverfurConfig {
|
|
|
52
52
|
readonly imageCache?: ImageCachePort;
|
|
53
53
|
/** Structured, redacted LogPort events when true. */
|
|
54
54
|
readonly debug?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Your app's own version (for example `4.12.0` or `4.12.0 (812)`). Optional. On React Native it is sent as
|
|
57
|
+
* `X-Everfur-App-Version`, and every error the SDK hands your hooks carries it in its `context`. Up to 64
|
|
58
|
+
* characters of letters, digits, spaces and `. _ + - ( )`; anything else is ignored.
|
|
59
|
+
*/
|
|
60
|
+
readonly appVersion?: string;
|
|
55
61
|
/**
|
|
56
62
|
* Lifecycle events: `ready`, `error`, `session_expired`, `conversation_started`, `unread_changed` (see `EverfurClientEvent`).
|
|
57
63
|
* `unread_changed` arrives only while `useEverfurUnread` is mounted.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.cjs';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-BFH-3s6E.cjs';
|
|
4
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
5
|
-
import { A as AuthContext } from './identity.d-
|
|
4
|
+
import { R as RequestFunnel } from './requestFunnel.d-BwZDfWVD.cjs';
|
|
5
|
+
import { A as AuthContext } from './identity.d-DDpXOtas.cjs';
|
|
6
6
|
import { U as UserRef } from './ids.d-B2GAAifq.cjs';
|
|
7
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
7
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BIdmYQnk.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The consent scopes a member controls from an embedded surface: exactly the scopes a backend gate reads off
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! @everfur/sdk. Copyright (c) 2026 Strand Health Inc. dba Everfur. All rights reserved. Use is subject to the Everfur SDK License: https://docs.everfur.com/license */
|
|
2
2
|
import { E as EverfurError } from './EverfurError.d-8NHtlgzA.js';
|
|
3
3
|
import { E as EverfurResult } from './EverfurResult.d-D_-254ZY.js';
|
|
4
|
-
import { R as RequestFunnel } from './requestFunnel.d-
|
|
5
|
-
import { A as AuthContext } from './identity.d-
|
|
4
|
+
import { R as RequestFunnel } from './requestFunnel.d-DKBPTpsy.js';
|
|
5
|
+
import { A as AuthContext } from './identity.d-D4VtpqRr.js';
|
|
6
6
|
import { U as UserRef } from './ids.d-B2GAAifq.js';
|
|
7
|
-
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-
|
|
7
|
+
import { E as ErrorPolicyPort } from './ErrorPolicyPort.d-BnI5qWg4.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The consent scopes a member controls from an embedded surface: exactly the scopes a backend gate reads off
|