radar-sdk-js 4.2.0 → 4.2.1-beta.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/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.2.0/radar.min.js"></script>
59
+ <script src="https://js.radar.com/v4.2.1-beta.1/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.2.0/radar.css" rel="stylesheet">
77
- <script src="https://js.radar.com/v4.2.0/radar.min.js"></script>
76
+ <link href="https://js.radar.com/v4.2.1-beta.1/radar.css" rel="stylesheet">
77
+ <script src="https://js.radar.com/v4.2.1-beta.1/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.2.0/radar.css" rel="stylesheet">
102
- <script src="https://js.radar.com/v4.2.0/radar.min.js"></script>
101
+ <link href="https://js.radar.com/v4.2.1-beta.1/radar.css" rel="stylesheet">
102
+ <script src="https://js.radar.com/v4.2.1-beta.1/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.2.0/radar.css" rel="stylesheet">
134
- <script src="https://js.radar.com/v4.2.0/radar.min.js"></script>
133
+ <link href="https://js.radar.com/v4.2.1-beta.1/radar.css" rel="stylesheet">
134
+ <script src="https://js.radar.com/v4.2.1-beta.1/radar.min.js"></script>
135
135
  </head>
136
136
 
137
137
  <body>
package/dist/http.d.ts CHANGED
@@ -4,11 +4,12 @@ interface HttpResponse {
4
4
  data: any;
5
5
  }
6
6
  declare class Http {
7
- static request({ method, path, data, host, headers, }: {
7
+ static request({ method, path, data, host, versioned, headers, }: {
8
8
  method: HttpMethod;
9
9
  path: string;
10
10
  data?: any;
11
11
  host?: string;
12
+ versioned?: boolean;
12
13
  headers?: Record<string, string>;
13
14
  }): Promise<HttpResponse>;
14
15
  }