@getpara/core-sdk 2.24.0 → 3.0.0-alpha.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.
Files changed (43) hide show
  1. package/dist/cjs/ParaCore.js +28 -9
  2. package/dist/cjs/constants.js +1 -1
  3. package/dist/cjs/services/AuthService.js +2 -2
  4. package/dist/cjs/services/ExternalWalletService.js +0 -3
  5. package/dist/cjs/services/LoginFlowService.js +24 -13
  6. package/dist/cjs/services/PollingService.js +3 -3
  7. package/dist/cjs/services/PortalUrlService.js +50 -43
  8. package/dist/cjs/services/SessionManagementService.js +3 -3
  9. package/dist/cjs/services/SignupFlowService.js +18 -3
  10. package/dist/cjs/services/VerificationFlowService.js +9 -4
  11. package/dist/cjs/services/WalletService.js +8 -1
  12. package/dist/cjs/state/CoreStateManager.js +37 -17
  13. package/dist/cjs/state/machines/authStateMachine.js +12 -0
  14. package/dist/cjs/types/coreApi.js +1 -0
  15. package/dist/esm/ParaCore.js +28 -9
  16. package/dist/esm/constants.js +1 -1
  17. package/dist/esm/services/AuthService.js +2 -2
  18. package/dist/esm/services/ExternalWalletService.js +0 -3
  19. package/dist/esm/services/LoginFlowService.js +24 -13
  20. package/dist/esm/services/PollingService.js +3 -3
  21. package/dist/esm/services/PortalUrlService.js +50 -43
  22. package/dist/esm/services/SessionManagementService.js +3 -3
  23. package/dist/esm/services/SignupFlowService.js +18 -3
  24. package/dist/esm/services/VerificationFlowService.js +9 -4
  25. package/dist/esm/services/WalletService.js +8 -1
  26. package/dist/esm/state/CoreStateManager.js +37 -17
  27. package/dist/esm/state/machines/authStateMachine.js +12 -0
  28. package/dist/esm/types/coreApi.js +1 -0
  29. package/dist/types/ParaCore.d.ts +17 -7
  30. package/dist/types/services/WalletService.d.ts +2 -1
  31. package/dist/types/services/types/AuthServiceTypes.d.ts +4 -1
  32. package/dist/types/services/types/PortalUrlServiceTypes.d.ts +9 -5
  33. package/dist/types/services/types/WalletServiceTypes.d.ts +12 -0
  34. package/dist/types/state/machines/authStateMachine.d.ts +112 -1
  35. package/dist/types/state/machines/coreStateMachine.d.ts +682 -16
  36. package/dist/types/state/types/auth.d.ts +4 -1
  37. package/dist/types/state/types/core.d.ts +11 -1
  38. package/dist/types/types/authState.d.ts +25 -0
  39. package/dist/types/types/config.d.ts +3 -2
  40. package/dist/types/types/coreApi.d.ts +9 -3
  41. package/dist/types/types/serviceInterfaces.d.ts +3 -3
  42. package/dist/types/types/util.d.ts +14 -1
  43. package/package.json +3 -3
@@ -623,8 +623,15 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
623
623
  shouldAutoCreateWallets: false;
624
624
  skipSessionRefreshOnSetup: false;
625
625
  isLegacy: false;
626
+ selectedOAuthMethod: any;
626
627
  retryAttempts: {};
627
628
  };
