antarctic 0.4.0 → 0.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.
Files changed (65) hide show
  1. package/dist/auth.d.ts +1 -0
  2. package/dist/providers/42.js +2 -1
  3. package/dist/providers/amazon-cognito.js +2 -1
  4. package/dist/providers/anilist.js +2 -1
  5. package/dist/providers/apple.js +2 -1
  6. package/dist/providers/atlassian.js +2 -1
  7. package/dist/providers/auth0.js +2 -1
  8. package/dist/providers/authentik.js +2 -1
  9. package/dist/providers/autodesk.js +2 -1
  10. package/dist/providers/battlenet.js +2 -1
  11. package/dist/providers/bitbucket.js +2 -1
  12. package/dist/providers/box.js +2 -1
  13. package/dist/providers/bungie.js +2 -1
  14. package/dist/providers/coinbase.js +2 -1
  15. package/dist/providers/discord.js +2 -1
  16. package/dist/providers/donation-alerts.js +2 -1
  17. package/dist/providers/dribbble.js +2 -1
  18. package/dist/providers/dropbox.js +2 -1
  19. package/dist/providers/epicgames.js +2 -1
  20. package/dist/providers/etsy.js +2 -1
  21. package/dist/providers/facebook.js +2 -1
  22. package/dist/providers/figma.js +2 -1
  23. package/dist/providers/gitea.js +2 -1
  24. package/dist/providers/github.js +2 -1
  25. package/dist/providers/gitlab.js +2 -1
  26. package/dist/providers/google.js +2 -1
  27. package/dist/providers/intuit.js +2 -1
  28. package/dist/providers/kakao.js +2 -1
  29. package/dist/providers/keycloak.js +2 -1
  30. package/dist/providers/kick.js +2 -1
  31. package/dist/providers/lichess.js +2 -1
  32. package/dist/providers/line.js +2 -1
  33. package/dist/providers/linear.js +2 -1
  34. package/dist/providers/linkedin.js +2 -1
  35. package/dist/providers/mastodon.js +2 -1
  36. package/dist/providers/mercadolibre.js +2 -1
  37. package/dist/providers/mercadopago.js +2 -1
  38. package/dist/providers/microsoft-entra-id.js +2 -1
  39. package/dist/providers/myanimelist.js +2 -1
  40. package/dist/providers/naver.js +2 -1
  41. package/dist/providers/notion.js +2 -1
  42. package/dist/providers/okta.js +2 -1
  43. package/dist/providers/osu.js +2 -1
  44. package/dist/providers/patreon.js +2 -1
  45. package/dist/providers/polar.js +2 -1
  46. package/dist/providers/reddit.js +2 -1
  47. package/dist/providers/roblox.js +2 -1
  48. package/dist/providers/salesforce.js +2 -1
  49. package/dist/providers/shikimori.js +2 -1
  50. package/dist/providers/slack.js +2 -1
  51. package/dist/providers/spotify.js +2 -1
  52. package/dist/providers/startgg.js +2 -1
  53. package/dist/providers/strava.js +2 -1
  54. package/dist/providers/tiktok.js +2 -1
  55. package/dist/providers/tiltify.js +2 -1
  56. package/dist/providers/tumblr.js +2 -1
  57. package/dist/providers/twitch.js +2 -1
  58. package/dist/providers/twitter.js +2 -1
  59. package/dist/providers/vk.js +2 -1
  60. package/dist/providers/withings.js +2 -1
  61. package/dist/providers/workos.js +2 -1
  62. package/dist/providers/yahoo.js +2 -1
  63. package/dist/providers/yandex.js +2 -1
  64. package/dist/providers/zoom.js +2 -1
  65. package/package.json +1 -1
package/dist/auth.d.ts CHANGED
@@ -3,6 +3,7 @@ export interface OAuthUser {
3
3
  name?: string | null;
4
4
  email?: string | null;
5
5
  image?: string | null;
6
+ raw?: Record<string, unknown>;
6
7
  }
7
8
  export interface OAuthStateStore {
8
9
  get: (key: string) => Promise<any>;
@@ -69,7 +69,8 @@ export class FortyTwo {
69
69
  id: profileId(profile.id),
70
70
  name: profileString(profile.displayname) ?? profileString(profile.login),
71
71
  email: profileString(profile.email),
72
- image
72
+ image,
73
+ raw: profile
73
74
  };
74
75
  }
75
76
  }
