@glideidentity/glide-be-sdk-node-core 2.0.1 → 2.1.1
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/constants.d.ts +32 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +32 -2
- package/dist/types.d.ts +93 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +11 -2
package/dist/constants.d.ts
CHANGED
|
@@ -36,6 +36,12 @@ export declare const ErrorCode: {
|
|
|
36
36
|
readonly SERVICE_UNAVAILABLE: "SERVICE_UNAVAILABLE";
|
|
37
37
|
/** OAuth2 authentication failed (invalid client credentials, token endpoint error). */
|
|
38
38
|
readonly AUTHENTICATION_FAILED: "AUTHENTICATION_FAILED";
|
|
39
|
+
/** Device binding validation failed (wrong fe_code or agg_code). */
|
|
40
|
+
readonly DEVICE_BINDING_FAILED: "DEVICE_BINDING_FAILED";
|
|
41
|
+
/** Missing device binding cookie (_glide_bind). */
|
|
42
|
+
readonly MISSING_BINDING_COOKIE: "MISSING_BINDING_COOKIE";
|
|
43
|
+
/** Browser used to complete differs from the one that started the flow. */
|
|
44
|
+
readonly BROWSER_MISMATCH: "BROWSER_MISMATCH";
|
|
39
45
|
};
|
|
40
46
|
export type ErrorCodeType = typeof ErrorCode[keyof typeof ErrorCode];
|
|
41
47
|
/** SIM swap risk level values. */
|
|
@@ -62,4 +68,30 @@ export declare const SimSwapFailureReason: {
|
|
|
62
68
|
readonly ERROR: "error";
|
|
63
69
|
};
|
|
64
70
|
export type SimSwapFailureReasonType = typeof SimSwapFailureReason[keyof typeof SimSwapFailureReason];
|
|
71
|
+
/** Device swap (IMEI change) risk level values. */
|
|
72
|
+
export declare const DeviceSwapRiskLevel: {
|
|
73
|
+
/** Device changed within last 7 days - high fraud risk. */
|
|
74
|
+
readonly HIGH: "RISK_LEVEL_HIGH";
|
|
75
|
+
/** Device changed within 7-30 days - medium fraud risk. */
|
|
76
|
+
readonly MEDIUM: "RISK_LEVEL_MEDIUM";
|
|
77
|
+
/** Device changed more than 30 days ago - low fraud risk. */
|
|
78
|
+
readonly LOW: "RISK_LEVEL_LOW";
|
|
79
|
+
/** Risk could not be determined. */
|
|
80
|
+
readonly UNKNOWN: "RISK_LEVEL_UNKNOWN";
|
|
81
|
+
};
|
|
82
|
+
export type DeviceSwapRiskLevelType = typeof DeviceSwapRiskLevel[keyof typeof DeviceSwapRiskLevel];
|
|
83
|
+
/** Session status values returned by the public status endpoint. */
|
|
84
|
+
export declare const SessionStatus: {
|
|
85
|
+
/** Waiting for carrier authentication. */
|
|
86
|
+
readonly PENDING: "pending";
|
|
87
|
+
/** App Clip / link has been scanned by the user. */
|
|
88
|
+
readonly SCANNED: "scanned";
|
|
89
|
+
/** Carrier authenticated, waiting for /complete call. */
|
|
90
|
+
readonly PENDING_COMPLETION: "pending_completion";
|
|
91
|
+
/** Flow completed successfully. */
|
|
92
|
+
readonly COMPLETED: "completed";
|
|
93
|
+
/** Flow failed. */
|
|
94
|
+
readonly FAILED: "failed";
|
|
95
|
+
};
|
|
96
|
+
export type SessionStatusType = typeof SessionStatus[keyof typeof SessionStatus];
|
|
65
97
|
//# sourceMappingURL=constants.d.ts.map
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,eAAO,MAAM,OAAO;IAChB,wDAAwD;;IAExD,yDAAyD;;CAEnD,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAE/D,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB;IAC/B,6CAA6C;;IAE7C,wDAAwD;;IAExD,mDAAmD;;CAE7C,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,OAAO,sBAAsB,CAAC,MA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AA2D;;IAE3D,6DAA6D;;IAE7D,oCAAoC;;CAE9B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,mBAAmB,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEnG,oEAAoE;AACpE,eAAO,MAAM,aAAa;IACtB,0CAA0C;;IAE1C,oDAAoD;;IAEpD,yDAAyD;;IAEzD,mCAAmC;;IAEnC,mBAAmB;;CAEb,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC"}
|
package/dist/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimSwapFailureReason = exports.SimSwapRiskLevel = exports.ErrorCode = exports.AuthenticationStrategy = exports.UseCase = void 0;
|
|
3
|
+
exports.SessionStatus = exports.DeviceSwapRiskLevel = exports.SimSwapFailureReason = exports.SimSwapRiskLevel = exports.ErrorCode = exports.AuthenticationStrategy = exports.UseCase = void 0;
|
|
4
4
|
/** Authentication use case. */
|
|
5
5
|
exports.UseCase = {
|
|
6
6
|
/** Retrieve the user's phone number from the device. */
|
|
@@ -36,7 +36,13 @@ exports.ErrorCode = {
|
|
|
36
36
|
INTERNAL_SERVER_ERROR: 'INTERNAL_SERVER_ERROR',
|
|
37
37
|
SERVICE_UNAVAILABLE: 'SERVICE_UNAVAILABLE',
|
|
38
38
|
/** OAuth2 authentication failed (invalid client credentials, token endpoint error). */
|
|
39
|
-
AUTHENTICATION_FAILED: 'AUTHENTICATION_FAILED'
|
|
39
|
+
AUTHENTICATION_FAILED: 'AUTHENTICATION_FAILED',
|
|
40
|
+
/** Device binding validation failed (wrong fe_code or agg_code). */
|
|
41
|
+
DEVICE_BINDING_FAILED: 'DEVICE_BINDING_FAILED',
|
|
42
|
+
/** Missing device binding cookie (_glide_bind). */
|
|
43
|
+
MISSING_BINDING_COOKIE: 'MISSING_BINDING_COOKIE',
|
|
44
|
+
/** Browser used to complete differs from the one that started the flow. */
|
|
45
|
+
BROWSER_MISMATCH: 'BROWSER_MISMATCH'
|
|
40
46
|
};
|
|
41
47
|
/** SIM swap risk level values. */
|
|
42
48
|
exports.SimSwapRiskLevel = {
|
|
@@ -60,3 +66,27 @@ exports.SimSwapFailureReason = {
|
|
|
60
66
|
/** An error occurred during the check. */
|
|
61
67
|
ERROR: 'error'
|
|
62
68
|
};
|
|
69
|
+
/** Device swap (IMEI change) risk level values. */
|
|
70
|
+
exports.DeviceSwapRiskLevel = {
|
|
71
|
+
/** Device changed within last 7 days - high fraud risk. */
|
|
72
|
+
HIGH: 'RISK_LEVEL_HIGH',
|
|
73
|
+
/** Device changed within 7-30 days - medium fraud risk. */
|
|
74
|
+
MEDIUM: 'RISK_LEVEL_MEDIUM',
|
|
75
|
+
/** Device changed more than 30 days ago - low fraud risk. */
|
|
76
|
+
LOW: 'RISK_LEVEL_LOW',
|
|
77
|
+
/** Risk could not be determined. */
|
|
78
|
+
UNKNOWN: 'RISK_LEVEL_UNKNOWN'
|
|
79
|
+
};
|
|
80
|
+
/** Session status values returned by the public status endpoint. */
|
|
81
|
+
exports.SessionStatus = {
|
|
82
|
+
/** Waiting for carrier authentication. */
|
|
83
|
+
PENDING: 'pending',
|
|
84
|
+
/** App Clip / link has been scanned by the user. */
|
|
85
|
+
SCANNED: 'scanned',
|
|
86
|
+
/** Carrier authenticated, waiting for /complete call. */
|
|
87
|
+
PENDING_COMPLETION: 'pending_completion',
|
|
88
|
+
/** Flow completed successfully. */
|
|
89
|
+
COMPLETED: 'completed',
|
|
90
|
+
/** Flow failed. */
|
|
91
|
+
FAILED: 'failed'
|
|
92
|
+
};
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UseCaseType, AuthenticationStrategyType, SimSwapRiskLevelType, SimSwapFailureReasonType } from './constants';
|
|
1
|
+
import { UseCaseType, AuthenticationStrategyType, SimSwapRiskLevelType, SimSwapFailureReasonType, DeviceSwapRiskLevelType, SessionStatusType } from './constants';
|
|
2
2
|
/** Mobile network identifiers (MCC + MNC). */
|
|
3
3
|
export interface PLMN {
|
|
4
4
|
/** Mobile Country Code (3 digits). */
|
|
@@ -21,6 +21,8 @@ export interface ClientInfo {
|
|
|
21
21
|
export interface SessionInfo {
|
|
22
22
|
session_key: string;
|
|
23
23
|
nonce?: string;
|
|
24
|
+
/** Protocol type used for authentication. */
|
|
25
|
+
protocol_type?: AuthenticationStrategyType;
|
|
24
26
|
metadata?: Record<string, string>;
|
|
25
27
|
}
|
|
26
28
|
/** Visual verification challenge for desktop QR authentication. */
|
|
@@ -110,6 +112,23 @@ export interface SimSwapInfo {
|
|
|
110
112
|
/** Reason for check failure (only when checked=false). */
|
|
111
113
|
reason?: SimSwapFailureReasonType;
|
|
112
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Device swap (IMEI change) detection information for fraud risk assessment.
|
|
117
|
+
* Only present when the carrier supports device swap detection.
|
|
118
|
+
* This is a parallel, fully independent signal alongside SimSwapInfo.
|
|
119
|
+
*/
|
|
120
|
+
export interface DeviceSwapInfo {
|
|
121
|
+
/** Whether the device swap check completed successfully. */
|
|
122
|
+
checked: boolean;
|
|
123
|
+
/** Fraud risk level based on device swap recency. */
|
|
124
|
+
risk_level?: DeviceSwapRiskLevelType;
|
|
125
|
+
/** Human-readable time since last device (IMEI) change. */
|
|
126
|
+
age_band?: string;
|
|
127
|
+
/** Carrier that performed the device swap check. */
|
|
128
|
+
carrier_name?: string;
|
|
129
|
+
/** When the device swap check was performed (RFC3339). */
|
|
130
|
+
checked_at?: string;
|
|
131
|
+
}
|
|
113
132
|
/** Options for prepare request. */
|
|
114
133
|
export interface PrepareOptions {
|
|
115
134
|
parent_session_id?: string;
|
|
@@ -129,6 +148,11 @@ export interface PrepareRequest {
|
|
|
129
148
|
consent_data?: ConsentData;
|
|
130
149
|
client_info?: ClientInfo;
|
|
131
150
|
options?: PrepareOptions;
|
|
151
|
+
/**
|
|
152
|
+
* SHA-256 hash of the device binding code (fe_code) for link protocol.
|
|
153
|
+
* Set automatically by the SDK — callers should not set this directly.
|
|
154
|
+
*/
|
|
155
|
+
fe_hash?: string;
|
|
132
156
|
}
|
|
133
157
|
/** Response from prepare request. */
|
|
134
158
|
export interface PrepareResponse {
|
|
@@ -142,6 +166,16 @@ export interface PrepareResponse {
|
|
|
142
166
|
export interface VerifyPhoneNumberRequest {
|
|
143
167
|
session: SessionInfo;
|
|
144
168
|
credential: string;
|
|
169
|
+
/**
|
|
170
|
+
* Device binding code from the {@code _glide_bind_{sessionKey}} HttpOnly cookie.
|
|
171
|
+
* When provided for device-bound sessions (link protocol), the server validates
|
|
172
|
+
* that this code matches the hash committed during {@code prepare()}, extending
|
|
173
|
+
* device binding verification through to the process step.
|
|
174
|
+
*
|
|
175
|
+
* Use {@code parseBindingCookie(cookieHeader, sessionKey)} from the SDK package
|
|
176
|
+
* to extract the value from the raw Cookie header.
|
|
177
|
+
*/
|
|
178
|
+
fe_code?: string;
|
|
145
179
|
}
|
|
146
180
|
/** Response from phone number verification. */
|
|
147
181
|
export interface VerifyPhoneNumberResponse {
|
|
@@ -150,11 +184,18 @@ export interface VerifyPhoneNumberResponse {
|
|
|
150
184
|
aud?: string;
|
|
151
185
|
/** SIM swap detection information for fraud risk assessment. */
|
|
152
186
|
sim_swap?: SimSwapInfo;
|
|
187
|
+
/** Device swap (IMEI change) detection information. Only present when carrier supports it. */
|
|
188
|
+
device_swap?: DeviceSwapInfo;
|
|
153
189
|
}
|
|
154
190
|
/** Request to retrieve phone number. */
|
|
155
191
|
export interface GetPhoneNumberRequest {
|
|
156
192
|
session: SessionInfo;
|
|
157
193
|
credential: string;
|
|
194
|
+
/**
|
|
195
|
+
* Device binding code from the {@code _glide_bind_{sessionKey}} HttpOnly cookie.
|
|
196
|
+
* See {@link VerifyPhoneNumberRequest.fe_code} for details.
|
|
197
|
+
*/
|
|
198
|
+
fe_code?: string;
|
|
158
199
|
}
|
|
159
200
|
/** Response from phone number retrieval. */
|
|
160
201
|
export interface GetPhoneNumberResponse {
|
|
@@ -162,6 +203,8 @@ export interface GetPhoneNumberResponse {
|
|
|
162
203
|
aud?: string;
|
|
163
204
|
/** SIM swap detection information for fraud risk assessment. */
|
|
164
205
|
sim_swap?: SimSwapInfo;
|
|
206
|
+
/** Device swap (IMEI change) detection information. Only present when carrier supports it. */
|
|
207
|
+
device_swap?: DeviceSwapInfo;
|
|
165
208
|
}
|
|
166
209
|
/** Process request. */
|
|
167
210
|
export interface ProcessRequest {
|
|
@@ -169,6 +212,51 @@ export interface ProcessRequest {
|
|
|
169
212
|
session: SessionInfo;
|
|
170
213
|
use_case: UseCaseType;
|
|
171
214
|
}
|
|
215
|
+
/** Information about the device that scanned the QR code (desktop flow). */
|
|
216
|
+
export interface DeviceInfo {
|
|
217
|
+
/** Device type/model. */
|
|
218
|
+
type: string;
|
|
219
|
+
/** Operating system and version. */
|
|
220
|
+
os: string;
|
|
221
|
+
/** Browser name and version (optional, may not be present for native apps). */
|
|
222
|
+
browser?: string;
|
|
223
|
+
}
|
|
224
|
+
/** Response from the session status endpoint. */
|
|
225
|
+
export interface StatusResponse {
|
|
226
|
+
/** The session identifier (16-char hex). */
|
|
227
|
+
session_key: string;
|
|
228
|
+
/** Current status of the verification request. */
|
|
229
|
+
status: SessionStatusType;
|
|
230
|
+
/** Protocol used for authentication. */
|
|
231
|
+
protocol?: AuthenticationStrategyType;
|
|
232
|
+
/** Session creation timestamp. */
|
|
233
|
+
created_at: string;
|
|
234
|
+
/** Last status update timestamp. */
|
|
235
|
+
last_updated: string;
|
|
236
|
+
/** Information about the device that scanned the QR code (only when status is "scanned"). */
|
|
237
|
+
device_info?: DeviceInfo;
|
|
238
|
+
/** Grace period expiry time (only present when status is "scanned"). */
|
|
239
|
+
grace_expires_at?: string;
|
|
240
|
+
/** Timestamp when the QR code was scanned. */
|
|
241
|
+
scanned_at?: string;
|
|
242
|
+
/** Additional metadata (e.g., error reason for failed status). */
|
|
243
|
+
extra?: Record<string, unknown>;
|
|
244
|
+
}
|
|
245
|
+
/** Request to complete a device-bound authentication session. */
|
|
246
|
+
export interface CompleteRequest {
|
|
247
|
+
/** Session key from the prepare response. */
|
|
248
|
+
session_key: string;
|
|
249
|
+
/** Device binding code from the _glide_bind HttpOnly cookie. */
|
|
250
|
+
fe_code: string;
|
|
251
|
+
/** Aggregator binding code from the redirect URL fragment. */
|
|
252
|
+
agg_code: string;
|
|
253
|
+
/**
|
|
254
|
+
* Browser User-Agent from the completion page. Optional but recommended.
|
|
255
|
+
* When provided, the server compares the browser family against the one from `/prepare`.
|
|
256
|
+
* If they differ, a `BROWSER_MISMATCH` 422 error is returned with a user-friendly message.
|
|
257
|
+
*/
|
|
258
|
+
user_agent?: string;
|
|
259
|
+
}
|
|
172
260
|
/**
|
|
173
261
|
* Request to report that an authentication flow was started.
|
|
174
262
|
*/
|
|
@@ -179,6 +267,9 @@ export interface ReportInvocationRequest {
|
|
|
179
267
|
* Response from reporting an authentication invocation.
|
|
180
268
|
*/
|
|
181
269
|
export interface ReportInvocationResponse {
|
|
182
|
-
|
|
270
|
+
/** Operation status. */
|
|
271
|
+
status: 'success' | 'error';
|
|
272
|
+
/** Human-readable message. */
|
|
273
|
+
message?: string;
|
|
183
274
|
}
|
|
184
275
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,0BAA0B,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,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IACxE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,iEAAiE;AACjE,MAAM,WAAW,eAAe;IAC5B,6CAA6C;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,wBAAwB;IACxB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
4
|
exports.getVersion = getVersion;
|
|
5
5
|
/** SDK version. */
|
|
6
|
-
exports.VERSION = '1.
|
|
6
|
+
exports.VERSION = '2.1.1';
|
|
7
7
|
/** Returns the SDK version string. */
|
|
8
8
|
function getVersion() {
|
|
9
9
|
return exports.VERSION;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glideidentity/glide-be-sdk-node-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Core types and constants for Glide Node.js SDK",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,6 +21,15 @@
|
|
|
21
21
|
"clean": "rm -rf dist"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {},
|
|
24
|
-
"
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"registry": "https://us-central1-npm.pkg.dev/platform-devops-09ff133a/npm-packages/"
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"glide",
|
|
29
|
+
"sdk",
|
|
30
|
+
"phone",
|
|
31
|
+
"verification",
|
|
32
|
+
"types"
|
|
33
|
+
],
|
|
25
34
|
"license": "SEE LICENSE IN LICENSE"
|
|
26
35
|
}
|