629
+ readonly on: {
630
+ readonly LOGOUT: {
631
+ readonly target: ".unauthenticated";
632
+ readonly actions: readonly ["resetState"];
633
+ };
634
+ };
628
635
  readonly states: {
629
636
  readonly checking_state: {
630
637
  readonly invoke: {
@@ -660,6 +667,110 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
660
667
  };
661
668
  };
662
669
  readonly unauthenticated: {
670
+ readonly entry: readonly [import("xstate").ActionFunction<import("../types/auth.js").AuthContext, AuthEvents, AuthEvents, undefined, import("xstate").Values<{
671
+ connectExternalWallet: {
672
+ src: "connectExternalWallet";
673
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformConnectExternalWalletResponse, import("../../index.js").ConnectExternalWalletParams, import("xstate").EventObject>;
674
+ id: string;
675
+ };
676
+ verifyNewAccount: {
677
+ src: "verifyNewAccount";
678
+ logic: import("xstate").PromiseActorLogic<{
679
+ authState: import("@getpara/shared").ServerAuthState;
680
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
681
+ }, import("../../index.js").PerformVerifyNewAccountParams, import("xstate").EventObject>;
682
+ id: string;
683
+ };
684
+ verifyExternalWallet: {
685
+ src: "verifyExternalWallet";
686
+ logic: import("xstate").PromiseActorLogic<{
687
+ authState: import("@getpara/shared").ServerAuthState;
688
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
689
+ }, import("../../services/types/VerificationFlowServiceTypes.js").VerifyExternalWalletParams, import("xstate").EventObject>;
690
+ id: string;
691
+ };
692
+ authenticateWithEmailOrPhone: {
693
+ src: "authenticateWithEmailOrPhone";
694
+ logic: import("xstate").PromiseActorLogic<{
695
+ authState: import("@getpara/shared").ServerAuthState;
696
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
697
+ }, import("../../index.js").SignUpOrLogInParams, import("xstate").EventObject>;
698
+ id: string;
699
+ };
700
+ polling: {
701
+ src: "polling";
702
+ logic: import("xstate").CallbackActorLogic<any, import("../../index.js").PollingConfig<any>, import("xstate").EventObject>;
703
+ id: string;
704
+ };
705
+ checkUserState: {
706
+ src: "checkUserState";
707
+ logic: import("xstate").PromiseActorLogic<{
708
+ isAuthenticated: boolean;
709
+ isFullyLoggedIn: boolean;
710
+ isGuestMode: boolean;
711
+ }, {}, import("xstate").EventObject>;
712
+ id: string;
713
+ };
714
+ authenticateWithExternalWallet: {
715
+ src: "authenticateWithExternalWallet";
716
+ logic: import("xstate").PromiseActorLogic<{
717
+ authState: import("@getpara/shared").ServerAuthState;
718
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
719
+ }, import("../../index.js").LoginExternalWalletParams, import("xstate").EventObject>;
720
+ id: string;
721
+ };
722
+ authenticateWithTelegram: {
723
+ src: "authenticateWithTelegram";
724
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForTelegramEventParams, import("xstate").EventObject>;
725
+ id: string;
726
+ };
727
+ authenticateWithTelegramLegacy: {
728
+ src: "authenticateWithTelegramLegacy";
729
+ logic: import("xstate").PromiseActorLogic<{
730
+ authState: import("@getpara/shared").ServerAuthState;
731
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
732
+ }, import("../../index.js").VerifyTelegramParams, import("xstate").EventObject>;
733
+ id: string;
734
+ };
735
+ authenticateWithFarcaster: {
736
+ src: "authenticateWithFarcaster";
737
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForFarcasterEventParams, import("xstate").EventObject>;
738
+ id: string;
739
+ };
740
+ authenticateWithFarcasterLegacy: {
741
+ src: "authenticateWithFarcasterLegacy";
742
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformVerifyFarcasterResponse, import("../../index.js").VerifyFarcasterParams, import("xstate").EventObject>;
743
+ id: string;
744
+ };
745
+ processAuthentication: {
746
+ src: "processAuthentication";
747
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").AuthState, {
748
+ authState: import("@getpara/shared").ServerAuthState;
749
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls & {
750
+ sessionLookupId?: string;
751
+ isFromExternalWallet?: boolean;
752
+ };
753
+ }, import("xstate").EventObject>;
754
+ id: string;
755
+ };
756
+ signExternalWalletVerification: {
757
+ src: "signExternalWalletVerification";
758
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").BaseVerifyExternalWalletParams, import("../../index.js").ExternalSignMessageParams & {
759
+ externalWallet: import("@getpara/shared/dist/types/types/wallet.js").ExternalWalletInfo;
760
+ }, import("xstate").EventObject>;
761
+ id: string;
762
+ };
763
+ switchExternalWallet: {
764
+ src: "switchExternalWallet";
765
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformSwitchExternalWalletResponse, import("../../index.js").WatchWalletChangeCallbackParams, import("xstate").EventObject>;
766
+ id: string;
767
+ };
768
+ logoutActor: {
769
+ src: "logoutActor";
770
+ logic: import("xstate").PromiseActorLogic<void, {}, import("xstate").EventObject>;
771
+ id: string;
772
+ };
773
+ }>, never, never, never, never>];
663
774
  readonly on: {
664
775
  readonly INITIALIZE_GUEST_MODE: "guest_mode";
665
776
  readonly SESSION_IMPORTED: "authenticated";
@@ -731,7 +842,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
731
842
  data: {
732
843
  authState: import("@getpara/shared").ServerAuthState;
733
844
  sessionLookupId: string;
734
- portalTheme: import("@getpara/shared/dist/types/types/theme.js").Theme;
845
+ portalTheme: import("../../types/util.js").PortalTheme;
735
846
  useShortUrls: boolean;
736
847
  };
737
848
  finished: boolean;
@@ -4254,8 +4365,15 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
4254
4365
  shouldAutoCreateWallets: false;
4255
4366
  skipSessionRefreshOnSetup: false;
4256
4367
  isLegacy: false;
4368
+ selectedOAuthMethod: any;
4257
4369
  retryAttempts: {};
4258
4370
  };