@@ -70,7 +70,8 @@ export class AmazonCognito {
70
70
  profileString(claims["cognito:username"]) ??
71
71
  profileString(claims.username),
72
72
  email: profileString(claims.email),
73
- image: profileString(claims.picture)
73
+ image: profileString(claims.picture),
74
+ raw: claims
74
75
  };
75
76
  }
76
77
  }
@@ -48,7 +48,8 @@ export class AniList {
48
48
  id: profileId(viewer.id),
49
49
  name: profileString(viewer.name),
50
50
  email: null,
51
- image
51
+ image,
52
+ raw: viewer
52
53
  };
53
54
  }
54
55
  }
@@ -75,7 +75,8 @@ export class Apple {
75
75
  id: profileId(claims.sub),
76
76
  name: null,
77
77
  email: profileString(claims.email),
78
- image: null
78
+ image: null,
79
+ raw: claims
79
80
  };
80
81
  }
81
82
  async createClientSecret() {
@@ -77,7 +77,8 @@ export class Atlassian {
77
77
  id: profileId(profile.account_id),
78
78
  name: profileString(profile.name) ?? profileString(profile.nickname),
79
79
  email: profileString(profile.email),
80
- image: profileString(profile.picture)
80
+ image: profileString(profile.picture),
81
+ raw: profile
81
82
  };
82
83
  }
83
84
  }
@@ -74,7 +74,8 @@ export class Auth0 {
74
74
  id: profileId(claims.sub),
75
75
  name: profileString(claims.name) ?? profileString(claims.nickname),
76
76
  email: profileString(claims.email),
77
- image: profileString(claims.picture)
77
+ image: profileString(claims.picture),
78
+ raw: claims
78
79
  };
79
80
  }
80
81
  }
@@ -69,7 +69,8 @@ export class Authentik {
69
69
  id: profileId(claims.sub),
70
70
  name: profileString(claims.name) ?? profileString(claims.preferred_username),
71
71
  email: profileString(claims.email),
72
- image: profileString(claims.picture)
72
+ image: profileString(claims.picture),
73
+ raw: claims
73
74
  };
74
75
  }
75
76
  }
@@ -54,7 +54,8 @@ export class Autodesk {
54
54
  id: profileId(claims.sub),
55
55
  name: profileString(claims.name) ?? profileString(claims.preferred_username),
56
56
  email: profileString(claims.email),
57
- image: profileString(claims.picture)
57
+ image: profileString(claims.picture),
58
+ raw: claims
58
59
  };
59
60
  }
60
61
  }
@@ -63,7 +63,8 @@ export class BattleNet {
63
63
  id: profileId(profile.sub),
64
64
  name: profileString(profile.battletag),
65
65
  email: null,
66
- image: null
66
+ image: null,
67
+ raw: profile
67
68
  };
68
69
  }
69
70
  }
@@ -57,7 +57,8 @@ export class Bitbucket {
57
57
  id: profileId(profile.uuid ?? profile.account_id),
58
58
  name: profileString(profile.display_name) ?? profileString(profile.username),
59
59
  email: await fetchPrimaryEmail(accessToken),
60
- image
60
+ image,
61
+ raw: profile
61
62
  };
62
63
  }
63
64
  }
@@ -84,7 +84,8 @@ export class Box {
84
84
  id: profileId(profile.id),
85
85
  name: profileString(profile.name),
86
86
  email: profileString(profile.login),
87
- image: profileString(profile.avatar_url)
87
+ image: profileString(profile.avatar_url),
88
+ raw: profile
88
89
  };
89
90
  }
90
91
  }
@@ -66,7 +66,8 @@ export class Bungie {
66
66
  id: profileId(user.membershipId),
67
67
  name: profileString(user.cachedBungieGlobalDisplayName) ?? profileString(user.displayName),
68
68
  email: null,
69
- image
69
+ image,
70
+ raw: user
70
71
  };
71
72
  }
72
73
  }
@@ -89,7 +89,8 @@ export class Coinbase {
89
89
  id: profileId(user.id),
90
90
  name: profileString(user.name) ?? profileString(user.username),
91
91
  email: profileString(user.email),
92
- image: profileString(user.avatar_url)
92
+ image: profileString(user.avatar_url),
93
+ raw: user
93
94
  };
94
95
  }
95
96
  }
