@openfort/openfort-node 0.7.0 → 0.7.2

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.mjs CHANGED
@@ -374,7 +374,7 @@ function requiresWalletAuth(requestMethod, requestPath) {
374
374
  }
375
375
 
376
376
  // src/version.ts
377
- var VERSION = "0.7.0";
377
+ var VERSION = "0.7.2";
378
378
  var PACKAGE = "@openfort/openfort-node";
379
379
 
380
380
  // src/openapi-client/openfortApiClient.ts
@@ -433,6 +433,10 @@ var configure = (options) => {
433
433
  ...options.publishableKey && {
434
434
  "x-project-key": options.publishableKey
435
435
  }
436
+ },
437
+ paramsSerializer: {
438
+ indexes: null
439
+ // Use repeat style for arrays: ?player=a&player=b instead of ?player[0]=a&player[1]=b
436
440
  }
437
441
  });
438
442
  axiosRetry(axiosInstance, {
@@ -714,7 +718,7 @@ var openfortApiClient = async (config, options) => {
714
718
  };
715
719
  var getConfig = () => clientConfig;
716
720
 
717
- // src/openapi-client/generated/accounts/accounts.ts
721
+ // src/openapi-client/generated/accs-v1/accs-v1.ts
718
722
  var getAccounts = (params, options) => {
719
723
  return openfortApiClient(
720
724
  {
@@ -830,6 +834,8 @@ var completeRecovery = (id, completeRecoveryRequest, options) => {
830
834
  options
831
835
  );
832
836
  };
837
+
838
+ // src/openapi-client/generated/accs-v2/accs-v2.ts
833
839
  var getAccountsV2 = (params, options) => {
834
840
  return openfortApiClient(
835
841
  {
@@ -923,6 +929,37 @@ var createOAuthConfig = (authConfig, options) => {
923
929
  options
924
930
  );
925
931
  };
932
+ var deprecatedCallbackOAuth = (params, options) => {
933
+ return openfortApiClient(
934
+ {
935
+ url: `/iam/v1/oauth/callback`,
936
+ method: "GET",
937
+ params
938
+ },
939
+ options
940
+ );
941
+ };
942
+ var grantOAuth = (provider, grantCallbackRequest, options) => {
943
+ return openfortApiClient(
944
+ {
945
+ url: `/iam/v1/oauth/grant/${provider}`,
946
+ method: "POST",
947
+ headers: { "Content-Type": "application/json" },
948
+ data: grantCallbackRequest
949
+ },
950
+ options
951
+ );
952
+ };
953
+ var callbackOAuth = (provider, params, options) => {
954
+ return openfortApiClient(
955
+ {
956
+ url: `/iam/v1/oauth/callback/${provider}`,
957
+ method: "GET",
958
+ params
959
+ },
960
+ options
961
+ );
962
+ };
926
963
  var getOAuthConfig = (provider, options) => {
927
964
  return openfortApiClient(
928
965
  {
@@ -1023,25 +1060,12 @@ var authorize = (authorizePlayerRequest, options) => {
1023
1060
  );
1024
1061
  };
1025
1062
 
1026
- // src/openapi-client/generated/auth/anonymous/anonymous.ts
1027
- var anonymous_exports = {};
1028
- __export(anonymous_exports, {
1029
- postSignInAnonymous: () => postSignInAnonymous
1030
- });
1031
- var postSignInAnonymous = (options) => {
1032
- return openfortApiClient(
1033
- {
1034
- url: `/iam/v2/auth/sign-in/anonymous`,
1035
- method: "POST"
1036
- },
1037
- options
1038
- );
1039
- };
1040
-
1041
- // src/openapi-client/generated/auth/default/default.ts
1042
- var default_exports = {};
1043
- __export(default_exports, {
1063
+ // src/openapi-client/generated/auth/auth-v2/auth-v2.ts
1064
+ var auth_v2_exports = {};
1065
+ __export(auth_v2_exports, {
1066
+ checkVerificationOtp: () => checkVerificationOtp,
1044
1067
  getGetSession: () => getGetSession,
1068
+ getLinkSiweListWallets: () => getLinkSiweListWallets,
1045
1069
  getListAccounts: () => getListAccounts,
1046
1070
  getListSessions: () => getListSessions,
1047
1071
  getResetPasswordToken: () => getResetPasswordToken,
@@ -1049,9 +1073,21 @@ __export(default_exports, {
1049
1073
  postAccountInfo: () => postAccountInfo,
1050
1074
  postChangeEmail: () => postChangeEmail,
1051
1075
  postChangePassword: () => postChangePassword,
1076
+ postEmailOtpResetPassword: () => postEmailOtpResetPassword,
1077
+ postEmailOtpSendVerificationOtp: () => postEmailOtpSendVerificationOtp,
1078
+ postEmailOtpVerifyEmail: () => postEmailOtpVerifyEmail,
1052
1079
  postForgetPassword: () => postForgetPassword,
1080
+ postForgetPasswordEmailOtp: () => postForgetPasswordEmailOtp,
1053
1081
  postGetAccessToken: () => postGetAccessToken,
1082
+ postLinkSiweNonce: () => postLinkSiweNonce,
1083
+ postLinkSiweUnlink: () => postLinkSiweUnlink,
1084
+ postLinkSiweVerify: () => postLinkSiweVerify,
1054
1085
  postLinkSocial: () => postLinkSocial,
1086
+ postPhoneNumberForgetPassword: () => postPhoneNumberForgetPassword,
1087
+ postPhoneNumberRequestPasswordReset: () => postPhoneNumberRequestPasswordReset,
1088
+ postPhoneNumberResetPassword: () => postPhoneNumberResetPassword,
1089
+ postPhoneNumberSendOtp: () => postPhoneNumberSendOtp,
1090
+ postPhoneNumberVerify: () => postPhoneNumberVerify,
1055
1091
  postRefreshToken: () => postRefreshToken,
1056
1092
  postRequestPasswordReset: () => postRequestPasswordReset,
1057
1093
  postResetPassword: () => postResetPassword,
@@ -1059,9 +1095,14 @@ __export(default_exports, {
1059
1095
  postRevokeSession: () => postRevokeSession,
1060
1096
  postRevokeSessions: () => postRevokeSessions,
1061
1097
  postSendVerificationEmail: () => postSendVerificationEmail,
1098
+ postSignInAnonymous: () => postSignInAnonymous,
1062
1099
  postSignInEmail: () => postSignInEmail,
1100
+ postSignInEmailOtp: () => postSignInEmailOtp,
1101
+ postSignInPhoneNumber: () => postSignInPhoneNumber,
1063
1102
  postSignOut: () => postSignOut,
1064
1103
  postSignUpEmail: () => postSignUpEmail,
1104
+ postSiweNonce: () => postSiweNonce,
1105
+ postSiweVerify: () => postSiweVerify,
1065
1106
  postUnlinkAccount: () => postUnlinkAccount,
1066
1107
  socialSignIn: () => socialSignIn
1067
1108
  });
@@ -1311,204 +1352,147 @@ var postAccountInfo = (postAccountInfoBody, options) => {
1311
1352
  options
1312
1353
  );
1313
1354
  };
1314
-
1315
- // src/openapi-client/generated/auth/email-otp/email-otp.ts
1316
- var email_otp_exports = {};
1317
- __export(email_otp_exports, {
1318
- checkVerificationOtp: () => checkVerificationOtp,
1319
- postEmailOtpResetPassword: () => postEmailOtpResetPassword,
1320
- postEmailOtpSendVerificationOtp: () => postEmailOtpSendVerificationOtp,
1321
- postEmailOtpVerifyEmail: () => postEmailOtpVerifyEmail,
1322
- postForgetPasswordEmailOtp: () => postForgetPasswordEmailOtp,
1323
- postSignInEmailOtp: () => postSignInEmailOtp
1324
- });
1325
- var postEmailOtpSendVerificationOtp = (postEmailOtpSendVerificationOtpBody, options) => {
1355
+ var postSignInAnonymous = (options) => {
1326
1356
  return openfortApiClient(
1327
1357
  {
1328
- url: `/iam/v2/auth/email-otp/send-verification-otp`,
1358
+ url: `/iam/v2/auth/sign-in/anonymous`,
1359
+ method: "POST"
1360
+ },
1361
+ options
1362
+ );
1363
+ };
1364
+ var postSignInPhoneNumber = (postSignInPhoneNumberBody, options) => {
1365
+ return openfortApiClient(
1366
+ {
1367
+ url: `/iam/v2/auth/sign-in/phone-number`,
1329
1368
  method: "POST",
1330
1369
  headers: { "Content-Type": "application/json" },
1331
- data: postEmailOtpSendVerificationOtpBody
1370
+ data: postSignInPhoneNumberBody
1332
1371
  },
1333
1372
  options
1334
1373
  );
1335
1374
  };
1336
- var checkVerificationOtp = (checkVerificationOtpBody, options) => {
1375
+ var postPhoneNumberSendOtp = (postPhoneNumberSendOtpBody, options) => {
1337
1376
  return openfortApiClient(
1338
1377
  {
1339
- url: `/iam/v2/auth/email-otp/check-verification-otp`,
1378
+ url: `/iam/v2/auth/phone-number/send-otp`,
1340
1379
  method: "POST",
1341
1380
  headers: { "Content-Type": "application/json" },
1342
- data: checkVerificationOtpBody
1381
+ data: postPhoneNumberSendOtpBody
1343
1382
  },
1344
1383
  options
1345
1384
  );
1346
1385
  };
1347
- var postEmailOtpVerifyEmail = (postEmailOtpVerifyEmailBody, options) => {
1386
+ var postPhoneNumberVerify = (postPhoneNumberVerifyBody, options) => {
1348
1387
  return openfortApiClient(
1349
1388
  {
1350
- url: `/iam/v2/auth/email-otp/verify-email`,
1389
+ url: `/iam/v2/auth/phone-number/verify`,
1351
1390
  method: "POST",
1352
1391
  headers: { "Content-Type": "application/json" },
1353
- data: postEmailOtpVerifyEmailBody
1392
+ data: postPhoneNumberVerifyBody
1354
1393
  },
1355
1394
  options
1356
1395
  );
1357
1396
  };
1358
- var postSignInEmailOtp = (postSignInEmailOtpBody, options) => {
1397
+ var postPhoneNumberForgetPassword = (postPhoneNumberForgetPasswordBody, options) => {
1359
1398
  return openfortApiClient(
1360
1399
  {
1361
- url: `/iam/v2/auth/sign-in/email-otp`,
1400
+ url: `/iam/v2/auth/phone-number/forget-password`,
1362
1401
  method: "POST",
1363
1402
  headers: { "Content-Type": "application/json" },
1364
- data: postSignInEmailOtpBody
1403
+ data: postPhoneNumberForgetPasswordBody
1365
1404
  },
1366
1405
  options
1367
1406
  );
1368
1407
  };
1369
- var postForgetPasswordEmailOtp = (postForgetPasswordEmailOtpBody, options) => {
1408
+ var postPhoneNumberRequestPasswordReset = (postPhoneNumberRequestPasswordResetBody, options) => {
1370
1409
  return openfortApiClient(
1371
1410
  {
1372
- url: `/iam/v2/auth/forget-password/email-otp`,
1411
+ url: `/iam/v2/auth/phone-number/request-password-reset`,
1373
1412
  method: "POST",
1374
1413
  headers: { "Content-Type": "application/json" },
1375
- data: postForgetPasswordEmailOtpBody
1414
+ data: postPhoneNumberRequestPasswordResetBody
1376
1415
  },
1377
1416
  options
1378
1417
  );
1379
1418
  };
1380
- var postEmailOtpResetPassword = (postEmailOtpResetPasswordBody, options) => {
1419
+ var postPhoneNumberResetPassword = (postPhoneNumberResetPasswordBody, options) => {
1381
1420
  return openfortApiClient(
1382
1421
  {
1383
- url: `/iam/v2/auth/email-otp/reset-password`,
1422
+ url: `/iam/v2/auth/phone-number/reset-password`,
1384
1423
  method: "POST",
1385
1424
  headers: { "Content-Type": "application/json" },
1386
- data: postEmailOtpResetPasswordBody
1425
+ data: postPhoneNumberResetPasswordBody
1387
1426
  },
1388
1427
  options
1389
1428
  );
1390
1429
  };
1391
-
1392
- // src/openapi-client/generated/auth/openfortAuth.schemas.ts
1393
- var openfortAuth_schemas_exports = {};
1394
- __export(openfortAuth_schemas_exports, {
1395
- CheckVerificationOtpBodyType: () => CheckVerificationOtpBodyType,
1396
- PostChangeEmail200Message: () => PostChangeEmail200Message,
1397
- PostLinkSiweUnlink400Code: () => PostLinkSiweUnlink400Code,
1398
- PostLinkSiweVerify400Code: () => PostLinkSiweVerify400Code,
1399
- PostLinkSiweVerify401Code: () => PostLinkSiweVerify401Code
1400
- });
1401
- var PostChangeEmail200Message = {
1402
- Email_updated: "Email updated",
1403
- Verification_email_sent: "Verification email sent"
1404
- };
1405
- var CheckVerificationOtpBodyType = {
1406
- "email-verification": "email-verification",
1407
- "sign-in": "sign-in",
1408
- "forget-password": "forget-password"
1409
- };
1410
- var PostLinkSiweVerify400Code = {
1411
- WALLET_ALREADY_LINKED: "WALLET_ALREADY_LINKED",
1412
- BAD_REQUEST: "BAD_REQUEST"
1413
- };
1414
- var PostLinkSiweVerify401Code = {
1415
- UNAUTHORIZED: "UNAUTHORIZED",
1416
- INVALID_OR_EXPIRED_NONCE: "INVALID_OR_EXPIRED_NONCE",
1417
- INVALID_SIGNATURE: "INVALID_SIGNATURE"
1418
- };
1419
- var PostLinkSiweUnlink400Code = {
1420
- BAD_REQUEST: "BAD_REQUEST",
1421
- CANNOT_UNLINK_LAST_ACCOUNT: "CANNOT_UNLINK_LAST_ACCOUNT",
1422
- WALLET_NOT_FOUND: "WALLET_NOT_FOUND"
1423
- };
1424
-
1425
- // src/openapi-client/generated/auth/phone-number/phone-number.ts
1426
- var phone_number_exports = {};
1427
- __export(phone_number_exports, {
1428
- postPhoneNumberForgetPassword: () => postPhoneNumberForgetPassword,
1429
- postPhoneNumberRequestPasswordReset: () => postPhoneNumberRequestPasswordReset,
1430
- postPhoneNumberResetPassword: () => postPhoneNumberResetPassword,
1431
- postPhoneNumberSendOtp: () => postPhoneNumberSendOtp,
1432
- postPhoneNumberVerify: () => postPhoneNumberVerify,
1433
- postSignInPhoneNumber: () => postSignInPhoneNumber
1434
- });
1435
- var postSignInPhoneNumber = (postSignInPhoneNumberBody, options) => {
1430
+ var postEmailOtpSendVerificationOtp = (postEmailOtpSendVerificationOtpBody, options) => {
1436
1431
  return openfortApiClient(
1437
1432
  {
1438
- url: `/iam/v2/auth/sign-in/phone-number`,
1433
+ url: `/iam/v2/auth/email-otp/send-verification-otp`,
1439
1434
  method: "POST",
1440
1435
  headers: { "Content-Type": "application/json" },
1441
- data: postSignInPhoneNumberBody
1436
+ data: postEmailOtpSendVerificationOtpBody
1442
1437
  },
1443
1438
  options
1444
1439
  );
1445
1440
  };
1446
- var postPhoneNumberSendOtp = (postPhoneNumberSendOtpBody, options) => {
1441
+ var checkVerificationOtp = (checkVerificationOtpBody, options) => {
1447
1442
  return openfortApiClient(
1448
1443
  {
1449
- url: `/iam/v2/auth/phone-number/send-otp`,
1444
+ url: `/iam/v2/auth/email-otp/check-verification-otp`,
1450
1445
  method: "POST",
1451
1446
  headers: { "Content-Type": "application/json" },
1452
- data: postPhoneNumberSendOtpBody
1447
+ data: checkVerificationOtpBody
1453
1448
  },
1454
1449
  options
1455
1450
  );
1456
1451
  };
1457
- var postPhoneNumberVerify = (postPhoneNumberVerifyBody, options) => {
1452
+ var postEmailOtpVerifyEmail = (postEmailOtpVerifyEmailBody, options) => {
1458
1453
  return openfortApiClient(
1459
1454
  {
1460
- url: `/iam/v2/auth/phone-number/verify`,
1455
+ url: `/iam/v2/auth/email-otp/verify-email`,
1461
1456
  method: "POST",
1462
1457
  headers: { "Content-Type": "application/json" },
1463
- data: postPhoneNumberVerifyBody
1458
+ data: postEmailOtpVerifyEmailBody
1464
1459
  },
1465
1460
  options
1466
1461
  );
1467
1462
  };
1468
- var postPhoneNumberForgetPassword = (postPhoneNumberForgetPasswordBody, options) => {
1463
+ var postSignInEmailOtp = (postSignInEmailOtpBody, options) => {
1469
1464
  return openfortApiClient(
1470
1465
  {
1471
- url: `/iam/v2/auth/phone-number/forget-password`,
1466
+ url: `/iam/v2/auth/sign-in/email-otp`,
1472
1467
  method: "POST",
1473
1468
  headers: { "Content-Type": "application/json" },
1474
- data: postPhoneNumberForgetPasswordBody
1469
+ data: postSignInEmailOtpBody
1475
1470
  },
1476
1471
  options
1477
1472
  );
1478
1473
  };
1479
- var postPhoneNumberRequestPasswordReset = (postPhoneNumberRequestPasswordResetBody, options) => {
1474
+ var postForgetPasswordEmailOtp = (postForgetPasswordEmailOtpBody, options) => {
1480
1475
  return openfortApiClient(
1481
1476
  {
1482
- url: `/iam/v2/auth/phone-number/request-password-reset`,
1477
+ url: `/iam/v2/auth/forget-password/email-otp`,
1483
1478
  method: "POST",
1484
1479
  headers: { "Content-Type": "application/json" },
1485
- data: postPhoneNumberRequestPasswordResetBody
1480
+ data: postForgetPasswordEmailOtpBody
1486
1481
  },
1487
1482
  options
1488
1483
  );
1489
1484
  };
1490
- var postPhoneNumberResetPassword = (postPhoneNumberResetPasswordBody, options) => {
1485
+ var postEmailOtpResetPassword = (postEmailOtpResetPasswordBody, options) => {
1491
1486
  return openfortApiClient(
1492
1487
  {
1493
- url: `/iam/v2/auth/phone-number/reset-password`,
1488
+ url: `/iam/v2/auth/email-otp/reset-password`,
1494
1489
  method: "POST",
1495
1490
  headers: { "Content-Type": "application/json" },
1496
- data: postPhoneNumberResetPasswordBody
1491
+ data: postEmailOtpResetPasswordBody
1497
1492
  },
1498
1493
  options
1499
1494
  );
1500
1495
  };
1501
-
1502
- // src/openapi-client/generated/auth/siwe/siwe.ts
1503
- var siwe_exports = {};
1504
- __export(siwe_exports, {
1505
- getLinkSiweListWallets: () => getLinkSiweListWallets,
1506
- postLinkSiweNonce: () => postLinkSiweNonce,
1507
- postLinkSiweUnlink: () => postLinkSiweUnlink,
1508
- postLinkSiweVerify: () => postLinkSiweVerify,
1509
- postSiweNonce: () => postSiweNonce,
1510
- postSiweVerify: () => postSiweVerify
1511
- });
1512
1496
  var postSiweNonce = (postSiweNonceBody, options) => {
1513
1497
  return openfortApiClient(
1514
1498
  {
@@ -1574,7 +1558,40 @@ var postLinkSiweUnlink = (postLinkSiweUnlinkBody, options) => {
1574
1558
  );
1575
1559
  };
1576
1560
 
1577
- // src/openapi-client/generated/authentication/authentication.ts
1561
+ // src/openapi-client/generated/auth/openfortAuth.schemas.ts
1562
+ var openfortAuth_schemas_exports = {};
1563
+ __export(openfortAuth_schemas_exports, {
1564
+ CheckVerificationOtpBodyType: () => CheckVerificationOtpBodyType,
1565
+ PostChangeEmail200Message: () => PostChangeEmail200Message,
1566
+ PostLinkSiweUnlink400Code: () => PostLinkSiweUnlink400Code,
1567
+ PostLinkSiweVerify400Code: () => PostLinkSiweVerify400Code,
1568
+ PostLinkSiweVerify401Code: () => PostLinkSiweVerify401Code
1569
+ });
1570
+ var PostChangeEmail200Message = {
1571
+ Email_updated: "Email updated",
1572
+ Verification_email_sent: "Verification email sent"
1573
+ };
1574
+ var CheckVerificationOtpBodyType = {
1575
+ "email-verification": "email-verification",
1576
+ "sign-in": "sign-in",
1577
+ "forget-password": "forget-password"
1578
+ };
1579
+ var PostLinkSiweVerify400Code = {
1580
+ WALLET_ALREADY_LINKED: "WALLET_ALREADY_LINKED",
1581
+ BAD_REQUEST: "BAD_REQUEST"
1582
+ };
1583
+ var PostLinkSiweVerify401Code = {
1584
+ UNAUTHORIZED: "UNAUTHORIZED",
1585
+ INVALID_OR_EXPIRED_NONCE: "INVALID_OR_EXPIRED_NONCE",
1586
+ INVALID_SIGNATURE: "INVALID_SIGNATURE"
1587
+ };
1588
+ var PostLinkSiweUnlink400Code = {
1589
+ BAD_REQUEST: "BAD_REQUEST",
1590
+ CANNOT_UNLINK_LAST_ACCOUNT: "CANNOT_UNLINK_LAST_ACCOUNT",
1591
+ WALLET_NOT_FOUND: "WALLET_NOT_FOUND"
1592
+ };
1593
+
1594
+ // src/openapi-client/generated/auth-v1/auth-v1.ts
1578
1595
  var refresh = (refreshTokenRequest, options) => {
1579
1596
  return openfortApiClient(
1580
1597
  {
@@ -1844,7 +1861,7 @@ var me = (options) => {
1844
1861
  );
1845
1862
  };
1846
1863
 
1847
- // src/openapi-client/generated/authentication-v2/authentication-v2.ts
1864
+ // src/openapi-client/generated/auth-v2/auth-v2.ts
1848
1865
  var meV2 = (options) => {
1849
1866
  return openfortApiClient(
1850
1867
  {
@@ -2165,6 +2182,27 @@ var query = (queryBody, options) => {
2165
2182
  );
2166
2183
  };
2167
2184
 
2185
+ // src/openapi-client/generated/logs/logs.ts
2186
+ var getProjectLogs = (params, options) => {
2187
+ return openfortApiClient(
2188
+ {
2189
+ url: `/v1/logs`,
2190
+ method: "GET",
2191
+ params
2192
+ },
2193
+ options
2194
+ );
2195
+ };
2196
+ var getWebhookLogsByProjectId = (options) => {
2197
+ return openfortApiClient(
2198
+ {
2199
+ url: `/v1/logs/webhook`,
2200
+ method: "GET"
2201
+ },
2202
+ options
2203
+ );
2204
+ };
2205
+
2168
2206
  // src/openapi-client/generated/onramp/onramp.ts
2169
2207
  var createOnrampSession = (onrampSessionRequest, options) => {
2170
2208
  return openfortApiClient(
@@ -2415,6 +2453,10 @@ var AuthProviderResponseV2 = {
2415
2453
  oidc: "oidc",
2416
2454
  siwe: "siwe"
2417
2455
  };
2456
+ var PregenerateAccountResponseCustody = {
2457
+ Developer: "Developer",
2458
+ User: "User"
2459
+ };
2418
2460
  var ThirdPartyOAuthProvider = {
2419
2461
  accelbyte: "accelbyte",
2420
2462
  firebase: "firebase",
@@ -2450,6 +2492,9 @@ var BackendWalletResponseChainType = {
2450
2492
  EVM: "EVM",
2451
2493
  SVM: "SVM"
2452
2494
  };
2495
+ var BackendWalletResponseCustody = {
2496
+ Developer: "Developer"
2497
+ };
2453
2498
  var BackendWalletListResponseObject = {
2454
2499
  list: "list"
2455
2500
  };
@@ -2497,6 +2542,10 @@ var RevokeWalletSecretResponseObject = {
2497
2542
  var RotateWalletSecretResponseObject = {
2498
2543
  walletSecretRotation: "walletSecretRotation"
2499
2544
  };
2545
+ var AccountV2ResponseCustody = {
2546
+ Developer: "Developer",
2547
+ User: "User"
2548
+ };
2500
2549
  var AccountListQueriesV2ChainType = {
2501
2550
  EVM: "EVM",
2502
2551
  SVM: "SVM"
@@ -4206,9 +4255,7 @@ var Openfort = class {
4206
4255
  /** Update a contract */
4207
4256
  update: updateContract,
4208
4257
  /** Delete a contract */
4209
- delete: deleteContract,
4210
- /** Read a contract */
4211
- read: readContract
4258
+ delete: deleteContract
4212
4259
  };
4213
4260
  }
4214
4261
  // ============================================
@@ -4390,7 +4437,6 @@ var Openfort = class {
4390
4437
  * // V2 (default) - Users
4391
4438
  * const users = await openfort.iam.users.list();
4392
4439
  * const user = await openfort.iam.users.get('usr_...');
4393
- * await openfort.iam.users.pregenerate({ email: 'user@example.com' }, shieldConfig);
4394
4440
  *
4395
4441
  * // V1 - Players
4396
4442
  * const players = await openfort.iam.v1.players.list();
@@ -4408,15 +4454,7 @@ var Openfort = class {
4408
4454
  /** Get an authenticated user by ID */
4409
4455
  get: getAuthUser,
4410
4456
  /** Delete a user */
4411
- delete: deleteUser,
4412
- /**
4413
- * Pre-generate a user with an embedded account before they authenticate.
4414
- * Creates a user record and an embedded account.
4415
- * @param req - The pregenerate user request
4416
- * @param shieldConfig - Optional Shield configuration for storing the recovery share
4417
- * @returns The pregenerated account response
4418
- */
4419
- pregenerate: this.pregenerateUser.bind(this)
4457
+ delete: deleteUser
4420
4458
  },
4421
4459
  /** OAuth configuration */
4422
4460
  authProvidersConfig: {
@@ -4462,7 +4500,7 @@ var Openfort = class {
4462
4500
  */
4463
4501
  getSession(options) {
4464
4502
  const { accessToken, disableCookieCache } = options;
4465
- return default_exports.getGetSession(
4503
+ return auth_v2_exports.getGetSession(
4466
4504
  disableCookieCache !== void 0 ? { disableCookieCache } : void 0,
4467
4505
  { accessToken }
4468
4506
  );
@@ -4634,6 +4672,7 @@ export {
4634
4672
  AccountListQueriesV2Custody,
4635
4673
  AccountNotFoundError,
4636
4674
  AccountResponseExpandable,
4675
+ AccountV2ResponseCustody,
4637
4676
  Actions,
4638
4677
  ApiKeyType,
4639
4678
  AuthMigrationStatus,
@@ -4645,6 +4684,7 @@ export {
4645
4684
  BackendWalletListQueriesChainType,
4646
4685
  BackendWalletListResponseObject,
4647
4686
  BackendWalletResponseChainType,
4687
+ BackendWalletResponseCustody,
4648
4688
  BackendWalletResponseObject,
4649
4689
  BasicAuthProvider,
4650
4690
  BasicAuthProviderEMAIL,
@@ -4732,6 +4772,7 @@ export {
4732
4772
  PolicyRuleTypeACCOUNT,
4733
4773
  PolicyRuleTypeCONTRACT,
4734
4774
  PolicyRuleTypeRATELIMIT,
4775
+ PregenerateAccountResponseCustody,
4735
4776
  PregenerateUserRequestV2AccountType,
4736
4777
  PregenerateUserRequestV2ChainType,
4737
4778
  PrismaSortOrder,
@@ -4779,14 +4820,11 @@ export {
4779
4820
  UserProjectRoleMEMBER,
4780
4821
  UserProjectUpdateRequestRole,
4781
4822
  ValidationError,
4782
- anonymous_exports as authAnonymous,
4783
- default_exports as authApi,
4784
- email_otp_exports as authEmailOtp,
4785
- phone_number_exports as authPhoneNumber,
4823
+ auth_v2_exports as authApi,
4786
4824
  openfortAuth_schemas_exports as authSchemas,
4787
- siwe_exports as authSiwe,
4788
4825
  authenticateSIWE,
4789
4826
  authorize,
4827
+ callbackOAuth,
4790
4828
  cancelTransferAccountOwnership,
4791
4829
  cancelTransferOwnership,
4792
4830
  completeRecovery,
@@ -4829,6 +4867,7 @@ export {
4829
4867
  deleteTrigger,
4830
4868
  deleteUser,
4831
4869
  deployAccount,
4870
+ deprecatedCallbackOAuth,
4832
4871
  disableAccount,
4833
4872
  disablePolicy,
4834
4873
  enablePolicy,
@@ -4866,6 +4905,7 @@ export {
4866
4905
  getPolicyReportTransactionIntents,
4867
4906
  getPolicyRules,
4868
4907
  getPolicyTotalGasUsage,
4908
+ getProjectLogs,
4869
4909
  getSession,
4870
4910
  getSignerIdByAddress,
4871
4911
  getSubscription,
@@ -4875,6 +4915,8 @@ export {
4875
4915
  getTrigger,
4876
4916
  getTriggers,
4877
4917
  getVerificationPayload,
4918
+ getWebhookLogsByProjectId,
4919
+ grantOAuth,
4878
4920
  handleChainRpcRequest,
4879
4921
  handleRpcRequest,
4880
4922
  importPrivateKey,