entity-client 1.0.22 → 1.0.24

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 (40) hide show
  1. package/dist/EntityAppServerApi.d.ts +64 -32
  2. package/dist/EntityServerApi.d.ts +32 -16
  3. package/dist/client/base.d.ts +7 -2
  4. package/dist/client/base.js +1 -1
  5. package/dist/client/base.js.map +3 -3
  6. package/dist/client/request.d.ts +7 -0
  7. package/dist/client/request.js +1 -1
  8. package/dist/client/request.js.map +3 -3
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.map +3 -3
  11. package/dist/mixins/app/plugins/alimtalk.d.ts +4 -2
  12. package/dist/mixins/app/plugins/friendtalk.d.ts +4 -2
  13. package/dist/mixins/app/plugins/holidays.d.ts +4 -2
  14. package/dist/mixins/app/plugins/identity.d.ts +4 -2
  15. package/dist/mixins/app/plugins/llm.d.ts +4 -2
  16. package/dist/mixins/app/plugins/ocr.d.ts +4 -2
  17. package/dist/mixins/app/plugins/pg.d.ts +4 -2
  18. package/dist/mixins/app/plugins/push.d.ts +4 -2
  19. package/dist/mixins/app/plugins/sms.d.ts +4 -2
  20. package/dist/mixins/app/plugins/taxinvoice.d.ts +4 -2
  21. package/dist/mixins/app/routes/account.d.ts +4 -2
  22. package/dist/mixins/app/routes/board.d.ts +4 -2
  23. package/dist/mixins/app/routes/email-verify.d.ts +4 -2
  24. package/dist/mixins/app/routes/oauth.d.ts +4 -2
  25. package/dist/mixins/app/routes/password-reset.d.ts +4 -2
  26. package/dist/mixins/app/routes/two-factor.d.ts +4 -2
  27. package/dist/mixins/server/admin.d.ts +4 -2
  28. package/dist/mixins/server/auth.d.ts +5 -2
  29. package/dist/mixins/server/auth.js +1 -1
  30. package/dist/mixins/server/auth.js.map +3 -3
  31. package/dist/mixins/server/entity.d.ts +4 -2
  32. package/dist/mixins/server/file.d.ts +4 -2
  33. package/dist/mixins/server/push.d.ts +4 -2
  34. package/dist/mixins/server/smtp.d.ts +4 -2
  35. package/dist/mixins/server/transaction.d.ts +4 -2
  36. package/dist/mixins/server/utils.d.ts +4 -2
  37. package/dist/react.js +1 -1
  38. package/dist/react.js.map +3 -3
  39. package/dist/types.d.ts +0 -1
  40. package/package.json +1 -1