4371
+ readonly on: {
4372
+ readonly LOGOUT: {
4373
+ readonly target: ".unauthenticated";
4374
+ readonly actions: readonly ["resetState"];
4375
+ };
4376
+ };
4259
4377
  readonly states: {
4260
4378
  readonly checking_state: {
4261
4379
  readonly invoke: {
@@ -4291,6 +4409,110 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
4291
4409
  };
4292
4410
  };
4293
4411
  readonly unauthenticated: {
4412
+ readonly entry: readonly [import("xstate").ActionFunction<import("../types/auth.js").AuthContext, AuthEvents, AuthEvents, undefined, import("xstate").Values<{
4413
+ connectExternalWallet: {
4414
+ src: "connectExternalWallet";
4415
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformConnectExternalWalletResponse, import("../../index.js").ConnectExternalWalletParams, import("xstate").EventObject>;
4416
+ id: string;
4417
+ };
4418
+ verifyNewAccount: {
4419
+ src: "verifyNewAccount";
4420
+ logic: import("xstate").PromiseActorLogic<{
4421
+ authState: import("@getpara/shared").ServerAuthState;
4422
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
4423
+ }, import("../../index.js").PerformVerifyNewAccountParams, import("xstate").EventObject>;
4424
+ id: string;
4425
+ };
4426
+ verifyExternalWallet: {
4427
+ src: "verifyExternalWallet";
4428
+ logic: import("xstate").PromiseActorLogic<{
4429
+ authState: import("@getpara/shared").ServerAuthState;
4430
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
4431
+ }, import("../../services/types/VerificationFlowServiceTypes.js").VerifyExternalWalletParams, import("xstate").EventObject>;
4432
+ id: string;
4433
+ };
4434
+ authenticateWithEmailOrPhone: {
4435
+ src: "authenticateWithEmailOrPhone";
4436
+ logic: import("xstate").PromiseActorLogic<{
4437
+ authState: import("@getpara/shared").ServerAuthState;
4438
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
4439
+ }, import("../../index.js").SignUpOrLogInParams, import("xstate").EventObject>;
4440
+ id: string;
4441
+ };
4442
+ polling: {
4443
+ src: "polling";
4444
+ logic: import("xstate").CallbackActorLogic<any, import("../../index.js").PollingConfig<any>, import("xstate").EventObject>;
4445
+ id: string;
4446
+ };
4447
+ checkUserState: {
4448
+ src: "checkUserState";
4449
+ logic: import("xstate").PromiseActorLogic<{
4450
+ isAuthenticated: boolean;
4451
+ isFullyLoggedIn: boolean;
4452
+ isGuestMode: boolean;
4453
+ }, {}, import("xstate").EventObject>;
4454
+ id: string;
4455
+ };
4456
+ authenticateWithExternalWallet: {
4457
+ src: "authenticateWithExternalWallet";
4458
+ logic: import("xstate").PromiseActorLogic<{
4459
+ authState: import("@getpara/shared").ServerAuthState;
4460
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
4461
+ }, import("../../index.js").LoginExternalWalletParams, import("xstate").EventObject>;
4462
+ id: string;
4463
+ };
4464
+ authenticateWithTelegram: {
4465
+ src: "authenticateWithTelegram";
4466
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForTelegramEventParams, import("xstate").EventObject>;
4467
+ id: string;
4468
+ };
4469
+ authenticateWithTelegramLegacy: {
4470
+ src: "authenticateWithTelegramLegacy";
4471
+ logic: import("xstate").PromiseActorLogic<{
4472
+ authState: import("@getpara/shared").ServerAuthState;
4473
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
4474
+ }, import("../../index.js").VerifyTelegramParams, import("xstate").EventObject>;
4475
+ id: string;
4476
+ };
4477
+ authenticateWithFarcaster: {
4478
+ src: "authenticateWithFarcaster";
4479
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForFarcasterEventParams, import("xstate").EventObject>;
4480
+ id: string;
4481
+ };
4482
+ authenticateWithFarcasterLegacy: {
4483
+ src: "authenticateWithFarcasterLegacy";
4484
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformVerifyFarcasterResponse, import("../../index.js").VerifyFarcasterParams, import("xstate").EventObject>;
4485
+ id: string;
4486
+ };
4487
+ processAuthentication: {
4488
+ src: "processAuthentication";
4489
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").AuthState, {
4490
+ authState: import("@getpara/shared").ServerAuthState;
4491
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls & {
4492
+ sessionLookupId?: string;
4493
+ isFromExternalWallet?: boolean;
4494
+ };
4495
+ }, import("xstate").EventObject>;
4496
+ id: string;
4497
+ };
4498
+ signExternalWalletVerification: {
4499
+ src: "signExternalWalletVerification";
4500
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").BaseVerifyExternalWalletParams, import("../../index.js").ExternalSignMessageParams & {
4501
+ externalWallet: import("@getpara/shared/dist/types/types/wallet.js").ExternalWalletInfo;
4502
+ }, import("xstate").EventObject>;
4503
+ id: string;
4504
+ };
4505
+ switchExternalWallet: {
4506
+ src: "switchExternalWallet";
4507
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformSwitchExternalWalletResponse, import("../../index.js").WatchWalletChangeCallbackParams, import("xstate").EventObject>;
4508
+ id: string;
4509
+ };
4510
+ logoutActor: {
4511
+ src: "logoutActor";
4512
+ logic: import("xstate").PromiseActorLogic<void, {}, import("xstate").EventObject>;
4513
+ id: string;
4514
+ };
4515
+ }>, never, never, never, never>];
4294
4516
  readonly on: {
4295
4517
  readonly INITIALIZE_GUEST_MODE: "guest_mode";
4296
4518
  readonly SESSION_IMPORTED: "authenticated";
@@ -4362,7 +4584,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
4362
4584
  data: {
4363
4585
  authState: import("@getpara/shared").ServerAuthState;
4364
4586
  sessionLookupId: string;
4365
- portalTheme: import("@getpara/shared/dist/types/types/theme.js").Theme;
4587
+ portalTheme: import("../../types/util.js").PortalTheme;
4366
4588
  useShortUrls: boolean;
4367
4589
  };
4368
4590
  finished: boolean;
@@ -7963,8 +8185,15 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
7963
8185
  shouldAutoCreateWallets: false;
7964
8186
  skipSessionRefreshOnSetup: false;
7965
8187
  isLegacy: false;
8188
+ selectedOAuthMethod: any;
7966
8189
  retryAttempts: {};
7967
8190
  };
