@crossauth/sveltekit 0.0.38 → 0.0.39

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.
@@ -486,17 +486,6 @@ export declare class SvelteKitOAuthClient extends OAuthClientBackend {
486
486
  access_token?: string | undefined;
487
487
  refresh_token?: string | undefined;
488
488
  id_token?: string | undefined;
489
- /**
490
- * This function is called after successful authorization to pass the
491
- * new tokens to.
492
- * @param oauthResponse the response from the OAuth `token` endpoint.
493
- * @param client the OAuth client
494
- * @param event the SvelteKit request event
495
- * @param silent if true, don't return a Response, only JSON or undefined.
496
- * @param setUserFn if implementing this function you should call this
497
- * when you receive a valid ID token
498
- * @returns a Response, JSON or undefined
499
- */
500
489
  id_payload?: {
501
490
  [key: string]: any;
502
491
  } | undefined;
@@ -524,17 +513,6 @@ export declare class SvelteKitOAuthClient extends OAuthClientBackend {
524
513
  access_token?: string | undefined;
525
514
  refresh_token?: string | undefined;
526
515
  id_token?: string | undefined;
527
- /**
528
- * This function is called after successful authorization to pass the
529
- * new tokens to.
530
- * @param oauthResponse the response from the OAuth `token` endpoint.
531
- * @param client the OAuth client
532
- * @param event the SvelteKit request event
533
- * @param silent if true, don't return a Response, only JSON or undefined.
534
- * @param setUserFn if implementing this function you should call this
535
- * when you receive a valid ID token
536
- * @returns a Response, JSON or undefined
537
- */
538
516
  id_payload?: {
539
517
  [key: string]: any;
540
518
  } | undefined;
@@ -560,17 +538,6 @@ export declare class SvelteKitOAuthClient extends OAuthClientBackend {
560
538
  access_token?: string | undefined;
561
539
  refresh_token?: string | undefined;
562
540
  id_token?: string | undefined;
563
- /**
564
- * This function is called after successful authorization to pass the
565
- * new tokens to.
566
- * @param oauthResponse the response from the OAuth `token` endpoint.
567
- * @param client the OAuth client
568
- * @param event the SvelteKit request event
569
- * @param silent if true, don't return a Response, only JSON or undefined.
570
- * @param setUserFn if implementing this function you should call this
571
- * when you receive a valid ID token
572
- * @returns a Response, JSON or undefined
573
- */
574
541
  id_payload?: {
575
542
  [key: string]: any;
576
543
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossauth/sveltekit",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "license": "Apache-2.0",
5
5
  "private": false,
6
6
  "type": "module",
@@ -46,8 +46,8 @@
46
46
  "minimatch": "^10.0.1",
47
47
  "qrcode": "^1.5.4",
48
48
  "vite-plugin-dts": "^3.6.4",
49
- "@crossauth/backend": "^0.0.38",
50
- "@crossauth/common": "^0.0.38"
49
+ "@crossauth/backend": "^0.0.39",
50
+ "@crossauth/common": "^0.0.39"
51
51
  },
52
52
  "scripts": {
53
53
  "preparex": "svelte-kit sync",