@@ -62,7 +62,8 @@ export class Discord {
62
62
  id,
63
63
  name: profileString(profile.global_name) ?? profileString(profile.username),
64
64
  email: profileString(profile.email),
65
- image: avatar === null ? null : `https://cdn.discordapp.com/avatars/${id}/${avatar}.png`
65
+ image: avatar === null ? null : `https://cdn.discordapp.com/avatars/${id}/${avatar}.png`,
66
+ raw: profile
66
67
  };
67
68
  }
68
69
  }
@@ -80,7 +80,8 @@ export class DonationAlerts {
80
80
  id: profileId(user.id),
81
81
  name: profileString(user.name) ?? profileString(user.code),
82
82
  email: profileString(user.email),
83
- image: profileString(user.avatar)
83
+ image: profileString(user.avatar),
84
+ raw: user
84
85
  };
85
86
  }
86
87
  }
@@ -67,7 +67,8 @@ export class Dribbble {
67
67
  name: profileString(profile.name) ?? profileString(profile.login),
68
68
  // The v2 user endpoint does not expose an email address.
69
69
  email: null,
70
- image: profileString(profile.avatar_url)
70
+ image: profileString(profile.avatar_url),
71
+ raw: profile
71
72
  };
72
73
  }
73
74
  }
@@ -57,7 +57,8 @@ export class Dropbox {
57
57
  id: profileId(profile.account_id),
58
58
  name,
59
59
  email: profileString(profile.email),
60
- image: profileString(profile.profile_photo_url)
60
+ image: profileString(profile.profile_photo_url),
61
+ raw: profile
61
62
  };
62
63
  }
63
64
  }
@@ -54,7 +54,8 @@ export class EpicGames {
54
54
  name: profileString(claims.preferred_username),
55
55
  // Epic Games does not expose user emails or avatars.
56
56
  email: null,
57
- image: null
57
+ image: null,
58
+ raw: claims
58
59
  };
59
60
  }
60
61
  }
@@ -62,7 +62,8 @@ export class Etsy {
62
62
  id: userId,
63
63
  name,
64
64
  email: profileString(profile.primary_email),
65
- image: profileString(profile.image_url_75x75)
65
+ image: profileString(profile.image_url_75x75),
66
+ raw: profile
66
67
  };
67
68
  }
68
69
  }
@@ -74,7 +74,8 @@ export class Facebook {
74
74
  id: profileId(profile.id),
75
75
  name: profileString(profile.name),
76
76
  email: profileString(profile.email),
77
- image
77
+ image,
78
+ raw: profile
78
79
  };
79
80
  }
80
81
  }
@@ -50,7 +50,8 @@ export class Figma {
50
50
  id: profileId(profile.id),
51
51
  name: profileString(profile.handle),
52
52
  email: profileString(profile.email),
53
- image: profileString(profile.img_url)
53
+ image: profileString(profile.img_url),
54
+ raw: profile
54
55
  };
55
56
  }
56
57
  }
@@ -56,7 +56,8 @@ export class Gitea {
56
56
  id: profileId(profile.id),
57
57
  name: profileString(profile.full_name) ?? profileString(profile.login),
58
58
  email: profileString(profile.email),
59
- image: profileString(profile.avatar_url)
59
+ image: profileString(profile.avatar_url),
60
+ raw: profile
60
61
  };
61
62
  }
62
63
  }
@@ -83,7 +83,8 @@ export class GitHub {
83
83
  id: profileId(profile.id),
84
84
  name: profileString(profile.name) ?? profileString(profile.login),
85
85
  email,
86
- image: profileString(profile.avatar_url)
86
+ image: profileString(profile.avatar_url),
87
+ raw: profile
87
88
  };
88
89
  }
89
90
  }
@@ -58,7 +58,8 @@ export class GitLab {
58
58
  id: profileId(claims.sub),
59
59
  name: profileString(claims.name) ?? profileString(claims.nickname),
60
60
  email: profileString(claims.email),
61
- image: profileString(claims.picture)
61
+ image: profileString(claims.picture),
62
+ raw: claims
62
63
  };
63
64
  }
64
65
  }
@@ -64,7 +64,8 @@ export class Google {
64
64
  id: profileId(claims.sub),
65
65
  name: profileString(claims.name),
66
66
  email: profileString(claims.email),
67
- image: profileString(claims.picture)
67
+ image: profileString(claims.picture),
68
+ raw: claims
68
69
  };
69
70
  }
70
71
  }