8191
+ readonly on: {
8192
+ readonly LOGOUT: {
8193
+ readonly target: ".unauthenticated";
8194
+ readonly actions: readonly ["resetState"];
8195
+ };
8196
+ };
7968
8197
  readonly states: {
7969
8198
  readonly checking_state: {
7970
8199
  readonly invoke: {
@@ -8000,6 +8229,110 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
8000
8229
  };
8001
8230
  };
8002
8231
  readonly unauthenticated: {
8232
+ readonly entry: readonly [import("xstate").ActionFunction<import("../types/auth.js").AuthContext, AuthEvents, AuthEvents, undefined, import("xstate").Values<{
8233
+ connectExternalWallet: {
8234
+ src: "connectExternalWallet";
8235
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformConnectExternalWalletResponse, import("../../index.js").ConnectExternalWalletParams, import("xstate").EventObject>;
8236
+ id: string;
8237
+ };
8238
+ verifyNewAccount: {
8239
+ src: "verifyNewAccount";
8240
+ logic: import("xstate").PromiseActorLogic<{
8241
+ authState: import("@getpara/shared").ServerAuthState;
8242
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
8243
+ }, import("../../index.js").PerformVerifyNewAccountParams, import("xstate").EventObject>;
8244
+ id: string;
8245
+ };
8246
+ verifyExternalWallet: {
8247
+ src: "verifyExternalWallet";
8248
+ logic: import("xstate").PromiseActorLogic<{
8249
+ authState: import("@getpara/shared").ServerAuthState;
8250
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
8251
+ }, import("../../services/types/VerificationFlowServiceTypes.js").VerifyExternalWalletParams, import("xstate").EventObject>;
8252
+ id: string;
8253
+ };
8254
+ authenticateWithEmailOrPhone: {
8255
+ src: "authenticateWithEmailOrPhone";
8256
+ logic: import("xstate").PromiseActorLogic<{
8257
+ authState: import("@getpara/shared").ServerAuthState;
8258
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
8259
+ }, import("../../index.js").SignUpOrLogInParams, import("xstate").EventObject>;
8260
+ id: string;
8261
+ };
8262
+ polling: {
8263
+ src: "polling";
8264
+ logic: import("xstate").CallbackActorLogic<any, import("../../index.js").PollingConfig<any>, import("xstate").EventObject>;
8265
+ id: string;
8266
+ };
8267
+ checkUserState: {
8268
+ src: "checkUserState";
8269
+ logic: import("xstate").PromiseActorLogic<{
8270
+ isAuthenticated: boolean;
8271
+ isFullyLoggedIn: boolean;
8272
+ isGuestMode: boolean;
8273
+ }, {}, import("xstate").EventObject>;
8274
+ id: string;
8275
+ };
8276
+ authenticateWithExternalWallet: {
8277
+ src: "authenticateWithExternalWallet";
8278
+ logic: import("xstate").PromiseActorLogic<{
8279
+ authState: import("@getpara/shared").ServerAuthState;
8280
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
8281
+ }, import("../../index.js").LoginExternalWalletParams, import("xstate").EventObject>;
8282
+ id: string;
8283
+ };
8284
+ authenticateWithTelegram: {
8285
+ src: "authenticateWithTelegram";
8286
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForTelegramEventParams, import("xstate").EventObject>;
8287
+ id: string;
8288
+ };
8289
+ authenticateWithTelegramLegacy: {
8290
+ src: "authenticateWithTelegramLegacy";
8291
+ logic: import("xstate").PromiseActorLogic<{
8292
+ authState: import("@getpara/shared").ServerAuthState;
8293
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
8294
+ }, import("../../index.js").VerifyTelegramParams, import("xstate").EventObject>;
8295
+ id: string;
8296
+ };
8297
+ authenticateWithFarcaster: {
8298
+ src: "authenticateWithFarcaster";
8299
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForFarcasterEventParams, import("xstate").EventObject>;
8300
+ id: string;
8301
+ };
8302
+ authenticateWithFarcasterLegacy: {
8303
+ src: "authenticateWithFarcasterLegacy";
8304
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformVerifyFarcasterResponse, import("../../index.js").VerifyFarcasterParams, import("xstate").EventObject>;
8305
+ id: string;
8306
+ };
8307
+ processAuthentication: {
8308
+ src: "processAuthentication";
8309
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").AuthState, {
8310
+ authState: import("@getpara/shared").ServerAuthState;
8311
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls & {
8312
+ sessionLookupId?: string;
8313
+ isFromExternalWallet?: boolean;
8314
+ };
8315
+ }, import("xstate").EventObject>;
8316
+ id: string;
8317
+ };
8318
+ signExternalWalletVerification: {
8319
+ src: "signExternalWalletVerification";
8320
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").BaseVerifyExternalWalletParams, import("../../index.js").ExternalSignMessageParams & {
8321
+ externalWallet: import("@getpara/shared/dist/types/types/wallet.js").ExternalWalletInfo;
8322
+ }, import("xstate").EventObject>;
8323
+ id: string;
8324
+ };
8325
+ switchExternalWallet: {
8326
+ src: "switchExternalWallet";
8327
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformSwitchExternalWalletResponse, import("../../index.js").WatchWalletChangeCallbackParams, import("xstate").EventObject>;
8328
+ id: string;
8329
+ };
8330
+ logoutActor: {
8331
+ src: "logoutActor";
8332
+ logic: import("xstate").PromiseActorLogic<void, {}, import("xstate").EventObject>;
8333
+ id: string;
8334
+ };
8335
+ }>, never, never, never, never>];
8003
8336
  readonly on: {
8004
8337
  readonly INITIALIZE_GUEST_MODE: "guest_mode";
8005
8338
  readonly SESSION_IMPORTED: "authenticated";
@@ -8071,7 +8404,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
8071
8404
  data: {
8072
8405
  authState: import("@getpara/shared").ServerAuthState;
8073
8406
  sessionLookupId: string;
8074
- portalTheme: import("@getpara/shared/dist/types/types/theme.js").Theme;
8407
+ portalTheme: import("../../types/util.js").PortalTheme;
8075
8408
  useShortUrls: boolean;
8076
8409
  };
8077
8410
  finished: boolean;
@@ -11610,8 +11943,15 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
11610
11943
  shouldAutoCreateWallets: false;
11611
11944
  skipSessionRefreshOnSetup: false;
11612
11945
  isLegacy: false;
11946
+ selectedOAuthMethod: any;
11613
11947
  retryAttempts: {};
11614
11948
  };