@@ -15,6 +15,7 @@ declare const EntityAppServerApi_base: {
15
15
  csrfHeaderName: string;
16
16
  csrfCookieName: string;
17
17
  csrfRefresher: (() => Promise<void>) | null;
18
+ requestAbortControllers: Map<string, AbortController>;
18
19
  activeTxId: string | null;
19
20
  keepSession: boolean;
20
21
  refreshBuffer: number;
@@ -27,7 +28,6 @@ declare const EntityAppServerApi_base: {
27
28
  healthTickPromise: Promise<unknown> | null;
28
29
  realtimeEnabled: boolean;
29
30
  realtimePath: string;
30
- realtimeAutoConnect: boolean;
31
31
  realtimeAutoReconnect: boolean;
32
32
  realtimeReconnectDelayMs: number;
33
33
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -40,6 +40,8 @@ declare const EntityAppServerApi_base: {
40
40
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
41
41
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
42
42
  setToken(token: string): void;
43
+ setAccessTokenFromResponse(token: string): void;
44
+ syncRealtimeWithToken(): void;
43
45
  setAnonymousPacketToken(token: string): void;
44
46
  setApiKey(apiKey: string): void;
45
47
  setHmacSecret(secret: string): void;
@@ -56,7 +58,7 @@ declare const EntityAppServerApi_base: {
56
58
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
57
59
  subscribeRealtime(subscriptions: string[]): boolean;
58
60
  unsubscribeRealtime(subscriptions: string[]): boolean;
59
- startHealthTick(intervalMs?: number): void;
61
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
60
62
  stopHealthTick(): void;
61
63
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
62
64
  access_token: string;
@@ -99,6 +101,7 @@ declare const EntityAppServerApi_base: {
99
101
  csrfHeaderName: string;
100
102
  csrfCookieName: string;
101
103
  csrfRefresher: (() => Promise<void>) | null;
104
+ requestAbortControllers: Map<string, AbortController>;
102
105
  activeTxId: string | null;
103
106
  keepSession: boolean;
104
107
  refreshBuffer: number;
@@ -111,7 +114,6 @@ declare const EntityAppServerApi_base: {
111
114
  healthTickPromise: Promise<unknown> | null;
112
115
  realtimeEnabled: boolean;
113
116
  realtimePath: string;
114
- realtimeAutoConnect: boolean;
115
117
  realtimeAutoReconnect: boolean;
116
118
  realtimeReconnectDelayMs: number;
117
119
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -124,6 +126,8 @@ declare const EntityAppServerApi_base: {
124
126
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
125
127
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
126
128
  setToken(token: string): void;
129
+ setAccessTokenFromResponse(token: string): void;
130
+ syncRealtimeWithToken(): void;
127
131
  setAnonymousPacketToken(token: string): void;
128
132
  setApiKey(apiKey: string): void;
129
133
  setHmacSecret(secret: string): void;
@@ -140,7 +144,7 @@ declare const EntityAppServerApi_base: {
140
144
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
141
145
  subscribeRealtime(subscriptions: string[]): boolean;
142
146
  unsubscribeRealtime(subscriptions: string[]): boolean;
143
- startHealthTick(intervalMs?: number): void;
147
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
144
148
  stopHealthTick(): void;
145
149
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
146
150
  access_token: string;
@@ -186,6 +190,7 @@ declare const EntityAppServerApi_base: {
186
190
  csrfHeaderName: string;
187
191
  csrfCookieName: string;
188
192
  csrfRefresher: (() => Promise<void>) | null;
193
+ requestAbortControllers: Map<string, AbortController>;
189
194
  activeTxId: string | null;
190
195
  keepSession: boolean;
191
196
  refreshBuffer: number;
@@ -198,7 +203,6 @@ declare const EntityAppServerApi_base: {
198
203
  healthTickPromise: Promise<unknown> | null;
199
204
  realtimeEnabled: boolean;
200
205
  realtimePath: string;
201
- realtimeAutoConnect: boolean;
202
206
  realtimeAutoReconnect: boolean;
203
207
  realtimeReconnectDelayMs: number;
204
208
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -211,6 +215,8 @@ declare const EntityAppServerApi_base: {
211
215
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
212
216
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
213
217
  setToken(token: string): void;
218
+ setAccessTokenFromResponse(token: string): void;
219
+ syncRealtimeWithToken(): void;
214
220
  setAnonymousPacketToken(token: string): void;
215
221
  setApiKey(apiKey: string): void;
216
222
  setHmacSecret(secret: string): void;
@@ -227,7 +233,7 @@ declare const EntityAppServerApi_base: {
227
233
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
228
234
  subscribeRealtime(subscriptions: string[]): boolean;
229
235
  unsubscribeRealtime(subscriptions: string[]): boolean;
230
- startHealthTick(intervalMs?: number): void;
236
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
231
237
  stopHealthTick(): void;
232
238
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
233
239
  access_token: string;
@@ -274,6 +280,7 @@ declare const EntityAppServerApi_base: {
274
280
  csrfHeaderName: string;
275
281
  csrfCookieName: string;
276
282
  csrfRefresher: (() => Promise<void>) | null;
283
+ requestAbortControllers: Map<string, AbortController>;
277
284
  activeTxId: string | null;
278
285
  keepSession: boolean;
279
286
  refreshBuffer: number;
@@ -286,7 +293,6 @@ declare const EntityAppServerApi_base: {
286
293
  healthTickPromise: Promise<unknown> | null;
287
294
  realtimeEnabled: boolean;
288
295
  realtimePath: string;
289
- realtimeAutoConnect: boolean;
290
296
  realtimeAutoReconnect: boolean;
291
297
  realtimeReconnectDelayMs: number;
292
298
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -299,6 +305,8 @@ declare const EntityAppServerApi_base: {
299
305
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
300
306
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
301
307
  setToken(token: string): void;
308
+ setAccessTokenFromResponse(token: string): void;
309
+ syncRealtimeWithToken(): void;
302
310
  setAnonymousPacketToken(token: string): void;
303
311
  setApiKey(apiKey: string): void;
304
312
  setHmacSecret(secret: string): void;
@@ -315,7 +323,7 @@ declare const EntityAppServerApi_base: {
315
323
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
316
324
  subscribeRealtime(subscriptions: string[]): boolean;
317
325
  unsubscribeRealtime(subscriptions: string[]): boolean;
318
- startHealthTick(intervalMs?: number): void;
326
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
319
327
  stopHealthTick(): void;
320
328
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
321
329
  access_token: string;
@@ -364,6 +372,7 @@ declare const EntityAppServerApi_base: {
364
372
  csrfHeaderName: string;
365
373
  csrfCookieName: string;
366
374
  csrfRefresher: (() => Promise<void>) | null;
375
+ requestAbortControllers: Map<string, AbortController>;
367
376
  activeTxId: string | null;
368
377
  keepSession: boolean;
369
378
  refreshBuffer: number;
@@ -376,7 +385,6 @@ declare const EntityAppServerApi_base: {
376
385
  healthTickPromise: Promise<unknown> | null;
377
386
  realtimeEnabled: boolean;
378
387
  realtimePath: string;
379
- realtimeAutoConnect: boolean;
380
388
  realtimeAutoReconnect: boolean;
381
389
  realtimeReconnectDelayMs: number;
382
390
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -389,6 +397,8 @@ declare const EntityAppServerApi_base: {
389
397
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
390
398
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
391
399
  setToken(token: string): void;
400
+ setAccessTokenFromResponse(token: string): void;
401
+ syncRealtimeWithToken(): void;
392
402
  setAnonymousPacketToken(token: string): void;
393
403
  setApiKey(apiKey: string): void;
394
404
  setHmacSecret(secret: string): void;
@@ -405,7 +415,7 @@ declare const EntityAppServerApi_base: {
405
415
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
406
416
  subscribeRealtime(subscriptions: string[]): boolean;
407
417
  unsubscribeRealtime(subscriptions: string[]): boolean;
408
- startHealthTick(intervalMs?: number): void;
418
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
409
419
  stopHealthTick(): void;
410
420
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
411
421
  access_token: string;
@@ -453,6 +463,7 @@ declare const EntityAppServerApi_base: {
453
463
  csrfHeaderName: string;
454
464
  csrfCookieName: string;
455
465
  csrfRefresher: (() => Promise<void>) | null;
466
+ requestAbortControllers: Map<string, AbortController>;
456
467
  activeTxId: string | null;
457
468
  keepSession: boolean;
458
469
  refreshBuffer: number;
@@ -465,7 +476,6 @@ declare const EntityAppServerApi_base: {
465
476
  healthTickPromise: Promise<unknown> | null;
466
477
  realtimeEnabled: boolean;
467
478
  realtimePath: string;
468
- realtimeAutoConnect: boolean;
469
479
  realtimeAutoReconnect: boolean;
470
480
  realtimeReconnectDelayMs: number;
471
481
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -478,6 +488,8 @@ declare const EntityAppServerApi_base: {
478
488
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
479
489
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
480
490
  setToken(token: string): void;
491
+ setAccessTokenFromResponse(token: string): void;
492
+ syncRealtimeWithToken(): void;
481
493
  setAnonymousPacketToken(token: string): void;
482
494
  setApiKey(apiKey: string): void;
483
495
  setHmacSecret(secret: string): void;
@@ -494,7 +506,7 @@ declare const EntityAppServerApi_base: {
494
506
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
495
507
  subscribeRealtime(subscriptions: string[]): boolean;
496
508
  unsubscribeRealtime(subscriptions: string[]): boolean;
497
- startHealthTick(intervalMs?: number): void;
509
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
498
510
  stopHealthTick(): void;
499
511
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
500
512
  access_token: string;
@@ -544,6 +556,7 @@ declare const EntityAppServerApi_base: {
544
556
  csrfHeaderName: string;
545
557
  csrfCookieName: string;
546
558
  csrfRefresher: (() => Promise<void>) | null;
559
+ requestAbortControllers: Map<string, AbortController>;
547
560
  activeTxId: string | null;
548
561
  keepSession: boolean;
549
562
  refreshBuffer: number;
@@ -556,7 +569,6 @@ declare const EntityAppServerApi_base: {
556
569
  healthTickPromise: Promise<unknown> | null;
557
570
  realtimeEnabled: boolean;
558
571
  realtimePath: string;
559
- realtimeAutoConnect: boolean;
560
572
  realtimeAutoReconnect: boolean;
561
573
  realtimeReconnectDelayMs: number;
562
574
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -569,6 +581,8 @@ declare const EntityAppServerApi_base: {
569
581
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
570
582
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
571
583
  setToken(token: string): void;
584
+ setAccessTokenFromResponse(token: string): void;
585
+ syncRealtimeWithToken(): void;
572
586
  setAnonymousPacketToken(token: string): void;
573
587
  setApiKey(apiKey: string): void;
574
588
  setHmacSecret(secret: string): void;
@@ -585,7 +599,7 @@ declare const EntityAppServerApi_base: {
585
599
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
586
600
  subscribeRealtime(subscriptions: string[]): boolean;
587
601
  unsubscribeRealtime(subscriptions: string[]): boolean;
588
- startHealthTick(intervalMs?: number): void;
602
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
589
603
  stopHealthTick(): void;
590
604
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
591
605
  access_token: string;
@@ -662,6 +676,7 @@ declare const EntityAppServerApi_base: {
662
676
  csrfHeaderName: string;
663
677
  csrfCookieName: string;
664
678
  csrfRefresher: (() => Promise<void>) | null;
679
+ requestAbortControllers: Map<string, AbortController>;
665
680
  activeTxId: string | null;
666
681
  keepSession: boolean;
667
682
  refreshBuffer: number;
@@ -674,7 +689,6 @@ declare const EntityAppServerApi_base: {
674
689
  healthTickPromise: Promise<unknown> | null;
675
690
  realtimeEnabled: boolean;
676
691
  realtimePath: string;
677
- realtimeAutoConnect: boolean;
678
692
  realtimeAutoReconnect: boolean;
679
693
  realtimeReconnectDelayMs: number;
680
694
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -687,6 +701,8 @@ declare const EntityAppServerApi_base: {
687
701
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
688
702
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
689
703
  setToken(token: string): void;
704
+ setAccessTokenFromResponse(token: string): void;
705
+ syncRealtimeWithToken(): void;
690
706
  setAnonymousPacketToken(token: string): void;
691
707
  setApiKey(apiKey: string): void;
692
708
  setHmacSecret(secret: string): void;
@@ -703,7 +719,7 @@ declare const EntityAppServerApi_base: {
703
719
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
704
720
  subscribeRealtime(subscriptions: string[]): boolean;
705
721
  unsubscribeRealtime(subscriptions: string[]): boolean;
706
- startHealthTick(intervalMs?: number): void;
722
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
707
723
  stopHealthTick(): void;
708
724
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
709
725
  access_token: string;
@@ -749,6 +765,7 @@ declare const EntityAppServerApi_base: {
749
765
  csrfHeaderName: string;
750
766
  csrfCookieName: string;
751
767
  csrfRefresher: (() => Promise<void>) | null;
768
+ requestAbortControllers: Map<string, AbortController>;
752
769
  activeTxId: string | null;
753
770
  keepSession: boolean;
754
771
  refreshBuffer: number;
@@ -761,7 +778,6 @@ declare const EntityAppServerApi_base: {
761
778
  healthTickPromise: Promise<unknown> | null;
762
779
  realtimeEnabled: boolean;
763
780
  realtimePath: string;
764
- realtimeAutoConnect: boolean;
765
781
  realtimeAutoReconnect: boolean;
766
782
  realtimeReconnectDelayMs: number;
767
783
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -774,6 +790,8 @@ declare const EntityAppServerApi_base: {
774
790
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
775
791
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
776
792
  setToken(token: string): void;
793
+ setAccessTokenFromResponse(token: string): void;
794
+ syncRealtimeWithToken(): void;
777
795
  setAnonymousPacketToken(token: string): void;
778
796
  setApiKey(apiKey: string): void;
779
797
  setHmacSecret(secret: string): void;
@@ -790,7 +808,7 @@ declare const EntityAppServerApi_base: {
790
808
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
791
809
  subscribeRealtime(subscriptions: string[]): boolean;
792
810
  unsubscribeRealtime(subscriptions: string[]): boolean;
793
- startHealthTick(intervalMs?: number): void;
811
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
794
812
  stopHealthTick(): void;
795
813
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
796
814
  access_token: string;
@@ -839,6 +857,7 @@ declare const EntityAppServerApi_base: {
839
857
  csrfHeaderName: string;
840
858
  csrfCookieName: string;
841
859
  csrfRefresher: (() => Promise<void>) | null;
860
+ requestAbortControllers: Map<string, AbortController>;
842
861
  activeTxId: string | null;
843
862
  keepSession: boolean;
844
863
  refreshBuffer: number;
@@ -851,7 +870,6 @@ declare const EntityAppServerApi_base: {
851
870
  healthTickPromise: Promise<unknown> | null;
852
871
  realtimeEnabled: boolean;
853
872
  realtimePath: string;
854
- realtimeAutoConnect: boolean;
855
873
  realtimeAutoReconnect: boolean;
856
874
  realtimeReconnectDelayMs: number;
857
875
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -864,6 +882,8 @@ declare const EntityAppServerApi_base: {
864
882
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
865
883
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
866
884
  setToken(token: string): void;
885
+ setAccessTokenFromResponse(token: string): void;
886
+ syncRealtimeWithToken(): void;
867
887
  setAnonymousPacketToken(token: string): void;
868
888
  setApiKey(apiKey: string): void;
869
889
  setHmacSecret(secret: string): void;
@@ -880,7 +900,7 @@ declare const EntityAppServerApi_base: {
880
900
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
881
901
  subscribeRealtime(subscriptions: string[]): boolean;
882
902
  unsubscribeRealtime(subscriptions: string[]): boolean;
883
- startHealthTick(intervalMs?: number): void;
903
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
884
904
  stopHealthTick(): void;
885
905
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
886
906
  access_token: string;
@@ -928,6 +948,7 @@ declare const EntityAppServerApi_base: {
928
948
  csrfHeaderName: string;
929
949
  csrfCookieName: string;
930
950
  csrfRefresher: (() => Promise<void>) | null;
951
+ requestAbortControllers: Map<string, AbortController>;
931
952
  activeTxId: string | null;
932
953
  keepSession: boolean;
933
954
  refreshBuffer: number;
@@ -940,7 +961,6 @@ declare const EntityAppServerApi_base: {
940
961
  healthTickPromise: Promise<unknown> | null;
941
962
  realtimeEnabled: boolean;
942
963
  realtimePath: string;
943
- realtimeAutoConnect: boolean;
944
964
  realtimeAutoReconnect: boolean;
945
965
  realtimeReconnectDelayMs: number;
946
966
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -953,6 +973,8 @@ declare const EntityAppServerApi_base: {
953
973
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
954
974
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
955
975
  setToken(token: string): void;
976
+ setAccessTokenFromResponse(token: string): void;
977
+ syncRealtimeWithToken(): void;
956
978
  setAnonymousPacketToken(token: string): void;
957
979
  setApiKey(apiKey: string): void;
958
980
  setHmacSecret(secret: string): void;
@@ -969,7 +991,7 @@ declare const EntityAppServerApi_base: {
969
991
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
970
992
  subscribeRealtime(subscriptions: string[]): boolean;
971
993
  unsubscribeRealtime(subscriptions: string[]): boolean;
972
- startHealthTick(intervalMs?: number): void;
994
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
973
995
  stopHealthTick(): void;
974
996
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
975
997
  access_token: string;
@@ -1018,6 +1040,7 @@ declare const EntityAppServerApi_base: {
1018
1040
  csrfHeaderName: string;
1019
1041
  csrfCookieName: string;
1020
1042
  csrfRefresher: (() => Promise<void>) | null;
1043
+ requestAbortControllers: Map<string, AbortController>;
1021
1044
  activeTxId: string | null;
1022
1045
  keepSession: boolean;
1023
1046
  refreshBuffer: number;
@@ -1030,7 +1053,6 @@ declare const EntityAppServerApi_base: {
1030
1053
  healthTickPromise: Promise<unknown> | null;
1031
1054
  realtimeEnabled: boolean;
1032
1055
  realtimePath: string;
1033
- realtimeAutoConnect: boolean;
1034
1056
  realtimeAutoReconnect: boolean;
1035
1057
  realtimeReconnectDelayMs: number;
1036
1058
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -1043,6 +1065,8 @@ declare const EntityAppServerApi_base: {
1043
1065
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
1044
1066
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
1045
1067
  setToken(token: string): void;
1068
+ setAccessTokenFromResponse(token: string): void;
1069
+ syncRealtimeWithToken(): void;
1046
1070
  setAnonymousPacketToken(token: string): void;
1047
1071
  setApiKey(apiKey: string): void;
1048
1072
  setHmacSecret(secret: string): void;
@@ -1059,7 +1083,7 @@ declare const EntityAppServerApi_base: {
1059
1083
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
1060
1084
  subscribeRealtime(subscriptions: string[]): boolean;
1061
1085
  unsubscribeRealtime(subscriptions: string[]): boolean;
1062
- startHealthTick(intervalMs?: number): void;
1086
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
1063
1087
  stopHealthTick(): void;
1064
1088
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
1065
1089
  access_token: string;
@@ -1106,6 +1130,7 @@ declare const EntityAppServerApi_base: {
1106
1130
  csrfHeaderName: string;
1107
1131
  csrfCookieName: string;
1108
1132
  csrfRefresher: (() => Promise<void>) | null;
1133
+ requestAbortControllers: Map<string, AbortController>;
1109
1134
  activeTxId: string | null;
1110
1135
  keepSession: boolean;
1111
1136
  refreshBuffer: number;
@@ -1118,7 +1143,6 @@ declare const EntityAppServerApi_base: {
1118
1143
  healthTickPromise: Promise<unknown> | null;
1119
1144
  realtimeEnabled: boolean;
1120
1145
  realtimePath: string;
1121
- realtimeAutoConnect: boolean;
1122
1146
  realtimeAutoReconnect: boolean;
1123
1147
  realtimeReconnectDelayMs: number;
1124
1148
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -1131,6 +1155,8 @@ declare const EntityAppServerApi_base: {
1131
1155
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
1132
1156
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
1133
1157
  setToken(token: string): void;
1158
+ setAccessTokenFromResponse(token: string): void;
1159
+ syncRealtimeWithToken(): void;
1134
1160
  setAnonymousPacketToken(token: string): void;
1135
1161
  setApiKey(apiKey: string): void;
1136
1162
  setHmacSecret(secret: string): void;
@@ -1147,7 +1173,7 @@ declare const EntityAppServerApi_base: {
1147
1173
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
1148
1174
  subscribeRealtime(subscriptions: string[]): boolean;
1149
1175
  unsubscribeRealtime(subscriptions: string[]): boolean;
1150
- startHealthTick(intervalMs?: number): void;
1176
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
1151
1177
  stopHealthTick(): void;
1152
1178
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
1153
1179
  access_token: string;
@@ -1194,6 +1220,7 @@ declare const EntityAppServerApi_base: {
1194
1220
  csrfHeaderName: string;
1195
1221
  csrfCookieName: string;
1196
1222
  csrfRefresher: (() => Promise<void>) | null;
1223
+ requestAbortControllers: Map<string, AbortController>;
1197
1224
  activeTxId: string | null;
1198
1225
  keepSession: boolean;
1199
1226
  refreshBuffer: number;
@@ -1206,7 +1233,6 @@ declare const EntityAppServerApi_base: {
1206
1233
  healthTickPromise: Promise<unknown> | null;
1207
1234
  realtimeEnabled: boolean;
1208
1235
  realtimePath: string;
1209
- realtimeAutoConnect: boolean;
1210
1236
  realtimeAutoReconnect: boolean;
1211
1237
  realtimeReconnectDelayMs: number;
1212
1238
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -1219,6 +1245,8 @@ declare const EntityAppServerApi_base: {
1219
1245
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
1220
1246
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
1221
1247
  setToken(token: string): void;
1248
+ setAccessTokenFromResponse(token: string): void;
1249
+ syncRealtimeWithToken(): void;
1222
1250
  setAnonymousPacketToken(token: string): void;
1223
1251
  setApiKey(apiKey: string): void;
1224
1252
  setHmacSecret(secret: string): void;
@@ -1235,7 +1263,7 @@ declare const EntityAppServerApi_base: {
1235
1263
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
1236
1264
  subscribeRealtime(subscriptions: string[]): boolean;
1237
1265
  unsubscribeRealtime(subscriptions: string[]): boolean;
1238
- startHealthTick(intervalMs?: number): void;
1266
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
1239
1267
  stopHealthTick(): void;
1240
1268
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
1241
1269
  access_token: string;
@@ -1310,6 +1338,7 @@ declare const EntityAppServerApi_base: {
1310
1338
  csrfHeaderName: string;
1311
1339
  csrfCookieName: string;
1312
1340
  csrfRefresher: (() => Promise<void>) | null;
1341
+ requestAbortControllers: Map<string, AbortController>;
1313
1342
  activeTxId: string | null;
1314
1343
  keepSession: boolean;
1315
1344
  refreshBuffer: number;
@@ -1322,7 +1351,6 @@ declare const EntityAppServerApi_base: {
1322
1351
  healthTickPromise: Promise<unknown> | null;
1323
1352
  realtimeEnabled: boolean;
1324
1353
  realtimePath: string;
1325
- realtimeAutoConnect: boolean;
1326
1354
  realtimeAutoReconnect: boolean;
1327
1355
  realtimeReconnectDelayMs: number;
1328
1356
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -1335,6 +1363,8 @@ declare const EntityAppServerApi_base: {
1335
1363
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
1336
1364
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
1337
1365
  setToken(token: string): void;
1366
+ setAccessTokenFromResponse(token: string): void;
1367
+ syncRealtimeWithToken(): void;
1338
1368
  setAnonymousPacketToken(token: string): void;
1339
1369
  setApiKey(apiKey: string): void;
1340
1370
  setHmacSecret(secret: string): void;
@@ -1351,7 +1381,7 @@ declare const EntityAppServerApi_base: {
1351
1381
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
1352
1382
  subscribeRealtime(subscriptions: string[]): boolean;
1353
1383
  unsubscribeRealtime(subscriptions: string[]): boolean;
1354
- startHealthTick(intervalMs?: number): void;
1384
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
1355
1385
  stopHealthTick(): void;
1356
1386
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
1357
1387
  access_token: string;
@@ -1403,6 +1433,7 @@ declare const EntityAppServerApi_base: {
1403
1433
  csrfHeaderName: string;
1404
1434
  csrfCookieName: string;
1405
1435
  csrfRefresher: (() => Promise<void>) | null;
1436
+ requestAbortControllers: Map<string, AbortController>;
1406
1437
  activeTxId: string | null;
1407
1438
  keepSession: boolean;
1408
1439
  refreshBuffer: number;
@@ -1415,7 +1446,6 @@ declare const EntityAppServerApi_base: {
1415
1446
  healthTickPromise: Promise<unknown> | null;
1416
1447
  realtimeEnabled: boolean;
1417
1448
  realtimePath: string;
1418
- realtimeAutoConnect: boolean;
1419
1449
  realtimeAutoReconnect: boolean;
1420
1450
  realtimeReconnectDelayMs: number;
1421
1451
  realtimeStatus: import("./types.js").RealtimeConnectionStatus;
@@ -1428,6 +1458,8 @@ declare const EntityAppServerApi_base: {
1428
1458
  realtimeEventListeners: Map<string, Set<import("./types.js").RealtimeMessageListener>>;
1429
1459
  configure(options: Partial<import("./types.js").EntityServerClientOptions>): void;
1430
1460
  setToken(token: string): void;
1461
+ setAccessTokenFromResponse(token: string): void;
1462
+ syncRealtimeWithToken(): void;
1431
1463
  setAnonymousPacketToken(token: string): void;
1432
1464
  setApiKey(apiKey: string): void;
1433
1465
  setHmacSecret(secret: string): void;
@@ -1444,7 +1476,7 @@ declare const EntityAppServerApi_base: {
1444
1476
  sendRealtime(message: import("./types.js").RealtimeEnvelope | Record<string, unknown>): boolean;
1445
1477
  subscribeRealtime(subscriptions: string[]): boolean;
1446
1478
  unsubscribeRealtime(subscriptions: string[]): boolean;
1447
- startHealthTick(intervalMs?: number): void;
1479
+ startHealthTick(intervalMs?: number, runImmediately?: boolean): void;
1448
1480
  stopHealthTick(): void;
1449
1481
  scheduleKeepSession(refreshToken: string, expiresIn: number, refreshFn: (rt: string) => Promise<{
1450
1482
  access_token: string;