radar-sdk-js 4.5.7 → 4.5.9-beta.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/README.md +7 -7
- package/dist/radar.js +3 -2
- package/dist/radar.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/api/verify.ts +2 -1
- package/src/types.ts +1 -0
- package/src/version.ts +1 -1
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ Radar.initialize('prj_test_pk_...', { /* options */ });
|
|
|
56
56
|
|
|
57
57
|
Add the following script in your `html` file
|
|
58
58
|
```html
|
|
59
|
-
<script src="https://js.radar.com/v4.5.
|
|
59
|
+
<script src="https://js.radar.com/v4.5.9-beta.0/radar.min.js"></script>
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
Then initialize the Radar SDK
|
|
@@ -73,8 +73,8 @@ To create a map, first initialize the Radar SDK with your publishable key. Then
|
|
|
73
73
|
```html
|
|
74
74
|
<html>
|
|
75
75
|
<head>
|
|
76
|
-
<link href="https://js.radar.com/v4.5.
|
|
77
|
-
<script src="https://js.radar.com/v4.5.
|
|
76
|
+
<link href="https://js.radar.com/v4.5.9-beta.0/radar.css" rel="stylesheet">
|
|
77
|
+
<script src="https://js.radar.com/v4.5.9-beta.0/radar.min.js"></script>
|
|
78
78
|
</head>
|
|
79
79
|
|
|
80
80
|
<body>
|
|
@@ -98,8 +98,8 @@ To create an autocomplete input, first initialize the Radar SDK with your publis
|
|
|
98
98
|
```html
|
|
99
99
|
<html>
|
|
100
100
|
<head>
|
|
101
|
-
<link href="https://js.radar.com/v4.5.
|
|
102
|
-
<script src="https://js.radar.com/v4.5.
|
|
101
|
+
<link href="https://js.radar.com/v4.5.9-beta.0/radar.css" rel="stylesheet">
|
|
102
|
+
<script src="https://js.radar.com/v4.5.9-beta.0/radar.min.js"></script>
|
|
103
103
|
</head>
|
|
104
104
|
|
|
105
105
|
<body>
|
|
@@ -130,8 +130,8 @@ To power [geofencing](https://radar.com/documentation/geofencing/overview) exper
|
|
|
130
130
|
```html
|
|
131
131
|
<html>
|
|
132
132
|
<head>
|
|
133
|
-
<link href="https://js.radar.com/v4.5.
|
|
134
|
-
<script src="https://js.radar.com/v4.5.
|
|
133
|
+
<link href="https://js.radar.com/v4.5.9-beta.0/radar.css" rel="stylesheet">
|
|
134
|
+
<script src="https://js.radar.com/v4.5.9-beta.0/radar.min.js"></script>
|
|
135
135
|
</head>
|
|
136
136
|
|
|
137
137
|
<body>
|
package/dist/radar.js
CHANGED
|
@@ -421,7 +421,7 @@ class Navigator {
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
|
|
424
|
-
var SDK_VERSION = '4.5.
|
|
424
|
+
var SDK_VERSION = '4.5.9-beta.0';
|
|
425
425
|
|
|
426
426
|
const inFlightRequests = new Map();
|
|
427
427
|
class Http {
|
|
@@ -1366,7 +1366,7 @@ class VerifyAPI {
|
|
|
1366
1366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1367
1367
|
try {
|
|
1368
1368
|
const options = Config.get();
|
|
1369
|
-
const { skipVerifyApp } = params;
|
|
1369
|
+
const { skipVerifyApp, reason } = params;
|
|
1370
1370
|
// user indentification fields
|
|
1371
1371
|
const userId = params.userId || Storage.getItem(Storage.USER_ID);
|
|
1372
1372
|
const deviceId = Device.getDeviceId();
|
|
@@ -1389,6 +1389,7 @@ class VerifyAPI {
|
|
|
1389
1389
|
description: description !== null && description !== void 0 ? description : undefined,
|
|
1390
1390
|
metadata: metadata,
|
|
1391
1391
|
fraud: true,
|
|
1392
|
+
reason,
|
|
1392
1393
|
});
|
|
1393
1394
|
}
|
|
1394
1395
|
else {
|
package/dist/radar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radar.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radar.js","sources":[],"sourcesContent":[],"names":[],"mappings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default: "4.5.
|
|
1
|
+
declare const _default: "4.5.9-beta.0";
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
package/src/api/verify.ts
CHANGED
|
@@ -48,7 +48,7 @@ class VerifyAPI {
|
|
|
48
48
|
try {
|
|
49
49
|
const options = Config.get();
|
|
50
50
|
|
|
51
|
-
const { skipVerifyApp } = params;
|
|
51
|
+
const { skipVerifyApp, reason } = params;
|
|
52
52
|
|
|
53
53
|
// user indentification fields
|
|
54
54
|
const userId = params.userId || Storage.getItem(Storage.USER_ID);
|
|
@@ -74,6 +74,7 @@ class VerifyAPI {
|
|
|
74
74
|
description: description ?? undefined,
|
|
75
75
|
metadata: metadata,
|
|
76
76
|
fraud: true,
|
|
77
|
+
reason,
|
|
77
78
|
});
|
|
78
79
|
} else {
|
|
79
80
|
const body = {
|
package/src/types.ts
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '4.5.
|
|
1
|
+
export default '4.5.9-beta.0';
|