11949
+ readonly on: {
11950
+ readonly LOGOUT: {
11951
+ readonly target: ".unauthenticated";
11952
+ readonly actions: readonly ["resetState"];
11953
+ };
11954
+ };
11615
11955
  readonly states: {
11616
11956
  readonly checking_state: {
11617
11957
  readonly invoke: {
@@ -11637,16 +11977,120 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
11637
11977
  readonly target: "error";
11638
11978
  readonly actions: any;
11639
11979
  };
11640
- };
11641
- };
11642
- readonly clearing_state: {
11643
- readonly invoke: {
11644
- readonly src: "logoutActor";
11645
- readonly onDone: "unauthenticated";
11646
- readonly onError: "unauthenticated";
11647
- };
11648
- };
11649
- readonly unauthenticated: {
11980
+ };
11981
+ };
11982
+ readonly clearing_state: {
11983
+ readonly invoke: {
11984
+ readonly src: "logoutActor";
11985
+ readonly onDone: "unauthenticated";
11986
+ readonly onError: "unauthenticated";
11987
+ };
11988
+ };
11989
+ readonly unauthenticated: {
11990
+ readonly entry: readonly [import("xstate").ActionFunction<import("../types/auth.js").AuthContext, AuthEvents, AuthEvents, undefined, import("xstate").Values<{
11991
+ connectExternalWallet: {
11992
+ src: "connectExternalWallet";
11993
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformConnectExternalWalletResponse, import("../../index.js").ConnectExternalWalletParams, import("xstate").EventObject>;
11994
+ id: string;
11995
+ };
11996
+ verifyNewAccount: {
11997
+ src: "verifyNewAccount";
11998
+ logic: import("xstate").PromiseActorLogic<{
11999
+ authState: import("@getpara/shared").ServerAuthState;
12000
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
12001
+ }, import("../../index.js").PerformVerifyNewAccountParams, import("xstate").EventObject>;
12002
+ id: string;
12003
+ };
12004
+ verifyExternalWallet: {
12005
+ src: "verifyExternalWallet";
12006
+ logic: import("xstate").PromiseActorLogic<{
12007
+ authState: import("@getpara/shared").ServerAuthState;
12008
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
12009
+ }, import("../../services/types/VerificationFlowServiceTypes.js").VerifyExternalWalletParams, import("xstate").EventObject>;
12010
+ id: string;
12011
+ };
12012
+ authenticateWithEmailOrPhone: {
12013
+ src: "authenticateWithEmailOrPhone";
12014
+ logic: import("xstate").PromiseActorLogic<{
12015
+ authState: import("@getpara/shared").ServerAuthState;
12016
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
12017
+ }, import("../../index.js").SignUpOrLogInParams, import("xstate").EventObject>;
12018
+ id: string;
12019
+ };
12020
+ polling: {
12021
+ src: "polling";
12022
+ logic: import("xstate").CallbackActorLogic<any, import("../../index.js").PollingConfig<any>, import("xstate").EventObject>;
12023
+ id: string;
12024
+ };
12025
+ checkUserState: {
12026
+ src: "checkUserState";
12027
+ logic: import("xstate").PromiseActorLogic<{
12028
+ isAuthenticated: boolean;
12029
+ isFullyLoggedIn: boolean;
12030
+ isGuestMode: boolean;
12031
+ }, {}, import("xstate").EventObject>;
12032
+ id: string;
12033
+ };
12034
+ authenticateWithExternalWallet: {
12035
+ src: "authenticateWithExternalWallet";
12036
+ logic: import("xstate").PromiseActorLogic<{
12037
+ authState: import("@getpara/shared").ServerAuthState;
12038
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
12039
+ }, import("../../index.js").LoginExternalWalletParams, import("xstate").EventObject>;
12040
+ id: string;
12041
+ };
12042
+ authenticateWithTelegram: {
12043
+ src: "authenticateWithTelegram";
12044
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForTelegramEventParams, import("xstate").EventObject>;
12045
+ id: string;
12046
+ };
12047
+ authenticateWithTelegramLegacy: {
12048
+ src: "authenticateWithTelegramLegacy";
12049
+ logic: import("xstate").PromiseActorLogic<{
12050
+ authState: import("@getpara/shared").ServerAuthState;
12051
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
12052
+ }, import("../../index.js").VerifyTelegramParams, import("xstate").EventObject>;
12053
+ id: string;
12054
+ };
12055
+ authenticateWithFarcaster: {
12056
+ src: "authenticateWithFarcaster";
12057
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForFarcasterEventParams, import("xstate").EventObject>;
12058
+ id: string;
12059
+ };
12060
+ authenticateWithFarcasterLegacy: {
12061
+ src: "authenticateWithFarcasterLegacy";
12062
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformVerifyFarcasterResponse, import("../../index.js").VerifyFarcasterParams, import("xstate").EventObject>;
12063
+ id: string;
12064
+ };
12065
+ processAuthentication: {
12066
+ src: "processAuthentication";
12067
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").AuthState, {
12068
+ authState: import("@getpara/shared").ServerAuthState;
12069
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls & {
12070
+ sessionLookupId?: string;
12071
+ isFromExternalWallet?: boolean;
12072
+ };
12073
+ }, import("xstate").EventObject>;
12074
+ id: string;
12075
+ };
12076
+ signExternalWalletVerification: {
12077
+ src: "signExternalWalletVerification";
12078
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").BaseVerifyExternalWalletParams, import("../../index.js").ExternalSignMessageParams & {
12079
+ externalWallet: import("@getpara/shared/dist/types/types/wallet.js").ExternalWalletInfo;
12080
+ }, import("xstate").EventObject>;
12081
+ id: string;
12082
+ };
12083
+ switchExternalWallet: {
12084
+ src: "switchExternalWallet";
12085
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformSwitchExternalWalletResponse, import("../../index.js").WatchWalletChangeCallbackParams, import("xstate").EventObject>;
12086
+ id: string;
12087
+ };
12088
+ logoutActor: {
12089
+ src: "logoutActor";
12090
+ logic: import("xstate").PromiseActorLogic<void, {}, import("xstate").EventObject>;
12091
+ id: string;
12092
+ };
12093
+ }>, never, never, never, never>];
11650
12094
  readonly on: {
11651
12095
  readonly INITIALIZE_GUEST_MODE: "guest_mode";
11652
12096
  readonly SESSION_IMPORTED: "authenticated";
@@ -11718,7 +12162,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
11718
12162
  data: {
11719
12163
  authState: import("@getpara/shared").ServerAuthState;
11720
12164
  sessionLookupId: string;
11721
- portalTheme: import("@getpara/shared/dist/types/types/theme.js").Theme;
12165
+ portalTheme: import("../../types/util.js").PortalTheme;
11722
12166
  useShortUrls: boolean;
11723
12167
  };
11724
12168
  finished: boolean;
@@ -15351,8 +15795,15 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
15351
15795
  shouldAutoCreateWallets: false;
15352
15796
  skipSessionRefreshOnSetup: false;
15353
15797
  isLegacy: false;
15798
+ selectedOAuthMethod: any;
15354
15799
  retryAttempts: {};
15355
15800
  };
