@edge-markets/connect 1.4.0 → 1.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.
- package/dist/index.d.mts +90 -5
- package/dist/index.d.ts +90 -5
- package/dist/index.js +9 -0
- package/dist/index.mjs +8 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1024,6 +1024,20 @@ interface components {
|
|
|
1024
1024
|
* @example Doe
|
|
1025
1025
|
*/
|
|
1026
1026
|
lastName: string;
|
|
1027
|
+
/** @description Street address */
|
|
1028
|
+
address?: string;
|
|
1029
|
+
/** @description City */
|
|
1030
|
+
city?: string;
|
|
1031
|
+
/** @description US state code */
|
|
1032
|
+
state?: string;
|
|
1033
|
+
/** @description Postal code */
|
|
1034
|
+
zip?: string;
|
|
1035
|
+
/** @description Phone number */
|
|
1036
|
+
phone?: string;
|
|
1037
|
+
/** @description Date of birth */
|
|
1038
|
+
dateOfBirth?: string;
|
|
1039
|
+
/** @description Whether the user has completed KYC verification */
|
|
1040
|
+
verified: boolean;
|
|
1027
1041
|
/**
|
|
1028
1042
|
* Format: date-time
|
|
1029
1043
|
* @description Account creation timestamp
|
|
@@ -1038,7 +1052,12 @@ interface components {
|
|
|
1038
1052
|
*/
|
|
1039
1053
|
userId: string;
|
|
1040
1054
|
/**
|
|
1041
|
-
* @description
|
|
1055
|
+
* @description Current total balance in USD (includes pending holds)
|
|
1056
|
+
* @example 1250.5
|
|
1057
|
+
*/
|
|
1058
|
+
currentBalance: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* @description Available balance in USD (funds available for transfer)
|
|
1042
1061
|
* @example 1250.5
|
|
1043
1062
|
*/
|
|
1044
1063
|
availableBalance: number;
|
|
@@ -2355,9 +2374,21 @@ interface operations {
|
|
|
2355
2374
|
* ```typescript
|
|
2356
2375
|
* const user: User = await edge.getUser(accessToken)
|
|
2357
2376
|
* console.log(`Welcome, ${user.firstName}!`)
|
|
2377
|
+
* console.log(`Verified: ${user.verified}`)
|
|
2378
|
+
* console.log(`State: ${user.address?.state}`)
|
|
2358
2379
|
* ```
|
|
2359
2380
|
*/
|
|
2360
|
-
|
|
2381
|
+
interface User {
|
|
2382
|
+
id: string;
|
|
2383
|
+
email: string;
|
|
2384
|
+
firstName: string;
|
|
2385
|
+
lastName: string;
|
|
2386
|
+
phone?: string | null;
|
|
2387
|
+
dateOfBirth?: string | null;
|
|
2388
|
+
verified?: boolean;
|
|
2389
|
+
address?: UserAddress | null;
|
|
2390
|
+
createdAt: string;
|
|
2391
|
+
}
|
|
2361
2392
|
/**
|
|
2362
2393
|
* User's EdgeBoost account balance.
|
|
2363
2394
|
*
|
|
@@ -2432,7 +2463,16 @@ type TransferType = 'debit' | 'credit';
|
|
|
2432
2463
|
* - `failed`: Transfer failed (insufficient funds, invalid OTP, etc.)
|
|
2433
2464
|
* - `expired`: OTP verification window expired
|
|
2434
2465
|
*/
|
|
2435
|
-
type TransferStatus = 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
2466
|
+
type TransferStatus = 'pending_verification' | 'processing' | 'completed' | 'failed' | 'expired';
|
|
2467
|
+
/**
|
|
2468
|
+
* Transaction category for settlement window determination.
|
|
2469
|
+
*
|
|
2470
|
+
* - `sportsbook` / `dfs`: T+1 settlement
|
|
2471
|
+
* - `casino` / `sweepstakes`: T+0 settlement
|
|
2472
|
+
*
|
|
2473
|
+
* When omitted, the partner's default settlement window is used.
|
|
2474
|
+
*/
|
|
2475
|
+
type TransferCategory = 'sportsbook' | 'casino' | 'dfs' | 'sweepstakes';
|
|
2436
2476
|
/**
|
|
2437
2477
|
* OTP delivery method for transfer verification.
|
|
2438
2478
|
*
|
|
@@ -2506,6 +2546,47 @@ interface VerifyIdentityResult {
|
|
|
2506
2546
|
verified: true;
|
|
2507
2547
|
scores: VerifyIdentityScores;
|
|
2508
2548
|
}
|
|
2549
|
+
/**
|
|
2550
|
+
* Geolocation data collected by the SDK from the browser or device.
|
|
2551
|
+
*
|
|
2552
|
+
* Passed to the server during transfer verification for cross-referencing
|
|
2553
|
+
* against IP-based geolocation. Collection is always optional — the SDK
|
|
2554
|
+
* returns `null` if the user denies permission or the API is unavailable.
|
|
2555
|
+
*
|
|
2556
|
+
* @example
|
|
2557
|
+
* ```typescript
|
|
2558
|
+
* import { collectGeolocation } from '@edge-markets/connect-link'
|
|
2559
|
+
*
|
|
2560
|
+
* const geo = await collectGeolocation()
|
|
2561
|
+
* // geo: { latitude: 30.267, longitude: -97.743, accuracy: 25, timestamp: '2026-...' }
|
|
2562
|
+
* ```
|
|
2563
|
+
*/
|
|
2564
|
+
interface SdkGeolocation {
|
|
2565
|
+
/** Latitude in decimal degrees */
|
|
2566
|
+
latitude: number;
|
|
2567
|
+
/** Longitude in decimal degrees */
|
|
2568
|
+
longitude: number;
|
|
2569
|
+
/** Accuracy of the position in meters */
|
|
2570
|
+
accuracy?: number;
|
|
2571
|
+
/** ISO 8601 timestamp of when the position was captured */
|
|
2572
|
+
timestamp: string;
|
|
2573
|
+
}
|
|
2574
|
+
/**
|
|
2575
|
+
* User's address on file with EdgeBoost.
|
|
2576
|
+
* All fields are nullable — only populated fields are returned.
|
|
2577
|
+
*/
|
|
2578
|
+
interface UserAddress {
|
|
2579
|
+
/** Street address line 1 */
|
|
2580
|
+
address1?: string | null;
|
|
2581
|
+
/** Street address line 2 (apartment, suite, etc.) */
|
|
2582
|
+
address2?: string | null;
|
|
2583
|
+
/** City */
|
|
2584
|
+
city?: string | null;
|
|
2585
|
+
/** US state code (e.g. "TX") */
|
|
2586
|
+
state?: string | null;
|
|
2587
|
+
/** ZIP / postal code */
|
|
2588
|
+
zip?: string | null;
|
|
2589
|
+
}
|
|
2509
2590
|
/**
|
|
2510
2591
|
* Request payload for creating a hosted verification session.
|
|
2511
2592
|
*/
|
|
@@ -2545,11 +2626,15 @@ declare const TRANSFER_TYPES: readonly ["debit", "credit"];
|
|
|
2545
2626
|
* All possible transfer statuses.
|
|
2546
2627
|
* Use for filtering or status display.
|
|
2547
2628
|
*/
|
|
2548
|
-
declare const TRANSFER_STATUSES: readonly ["pending_verification", "completed", "failed", "expired"];
|
|
2629
|
+
declare const TRANSFER_STATUSES: readonly ["pending_verification", "processing", "completed", "failed", "expired"];
|
|
2549
2630
|
/**
|
|
2550
2631
|
* All possible OTP methods.
|
|
2551
2632
|
*/
|
|
2552
2633
|
declare const OTP_METHODS: readonly ["sms", "totp", "email"];
|
|
2634
|
+
/**
|
|
2635
|
+
* All possible transfer categories.
|
|
2636
|
+
*/
|
|
2637
|
+
declare const TRANSFER_CATEGORIES: readonly ["sportsbook", "casino", "dfs", "sweepstakes"];
|
|
2553
2638
|
|
|
2554
2639
|
/**
|
|
2555
2640
|
* EDGE Connect SDK Types
|
|
@@ -3054,4 +3139,4 @@ declare const SDK_VERSION = "1.0.0";
|
|
|
3054
3139
|
*/
|
|
3055
3140
|
declare const SDK_NAME = "@edge-markets/connect";
|
|
3056
3141
|
|
|
3057
|
-
export { ALL_EDGE_SCOPES, type ApiError, type Balance, type ConsentRequiredError, type CreateVerificationSessionRequest, EDGE_ENVIRONMENTS, EDGE_SCOPES, EdgeApiError, EdgeAuthenticationError, EdgeConsentRequiredError, type EdgeEnvironment, type EdgeEnvironmentConfig, EdgeError, EdgeIdentityVerificationError, EdgeInsufficientScopeError, type EdgeLinkConfigBase, type EdgeLinkEvent, type EdgeLinkEventName, type EdgeLinkExit, type EdgeLinkSuccess, EdgeNetworkError, EdgeNotFoundError, EdgePopupBlockedError, EdgePopupClosedError, type EdgeScope, EdgeStateMismatchError, EdgeTokenExchangeError, type EdgeTokens, EdgeValidationError, type InitiateTransferRequest, type ListTransfersParams, OTP_METHODS, type OtpMethod, type PKCEPair, type RevokeConsentResponse, SCOPE_DESCRIPTIONS, SCOPE_ICONS, SDK_NAME, SDK_VERSION, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type VerificationSession, type VerificationSessionStatus, type VerificationSessionStatusResponse, type VerifyIdentityAddress, type VerifyIdentityOptions, type VerifyIdentityResult, type VerifyIdentityScores, type VerifyTransferRequest, type components, formatScopeForEnvironment, formatScopesForEnvironment, getAvailableEnvironments, getEnvironmentConfig, isApiError, isAuthenticationError, isConsentRequiredError, isEdgeError, isIdentityVerificationError, isNetworkError, isProductionEnvironment, isValidScope, type operations, parseScope, type paths };
|
|
3142
|
+
export { ALL_EDGE_SCOPES, type ApiError, type Balance, type ConsentRequiredError, type CreateVerificationSessionRequest, EDGE_ENVIRONMENTS, EDGE_SCOPES, EdgeApiError, EdgeAuthenticationError, EdgeConsentRequiredError, type EdgeEnvironment, type EdgeEnvironmentConfig, EdgeError, EdgeIdentityVerificationError, EdgeInsufficientScopeError, type EdgeLinkConfigBase, type EdgeLinkEvent, type EdgeLinkEventName, type EdgeLinkExit, type EdgeLinkSuccess, EdgeNetworkError, EdgeNotFoundError, EdgePopupBlockedError, EdgePopupClosedError, type EdgeScope, EdgeStateMismatchError, EdgeTokenExchangeError, type EdgeTokens, EdgeValidationError, type InitiateTransferRequest, type ListTransfersParams, OTP_METHODS, type OtpMethod, type PKCEPair, type RevokeConsentResponse, SCOPE_DESCRIPTIONS, SCOPE_ICONS, SDK_NAME, SDK_VERSION, type SdkGeolocation, TRANSFER_CATEGORIES, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferCategory, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type UserAddress, type VerificationSession, type VerificationSessionStatus, type VerificationSessionStatusResponse, type VerifyIdentityAddress, type VerifyIdentityOptions, type VerifyIdentityResult, type VerifyIdentityScores, type VerifyTransferRequest, type components, formatScopeForEnvironment, formatScopesForEnvironment, getAvailableEnvironments, getEnvironmentConfig, isApiError, isAuthenticationError, isConsentRequiredError, isEdgeError, isIdentityVerificationError, isNetworkError, isProductionEnvironment, isValidScope, type operations, parseScope, type paths };
|
package/dist/index.d.ts
CHANGED
|
@@ -1024,6 +1024,20 @@ interface components {
|
|
|
1024
1024
|
* @example Doe
|
|
1025
1025
|
*/
|
|
1026
1026
|
lastName: string;
|
|
1027
|
+
/** @description Street address */
|
|
1028
|
+
address?: string;
|
|
1029
|
+
/** @description City */
|
|
1030
|
+
city?: string;
|
|
1031
|
+
/** @description US state code */
|
|
1032
|
+
state?: string;
|
|
1033
|
+
/** @description Postal code */
|
|
1034
|
+
zip?: string;
|
|
1035
|
+
/** @description Phone number */
|
|
1036
|
+
phone?: string;
|
|
1037
|
+
/** @description Date of birth */
|
|
1038
|
+
dateOfBirth?: string;
|
|
1039
|
+
/** @description Whether the user has completed KYC verification */
|
|
1040
|
+
verified: boolean;
|
|
1027
1041
|
/**
|
|
1028
1042
|
* Format: date-time
|
|
1029
1043
|
* @description Account creation timestamp
|
|
@@ -1038,7 +1052,12 @@ interface components {
|
|
|
1038
1052
|
*/
|
|
1039
1053
|
userId: string;
|
|
1040
1054
|
/**
|
|
1041
|
-
* @description
|
|
1055
|
+
* @description Current total balance in USD (includes pending holds)
|
|
1056
|
+
* @example 1250.5
|
|
1057
|
+
*/
|
|
1058
|
+
currentBalance: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* @description Available balance in USD (funds available for transfer)
|
|
1042
1061
|
* @example 1250.5
|
|
1043
1062
|
*/
|
|
1044
1063
|
availableBalance: number;
|
|
@@ -2355,9 +2374,21 @@ interface operations {
|
|
|
2355
2374
|
* ```typescript
|
|
2356
2375
|
* const user: User = await edge.getUser(accessToken)
|
|
2357
2376
|
* console.log(`Welcome, ${user.firstName}!`)
|
|
2377
|
+
* console.log(`Verified: ${user.verified}`)
|
|
2378
|
+
* console.log(`State: ${user.address?.state}`)
|
|
2358
2379
|
* ```
|
|
2359
2380
|
*/
|
|
2360
|
-
|
|
2381
|
+
interface User {
|
|
2382
|
+
id: string;
|
|
2383
|
+
email: string;
|
|
2384
|
+
firstName: string;
|
|
2385
|
+
lastName: string;
|
|
2386
|
+
phone?: string | null;
|
|
2387
|
+
dateOfBirth?: string | null;
|
|
2388
|
+
verified?: boolean;
|
|
2389
|
+
address?: UserAddress | null;
|
|
2390
|
+
createdAt: string;
|
|
2391
|
+
}
|
|
2361
2392
|
/**
|
|
2362
2393
|
* User's EdgeBoost account balance.
|
|
2363
2394
|
*
|
|
@@ -2432,7 +2463,16 @@ type TransferType = 'debit' | 'credit';
|
|
|
2432
2463
|
* - `failed`: Transfer failed (insufficient funds, invalid OTP, etc.)
|
|
2433
2464
|
* - `expired`: OTP verification window expired
|
|
2434
2465
|
*/
|
|
2435
|
-
type TransferStatus = 'pending_verification' | 'completed' | 'failed' | 'expired';
|
|
2466
|
+
type TransferStatus = 'pending_verification' | 'processing' | 'completed' | 'failed' | 'expired';
|
|
2467
|
+
/**
|
|
2468
|
+
* Transaction category for settlement window determination.
|
|
2469
|
+
*
|
|
2470
|
+
* - `sportsbook` / `dfs`: T+1 settlement
|
|
2471
|
+
* - `casino` / `sweepstakes`: T+0 settlement
|
|
2472
|
+
*
|
|
2473
|
+
* When omitted, the partner's default settlement window is used.
|
|
2474
|
+
*/
|
|
2475
|
+
type TransferCategory = 'sportsbook' | 'casino' | 'dfs' | 'sweepstakes';
|
|
2436
2476
|
/**
|
|
2437
2477
|
* OTP delivery method for transfer verification.
|
|
2438
2478
|
*
|
|
@@ -2506,6 +2546,47 @@ interface VerifyIdentityResult {
|
|
|
2506
2546
|
verified: true;
|
|
2507
2547
|
scores: VerifyIdentityScores;
|
|
2508
2548
|
}
|
|
2549
|
+
/**
|
|
2550
|
+
* Geolocation data collected by the SDK from the browser or device.
|
|
2551
|
+
*
|
|
2552
|
+
* Passed to the server during transfer verification for cross-referencing
|
|
2553
|
+
* against IP-based geolocation. Collection is always optional — the SDK
|
|
2554
|
+
* returns `null` if the user denies permission or the API is unavailable.
|
|
2555
|
+
*
|
|
2556
|
+
* @example
|
|
2557
|
+
* ```typescript
|
|
2558
|
+
* import { collectGeolocation } from '@edge-markets/connect-link'
|
|
2559
|
+
*
|
|
2560
|
+
* const geo = await collectGeolocation()
|
|
2561
|
+
* // geo: { latitude: 30.267, longitude: -97.743, accuracy: 25, timestamp: '2026-...' }
|
|
2562
|
+
* ```
|
|
2563
|
+
*/
|
|
2564
|
+
interface SdkGeolocation {
|
|
2565
|
+
/** Latitude in decimal degrees */
|
|
2566
|
+
latitude: number;
|
|
2567
|
+
/** Longitude in decimal degrees */
|
|
2568
|
+
longitude: number;
|
|
2569
|
+
/** Accuracy of the position in meters */
|
|
2570
|
+
accuracy?: number;
|
|
2571
|
+
/** ISO 8601 timestamp of when the position was captured */
|
|
2572
|
+
timestamp: string;
|
|
2573
|
+
}
|
|
2574
|
+
/**
|
|
2575
|
+
* User's address on file with EdgeBoost.
|
|
2576
|
+
* All fields are nullable — only populated fields are returned.
|
|
2577
|
+
*/
|
|
2578
|
+
interface UserAddress {
|
|
2579
|
+
/** Street address line 1 */
|
|
2580
|
+
address1?: string | null;
|
|
2581
|
+
/** Street address line 2 (apartment, suite, etc.) */
|
|
2582
|
+
address2?: string | null;
|
|
2583
|
+
/** City */
|
|
2584
|
+
city?: string | null;
|
|
2585
|
+
/** US state code (e.g. "TX") */
|
|
2586
|
+
state?: string | null;
|
|
2587
|
+
/** ZIP / postal code */
|
|
2588
|
+
zip?: string | null;
|
|
2589
|
+
}
|
|
2509
2590
|
/**
|
|
2510
2591
|
* Request payload for creating a hosted verification session.
|
|
2511
2592
|
*/
|
|
@@ -2545,11 +2626,15 @@ declare const TRANSFER_TYPES: readonly ["debit", "credit"];
|
|
|
2545
2626
|
* All possible transfer statuses.
|
|
2546
2627
|
* Use for filtering or status display.
|
|
2547
2628
|
*/
|
|
2548
|
-
declare const TRANSFER_STATUSES: readonly ["pending_verification", "completed", "failed", "expired"];
|
|
2629
|
+
declare const TRANSFER_STATUSES: readonly ["pending_verification", "processing", "completed", "failed", "expired"];
|
|
2549
2630
|
/**
|
|
2550
2631
|
* All possible OTP methods.
|
|
2551
2632
|
*/
|
|
2552
2633
|
declare const OTP_METHODS: readonly ["sms", "totp", "email"];
|
|
2634
|
+
/**
|
|
2635
|
+
* All possible transfer categories.
|
|
2636
|
+
*/
|
|
2637
|
+
declare const TRANSFER_CATEGORIES: readonly ["sportsbook", "casino", "dfs", "sweepstakes"];
|
|
2553
2638
|
|
|
2554
2639
|
/**
|
|
2555
2640
|
* EDGE Connect SDK Types
|
|
@@ -3054,4 +3139,4 @@ declare const SDK_VERSION = "1.0.0";
|
|
|
3054
3139
|
*/
|
|
3055
3140
|
declare const SDK_NAME = "@edge-markets/connect";
|
|
3056
3141
|
|
|
3057
|
-
export { ALL_EDGE_SCOPES, type ApiError, type Balance, type ConsentRequiredError, type CreateVerificationSessionRequest, EDGE_ENVIRONMENTS, EDGE_SCOPES, EdgeApiError, EdgeAuthenticationError, EdgeConsentRequiredError, type EdgeEnvironment, type EdgeEnvironmentConfig, EdgeError, EdgeIdentityVerificationError, EdgeInsufficientScopeError, type EdgeLinkConfigBase, type EdgeLinkEvent, type EdgeLinkEventName, type EdgeLinkExit, type EdgeLinkSuccess, EdgeNetworkError, EdgeNotFoundError, EdgePopupBlockedError, EdgePopupClosedError, type EdgeScope, EdgeStateMismatchError, EdgeTokenExchangeError, type EdgeTokens, EdgeValidationError, type InitiateTransferRequest, type ListTransfersParams, OTP_METHODS, type OtpMethod, type PKCEPair, type RevokeConsentResponse, SCOPE_DESCRIPTIONS, SCOPE_ICONS, SDK_NAME, SDK_VERSION, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type VerificationSession, type VerificationSessionStatus, type VerificationSessionStatusResponse, type VerifyIdentityAddress, type VerifyIdentityOptions, type VerifyIdentityResult, type VerifyIdentityScores, type VerifyTransferRequest, type components, formatScopeForEnvironment, formatScopesForEnvironment, getAvailableEnvironments, getEnvironmentConfig, isApiError, isAuthenticationError, isConsentRequiredError, isEdgeError, isIdentityVerificationError, isNetworkError, isProductionEnvironment, isValidScope, type operations, parseScope, type paths };
|
|
3142
|
+
export { ALL_EDGE_SCOPES, type ApiError, type Balance, type ConsentRequiredError, type CreateVerificationSessionRequest, EDGE_ENVIRONMENTS, EDGE_SCOPES, EdgeApiError, EdgeAuthenticationError, EdgeConsentRequiredError, type EdgeEnvironment, type EdgeEnvironmentConfig, EdgeError, EdgeIdentityVerificationError, EdgeInsufficientScopeError, type EdgeLinkConfigBase, type EdgeLinkEvent, type EdgeLinkEventName, type EdgeLinkExit, type EdgeLinkSuccess, EdgeNetworkError, EdgeNotFoundError, EdgePopupBlockedError, EdgePopupClosedError, type EdgeScope, EdgeStateMismatchError, EdgeTokenExchangeError, type EdgeTokens, EdgeValidationError, type InitiateTransferRequest, type ListTransfersParams, OTP_METHODS, type OtpMethod, type PKCEPair, type RevokeConsentResponse, SCOPE_DESCRIPTIONS, SCOPE_ICONS, SDK_NAME, SDK_VERSION, type SdkGeolocation, TRANSFER_CATEGORIES, TRANSFER_STATUSES, TRANSFER_TYPES, type Transfer, type TransferCategory, type TransferList, type TransferListItem, type TransferStatus, type TransferType, type User, type UserAddress, type VerificationSession, type VerificationSessionStatus, type VerificationSessionStatusResponse, type VerifyIdentityAddress, type VerifyIdentityOptions, type VerifyIdentityResult, type VerifyIdentityScores, type VerifyTransferRequest, type components, formatScopeForEnvironment, formatScopesForEnvironment, getAvailableEnvironments, getEnvironmentConfig, isApiError, isAuthenticationError, isConsentRequiredError, isEdgeError, isIdentityVerificationError, isNetworkError, isProductionEnvironment, isValidScope, type operations, parseScope, type paths };
|
package/dist/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
SCOPE_ICONS: () => SCOPE_ICONS,
|
|
42
42
|
SDK_NAME: () => SDK_NAME,
|
|
43
43
|
SDK_VERSION: () => SDK_VERSION,
|
|
44
|
+
TRANSFER_CATEGORIES: () => TRANSFER_CATEGORIES,
|
|
44
45
|
TRANSFER_STATUSES: () => TRANSFER_STATUSES,
|
|
45
46
|
TRANSFER_TYPES: () => TRANSFER_TYPES,
|
|
46
47
|
formatScopeForEnvironment: () => formatScopeForEnvironment,
|
|
@@ -63,11 +64,18 @@ module.exports = __toCommonJS(index_exports);
|
|
|
63
64
|
var TRANSFER_TYPES = ["debit", "credit"];
|
|
64
65
|
var TRANSFER_STATUSES = [
|
|
65
66
|
"pending_verification",
|
|
67
|
+
"processing",
|
|
66
68
|
"completed",
|
|
67
69
|
"failed",
|
|
68
70
|
"expired"
|
|
69
71
|
];
|
|
70
72
|
var OTP_METHODS = ["sms", "totp", "email"];
|
|
73
|
+
var TRANSFER_CATEGORIES = [
|
|
74
|
+
"sportsbook",
|
|
75
|
+
"casino",
|
|
76
|
+
"dfs",
|
|
77
|
+
"sweepstakes"
|
|
78
|
+
];
|
|
71
79
|
|
|
72
80
|
// src/config/environments.ts
|
|
73
81
|
var EDGE_ENVIRONMENTS = {
|
|
@@ -335,6 +343,7 @@ var SDK_NAME = "@edge-markets/connect";
|
|
|
335
343
|
SCOPE_ICONS,
|
|
336
344
|
SDK_NAME,
|
|
337
345
|
SDK_VERSION,
|
|
346
|
+
TRANSFER_CATEGORIES,
|
|
338
347
|
TRANSFER_STATUSES,
|
|
339
348
|
TRANSFER_TYPES,
|
|
340
349
|
formatScopeForEnvironment,
|
package/dist/index.mjs
CHANGED
|
@@ -2,11 +2,18 @@
|
|
|
2
2
|
var TRANSFER_TYPES = ["debit", "credit"];
|
|
3
3
|
var TRANSFER_STATUSES = [
|
|
4
4
|
"pending_verification",
|
|
5
|
+
"processing",
|
|
5
6
|
"completed",
|
|
6
7
|
"failed",
|
|
7
8
|
"expired"
|
|
8
9
|
];
|
|
9
10
|
var OTP_METHODS = ["sms", "totp", "email"];
|
|
11
|
+
var TRANSFER_CATEGORIES = [
|
|
12
|
+
"sportsbook",
|
|
13
|
+
"casino",
|
|
14
|
+
"dfs",
|
|
15
|
+
"sweepstakes"
|
|
16
|
+
];
|
|
10
17
|
|
|
11
18
|
// src/config/environments.ts
|
|
12
19
|
var EDGE_ENVIRONMENTS = {
|
|
@@ -273,6 +280,7 @@ export {
|
|
|
273
280
|
SCOPE_ICONS,
|
|
274
281
|
SDK_NAME,
|
|
275
282
|
SDK_VERSION,
|
|
283
|
+
TRANSFER_CATEGORIES,
|
|
276
284
|
TRANSFER_STATUSES,
|
|
277
285
|
TRANSFER_TYPES,
|
|
278
286
|
formatScopeForEnvironment,
|