@marqeta/ux-toolkit-sdk-javascript 2.18.2 → 2.19.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/{chunk-H7FAQYRY.js → chunk-Q7VKIJD6.js} +12 -12
- package/dist/{chunk-QMET4POX.mjs → chunk-UE4OJ7X7.mjs} +12 -12
- package/dist/index.js +482 -482
- package/dist/index.mjs +1 -1
- package/dist/react-native.js +523 -523
- package/dist/react-native.mjs +1 -1
- package/package.json +1 -1
|
@@ -17159,13 +17159,13 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
17159
17159
|
_this.httpClient.post(url, {
|
|
17160
17160
|
method: "POST",
|
|
17161
17161
|
headers: {
|
|
17162
|
-
"Content-Type": "application/
|
|
17162
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
17163
17163
|
},
|
|
17164
|
-
body:
|
|
17164
|
+
body: new URLSearchParams({
|
|
17165
17165
|
mfa_token: request.mfaToken,
|
|
17166
17166
|
challenge_type: "oob",
|
|
17167
17167
|
client_id: request.clientId
|
|
17168
|
-
})
|
|
17168
|
+
}).toString()
|
|
17169
17169
|
})
|
|
17170
17170
|
];
|
|
17171
17171
|
case 1:
|
|
@@ -17206,16 +17206,16 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
17206
17206
|
_this.httpClient.post(url, {
|
|
17207
17207
|
method: "POST",
|
|
17208
17208
|
headers: {
|
|
17209
|
-
"Content-Type": "application/
|
|
17209
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
17210
17210
|
},
|
|
17211
|
-
body:
|
|
17211
|
+
body: new URLSearchParams({
|
|
17212
17212
|
grant_type: "password",
|
|
17213
17213
|
username: request.identifier,
|
|
17214
17214
|
password: request.password,
|
|
17215
17215
|
client_id: request.clientId,
|
|
17216
17216
|
scope: request.scope || "openid email profile offline_access cardholder:all",
|
|
17217
17217
|
audience: request.audience || audience
|
|
17218
|
-
})
|
|
17218
|
+
}).toString()
|
|
17219
17219
|
})
|
|
17220
17220
|
];
|
|
17221
17221
|
case 2:
|
|
@@ -17281,15 +17281,15 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
17281
17281
|
_this.httpClient.post(url, {
|
|
17282
17282
|
method: "POST",
|
|
17283
17283
|
headers: {
|
|
17284
|
-
"Content-Type": "application/
|
|
17284
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
17285
17285
|
},
|
|
17286
|
-
body:
|
|
17286
|
+
body: new URLSearchParams({
|
|
17287
17287
|
grant_type: "refresh_token",
|
|
17288
17288
|
refresh_token: request.refreshToken,
|
|
17289
17289
|
client_id: request.clientId,
|
|
17290
17290
|
scope: request.scope,
|
|
17291
17291
|
login_status: request.loginStatus
|
|
17292
|
-
})
|
|
17292
|
+
}).toString()
|
|
17293
17293
|
})
|
|
17294
17294
|
];
|
|
17295
17295
|
case 2:
|
|
@@ -17411,16 +17411,16 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
17411
17411
|
_this.httpClient.post(url, {
|
|
17412
17412
|
method: "POST",
|
|
17413
17413
|
headers: {
|
|
17414
|
-
"Content-Type": "application/
|
|
17414
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
17415
17415
|
},
|
|
17416
|
-
body:
|
|
17416
|
+
body: new URLSearchParams({
|
|
17417
17417
|
// Auth0's token endpoint specifically looks for the exact string http://auth0.com/oauth/grant-type/mfa-oob to identify MFA OOB requests.
|
|
17418
17418
|
grant_type: "http://auth0.com/oauth/grant-type/mfa-oob",
|
|
17419
17419
|
client_id: request.clientId,
|
|
17420
17420
|
mfa_token: request.mfaToken,
|
|
17421
17421
|
oob_code: request.oobCode,
|
|
17422
17422
|
binding_code: request.bindingCode
|
|
17423
|
-
})
|
|
17423
|
+
}).toString()
|
|
17424
17424
|
})
|
|
17425
17425
|
];
|
|
17426
17426
|
case 2:
|
|
@@ -16743,13 +16743,13 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
16743
16743
|
_this.httpClient.post(url, {
|
|
16744
16744
|
method: "POST",
|
|
16745
16745
|
headers: {
|
|
16746
|
-
"Content-Type": "application/
|
|
16746
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
16747
16747
|
},
|
|
16748
|
-
body:
|
|
16748
|
+
body: new URLSearchParams({
|
|
16749
16749
|
mfa_token: request.mfaToken,
|
|
16750
16750
|
challenge_type: "oob",
|
|
16751
16751
|
client_id: request.clientId
|
|
16752
|
-
})
|
|
16752
|
+
}).toString()
|
|
16753
16753
|
})
|
|
16754
16754
|
];
|
|
16755
16755
|
case 1:
|
|
@@ -16790,16 +16790,16 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
16790
16790
|
_this.httpClient.post(url, {
|
|
16791
16791
|
method: "POST",
|
|
16792
16792
|
headers: {
|
|
16793
|
-
"Content-Type": "application/
|
|
16793
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
16794
16794
|
},
|
|
16795
|
-
body:
|
|
16795
|
+
body: new URLSearchParams({
|
|
16796
16796
|
grant_type: "password",
|
|
16797
16797
|
username: request.identifier,
|
|
16798
16798
|
password: request.password,
|
|
16799
16799
|
client_id: request.clientId,
|
|
16800
16800
|
scope: request.scope || "openid email profile offline_access cardholder:all",
|
|
16801
16801
|
audience: request.audience || audience
|
|
16802
|
-
})
|
|
16802
|
+
}).toString()
|
|
16803
16803
|
})
|
|
16804
16804
|
];
|
|
16805
16805
|
case 2:
|
|
@@ -16865,15 +16865,15 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
16865
16865
|
_this.httpClient.post(url, {
|
|
16866
16866
|
method: "POST",
|
|
16867
16867
|
headers: {
|
|
16868
|
-
"Content-Type": "application/
|
|
16868
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
16869
16869
|
},
|
|
16870
|
-
body:
|
|
16870
|
+
body: new URLSearchParams({
|
|
16871
16871
|
grant_type: "refresh_token",
|
|
16872
16872
|
refresh_token: request.refreshToken,
|
|
16873
16873
|
client_id: request.clientId,
|
|
16874
16874
|
scope: request.scope,
|
|
16875
16875
|
login_status: request.loginStatus
|
|
16876
|
-
})
|
|
16876
|
+
}).toString()
|
|
16877
16877
|
})
|
|
16878
16878
|
];
|
|
16879
16879
|
case 2:
|
|
@@ -16995,16 +16995,16 @@ var _RestIdpService = /*#__PURE__*/ function(iIdpService) {
|
|
|
16995
16995
|
_this.httpClient.post(url, {
|
|
16996
16996
|
method: "POST",
|
|
16997
16997
|
headers: {
|
|
16998
|
-
"Content-Type": "application/
|
|
16998
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
16999
16999
|
},
|
|
17000
|
-
body:
|
|
17000
|
+
body: new URLSearchParams({
|
|
17001
17001
|
// Auth0's token endpoint specifically looks for the exact string http://auth0.com/oauth/grant-type/mfa-oob to identify MFA OOB requests.
|
|
17002
17002
|
grant_type: "http://auth0.com/oauth/grant-type/mfa-oob",
|
|
17003
17003
|
client_id: request.clientId,
|
|
17004
17004
|
mfa_token: request.mfaToken,
|
|
17005
17005
|
oob_code: request.oobCode,
|
|
17006
17006
|
binding_code: request.bindingCode
|
|
17007
|
-
})
|
|
17007
|
+
}).toString()
|
|
17008
17008
|
})
|
|
17009
17009
|
];
|
|
17010
17010
|
case 2:
|