15801
+ readonly on: {
15802
+ readonly LOGOUT: {
15803
+ readonly target: ".unauthenticated";
15804
+ readonly actions: readonly ["resetState"];
15805
+ };
15806
+ };
15356
15807
  readonly states: {
15357
15808
  readonly checking_state: {
15358
15809
  readonly invoke: {
@@ -15388,6 +15839,110 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
15388
15839
  };
15389
15840
  };
15390
15841
  readonly unauthenticated: {
15842
+ readonly entry: readonly [import("xstate").ActionFunction<import("../types/auth.js").AuthContext, AuthEvents, AuthEvents, undefined, import("xstate").Values<{
15843
+ connectExternalWallet: {
15844
+ src: "connectExternalWallet";
15845
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformConnectExternalWalletResponse, import("../../index.js").ConnectExternalWalletParams, import("xstate").EventObject>;
15846
+ id: string;
15847
+ };
15848
+ verifyNewAccount: {
15849
+ src: "verifyNewAccount";
15850
+ logic: import("xstate").PromiseActorLogic<{
15851
+ authState: import("@getpara/shared").ServerAuthState;
15852
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
15853
+ }, import("../../index.js").PerformVerifyNewAccountParams, import("xstate").EventObject>;
15854
+ id: string;
15855
+ };
15856
+ verifyExternalWallet: {
15857
+ src: "verifyExternalWallet";
15858
+ logic: import("xstate").PromiseActorLogic<{
15859
+ authState: import("@getpara/shared").ServerAuthState;
15860
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
15861
+ }, import("../../services/types/VerificationFlowServiceTypes.js").VerifyExternalWalletParams, import("xstate").EventObject>;
15862
+ id: string;
15863
+ };
15864
+ authenticateWithEmailOrPhone: {
15865
+ src: "authenticateWithEmailOrPhone";
15866
+ logic: import("xstate").PromiseActorLogic<{
15867
+ authState: import("@getpara/shared").ServerAuthState;
15868
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
15869
+ }, import("../../index.js").SignUpOrLogInParams, import("xstate").EventObject>;
15870
+ id: string;
15871
+ };
15872
+ polling: {
15873
+ src: "polling";
15874
+ logic: import("xstate").CallbackActorLogic<any, import("../../index.js").PollingConfig<any>, import("xstate").EventObject>;
15875
+ id: string;
15876
+ };
15877
+ checkUserState: {
15878
+ src: "checkUserState";
15879
+ logic: import("xstate").PromiseActorLogic<{
15880
+ isAuthenticated: boolean;
15881
+ isFullyLoggedIn: boolean;
15882
+ isGuestMode: boolean;
15883
+ }, {}, import("xstate").EventObject>;
15884
+ id: string;
15885
+ };
15886
+ authenticateWithExternalWallet: {
15887
+ src: "authenticateWithExternalWallet";
15888
+ logic: import("xstate").PromiseActorLogic<{
15889
+ authState: import("@getpara/shared").ServerAuthState;
15890
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
15891
+ }, import("../../index.js").LoginExternalWalletParams, import("xstate").EventObject>;
15892
+ id: string;
15893
+ };
15894
+ authenticateWithTelegram: {
15895
+ src: "authenticateWithTelegram";
15896
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForTelegramEventParams, import("xstate").EventObject>;
15897
+ id: string;
15898
+ };
15899
+ authenticateWithTelegramLegacy: {
15900
+ src: "authenticateWithTelegramLegacy";
15901
+ logic: import("xstate").PromiseActorLogic<{
15902
+ authState: import("@getpara/shared").ServerAuthState;
15903
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
15904
+ }, import("../../index.js").VerifyTelegramParams, import("xstate").EventObject>;
15905
+ id: string;
15906
+ };
15907
+ authenticateWithFarcaster: {
15908
+ src: "authenticateWithFarcaster";
15909
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForFarcasterEventParams, import("xstate").EventObject>;
15910
+ id: string;
15911
+ };
15912
+ authenticateWithFarcasterLegacy: {
15913
+ src: "authenticateWithFarcasterLegacy";
15914
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformVerifyFarcasterResponse, import("../../index.js").VerifyFarcasterParams, import("xstate").EventObject>;
15915
+ id: string;
15916
+ };
15917
+ processAuthentication: {
15918
+ src: "processAuthentication";
15919
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").AuthState, {
15920
+ authState: import("@getpara/shared").ServerAuthState;
15921
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls & {
15922
+ sessionLookupId?: string;
15923
+ isFromExternalWallet?: boolean;
15924
+ };
15925
+ }, import("xstate").EventObject>;
15926
+ id: string;
15927
+ };
15928
+ signExternalWalletVerification: {
15929
+ src: "signExternalWalletVerification";
15930
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").BaseVerifyExternalWalletParams, import("../../index.js").ExternalSignMessageParams & {
15931
+ externalWallet: import("@getpara/shared/dist/types/types/wallet.js").ExternalWalletInfo;
15932
+ }, import("xstate").EventObject>;
15933
+ id: string;
15934
+ };
15935
+ switchExternalWallet: {
15936
+ src: "switchExternalWallet";
15937
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformSwitchExternalWalletResponse, import("../../index.js").WatchWalletChangeCallbackParams, import("xstate").EventObject>;
15938
+ id: string;
15939
+ };
15940
+ logoutActor: {
15941
+ src: "logoutActor";
15942
+ logic: import("xstate").PromiseActorLogic<void, {}, import("xstate").EventObject>;
15943
+ id: string;
15944
+ };
15945
+ }>, never, never, never, never>];
15391
15946
  readonly on: {
15392
15947
  readonly INITIALIZE_GUEST_MODE: "guest_mode";
15393
15948
  readonly SESSION_IMPORTED: "authenticated";
@@ -15459,7 +16014,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
15459
16014
  data: {
15460
16015
  authState: import("@getpara/shared").ServerAuthState;
15461
16016
  sessionLookupId: string;
15462
- portalTheme: import("@getpara/shared/dist/types/types/theme.js").Theme;
16017
+ portalTheme: import("../../types/util.js").PortalTheme;
15463
16018
  useShortUrls: boolean;
15464
16019
  };
15465
16020
  finished: boolean;
@@ -18999,8 +19554,15 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
18999
19554
  shouldAutoCreateWallets: false;
19000
19555
  skipSessionRefreshOnSetup: false;
19001
19556
  isLegacy: false;
19557
+ selectedOAuthMethod: any;
19002
19558
  retryAttempts: {};
19003
19559
  };
