@block-auth.io/core 0.9.0 → 0.10.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/index.cjs +529 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +358 -210
- package/dist/index.d.ts +358 -210
- package/dist/index.js +493 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,7 @@ import * as _wagmi_core from '@wagmi/core';
|
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import * as nanostores from 'nanostores';
|
|
4
4
|
import { PublicClientApplication, AuthenticationResult } from '@azure/msal-browser';
|
|
5
|
+
import { CountryCode } from 'libphonenumber-js/min';
|
|
5
6
|
|
|
6
7
|
interface DeletionServiceDeps {
|
|
7
8
|
provider: {
|
|
@@ -615,6 +616,7 @@ interface UiState {
|
|
|
615
616
|
isSigned: boolean;
|
|
616
617
|
isSigningLoader: boolean;
|
|
617
618
|
isAcceptingTxn: boolean;
|
|
619
|
+
acceptTxnError: string | null;
|
|
618
620
|
waitingForSuccessLogInSince: number;
|
|
619
621
|
isOtpRequired: boolean;
|
|
620
622
|
isOnDeletion: boolean;
|
|
@@ -633,6 +635,7 @@ declare const setIsSigning: (v: boolean) => void;
|
|
|
633
635
|
declare const setIsSigned: (v: boolean) => void;
|
|
634
636
|
declare const setIsSigningLoader: (v: boolean) => void;
|
|
635
637
|
declare const setIsAcceptingTxn: (v: boolean) => void;
|
|
638
|
+
declare const setAcceptTxnError: (v: string | null) => void;
|
|
636
639
|
declare const setWaitingForSuccessLogInSince: (v: number) => void;
|
|
637
640
|
declare const setIsOtpRequired: (v: boolean) => void;
|
|
638
641
|
declare const setIsOnDeletion: (v: boolean) => void;
|
|
@@ -1192,7 +1195,10 @@ declare function createBlockAuthClient(config: BlockAuthClientConfig): {
|
|
|
1192
1195
|
accept: (opts: {
|
|
1193
1196
|
lifetime: number;
|
|
1194
1197
|
userParams?: Record<string, string>;
|
|
1198
|
+
grantedParams?: string[];
|
|
1199
|
+
revokedParams?: string[];
|
|
1195
1200
|
}) => void;
|
|
1201
|
+
dataRequest: (txnId: number | string) => Promise<TxnDataRequest | null>;
|
|
1196
1202
|
report: (slug: string) => void;
|
|
1197
1203
|
};
|
|
1198
1204
|
restore: () => Promise<RestoreResult>;
|
|
@@ -1208,6 +1214,357 @@ declare function createBlockAuthClient(config: BlockAuthClientConfig): {
|
|
|
1208
1214
|
};
|
|
1209
1215
|
type BlockAuthClient = ReturnType<typeof createBlockAuthClient>;
|
|
1210
1216
|
|
|
1217
|
+
type TxnDataMode = 'required' | 'optional';
|
|
1218
|
+
type TxnDataStatus = 'shared' | 'granted' | 'consent' | 'missing';
|
|
1219
|
+
interface TxnDataParam {
|
|
1220
|
+
slug: string;
|
|
1221
|
+
mode: TxnDataMode;
|
|
1222
|
+
status: TxnDataStatus;
|
|
1223
|
+
value: string | null;
|
|
1224
|
+
}
|
|
1225
|
+
interface TxnDataRequest {
|
|
1226
|
+
txnId: number | string;
|
|
1227
|
+
params: TxnDataParam[];
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
declare const TEXTS: {
|
|
1231
|
+
readonly edit: {
|
|
1232
|
+
readonly es: "Editar";
|
|
1233
|
+
readonly en: "Edit";
|
|
1234
|
+
};
|
|
1235
|
+
readonly searchEngine: {
|
|
1236
|
+
readonly es: "Buscador";
|
|
1237
|
+
readonly en: "Search engine";
|
|
1238
|
+
};
|
|
1239
|
+
readonly webTypes: {
|
|
1240
|
+
readonly es: "Tipos de web";
|
|
1241
|
+
readonly en: "Web types";
|
|
1242
|
+
};
|
|
1243
|
+
readonly columns: {
|
|
1244
|
+
readonly es: "Columnas";
|
|
1245
|
+
readonly en: "Columns";
|
|
1246
|
+
};
|
|
1247
|
+
readonly order: {
|
|
1248
|
+
readonly es: "Orden";
|
|
1249
|
+
readonly en: "Order";
|
|
1250
|
+
};
|
|
1251
|
+
readonly activate: {
|
|
1252
|
+
readonly es: "Activar";
|
|
1253
|
+
readonly en: "Activate";
|
|
1254
|
+
};
|
|
1255
|
+
readonly providerName: {
|
|
1256
|
+
readonly es: "Nombre del provider";
|
|
1257
|
+
readonly en: "Provider name";
|
|
1258
|
+
};
|
|
1259
|
+
readonly connectWith: {
|
|
1260
|
+
readonly es: "Conectar con";
|
|
1261
|
+
readonly en: "Connect with";
|
|
1262
|
+
};
|
|
1263
|
+
readonly search: {
|
|
1264
|
+
readonly es: "Buscar ...";
|
|
1265
|
+
readonly en: "Search ...";
|
|
1266
|
+
};
|
|
1267
|
+
readonly webTypeAll: {
|
|
1268
|
+
readonly es: "Todos";
|
|
1269
|
+
readonly en: "All";
|
|
1270
|
+
};
|
|
1271
|
+
readonly login: {
|
|
1272
|
+
readonly es: "Iniciar sesión";
|
|
1273
|
+
readonly en: "Log In";
|
|
1274
|
+
};
|
|
1275
|
+
readonly lastStep: {
|
|
1276
|
+
readonly es: "Completa el último paso";
|
|
1277
|
+
readonly en: "Complete the last step";
|
|
1278
|
+
};
|
|
1279
|
+
readonly footerFirst: {
|
|
1280
|
+
readonly es: "¿Esperando un registro aburrido?";
|
|
1281
|
+
readonly en: "Expecting a boring signup?";
|
|
1282
|
+
};
|
|
1283
|
+
readonly footerSecond: {
|
|
1284
|
+
readonly es: "Di adiós a las contraseñas";
|
|
1285
|
+
readonly en: "Say goodbye to passwords";
|
|
1286
|
+
};
|
|
1287
|
+
readonly permissionsRequired: {
|
|
1288
|
+
readonly es: "Permisos requeridos";
|
|
1289
|
+
readonly en: "Permissions required";
|
|
1290
|
+
};
|
|
1291
|
+
readonly solicitedData: {
|
|
1292
|
+
readonly es: "Datos solicitados";
|
|
1293
|
+
readonly en: "Solicited data";
|
|
1294
|
+
};
|
|
1295
|
+
readonly reject: {
|
|
1296
|
+
readonly es: "RECHAZAR";
|
|
1297
|
+
readonly en: "REJECT";
|
|
1298
|
+
};
|
|
1299
|
+
readonly accept: {
|
|
1300
|
+
readonly es: "ACEPTAR";
|
|
1301
|
+
readonly en: "ACCEPT";
|
|
1302
|
+
};
|
|
1303
|
+
readonly iAuthorizeThe: {
|
|
1304
|
+
readonly es: "Autorizo la";
|
|
1305
|
+
readonly en: "I authorize the";
|
|
1306
|
+
};
|
|
1307
|
+
readonly privacyPolicy: {
|
|
1308
|
+
readonly es: "Política de Privacidad";
|
|
1309
|
+
readonly en: "Privacy Policy";
|
|
1310
|
+
};
|
|
1311
|
+
readonly andThe: {
|
|
1312
|
+
readonly es: "y los";
|
|
1313
|
+
readonly en: "and the";
|
|
1314
|
+
};
|
|
1315
|
+
readonly termsAndConditions: {
|
|
1316
|
+
readonly es: "Términos y Condiciones";
|
|
1317
|
+
readonly en: "Terms and Conditions";
|
|
1318
|
+
};
|
|
1319
|
+
readonly configureSessionTime: {
|
|
1320
|
+
readonly es: "Quiero configurar el tiempo de mi sesión";
|
|
1321
|
+
readonly en: "I want to configure my session time";
|
|
1322
|
+
};
|
|
1323
|
+
readonly solicitsTo: {
|
|
1324
|
+
readonly es: "solicita a";
|
|
1325
|
+
readonly en: "solicits to";
|
|
1326
|
+
};
|
|
1327
|
+
readonly required: {
|
|
1328
|
+
readonly es: "Requerido";
|
|
1329
|
+
readonly en: "Required";
|
|
1330
|
+
};
|
|
1331
|
+
readonly optional: {
|
|
1332
|
+
readonly es: "Opcional";
|
|
1333
|
+
readonly en: "Optional";
|
|
1334
|
+
};
|
|
1335
|
+
readonly fillRequiredFields: {
|
|
1336
|
+
readonly es: "Completa los campos requeridos para continuar";
|
|
1337
|
+
readonly en: "Fill required fields to continue";
|
|
1338
|
+
};
|
|
1339
|
+
readonly completeRequiredData: {
|
|
1340
|
+
readonly es: "Autoriza o completa los datos obligatorios para continuar";
|
|
1341
|
+
readonly en: "Authorize or fill in the required data to continue";
|
|
1342
|
+
};
|
|
1343
|
+
readonly requiredDataError: {
|
|
1344
|
+
readonly es: "No se pudo aceptar: faltan datos obligatorios o no son válidos. Revísalos e inténtalo de nuevo.";
|
|
1345
|
+
readonly en: "Could not accept: required data is missing or invalid. Please review it and try again.";
|
|
1346
|
+
};
|
|
1347
|
+
readonly shareData: {
|
|
1348
|
+
readonly es: "Ceder";
|
|
1349
|
+
readonly en: "Share";
|
|
1350
|
+
};
|
|
1351
|
+
readonly saveData: {
|
|
1352
|
+
readonly es: "Guardar";
|
|
1353
|
+
readonly en: "Save";
|
|
1354
|
+
};
|
|
1355
|
+
readonly undoChange: {
|
|
1356
|
+
readonly es: "Deshacer";
|
|
1357
|
+
readonly en: "Undo";
|
|
1358
|
+
};
|
|
1359
|
+
readonly savedToProfileHint: {
|
|
1360
|
+
readonly es: "Se guardará en tu perfil al aceptar";
|
|
1361
|
+
readonly en: "It will be saved to your profile on accept";
|
|
1362
|
+
};
|
|
1363
|
+
readonly pendingChangeHint: {
|
|
1364
|
+
readonly es: "Guarda o deshaz el cambio";
|
|
1365
|
+
readonly en: "Save or undo the change";
|
|
1366
|
+
};
|
|
1367
|
+
readonly notSharedHint: {
|
|
1368
|
+
readonly es: "Este dato no se cederá";
|
|
1369
|
+
readonly en: "This data will not be shared";
|
|
1370
|
+
};
|
|
1371
|
+
readonly clearField: {
|
|
1372
|
+
readonly es: "Limpiar campo";
|
|
1373
|
+
readonly en: "Clear field";
|
|
1374
|
+
};
|
|
1375
|
+
readonly acceptData: {
|
|
1376
|
+
readonly es: "Aceptar";
|
|
1377
|
+
readonly en: "Accept";
|
|
1378
|
+
};
|
|
1379
|
+
readonly noTransactionsFound: {
|
|
1380
|
+
readonly es: "No se encontraron transacciones";
|
|
1381
|
+
readonly en: "No transactions found";
|
|
1382
|
+
};
|
|
1383
|
+
readonly otpExpiredExtension: {
|
|
1384
|
+
readonly es: "Tu verificación ha caducado. Introduce tu código en la extensión de Block-Auth para aprobar este acceso.";
|
|
1385
|
+
readonly en: "Your verification has expired. Enter your code in the Block-Auth extension to approve this access.";
|
|
1386
|
+
};
|
|
1387
|
+
readonly otpExpiredApp: {
|
|
1388
|
+
readonly es: "Tu verificación ha caducado. Introduce tu código en la app de Block-Auth para aprobar este acceso.";
|
|
1389
|
+
readonly en: "Your verification has expired. Enter your code in the Block-Auth app to approve this access.";
|
|
1390
|
+
};
|
|
1391
|
+
readonly openExtension: {
|
|
1392
|
+
readonly es: "Abrir extensión";
|
|
1393
|
+
readonly en: "Open extension";
|
|
1394
|
+
};
|
|
1395
|
+
readonly noAppKeyFound: {
|
|
1396
|
+
readonly es: "No se encontró la clave de la aplicación";
|
|
1397
|
+
readonly en: "No application key found";
|
|
1398
|
+
};
|
|
1399
|
+
readonly noContractAddressFound: {
|
|
1400
|
+
readonly es: "No se encontró la dirección del contrato";
|
|
1401
|
+
readonly en: "No contract address found";
|
|
1402
|
+
};
|
|
1403
|
+
readonly noTransactionsParamsFound: {
|
|
1404
|
+
readonly es: "No se encontraron parámetros de la transacción";
|
|
1405
|
+
readonly en: "No transaction params found";
|
|
1406
|
+
};
|
|
1407
|
+
readonly somethingWentWrong: {
|
|
1408
|
+
readonly es: "Algo salió mal";
|
|
1409
|
+
readonly en: "Something went wrong";
|
|
1410
|
+
};
|
|
1411
|
+
readonly permTemporalIdentity: {
|
|
1412
|
+
readonly es: "Acceso temporal a tu identidad";
|
|
1413
|
+
readonly en: "Temporal access to identity";
|
|
1414
|
+
};
|
|
1415
|
+
readonly permAuthorisedApps: {
|
|
1416
|
+
readonly es: "Acceso a la lista de aplicaciones autorizadas";
|
|
1417
|
+
readonly en: "Access to the list of authorised apps";
|
|
1418
|
+
};
|
|
1419
|
+
readonly permOnlyThisTxn: {
|
|
1420
|
+
readonly es: "Solo se firmará esta transacción";
|
|
1421
|
+
readonly en: "Only this transaction will be signed";
|
|
1422
|
+
};
|
|
1423
|
+
readonly firstName: {
|
|
1424
|
+
readonly es: "Nombre";
|
|
1425
|
+
readonly en: "First Name";
|
|
1426
|
+
};
|
|
1427
|
+
readonly lastName: {
|
|
1428
|
+
readonly es: "Apellido";
|
|
1429
|
+
readonly en: "Last Name";
|
|
1430
|
+
};
|
|
1431
|
+
readonly secondLastName: {
|
|
1432
|
+
readonly es: "Segundo apellido";
|
|
1433
|
+
readonly en: "Second Last Name";
|
|
1434
|
+
};
|
|
1435
|
+
readonly email: {
|
|
1436
|
+
readonly es: "Correo electrónico";
|
|
1437
|
+
readonly en: "Email";
|
|
1438
|
+
};
|
|
1439
|
+
readonly phone: {
|
|
1440
|
+
readonly es: "Teléfono";
|
|
1441
|
+
readonly en: "Phone";
|
|
1442
|
+
};
|
|
1443
|
+
readonly onlyLettersAllowed: {
|
|
1444
|
+
readonly es: "Solo se permiten letras y espacios";
|
|
1445
|
+
readonly en: "Only letters and spaces allowed";
|
|
1446
|
+
};
|
|
1447
|
+
readonly enterValidEmail: {
|
|
1448
|
+
readonly es: "Introduce un correo electrónico válido (ej. nombre@dominio.com)";
|
|
1449
|
+
readonly en: "Enter a valid email (e.g. name@domain.com)";
|
|
1450
|
+
};
|
|
1451
|
+
readonly enterValidPhone: {
|
|
1452
|
+
readonly es: "Introduce un número de teléfono válido";
|
|
1453
|
+
readonly en: "Enter a valid phone number";
|
|
1454
|
+
};
|
|
1455
|
+
readonly phoneCountry: {
|
|
1456
|
+
readonly es: "País";
|
|
1457
|
+
readonly en: "Country";
|
|
1458
|
+
};
|
|
1459
|
+
readonly searchPhoneCountry: {
|
|
1460
|
+
readonly es: "Buscar país o prefijo";
|
|
1461
|
+
readonly en: "Search country or code";
|
|
1462
|
+
};
|
|
1463
|
+
readonly noPhoneCountryResults: {
|
|
1464
|
+
readonly es: "No hay países que coincidan";
|
|
1465
|
+
readonly en: "No matching countries";
|
|
1466
|
+
};
|
|
1467
|
+
readonly helpUsReport: {
|
|
1468
|
+
readonly es: "Ayúdanos a mejorar y reporta el error aquí";
|
|
1469
|
+
readonly en: "Help us get better and report the error here";
|
|
1470
|
+
};
|
|
1471
|
+
readonly thanksForReport: {
|
|
1472
|
+
readonly es: "¡Gracias por reportar el error!";
|
|
1473
|
+
readonly en: "Thanks for reporting the error!";
|
|
1474
|
+
};
|
|
1475
|
+
readonly report: {
|
|
1476
|
+
readonly es: "REPORTAR";
|
|
1477
|
+
readonly en: "REPORT";
|
|
1478
|
+
};
|
|
1479
|
+
readonly close: {
|
|
1480
|
+
readonly es: "Cerrar";
|
|
1481
|
+
readonly en: "Close";
|
|
1482
|
+
};
|
|
1483
|
+
readonly modalWillCloseIn: {
|
|
1484
|
+
readonly es: "Este modal se cerrará en...";
|
|
1485
|
+
readonly en: "This modal will close in...";
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
type TextKey = keyof typeof TEXTS;
|
|
1489
|
+
declare function t(key: TextKey, locale?: Locale): string;
|
|
1490
|
+
|
|
1491
|
+
declare const PARAM_LABEL_KEYS: Record<string, TextKey>;
|
|
1492
|
+
declare const PARAM_DISPLAY_ORDER: string[];
|
|
1493
|
+
declare const PARAM_INPUT_TYPE: Record<string, string>;
|
|
1494
|
+
declare const PARAM_VALIDATORS: Record<string, (v: string) => boolean>;
|
|
1495
|
+
declare const PARAM_NORMALIZERS: Record<string, (v: string) => string>;
|
|
1496
|
+
declare const PARAM_DISPLAY_FORMATTERS: Record<string, (v: string) => string>;
|
|
1497
|
+
declare const formatParamValue: (slug: string, value: string) => string;
|
|
1498
|
+
declare const normalizeParamValue: (slug: string, value: string) => string;
|
|
1499
|
+
declare const PARAM_ERROR_KEYS: Record<string, TextKey>;
|
|
1500
|
+
type SolicitedParam = TxnDataParam;
|
|
1501
|
+
interface SolicitedDataForm {
|
|
1502
|
+
values: Record<string, string>;
|
|
1503
|
+
shared: Record<string, boolean>;
|
|
1504
|
+
saved: Record<string, string>;
|
|
1505
|
+
}
|
|
1506
|
+
declare const EMPTY_SOLICITED_DATA_FORM: SolicitedDataForm;
|
|
1507
|
+
interface SolicitedField extends SolicitedParam {
|
|
1508
|
+
profileValue: string;
|
|
1509
|
+
inputValue: string;
|
|
1510
|
+
isEmpty: boolean;
|
|
1511
|
+
isShared: boolean;
|
|
1512
|
+
isChanged: boolean;
|
|
1513
|
+
isSaved: boolean;
|
|
1514
|
+
isValid: boolean;
|
|
1515
|
+
isComplete: boolean;
|
|
1516
|
+
}
|
|
1517
|
+
interface SolicitedAcceptParams {
|
|
1518
|
+
userParams: Record<string, string>;
|
|
1519
|
+
grantedParams: string[];
|
|
1520
|
+
revokedParams: string[];
|
|
1521
|
+
}
|
|
1522
|
+
declare const isValidParamValue: (slug: string, value: string) => boolean;
|
|
1523
|
+
declare function getSolicitedParams({ params, requiredParams, optionalParams, }: {
|
|
1524
|
+
params?: TxnDataParam[] | null;
|
|
1525
|
+
requiredParams?: string[];
|
|
1526
|
+
optionalParams?: string[];
|
|
1527
|
+
}): SolicitedParam[];
|
|
1528
|
+
declare function getSolicitedFields(items: SolicitedParam[], form?: SolicitedDataForm, withConsent?: boolean): SolicitedField[];
|
|
1529
|
+
declare function getSolicitedHintKey(field: SolicitedField, withConsent?: boolean): TextKey | null;
|
|
1530
|
+
declare const isSolicitedHintSuccess: (field: SolicitedField) => boolean;
|
|
1531
|
+
declare const isSolicitedDataComplete: (fields: SolicitedField[]) => boolean;
|
|
1532
|
+
declare function getSolicitedAcceptParams(fields: SolicitedField[]): SolicitedAcceptParams;
|
|
1533
|
+
declare const setSolicitedValue: (form: SolicitedDataForm, item: SolicitedParam, value: string) => SolicitedDataForm;
|
|
1534
|
+
declare const setSolicitedShared: (form: SolicitedDataForm, slug: string, shared: boolean) => SolicitedDataForm;
|
|
1535
|
+
declare const saveSolicitedValue: (form: SolicitedDataForm, slug: string) => SolicitedDataForm;
|
|
1536
|
+
declare const undoSolicitedValue: (form: SolicitedDataForm, item: SolicitedParam) => SolicitedDataForm;
|
|
1537
|
+
|
|
1538
|
+
type PhoneCountryCode = CountryCode;
|
|
1539
|
+
interface PhoneCountry {
|
|
1540
|
+
iso2: PhoneCountryCode;
|
|
1541
|
+
dialCode: string;
|
|
1542
|
+
flag: string;
|
|
1543
|
+
name: string;
|
|
1544
|
+
}
|
|
1545
|
+
interface PhoneParts {
|
|
1546
|
+
country: PhoneCountryCode;
|
|
1547
|
+
nationalNumber: string;
|
|
1548
|
+
}
|
|
1549
|
+
interface PhoneDraft extends PhoneParts {
|
|
1550
|
+
value: string;
|
|
1551
|
+
}
|
|
1552
|
+
declare const DEFAULT_PHONE_COUNTRY: PhoneCountryCode;
|
|
1553
|
+
declare const isPhoneCountry: (value: string | null | undefined) => value is PhoneCountryCode;
|
|
1554
|
+
declare function getPhoneCountryFlag(iso2: string): string;
|
|
1555
|
+
declare function getPhoneDialCode(iso2: PhoneCountryCode): string;
|
|
1556
|
+
declare function getPhoneCountries(locale?: Locale): PhoneCountry[];
|
|
1557
|
+
declare function searchPhoneCountries(countries: PhoneCountry[], query: string): PhoneCountry[];
|
|
1558
|
+
declare function isValidPhoneValue(value: string | null | undefined): boolean;
|
|
1559
|
+
declare function toPhoneE164(value: string | null | undefined): string | null;
|
|
1560
|
+
declare function formatPhoneForDisplay(value: string | null | undefined): string;
|
|
1561
|
+
declare function getDefaultPhoneCountry(languages?: readonly string[]): PhoneCountryCode;
|
|
1562
|
+
declare function parsePhoneValue(value: string | null | undefined, fallbackCountry?: PhoneCountryCode): PhoneParts;
|
|
1563
|
+
declare function buildPhoneE164(country: PhoneCountryCode, nationalNumber: string): string | null;
|
|
1564
|
+
declare function buildPhoneValue(country: PhoneCountryCode, nationalNumber: string): string;
|
|
1565
|
+
declare function updatePhoneDraft(country: PhoneCountryCode, nationalNumber: string): PhoneDraft;
|
|
1566
|
+
declare function resolvePhoneDraft(value: string | null | undefined, draft?: PhoneDraft | null, fallbackCountry?: PhoneCountryCode): PhoneDraft;
|
|
1567
|
+
|
|
1211
1568
|
interface AuthRuntimeCallbacks {
|
|
1212
1569
|
onSuccess?: (address: string) => void | Promise<void>;
|
|
1213
1570
|
onError?: () => void | Promise<void>;
|
|
@@ -1748,213 +2105,4 @@ declare function resetExtensionSyncModuleState(): void;
|
|
|
1748
2105
|
*/
|
|
1749
2106
|
declare function startExtensionSync(): () => void;
|
|
1750
2107
|
|
|
1751
|
-
|
|
1752
|
-
readonly edit: {
|
|
1753
|
-
readonly es: "Editar";
|
|
1754
|
-
readonly en: "Edit";
|
|
1755
|
-
};
|
|
1756
|
-
readonly searchEngine: {
|
|
1757
|
-
readonly es: "Buscador";
|
|
1758
|
-
readonly en: "Search engine";
|
|
1759
|
-
};
|
|
1760
|
-
readonly webTypes: {
|
|
1761
|
-
readonly es: "Tipos de web";
|
|
1762
|
-
readonly en: "Web types";
|
|
1763
|
-
};
|
|
1764
|
-
readonly columns: {
|
|
1765
|
-
readonly es: "Columnas";
|
|
1766
|
-
readonly en: "Columns";
|
|
1767
|
-
};
|
|
1768
|
-
readonly order: {
|
|
1769
|
-
readonly es: "Orden";
|
|
1770
|
-
readonly en: "Order";
|
|
1771
|
-
};
|
|
1772
|
-
readonly activate: {
|
|
1773
|
-
readonly es: "Activar";
|
|
1774
|
-
readonly en: "Activate";
|
|
1775
|
-
};
|
|
1776
|
-
readonly providerName: {
|
|
1777
|
-
readonly es: "Nombre del provider";
|
|
1778
|
-
readonly en: "Provider name";
|
|
1779
|
-
};
|
|
1780
|
-
readonly connectWith: {
|
|
1781
|
-
readonly es: "Conectar con";
|
|
1782
|
-
readonly en: "Connect with";
|
|
1783
|
-
};
|
|
1784
|
-
readonly search: {
|
|
1785
|
-
readonly es: "Buscar ...";
|
|
1786
|
-
readonly en: "Search ...";
|
|
1787
|
-
};
|
|
1788
|
-
readonly webTypeAll: {
|
|
1789
|
-
readonly es: "Todos";
|
|
1790
|
-
readonly en: "All";
|
|
1791
|
-
};
|
|
1792
|
-
readonly login: {
|
|
1793
|
-
readonly es: "Iniciar sesión";
|
|
1794
|
-
readonly en: "Log In";
|
|
1795
|
-
};
|
|
1796
|
-
readonly lastStep: {
|
|
1797
|
-
readonly es: "Completa el último paso";
|
|
1798
|
-
readonly en: "Complete the last step";
|
|
1799
|
-
};
|
|
1800
|
-
readonly footerFirst: {
|
|
1801
|
-
readonly es: "¿Esperando un registro aburrido?";
|
|
1802
|
-
readonly en: "Expecting a boring signup?";
|
|
1803
|
-
};
|
|
1804
|
-
readonly footerSecond: {
|
|
1805
|
-
readonly es: "Di adiós a las contraseñas";
|
|
1806
|
-
readonly en: "Say goodbye to passwords";
|
|
1807
|
-
};
|
|
1808
|
-
readonly permissionsRequired: {
|
|
1809
|
-
readonly es: "Permisos requeridos";
|
|
1810
|
-
readonly en: "Permissions required";
|
|
1811
|
-
};
|
|
1812
|
-
readonly solicitedData: {
|
|
1813
|
-
readonly es: "Datos solicitados";
|
|
1814
|
-
readonly en: "Solicited data";
|
|
1815
|
-
};
|
|
1816
|
-
readonly reject: {
|
|
1817
|
-
readonly es: "RECHAZAR";
|
|
1818
|
-
readonly en: "REJECT";
|
|
1819
|
-
};
|
|
1820
|
-
readonly accept: {
|
|
1821
|
-
readonly es: "ACEPTAR";
|
|
1822
|
-
readonly en: "ACCEPT";
|
|
1823
|
-
};
|
|
1824
|
-
readonly iAuthorizeThe: {
|
|
1825
|
-
readonly es: "Autorizo la";
|
|
1826
|
-
readonly en: "I authorize the";
|
|
1827
|
-
};
|
|
1828
|
-
readonly privacyPolicy: {
|
|
1829
|
-
readonly es: "Política de Privacidad";
|
|
1830
|
-
readonly en: "Privacy Policy";
|
|
1831
|
-
};
|
|
1832
|
-
readonly andThe: {
|
|
1833
|
-
readonly es: "y los";
|
|
1834
|
-
readonly en: "and the";
|
|
1835
|
-
};
|
|
1836
|
-
readonly termsAndConditions: {
|
|
1837
|
-
readonly es: "Términos y Condiciones";
|
|
1838
|
-
readonly en: "Terms and Conditions";
|
|
1839
|
-
};
|
|
1840
|
-
readonly configureSessionTime: {
|
|
1841
|
-
readonly es: "Quiero configurar el tiempo de mi sesión";
|
|
1842
|
-
readonly en: "I want to configure my session time";
|
|
1843
|
-
};
|
|
1844
|
-
readonly solicitsTo: {
|
|
1845
|
-
readonly es: "solicita a";
|
|
1846
|
-
readonly en: "solicits to";
|
|
1847
|
-
};
|
|
1848
|
-
readonly required: {
|
|
1849
|
-
readonly es: "Requerido";
|
|
1850
|
-
readonly en: "Required";
|
|
1851
|
-
};
|
|
1852
|
-
readonly optional: {
|
|
1853
|
-
readonly es: "Opcional";
|
|
1854
|
-
readonly en: "Optional";
|
|
1855
|
-
};
|
|
1856
|
-
readonly fillRequiredFields: {
|
|
1857
|
-
readonly es: "Completa los campos requeridos para continuar";
|
|
1858
|
-
readonly en: "Fill required fields to continue";
|
|
1859
|
-
};
|
|
1860
|
-
readonly noTransactionsFound: {
|
|
1861
|
-
readonly es: "No se encontraron transacciones";
|
|
1862
|
-
readonly en: "No transactions found";
|
|
1863
|
-
};
|
|
1864
|
-
readonly otpExpiredExtension: {
|
|
1865
|
-
readonly es: "Tu verificación ha caducado. Introduce tu código en la extensión de Block-Auth para aprobar este acceso.";
|
|
1866
|
-
readonly en: "Your verification has expired. Enter your code in the Block-Auth extension to approve this access.";
|
|
1867
|
-
};
|
|
1868
|
-
readonly otpExpiredApp: {
|
|
1869
|
-
readonly es: "Tu verificación ha caducado. Introduce tu código en la app de Block-Auth para aprobar este acceso.";
|
|
1870
|
-
readonly en: "Your verification has expired. Enter your code in the Block-Auth app to approve this access.";
|
|
1871
|
-
};
|
|
1872
|
-
readonly openExtension: {
|
|
1873
|
-
readonly es: "Abrir extensión";
|
|
1874
|
-
readonly en: "Open extension";
|
|
1875
|
-
};
|
|
1876
|
-
readonly noAppKeyFound: {
|
|
1877
|
-
readonly es: "No se encontró la clave de la aplicación";
|
|
1878
|
-
readonly en: "No application key found";
|
|
1879
|
-
};
|
|
1880
|
-
readonly noContractAddressFound: {
|
|
1881
|
-
readonly es: "No se encontró la dirección del contrato";
|
|
1882
|
-
readonly en: "No contract address found";
|
|
1883
|
-
};
|
|
1884
|
-
readonly noTransactionsParamsFound: {
|
|
1885
|
-
readonly es: "No se encontraron parámetros de la transacción";
|
|
1886
|
-
readonly en: "No transaction params found";
|
|
1887
|
-
};
|
|
1888
|
-
readonly somethingWentWrong: {
|
|
1889
|
-
readonly es: "Algo salió mal";
|
|
1890
|
-
readonly en: "Something went wrong";
|
|
1891
|
-
};
|
|
1892
|
-
readonly permTemporalIdentity: {
|
|
1893
|
-
readonly es: "Acceso temporal a tu identidad";
|
|
1894
|
-
readonly en: "Temporal access to identity";
|
|
1895
|
-
};
|
|
1896
|
-
readonly permAuthorisedApps: {
|
|
1897
|
-
readonly es: "Acceso a la lista de aplicaciones autorizadas";
|
|
1898
|
-
readonly en: "Access to the list of authorised apps";
|
|
1899
|
-
};
|
|
1900
|
-
readonly permOnlyThisTxn: {
|
|
1901
|
-
readonly es: "Solo se firmará esta transacción";
|
|
1902
|
-
readonly en: "Only this transaction will be signed";
|
|
1903
|
-
};
|
|
1904
|
-
readonly firstName: {
|
|
1905
|
-
readonly es: "Nombre";
|
|
1906
|
-
readonly en: "First Name";
|
|
1907
|
-
};
|
|
1908
|
-
readonly lastName: {
|
|
1909
|
-
readonly es: "Apellido";
|
|
1910
|
-
readonly en: "Last Name";
|
|
1911
|
-
};
|
|
1912
|
-
readonly secondLastName: {
|
|
1913
|
-
readonly es: "Segundo apellido";
|
|
1914
|
-
readonly en: "Second Last Name";
|
|
1915
|
-
};
|
|
1916
|
-
readonly email: {
|
|
1917
|
-
readonly es: "Correo electrónico";
|
|
1918
|
-
readonly en: "Email";
|
|
1919
|
-
};
|
|
1920
|
-
readonly phone: {
|
|
1921
|
-
readonly es: "Teléfono";
|
|
1922
|
-
readonly en: "Phone";
|
|
1923
|
-
};
|
|
1924
|
-
readonly onlyLettersAllowed: {
|
|
1925
|
-
readonly es: "Solo se permiten letras y espacios";
|
|
1926
|
-
readonly en: "Only letters and spaces allowed";
|
|
1927
|
-
};
|
|
1928
|
-
readonly enterValidEmail: {
|
|
1929
|
-
readonly es: "Introduce un correo electrónico válido (ej. nombre@dominio.com)";
|
|
1930
|
-
readonly en: "Enter a valid email (e.g. name@domain.com)";
|
|
1931
|
-
};
|
|
1932
|
-
readonly enterValidPhone: {
|
|
1933
|
-
readonly es: "Introduce un número de teléfono válido";
|
|
1934
|
-
readonly en: "Enter a valid phone number";
|
|
1935
|
-
};
|
|
1936
|
-
readonly helpUsReport: {
|
|
1937
|
-
readonly es: "Ayúdanos a mejorar y reporta el error aquí";
|
|
1938
|
-
readonly en: "Help us get better and report the error here";
|
|
1939
|
-
};
|
|
1940
|
-
readonly thanksForReport: {
|
|
1941
|
-
readonly es: "¡Gracias por reportar el error!";
|
|
1942
|
-
readonly en: "Thanks for reporting the error!";
|
|
1943
|
-
};
|
|
1944
|
-
readonly report: {
|
|
1945
|
-
readonly es: "REPORTAR";
|
|
1946
|
-
readonly en: "REPORT";
|
|
1947
|
-
};
|
|
1948
|
-
readonly close: {
|
|
1949
|
-
readonly es: "Cerrar";
|
|
1950
|
-
readonly en: "Close";
|
|
1951
|
-
};
|
|
1952
|
-
readonly modalWillCloseIn: {
|
|
1953
|
-
readonly es: "Este modal se cerrará en...";
|
|
1954
|
-
readonly en: "This modal will close in...";
|
|
1955
|
-
};
|
|
1956
|
-
};
|
|
1957
|
-
type TextKey = keyof typeof TEXTS;
|
|
1958
|
-
declare function t(key: TextKey, locale?: Locale): string;
|
|
1959
|
-
|
|
1960
|
-
export { $extension, $locale, $openModals, $ui, $user, $wallet, $web3, $ws, type AuthRuntime, type AuthRuntimeCallbacks, type BlockAuthClient, type BlockAuthClientConfig, BlockAuthProvider, type BlockAuthProviderOptions, type BlockAuthUserProfile, type BlockAuthUserRole, DISCOVERY_TIMEOUT_MS, type DeletionServiceDeps, type EvmOptions, type EvmWallet, type ExtensionState, type Locale, type ModalName, type RestoreResult, RpcClient, SDK_PAGE_MARKER, SYNC_TIMEOUT_MS, type SolanaWallet, TEXTS, type TextKey, type TxnRequest, type UiState, type UserProfileProvider, type UserState, type WalletKind, type WalletState, type Web3SignupState, WsClient, type WsState, appearsExtensionInstalled, clearExtensionDomMarkers, clearRemainingAuthData, clearSdkPresence, closeAllModals, closeModal, confirmExtensionPresence, createAuthRuntime, createBlockAuthClient, createDeletionService, createEvmWallet, createSolanaWallet, deepLinkFor, discoverExtensionOnce, fetchUserProfile, finalizeAfterRestorationExpired, getExtensionStoreUrl, getUserRoleNames, getUserRoleSlugs, getUserRoles, handleRestorationExpired, handleRestoreFailure, hasAnyRole, hasAnyRoleBySlug, hasRole, hasRoleBySlug, isExtensionPresent, isExtensionStateComplete, isFirefox, isModalOpen, isRestorationExpiredMessage, isSdkPage, isShowSignin, loadUserProfile, makeQrDataUrl, markSdkPresence, index$1 as oauth, onExtensionRemoved, onExtensionStatePublished, openExtensionOnTxn, openModal, probeExtensionPresence, reconcileExtensionState, requestExtensionRefresh, requestExtensionStateSync, requestSdkRestore, resetExtension, resetExtensionAbsentState, resetExtensionSyncModuleState, resetUi, resetUser, resetWallet, resetWeb3, resetWs, setApiKey, setBackendMessage, setDeletionAddress, setDid, setExtensionInstalled, setExtensionIsLocked, setExtensionIsUser, setExtensionIsUserActive, setIsAcceptingTxn, setIsAppActive, setIsCheckingAppActive, setIsLoadingUser, setIsOnDeletion, setIsOtpRequired, setIsSdkSignedIn, setIsServiceConnected, setIsSigned, setIsSignedFirstCheck, setIsSigning, setIsSigningLoader, setLocale, setReady, setRequests, setServiceIcon, setServiceName, setSignature, setSignedBy, setToken, setUiConfig, setUser, setWaitingForSuccessLogInSince, startExtensionSync, syncExtensionStateFromStorage, t, index as utils };
|
|
2108
|
+
export { $extension, $locale, $openModals, $ui, $user, $wallet, $web3, $ws, type AuthRuntime, type AuthRuntimeCallbacks, type BlockAuthClient, type BlockAuthClientConfig, BlockAuthProvider, type BlockAuthProviderOptions, type BlockAuthUserProfile, type BlockAuthUserRole, DEFAULT_PHONE_COUNTRY, DISCOVERY_TIMEOUT_MS, type DeletionServiceDeps, EMPTY_SOLICITED_DATA_FORM, type EvmOptions, type EvmWallet, type ExtensionState, type Locale, type ModalName, PARAM_DISPLAY_FORMATTERS, PARAM_DISPLAY_ORDER, PARAM_ERROR_KEYS, PARAM_INPUT_TYPE, PARAM_LABEL_KEYS, PARAM_NORMALIZERS, PARAM_VALIDATORS, type PhoneCountry, type PhoneCountryCode, type PhoneDraft, type PhoneParts, type RestoreResult, RpcClient, SDK_PAGE_MARKER, SYNC_TIMEOUT_MS, type SolanaWallet, type SolicitedAcceptParams, type SolicitedDataForm, type SolicitedField, type SolicitedParam, TEXTS, type TextKey, type TxnDataMode, type TxnDataParam, type TxnDataRequest, type TxnDataStatus, type TxnRequest, type UiState, type UserProfileProvider, type UserState, type WalletKind, type WalletState, type Web3SignupState, WsClient, type WsState, appearsExtensionInstalled, buildPhoneE164, buildPhoneValue, clearExtensionDomMarkers, clearRemainingAuthData, clearSdkPresence, closeAllModals, closeModal, confirmExtensionPresence, createAuthRuntime, createBlockAuthClient, createDeletionService, createEvmWallet, createSolanaWallet, deepLinkFor, discoverExtensionOnce, fetchUserProfile, finalizeAfterRestorationExpired, formatParamValue, formatPhoneForDisplay, getDefaultPhoneCountry, getExtensionStoreUrl, getPhoneCountries, getPhoneCountryFlag, getPhoneDialCode, getSolicitedAcceptParams, getSolicitedFields, getSolicitedHintKey, getSolicitedParams, getUserRoleNames, getUserRoleSlugs, getUserRoles, handleRestorationExpired, handleRestoreFailure, hasAnyRole, hasAnyRoleBySlug, hasRole, hasRoleBySlug, isExtensionPresent, isExtensionStateComplete, isFirefox, isModalOpen, isPhoneCountry, isRestorationExpiredMessage, isSdkPage, isShowSignin, isSolicitedDataComplete, isSolicitedHintSuccess, isValidParamValue, isValidPhoneValue, loadUserProfile, makeQrDataUrl, markSdkPresence, normalizeParamValue, index$1 as oauth, onExtensionRemoved, onExtensionStatePublished, openExtensionOnTxn, openModal, parsePhoneValue, probeExtensionPresence, reconcileExtensionState, requestExtensionRefresh, requestExtensionStateSync, requestSdkRestore, resetExtension, resetExtensionAbsentState, resetExtensionSyncModuleState, resetUi, resetUser, resetWallet, resetWeb3, resetWs, resolvePhoneDraft, saveSolicitedValue, searchPhoneCountries, setAcceptTxnError, setApiKey, setBackendMessage, setDeletionAddress, setDid, setExtensionInstalled, setExtensionIsLocked, setExtensionIsUser, setExtensionIsUserActive, setIsAcceptingTxn, setIsAppActive, setIsCheckingAppActive, setIsLoadingUser, setIsOnDeletion, setIsOtpRequired, setIsSdkSignedIn, setIsServiceConnected, setIsSigned, setIsSignedFirstCheck, setIsSigning, setIsSigningLoader, setLocale, setReady, setRequests, setServiceIcon, setServiceName, setSignature, setSignedBy, setSolicitedShared, setSolicitedValue, setToken, setUiConfig, setUser, setWaitingForSuccessLogInSince, startExtensionSync, syncExtensionStateFromStorage, t, toPhoneE164, undoSolicitedValue, updatePhoneDraft, index as utils };
|