@@ -60,7 +60,8 @@ export class Intuit {
60
60
  id: profileId(claims.sub),
61
61
  name,
62
62
  email: profileString(claims.email),
63
- image: null
63
+ image: null,
64
+ raw: claims
64
65
  };
65
66
  }
66
67
  }
@@ -89,7 +89,8 @@ export class Kakao {
89
89
  id: profileId(profile.id),
90
90
  name,
91
91
  email,
92
- image
92
+ image,
93
+ raw: profile
93
94
  };
94
95
  }
95
96
  }
@@ -68,7 +68,8 @@ export class KeyCloak {
68
68
  id: profileId(claims.sub),
69
69
  name: profileString(claims.name) ?? profileString(claims.preferred_username),
70
70
  email: profileString(claims.email),
71
- image: profileString(claims.picture)
71
+ image: profileString(claims.picture),
72
+ raw: claims
72
73
  };
73
74
  }
74
75
  }
@@ -97,7 +97,8 @@ export class Kick {
97
97
  id: profileId(profile.user_id),
98
98
  name: profileString(profile.name),
99
99
  email: profileString(profile.email),
100
- image: profileString(profile.profile_picture)
100
+ image: profileString(profile.profile_picture),
101
+ raw: profile
101
102
  };
102
103
  }
103
104
  }
@@ -57,7 +57,8 @@ export class Lichess {
57
57
  id: profileId(profile.id),
58
58
  name: profileString(profile.username),
59
59
  email,
60
- image: null
60
+ image: null,
61
+ raw: profile
61
62
  };
62
63
  }
63
64
  }
@@ -92,7 +92,8 @@ export class Line {
92
92
  id: profileId(claims.sub),
93
93
  name: profileString(claims.name),
94
94
  email: profileString(claims.email),
95
- image: profileString(claims.picture)
95
+ image: profileString(claims.picture),
96
+ raw: claims
96
97
  };
97
98
  }
98
99
  }
@@ -65,7 +65,8 @@ export class Linear {
65
65
  id: profileId(viewer.id),
66
66
  name: profileString(viewer.name),
67
67
  email: profileString(viewer.email),
68
- image: profileString(viewer.avatarUrl)
68
+ image: profileString(viewer.avatarUrl),
69
+ raw: viewer
69
70
  };
70
71
  }
71
72
  }
@@ -83,7 +83,8 @@ export class LinkedIn {
83
83
  id: profileId(claims.sub),
84
84
  name: profileString(claims.name),
85
85
  email: profileString(claims.email),
86
- image: profileString(claims.picture)
86
+ image: profileString(claims.picture),
87
+ raw: claims
87
88
  };
88
89
  }
89
90
  }
@@ -61,7 +61,8 @@ export class Mastodon {
61
61
  id: profileId(profile.id),
62
62
  name: profileString(profile.display_name) ?? profileString(profile.username),
63
63
  email: null,
64
- image: profileString(profile.avatar)
64
+ image: profileString(profile.avatar),
65
+ raw: profile
65
66
  };
66
67
  }
67
68
  }
@@ -89,7 +89,8 @@ export class MercadoLibre {
89
89
  id: profileId(profile.id),
90
90
  name: fullName !== "" ? fullName : profileString(profile.nickname),
91
91
  email: profileString(profile.email),
92
- image
92
+ image,
93
+ raw: profile
93
94
  };
94
95
  }
95
96
  }
@@ -89,7 +89,8 @@ export class MercadoPago {
89
89
  id: profileId(profile.id),
90
90
  name: fullName !== "" ? fullName : profileString(profile.nickname),
91
91
  email: profileString(profile.email),
92
- image
92
+ image,
93
+ raw: profile
93
94
  };
94
95
  }
95
96
  }
@@ -114,7 +114,8 @@ export class MicrosoftEntraId {
114
114
  id: profileId(claims.sub),
115
115
  name: profileString(claims.name),
116
116
  email: profileString(claims.email) ?? profileString(claims.preferred_username),
117
- image: profileString(claims.picture)
117
+ image: profileString(claims.picture),
118
+ raw: claims
118
119
  };
119
120
  }
120
121
  }
@@ -50,7 +50,8 @@ export class MyAnimeList {
50
50
  id: profileId(profile.id),
51
51
  name: profileString(profile.name),
52
52
  email: null,
53
- image: profileString(profile.picture)
53
+ image: profileString(profile.picture),
54
+ raw: profile
54
55
  };