19560
+ readonly on: {
19561
+ readonly LOGOUT: {
19562
+ readonly target: ".unauthenticated";
19563
+ readonly actions: readonly ["resetState"];
19564
+ };
19565
+ };
19004
19566
  readonly states: {
19005
19567
  readonly checking_state: {
19006
19568
  readonly invoke: {
@@ -19036,6 +19598,110 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
19036
19598
  };
19037
19599
  };
19038
19600
  readonly unauthenticated: {
19601
+ readonly entry: readonly [import("xstate").ActionFunction<import("../types/auth.js").AuthContext, AuthEvents, AuthEvents, undefined, import("xstate").Values<{
19602
+ connectExternalWallet: {
19603
+ src: "connectExternalWallet";
19604
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformConnectExternalWalletResponse, import("../../index.js").ConnectExternalWalletParams, import("xstate").EventObject>;
19605
+ id: string;
19606
+ };
19607
+ verifyNewAccount: {
19608
+ src: "verifyNewAccount";
19609
+ logic: import("xstate").PromiseActorLogic<{
19610
+ authState: import("@getpara/shared").ServerAuthState;
19611
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
19612
+ }, import("../../index.js").PerformVerifyNewAccountParams, import("xstate").EventObject>;
19613
+ id: string;
19614
+ };
19615
+ verifyExternalWallet: {
19616
+ src: "verifyExternalWallet";
19617
+ logic: import("xstate").PromiseActorLogic<{
19618
+ authState: import("@getpara/shared").ServerAuthState;
19619
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
19620
+ }, import("../../services/types/VerificationFlowServiceTypes.js").VerifyExternalWalletParams, import("xstate").EventObject>;
19621
+ id: string;
19622
+ };
19623
+ authenticateWithEmailOrPhone: {
19624
+ src: "authenticateWithEmailOrPhone";
19625
+ logic: import("xstate").PromiseActorLogic<{
19626
+ authState: import("@getpara/shared").ServerAuthState;
19627
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
19628
+ }, import("../../index.js").SignUpOrLogInParams, import("xstate").EventObject>;
19629
+ id: string;
19630
+ };
19631
+ polling: {
19632
+ src: "polling";
19633
+ logic: import("xstate").CallbackActorLogic<any, import("../../index.js").PollingConfig<any>, import("xstate").EventObject>;
19634
+ id: string;
19635
+ };
19636
+ checkUserState: {
19637
+ src: "checkUserState";
19638
+ logic: import("xstate").PromiseActorLogic<{
19639
+ isAuthenticated: boolean;
19640
+ isFullyLoggedIn: boolean;
19641
+ isGuestMode: boolean;
19642
+ }, {}, import("xstate").EventObject>;
19643
+ id: string;
19644
+ };
19645
+ authenticateWithExternalWallet: {
19646
+ src: "authenticateWithExternalWallet";
19647
+ logic: import("xstate").PromiseActorLogic<{
19648
+ authState: import("@getpara/shared").ServerAuthState;
19649
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
19650
+ }, import("../../index.js").LoginExternalWalletParams, import("xstate").EventObject>;
19651
+ id: string;
19652
+ };
19653
+ authenticateWithTelegram: {
19654
+ src: "authenticateWithTelegram";
19655
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForTelegramEventParams, import("xstate").EventObject>;
19656
+ id: string;
19657
+ };
19658
+ authenticateWithTelegramLegacy: {
19659
+ src: "authenticateWithTelegramLegacy";
19660
+ logic: import("xstate").PromiseActorLogic<{
19661
+ authState: import("@getpara/shared").ServerAuthState;
19662
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls;
19663
+ }, import("../../index.js").VerifyTelegramParams, import("xstate").EventObject>;
19664
+ id: string;
19665
+ };
19666
+ authenticateWithFarcaster: {
19667
+ src: "authenticateWithFarcaster";
19668
+ logic: import("xstate").PromiseActorLogic<import("../types/auth.js").AuthenticationOutput, import("../../index.js").WaitForFarcasterEventParams, import("xstate").EventObject>;
19669
+ id: string;
19670
+ };
19671
+ authenticateWithFarcasterLegacy: {
19672
+ src: "authenticateWithFarcasterLegacy";
19673
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformVerifyFarcasterResponse, import("../../index.js").VerifyFarcasterParams, import("xstate").EventObject>;
19674
+ id: string;
19675
+ };
19676
+ processAuthentication: {
19677
+ src: "processAuthentication";
19678
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").AuthState, {
19679
+ authState: import("@getpara/shared").ServerAuthState;
19680
+ opts: import("../../types/util.js").WithCustomTheme & import("../../types/util.js").WithUseShortUrls & {
19681
+ sessionLookupId?: string;
19682
+ isFromExternalWallet?: boolean;
19683
+ };
19684
+ }, import("xstate").EventObject>;
19685
+ id: string;
19686
+ };
19687
+ signExternalWalletVerification: {
19688
+ src: "signExternalWalletVerification";
19689
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").BaseVerifyExternalWalletParams, import("../../index.js").ExternalSignMessageParams & {
19690
+ externalWallet: import("@getpara/shared/dist/types/types/wallet.js").ExternalWalletInfo;
19691
+ }, import("xstate").EventObject>;
19692
+ id: string;
19693
+ };
19694
+ switchExternalWallet: {
19695
+ src: "switchExternalWallet";
19696
+ logic: import("xstate").PromiseActorLogic<import("../../index.js").PerformSwitchExternalWalletResponse, import("../../index.js").WatchWalletChangeCallbackParams, import("xstate").EventObject>;
19697
+ id: string;
19698
+ };
19699
+ logoutActor: {
19700
+ src: "logoutActor";
19701
+ logic: import("xstate").PromiseActorLogic<void, {}, import("xstate").EventObject>;
19702
+ id: string;
19703
+ };
19704
+ }>, never, never, never, never>];
19039
19705
  readonly on: {
19040
19706
  readonly INITIALIZE_GUEST_MODE: "guest_mode";
19041
19707
  readonly SESSION_IMPORTED: "authenticated";
@@ -19107,7 +19773,7 @@ export declare function createCoreStateMachine(paraCoreInterface: StateMachineIn
19107
19773
  data: {
19108
19774
  authState: import("@getpara/shared").ServerAuthState;
19109
19775
  sessionLookupId: string;
19110
- portalTheme: import("@getpara/shared/dist/types/types/theme.js").Theme;
19776
+ portalTheme: import("../../types/util.js").PortalTheme;
19111
19777
  useShortUrls: boolean;
19112
19778
  };
19113
19779
  finished: boolean;