@turnkey/react-wallet-kit 1.11.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/auth/OTP.d.ts +1 -0
- package/dist/components/auth/OTP.d.ts.map +1 -1
- package/dist/components/auth/OTP.js +8 -2
- package/dist/components/auth/OTP.js.map +1 -1
- package/dist/components/auth/OTP.mjs +21 -13
- package/dist/components/auth/OTP.mjs.map +1 -1
- package/dist/components/auth/index.d.ts.map +1 -1
- package/dist/components/auth/index.js +11 -3
- package/dist/components/auth/index.js.map +1 -1
- package/dist/components/auth/index.mjs +12 -5
- package/dist/components/auth/index.mjs.map +1 -1
- package/dist/components/user/UpdateEmail.js +6 -3
- package/dist/components/user/UpdateEmail.js.map +1 -1
- package/dist/components/user/UpdateEmail.mjs +6 -4
- package/dist/components/user/UpdateEmail.mjs.map +1 -1
- package/dist/components/user/UpdatePhoneNumber.js +6 -3
- package/dist/components/user/UpdatePhoneNumber.js.map +1 -1
- package/dist/components/user/UpdatePhoneNumber.mjs +6 -4
- package/dist/components/user/UpdatePhoneNumber.mjs.map +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/providers/client/Provider.d.ts.map +1 -1
- package/dist/providers/client/Provider.js +611 -430
- package/dist/providers/client/Provider.js.map +1 -1
- package/dist/providers/client/Provider.mjs +2055 -1820
- package/dist/providers/client/Provider.mjs.map +1 -1
- package/dist/providers/client/Types.d.ts +14 -7
- package/dist/providers/client/Types.d.ts.map +1 -1
- package/dist/providers/client/Types.js.map +1 -1
- package/dist/providers/client/Types.mjs.map +1 -1
- package/dist/typedoc-entry/index.d.ts +1 -1
- package/dist/typedoc-entry/index.d.ts.map +1 -1
- package/dist/types/base.d.ts +38 -28
- package/dist/types/base.d.ts.map +1 -1
- package/dist/types/base.js.map +1 -1
- package/dist/types/base.mjs.map +1 -1
- package/dist/types/method-types.d.ts +12 -5
- package/dist/types/method-types.d.ts.map +1 -1
- package/dist/utils/oauth/completion.d.ts +132 -0
- package/dist/utils/oauth/completion.d.ts.map +1 -0
- package/dist/utils/oauth/completion.js +136 -0
- package/dist/utils/oauth/completion.js.map +1 -0
- package/dist/utils/oauth/completion.mjs +176 -0
- package/dist/utils/oauth/completion.mjs.map +1 -0
- package/dist/utils/oauth/config.d.ts +34 -0
- package/dist/utils/oauth/config.d.ts.map +1 -0
- package/dist/utils/oauth/config.js +69 -0
- package/dist/utils/oauth/config.js.map +1 -0
- package/dist/utils/oauth/config.mjs +54 -0
- package/dist/utils/oauth/config.mjs.map +1 -0
- package/dist/utils/oauth/helpers.d.ts +13 -0
- package/dist/utils/oauth/helpers.d.ts.map +1 -0
- package/dist/utils/oauth/helpers.js +38 -0
- package/dist/utils/oauth/helpers.js.map +1 -0
- package/dist/utils/oauth/helpers.mjs +35 -0
- package/dist/utils/oauth/helpers.mjs.map +1 -0
- package/dist/utils/oauth/index.d.ts +7 -0
- package/dist/utils/oauth/index.d.ts.map +1 -0
- package/dist/utils/oauth/pkce.d.ts +14 -0
- package/dist/utils/oauth/pkce.d.ts.map +1 -0
- package/dist/utils/oauth/pkce.js +48 -0
- package/dist/utils/oauth/pkce.js.map +1 -0
- package/dist/utils/oauth/pkce.mjs +85 -0
- package/dist/utils/oauth/pkce.mjs.map +1 -0
- package/dist/utils/oauth/storage.d.ts +59 -0
- package/dist/utils/oauth/storage.d.ts.map +1 -0
- package/dist/utils/oauth/storage.js +116 -0
- package/dist/utils/oauth/storage.js.map +1 -0
- package/dist/utils/oauth/storage.mjs +104 -0
- package/dist/utils/oauth/storage.mjs.map +1 -0
- package/dist/utils/oauth/url.d.ts +92 -0
- package/dist/utils/oauth/url.d.ts.map +1 -0
- package/dist/utils/oauth/url.js +231 -0
- package/dist/utils/oauth/url.js.map +1 -0
- package/dist/utils/oauth/url.mjs +237 -0
- package/dist/utils/oauth/url.mjs.map +1 -0
- package/package.json +3 -3
- package/dist/utils/oauth.d.ts +0 -323
- package/dist/utils/oauth.d.ts.map +0 -1
- package/dist/utils/oauth.js +0 -613
- package/dist/utils/oauth.js.map +0 -1
- package/dist/utils/oauth.mjs +0 -670
- package/dist/utils/oauth.mjs.map +0 -1
package/dist/utils/oauth.d.ts
DELETED
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import { AuthAction, BaseAuthResult, OAuthProviders } from "@turnkey/sdk-types";
|
|
2
|
-
import type { TurnkeyCallbacks } from "../types/base";
|
|
3
|
-
export declare const DISCORD_AUTH_URL = "https://discord.com/oauth2/authorize";
|
|
4
|
-
export declare const X_AUTH_URL = "https://x.com/i/oauth2/authorize";
|
|
5
|
-
export declare const GOOGLE_AUTH_URL = "https://accounts.google.com/o/oauth2/v2/auth";
|
|
6
|
-
export declare const APPLE_AUTH_URL = "https://account.apple.com/auth/authorize";
|
|
7
|
-
export declare const APPLE_AUTH_SCRIPT_URL = "https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js";
|
|
8
|
-
export declare const FACEBOOK_AUTH_URL = "https://www.facebook.com/v11.0/dialog/oauth";
|
|
9
|
-
export declare const FACEBOOK_GRAPH_URL = "https://graph.facebook.com/v11.0/oauth/access_token";
|
|
10
|
-
export declare const popupWidth = 500;
|
|
11
|
-
export declare const popupHeight = 600;
|
|
12
|
-
export declare const OAUTH_INTENT_ADD_PROVIDER = "addProvider";
|
|
13
|
-
export declare const OAUTH_ADD_PROVIDER_METADATA_KEY = "oauth_add_provider_metadata";
|
|
14
|
-
export type OAuthAddProviderMetadata = {
|
|
15
|
-
organizationId: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
stampWith?: string;
|
|
18
|
-
successPageDuration?: number;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Stores OAuth add provider metadata in session storage
|
|
22
|
-
* Used for addOauthProvider flow if opening in-page
|
|
23
|
-
*/
|
|
24
|
-
export declare function storeOAuthAddProviderMetadata(metadata: OAuthAddProviderMetadata): void;
|
|
25
|
-
/**
|
|
26
|
-
* Retrieves OAuth add provider metadata from session storage
|
|
27
|
-
*/
|
|
28
|
-
export declare function getOAuthAddProviderMetadata(): OAuthAddProviderMetadata | null;
|
|
29
|
-
/**
|
|
30
|
-
* Clears OAuth add provider metadata from session storage
|
|
31
|
-
*/
|
|
32
|
-
export declare function clearOAuthAddProviderMetadata(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Builds the OAuth state parameter string
|
|
35
|
-
*/
|
|
36
|
-
export declare function buildOAuthState(params: {
|
|
37
|
-
provider: OAuthProviders;
|
|
38
|
-
flow: "redirect" | "popup";
|
|
39
|
-
publicKey: string;
|
|
40
|
-
nonce?: string;
|
|
41
|
-
additionalState?: Record<string, string> | undefined;
|
|
42
|
-
}): string;
|
|
43
|
-
/**
|
|
44
|
-
* Opens a centered OAuth popup window
|
|
45
|
-
*/
|
|
46
|
-
export declare function openOAuthPopup(): Window | null;
|
|
47
|
-
/**
|
|
48
|
-
* Redirects to OAuth provider URL
|
|
49
|
-
*/
|
|
50
|
-
export declare function redirectToOAuthProvider(url: string): Promise<never>;
|
|
51
|
-
/**
|
|
52
|
-
* Cleans up OAuth parameters from URL (removes hash and search)
|
|
53
|
-
*/
|
|
54
|
-
export declare function cleanupOAuthUrl(): void;
|
|
55
|
-
/**
|
|
56
|
-
* Cleans up OAuth hash from URL but preserves search parameters
|
|
57
|
-
*/
|
|
58
|
-
export declare function cleanupOAuthUrlPreserveSearch(): void;
|
|
59
|
-
/**
|
|
60
|
-
* Parses the OAuth state parameter string into an object
|
|
61
|
-
*/
|
|
62
|
-
export declare function parseStateParam(stateParam: string | null | undefined): {
|
|
63
|
-
sessionKey?: string;
|
|
64
|
-
oauthIntent?: string;
|
|
65
|
-
provider?: string;
|
|
66
|
-
flow?: string;
|
|
67
|
-
publicKey?: string;
|
|
68
|
-
openModal?: string;
|
|
69
|
-
[key: string]: string | undefined;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* Result from parsing an OAuth response (both popup and redirect flows)
|
|
73
|
-
*/
|
|
74
|
-
export interface OAuthResponseResult {
|
|
75
|
-
/** The OIDC token (for non-PKCE providers) */
|
|
76
|
-
idToken?: string | null | undefined;
|
|
77
|
-
/** The authorization code (for PKCE providers) */
|
|
78
|
-
authCode?: string | null | undefined;
|
|
79
|
-
/** Session key from state */
|
|
80
|
-
sessionKey?: string | undefined;
|
|
81
|
-
/** The provider from state */
|
|
82
|
-
provider?: string | null;
|
|
83
|
-
/** Flow type from state */
|
|
84
|
-
flow?: string | null;
|
|
85
|
-
/** Public key from state */
|
|
86
|
-
publicKey?: string | null;
|
|
87
|
-
/** Open modal flag from state */
|
|
88
|
-
openModal?: string | null;
|
|
89
|
-
/** OAuth intent from state */
|
|
90
|
-
oauthIntent?: string | null;
|
|
91
|
-
/** Nonce from state */
|
|
92
|
-
nonce?: string | null;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Unified OAuth response parser for both popup and redirect flows.
|
|
96
|
-
* Handles both:
|
|
97
|
-
* - PKCE flows (Facebook, Discord, X): code in search parameters
|
|
98
|
-
* - Non-PKCE flows (Google, Apple): id_token in hash parameters
|
|
99
|
-
* - Apple's non-standard hash format where state parameters are directly embedded
|
|
100
|
-
*
|
|
101
|
-
* @param url - The full URL to parse (from popup or redirect)
|
|
102
|
-
* @param expectedProvider - Optional provider if already known (for popup flows)
|
|
103
|
-
* @returns Parsed OAuth response data including tokens, codes, and state parameters, or null if invalid
|
|
104
|
-
*/
|
|
105
|
-
export declare function parseOAuthResponse(url: string, expectedProvider?: OAuthProviders): OAuthResponseResult | null;
|
|
106
|
-
/**
|
|
107
|
-
* Generates a PKCE challenge pair (verifier and code challenge)
|
|
108
|
-
*/
|
|
109
|
-
export declare function generateChallengePair(): Promise<{
|
|
110
|
-
verifier: string;
|
|
111
|
-
codeChallenge: string;
|
|
112
|
-
}>;
|
|
113
|
-
/**
|
|
114
|
-
* Exchanges Facebook authorization code for token
|
|
115
|
-
*/
|
|
116
|
-
export declare function exchangeFacebookCodeForToken(clientId: string, redirectUri: string, code: string, codeVerifier: string): Promise<{
|
|
117
|
-
id_token: string;
|
|
118
|
-
}>;
|
|
119
|
-
/** Provider type for PKCE-based OAuth */
|
|
120
|
-
export type PKCEProvider = OAuthProviders.FACEBOOK | OAuthProviders.DISCORD | OAuthProviders.X;
|
|
121
|
-
/**
|
|
122
|
-
* Parameters for unified OAuth completion.
|
|
123
|
-
* This handles the core completion logic for both popup and redirect flows,
|
|
124
|
-
* for both PKCE and non-PKCE providers.
|
|
125
|
-
*/
|
|
126
|
-
export interface OAuthCompletionParams {
|
|
127
|
-
/** The OAuth provider */
|
|
128
|
-
provider: OAuthProviders;
|
|
129
|
-
/** The public key generated during OAuth initiation */
|
|
130
|
-
publicKey: string;
|
|
131
|
-
/** The OIDC token (for non-PKCE providers, or after PKCE exchange) */
|
|
132
|
-
oidcToken: string;
|
|
133
|
-
/** Optional session key from the state parameter */
|
|
134
|
-
sessionKey?: string | undefined;
|
|
135
|
-
/** Optional callbacks for custom handling */
|
|
136
|
-
callbacks?: TurnkeyCallbacks | undefined;
|
|
137
|
-
/** Function to complete the OAuth authentication flow */
|
|
138
|
-
completeOauth: (params: {
|
|
139
|
-
oidcToken: string;
|
|
140
|
-
publicKey: string;
|
|
141
|
-
providerName: string;
|
|
142
|
-
sessionKey?: string;
|
|
143
|
-
}) => Promise<BaseAuthResult & {
|
|
144
|
-
action: AuthAction;
|
|
145
|
-
}>;
|
|
146
|
-
/** Optional callback when OAuth succeeds (alternative to completeOauth) */
|
|
147
|
-
onOauthSuccess?: ((params: {
|
|
148
|
-
publicKey: string;
|
|
149
|
-
oidcToken: string;
|
|
150
|
-
providerName: string;
|
|
151
|
-
sessionKey?: string;
|
|
152
|
-
}) => void) | undefined;
|
|
153
|
-
/** Optional callback for "add provider" flow (takes priority over auth) */
|
|
154
|
-
onAddProvider?: ((oidcToken: string) => Promise<void>) | undefined;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Unified OAuth completion handler.
|
|
158
|
-
* Routes to the appropriate completion handler based on params:
|
|
159
|
-
* Priority: onAddProvider > onOauthSuccess > callbacks.onOauthRedirect > completeOauth
|
|
160
|
-
*
|
|
161
|
-
* This is the core completion logic used by both popup and redirect flows.
|
|
162
|
-
*/
|
|
163
|
-
export declare function completeOAuthFlow(params: OAuthCompletionParams): Promise<void>;
|
|
164
|
-
/**
|
|
165
|
-
* Parameters for the unified PKCE flow handler.
|
|
166
|
-
* This is used by all PKCE-based OAuth providers (Facebook, Discord, Twitter/X).
|
|
167
|
-
*/
|
|
168
|
-
export interface PKCEFlowParams {
|
|
169
|
-
/** The public key generated during OAuth initiation */
|
|
170
|
-
publicKey: string;
|
|
171
|
-
/** The provider name */
|
|
172
|
-
providerName: PKCEProvider;
|
|
173
|
-
/** Optional session key from the state parameter */
|
|
174
|
-
sessionKey?: string | undefined;
|
|
175
|
-
/** Optional callbacks for custom handling */
|
|
176
|
-
callbacks?: TurnkeyCallbacks | undefined;
|
|
177
|
-
/** Function to complete the OAuth flow */
|
|
178
|
-
completeOauth: (params: {
|
|
179
|
-
oidcToken: string;
|
|
180
|
-
publicKey: string;
|
|
181
|
-
providerName: string;
|
|
182
|
-
sessionKey?: string;
|
|
183
|
-
}) => Promise<BaseAuthResult & {
|
|
184
|
-
action: AuthAction;
|
|
185
|
-
}>;
|
|
186
|
-
/** Optional callback when OAuth succeeds (used in popup flow) */
|
|
187
|
-
onOauthSuccess?: ((params: {
|
|
188
|
-
publicKey: string;
|
|
189
|
-
oidcToken: string;
|
|
190
|
-
providerName: string;
|
|
191
|
-
sessionKey?: string;
|
|
192
|
-
}) => void) | undefined;
|
|
193
|
-
/**
|
|
194
|
-
* Optional callback for handling "add provider" flow in redirect scenarios.
|
|
195
|
-
* When provided, this is called instead of completeOauth when adding an OAuth provider.
|
|
196
|
-
* @param oidcToken - The OIDC token from the OAuth provider
|
|
197
|
-
*/
|
|
198
|
-
onAddProvider?: ((oidcToken: string) => Promise<void>) | undefined;
|
|
199
|
-
/**
|
|
200
|
-
* Function to exchange the authorization code for an OIDC token.
|
|
201
|
-
* This is provider-specific:
|
|
202
|
-
* - Discord/Twitter: uses proxyOAuth2Authenticate
|
|
203
|
-
* - Facebook: uses exchangeCodeForToken
|
|
204
|
-
*/
|
|
205
|
-
exchangeCodeForToken: (verifier: string) => Promise<string>;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* Gets the verifier key name for a PKCE provider
|
|
209
|
-
*/
|
|
210
|
-
export declare function getPKCEVerifierKey(provider: PKCEProvider): string;
|
|
211
|
-
/**
|
|
212
|
-
* Retrieves and removes the PKCE verifier from session storage
|
|
213
|
-
* @param provider - The OAuth provider
|
|
214
|
-
* @returns The verifier string
|
|
215
|
-
* @throws TurnkeyError if verifier is not found
|
|
216
|
-
*/
|
|
217
|
-
export declare function consumePKCEVerifier(provider: PKCEProvider): string;
|
|
218
|
-
/**
|
|
219
|
-
* Stores the PKCE verifier in session storage
|
|
220
|
-
* @param provider - The OAuth provider
|
|
221
|
-
* @param verifier - The verifier string to store
|
|
222
|
-
*/
|
|
223
|
-
export declare function storePKCEVerifier(provider: PKCEProvider, verifier: string): void;
|
|
224
|
-
/**
|
|
225
|
-
* Checks if a PKCE verifier exists for a provider (without consuming it)
|
|
226
|
-
* @param provider - The OAuth provider
|
|
227
|
-
* @returns true if verifier exists
|
|
228
|
-
*/
|
|
229
|
-
export declare function hasPKCEVerifier(provider: PKCEProvider): boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Unified PKCE flow handler for all PKCE-based OAuth providers.
|
|
232
|
-
* Handles the complete PKCE flow: verifier retrieval, token exchange, and completion routing.
|
|
233
|
-
*
|
|
234
|
-
* This function abstracts the common logic shared between popup and redirect flows
|
|
235
|
-
* for Facebook, Discord, and Twitter/X.
|
|
236
|
-
*
|
|
237
|
-
* @param params - The PKCE flow parameters
|
|
238
|
-
* @returns A promise that resolves when the flow is complete
|
|
239
|
-
*/
|
|
240
|
-
export declare function handlePKCEFlow({ publicKey, providerName, sessionKey, callbacks, completeOauth, onOauthSuccess, onAddProvider, exchangeCodeForToken, }: PKCEFlowParams): Promise<void>;
|
|
241
|
-
/**
|
|
242
|
-
* OAuth provider configuration for unified OAuth flow handling
|
|
243
|
-
*/
|
|
244
|
-
export interface OAuthProviderConfig {
|
|
245
|
-
/** The provider identifier */
|
|
246
|
-
provider: OAuthProviders;
|
|
247
|
-
/** The base OAuth authorization URL */
|
|
248
|
-
authUrl: string;
|
|
249
|
-
/** OAuth scopes to request */
|
|
250
|
-
scopes: string;
|
|
251
|
-
/** Whether this provider uses PKCE */
|
|
252
|
-
usesPKCE: boolean;
|
|
253
|
-
/** Response type for the OAuth request */
|
|
254
|
-
responseType: string;
|
|
255
|
-
/** Optional response mode (e.g., 'fragment' for Apple) */
|
|
256
|
-
responseMode?: string;
|
|
257
|
-
/** Whether to include nonce in the URL params (vs state) */
|
|
258
|
-
nonceInParams?: boolean;
|
|
259
|
-
}
|
|
260
|
-
/**
|
|
261
|
-
* Pre-configured OAuth provider settings
|
|
262
|
-
*/
|
|
263
|
-
export declare const OAUTH_PROVIDER_CONFIGS: Record<OAuthProviders, OAuthProviderConfig>;
|
|
264
|
-
/**
|
|
265
|
-
* Parameters for building an OAuth URL
|
|
266
|
-
*/
|
|
267
|
-
export interface BuildOAuthUrlParams {
|
|
268
|
-
provider: OAuthProviders;
|
|
269
|
-
clientId: string;
|
|
270
|
-
redirectUri: string;
|
|
271
|
-
publicKey: string;
|
|
272
|
-
nonce: string;
|
|
273
|
-
flow: "redirect" | "popup";
|
|
274
|
-
codeChallenge?: string | undefined;
|
|
275
|
-
additionalState?: Record<string, string> | undefined;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* Builds the complete OAuth authorization URL for a provider
|
|
279
|
-
*/
|
|
280
|
-
export declare function buildOAuthUrl(params: BuildOAuthUrlParams): string;
|
|
281
|
-
/**
|
|
282
|
-
* Common OAuth completion handler for popup flows
|
|
283
|
-
* Handles both PKCE and non-PKCE provider completion
|
|
284
|
-
*/
|
|
285
|
-
export interface OAuthPopupCompletionParams {
|
|
286
|
-
provider: OAuthProviders;
|
|
287
|
-
publicKey: string;
|
|
288
|
-
result: OAuthResponseResult;
|
|
289
|
-
callbacks?: TurnkeyCallbacks | undefined;
|
|
290
|
-
completeOauth: (params: {
|
|
291
|
-
oidcToken: string;
|
|
292
|
-
publicKey: string;
|
|
293
|
-
providerName: string;
|
|
294
|
-
sessionKey?: string;
|
|
295
|
-
}) => Promise<BaseAuthResult & {
|
|
296
|
-
action: AuthAction;
|
|
297
|
-
}>;
|
|
298
|
-
onOauthSuccess?: ((params: {
|
|
299
|
-
publicKey: string;
|
|
300
|
-
oidcToken: string;
|
|
301
|
-
providerName: string;
|
|
302
|
-
sessionKey?: string;
|
|
303
|
-
}) => void) | undefined;
|
|
304
|
-
/** For PKCE providers: function to exchange code for token */
|
|
305
|
-
exchangeCodeForToken?: ((verifier: string) => Promise<string>) | undefined;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Completes OAuth flow in popup - handles both PKCE and non-PKCE providers
|
|
309
|
-
*/
|
|
310
|
-
export declare function completeOAuthPopup(params: OAuthPopupCompletionParams): Promise<void>;
|
|
311
|
-
/**
|
|
312
|
-
* Capitalizes the first letter of a provider name
|
|
313
|
-
* @param provider - The provider name (e.g., "facebook", "discord")
|
|
314
|
-
* @returns The capitalized provider name (e.g., "Facebook", "Discord")
|
|
315
|
-
*/
|
|
316
|
-
export declare function capitalizeProviderName(provider: string): string;
|
|
317
|
-
/**
|
|
318
|
-
* Gets the FontAwesome icon for an OAuth provider
|
|
319
|
-
* @param provider - The provider name
|
|
320
|
-
* @returns The FontAwesome icon definition
|
|
321
|
-
*/
|
|
322
|
-
export declare function getProviderIcon(provider: string | null | undefined): import("@fortawesome/free-brands-svg-icons").IconDefinition;
|
|
323
|
-
//# sourceMappingUR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