55
56
  }
56
57
  }
@@ -77,7 +77,8 @@ export class Naver {
77
77
  id: profileId(user.id),
78
78
  name: profileString(user.name) ?? profileString(user.nickname),
79
79
  email: profileString(user.email),
80
- image: profileString(user.profile_image)
80
+ image: profileString(user.profile_image),
81
+ raw: user
81
82
  };
82
83
  }
83
84
  }
@@ -59,7 +59,8 @@ export class Notion {
59
59
  id: profileId(profile.id),
60
60
  name: profileString(profile.name),
61
61
  email,
62
- image: profileString(profile.avatar_url)
62
+ image: profileString(profile.avatar_url),
63
+ raw: profile
63
64
  };
64
65
  }
65
66
  }
@@ -79,7 +79,8 @@ export class Okta {
79
79
  id: profileId(claims.sub),
80
80
  name: profileString(claims.name),
81
81
  email: profileString(claims.email),
82
- image: profileString(claims.picture)
82
+ image: profileString(claims.picture),
83
+ raw: claims
83
84
  };
84
85
  }
85
86
  }
@@ -76,7 +76,8 @@ export class Osu {
76
76
  id: profileId(profile.id),
77
77
  name: profileString(profile.username),
78
78
  email: null,
79
- image: profileString(profile.avatar_url)
79
+ image: profileString(profile.avatar_url),
80
+ raw: profile
80
81
  };
81
82
  }
82
83
  }
@@ -83,7 +83,8 @@ export class Patreon {
83
83
  id: profileId(user.id),
84
84
  name: profileString(attributes.full_name),
85
85
  email: profileString(attributes.email),
86
- image: profileString(attributes.image_url)
86
+ image: profileString(attributes.image_url),
87
+ raw: user
87
88
  };
88
89
  }
89
90
  }
@@ -94,7 +94,8 @@ export class Polar {
94
94
  name: profileString(claims.name),
95
95
  email: profileString(claims.email),
96
96
  // Polar's userinfo response has no avatar field.
97
- image: null
97
+ image: null,
98
+ raw: claims
98
99
  };
99
100
  }
100
101
  }
@@ -49,7 +49,8 @@ export class Reddit {
49
49
  id: profileId(profile.id),
50
50
  name: profileString(profile.name),
51
51
  email: null,
52
- image: profileString(profile.icon_img)
52
+ image: profileString(profile.icon_img),
53
+ raw: profile
53
54
  };
54
55
  }
55
56
  }
@@ -61,7 +61,8 @@ export class Roblox {
61
61
  id: profileId(claims.sub),
62
62
  name: profileString(claims.name) ?? profileString(claims.preferred_username),
63
63
  email: null,
64
- image: profileString(claims.picture)
64
+ image: profileString(claims.picture),
65
+ raw: claims
65
66
  };
66
67
  }
67
68
  }
@@ -68,7 +68,8 @@ export class Salesforce {
68
68
  id: profileId(claims.sub),
69
69
  name: profileString(claims.name) ?? profileString(claims.preferred_username),
70
70
  email: profileString(claims.email),
71
- image: profileString(claims.picture)
71
+ image: profileString(claims.picture),
72
+ raw: claims
72
73
  };
73
74
  }
74
75
  }
@@ -75,7 +75,8 @@ export class Shikimori {
75
75
  id: profileId(profile.id),
76
76
  name: profileString(profile.nickname),
77
77
  email: null,
78
- image: image ?? profileString(profile.avatar)
78
+ image: image ?? profileString(profile.avatar),
79
+ raw: profile
79
80
  };
80
81
  }
81
82
  }
@@ -53,7 +53,8 @@ export class Slack {
53
53
  id: profileId(claims.sub),
54
54
  name: profileString(claims.name),
55
55
  email: profileString(claims.email),
56
- image: profileString(claims.picture)
56
+ image: profileString(claims.picture),
57
+ raw: claims
57
58
  };
58
59
  }
59
60
  }
@@ -61,7 +61,8 @@ export class Spotify {
61
61
  id: profileId(profile.id),
62
62
  name: profileString(profile.display_name),
63
63
  email: profileString(profile.email),
64
- image
64
+ image,
65
+ raw: profile
65
66
  };
66
67
  }
67
68
  }
@@ -137,7 +137,8 @@ export class StartGG {
137
137
  id: profileId(profile.id),
138
138
  name: profileString(profile.name),
139
139
  email: profileString(profile.email),
140
- image
140
+ image,
141
+ raw: profile
141
142
  };
142
143
  }
143
144
  }
@@ -79,7 +79,8 @@ export class Strava {
79
79
  id: profileId(profile.id),
80
80
  name: name !== "" ? name : null,
81
81
  email: null,
82
- image: profileString(profile.profile)
82
+ image: profileString(profile.profile),
83
+ raw: profile
83
84
  };
84
85
  }
85
86
  }
@@ -103,7 +103,8 @@ export class TikTok {
103
103
  id: profileId(user.open_id),
104
104
  name: profileString(user.display_name),
105
105
  email: null,
106
- image: profileString(user.avatar_url)
106
+ image: profileString(user.avatar_url),
107
+ raw: user
107
108
  };
108
109
  }
109
110
  }
@@ -84,7 +84,8 @@ export class Tiltify {
84
84
  id: profileId(user.id),
85
85
  name: profileString(user.username),
86
86
  email: null,
87
- image
87
+ image,
88
+ raw: user
88
89
  };
89
90
  }
90
91
  }
@@ -57,7 +57,8 @@ export class Tumblr {
57
57
  id: profileId(user.name),
58
58
  name: profileString(user.name),
59
59
  email: null,
60
- image: null
60
+ image: null,
61
+ raw: user
61
62
  };
62
63
  }
63
64
  }
@@ -85,7 +85,8 @@ export class Twitch {
85
85
  id: profileId(user.id),
86
86
  name: profileString(user.display_name) ?? profileString(user.login),
87
87
  email: profileString(user.email),
88
- image: profileString(user.profile_image_url)
88
+ image: profileString(user.profile_image_url),
89
+ raw: user
89
90
  };
90
91
  }
91
92
  }
@@ -61,7 +61,8 @@ export class Twitter {
61
61
  id: profileId(user.id),
62
62
  name: profileString(user.name) ?? profileString(user.username),
63
63
  email: null,
64
- image: profileString(user.profile_image_url)
64
+ image: profileString(user.profile_image_url),
65
+ raw: user
65
66
  };
66
67
  }
67
68
  }
@@ -76,7 +76,8 @@ export class VK {
76
76
  id: profileId(user.id),
77
77
  name: nameParts.length > 0 ? nameParts.join(" ") : null,
78
78
  email,
79
- image: profileString(user.photo_200)
79
+ image: profileString(user.photo_200),
80
+ raw: user
80
81
  };
81
82
  }
82
83
  }
@@ -69,7 +69,8 @@ export class Withings {
69
69
  id: profileId(data.userid),
70
70
  name: null,
71
71
  email: null,
72
- image: null
72
+ image: null,
73
+ raw: data
73
74
  };
74
75
  }
75
76
  }
@@ -76,7 +76,8 @@ export class WorkOS {
76
76
  id: profileId(profile.id),
77
77
  name: profileString(profile.name) ?? (fullName !== "" ? fullName : null),
78
78
  email: profileString(profile.email),
79
- image: profileString(profile.profile_picture_url)
79
+ image: profileString(profile.profile_picture_url),
80
+ raw: profile
80
81
  };
81
82
  }
82
83
  }
@@ -59,7 +59,8 @@ export class Yahoo {
59
59
  id: profileId(claims.sub),
60
60
  name: profileString(claims.name) ?? (fullName !== "" ? fullName : null),
61
61
  email: profileString(claims.email),
62
- image: profileString(claims.picture)
62
+ image: profileString(claims.picture),
63
+ raw: claims
63
64
  };
64
65
  }
65
66
  }
@@ -60,7 +60,8 @@ export class Yandex {
60
60
  profileString(profile.display_name) ??
61
61
  profileString(profile.login),
62
62
  email: profileString(profile.default_email),
63
- image
63
+ image,
64
+ raw: profile
64
65
  };
65
66
  }
66
67
  }
@@ -60,7 +60,8 @@ export class Zoom {
60
60
  id: profileId(profile.id),
61
61
  name: profileString(profile.display_name) ?? (fullName !== "" ? fullName : null),
62
62
  email: profileString(profile.email),
63
- image: profileString(profile.pic_url)
63
+ image: profileString(profile.pic_url),
64
+ raw: profile
64
65
  };
65
66
  }
66
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antarctic",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "High-level OAuth 2.0 clients for popular providers, forked from Arctic",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",