rocket-launch-live-client 1.0.4 → 2.0.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.
Files changed (42) hide show
  1. package/README.md +105 -61
  2. package/lib/{esm/types/Client.d.ts → Client.d.ts} +6 -8
  3. package/lib/Client.js +61 -0
  4. package/lib/fetcher.d.ts +5 -0
  5. package/lib/fetcher.js +146 -0
  6. package/lib/{cjs/types/index.d.ts → index.d.ts} +0 -1
  7. package/lib/index.js +4 -0
  8. package/lib/{cjs/types/types → types}/application.d.ts +41 -27
  9. package/lib/types/application.js +41 -0
  10. package/lib/types/standards.d.ts +8 -0
  11. package/lib/types/standards.js +314 -0
  12. package/lib/{cjs/types/utils.d.ts → utils.d.ts} +1 -4
  13. package/lib/{esm/utils.js → utils.js} +18 -4
  14. package/lib/{cjs/types → watcher}/Watcher.d.ts +16 -12
  15. package/lib/watcher/Watcher.js +145 -0
  16. package/lib/watcher/index.d.ts +25 -0
  17. package/lib/watcher/index.js +3 -0
  18. package/package.json +30 -27
  19. package/lib/cjs/Client.js +0 -233
  20. package/lib/cjs/Watcher.js +0 -172
  21. package/lib/cjs/fetcher.js +0 -61
  22. package/lib/cjs/index.js +0 -30
  23. package/lib/cjs/package.json +0 -3
  24. package/lib/cjs/types/Client.d.ts +0 -189
  25. package/lib/cjs/types/application.js +0 -46
  26. package/lib/cjs/types/fetcher.d.ts +0 -2
  27. package/lib/cjs/types/standards.js +0 -321
  28. package/lib/cjs/types/types/standards.d.ts +0 -316
  29. package/lib/cjs/utils.js +0 -266
  30. package/lib/esm/Client.js +0 -229
  31. package/lib/esm/Watcher.js +0 -168
  32. package/lib/esm/fetcher.js +0 -54
  33. package/lib/esm/index.mjs +0 -22
  34. package/lib/esm/package.json +0 -3
  35. package/lib/esm/types/Watcher.d.ts +0 -81
  36. package/lib/esm/types/application.js +0 -43
  37. package/lib/esm/types/fetcher.d.ts +0 -2
  38. package/lib/esm/types/index.d.ts +0 -24
  39. package/lib/esm/types/standards.js +0 -316
  40. package/lib/esm/types/types/application.d.ts +0 -206
  41. package/lib/esm/types/types/standards.d.ts +0 -316
  42. package/lib/esm/types/utils.d.ts +0 -12
@@ -1,316 +0,0 @@
1
- export declare const countryCodes: {
2
- AF: string;
3
- AL: string;
4
- DZ: string;
5
- AS: string;
6
- AD: string;
7
- AO: string;
8
- AI: string;
9
- AQ: string;
10
- AG: string;
11
- AR: string;
12
- AM: string;
13
- AW: string;
14
- AU: string;
15
- AT: string;
16
- AZ: string;
17
- BS: string;
18
- BH: string;
19
- BD: string;
20
- BB: string;
21
- BY: string;
22
- BE: string;
23
- BZ: string;
24
- BJ: string;
25
- BM: string;
26
- BT: string;
27
- BO: string;
28
- BQ: string;
29
- BA: string;
30
- BW: string;
31
- BV: string;
32
- BR: string;
33
- IO: string;
34
- BN: string;
35
- BG: string;
36
- BF: string;
37
- BI: string;
38
- CV: string;
39
- KH: string;
40
- CM: string;
41
- CA: string;
42
- KY: string;
43
- CF: string;
44
- TD: string;
45
- CL: string;
46
- CN: string;
47
- CX: string;
48
- CC: string;
49
- CO: string;
50
- KM: string;
51
- CD: string;
52
- CG: string;
53
- CK: string;
54
- CR: string;
55
- HR: string;
56
- CU: string;
57
- CW: string;
58
- CY: string;
59
- CZ: string;
60
- CI: string;
61
- DK: string;
62
- DJ: string;
63
- DM: string;
64
- DO: string;
65
- EC: string;
66
- EG: string;
67
- SV: string;
68
- GQ: string;
69
- ER: string;
70
- EE: string;
71
- SZ: string;
72
- ET: string;
73
- FK: string;
74
- FO: string;
75
- FJ: string;
76
- FI: string;
77
- FR: string;
78
- GF: string;
79
- PF: string;
80
- TF: string;
81
- GA: string;
82
- GM: string;
83
- GE: string;
84
- DE: string;
85
- GH: string;
86
- GI: string;
87
- GR: string;
88
- GL: string;
89
- GD: string;
90
- GP: string;
91
- GU: string;
92
- GT: string;
93
- GG: string;
94
- GN: string;
95
- GW: string;
96
- GY: string;
97
- HT: string;
98
- HM: string;
99
- VA: string;
100
- HN: string;
101
- HK: string;
102
- HU: string;
103
- IS: string;
104
- IN: string;
105
- ID: string;
106
- IR: string;
107
- IQ: string;
108
- IE: string;
109
- IM: string;
110
- IL: string;
111
- IT: string;
112
- JM: string;
113
- JP: string;
114
- JE: string;
115
- JO: string;
116
- KZ: string;
117
- KE: string;
118
- KI: string;
119
- KP: string;
120
- KR: string;
121
- KW: string;
122
- KG: string;
123
- LA: string;
124
- LV: string;
125
- LB: string;
126
- LS: string;
127
- LR: string;
128
- LY: string;
129
- LI: string;
130
- LT: string;
131
- LU: string;
132
- MO: string;
133
- MG: string;
134
- MW: string;
135
- MY: string;
136
- MV: string;
137
- ML: string;
138
- MT: string;
139
- MH: string;
140
- MQ: string;
141
- MR: string;
142
- MU: string;
143
- YT: string;
144
- MX: string;
145
- FM: string;
146
- MD: string;
147
- MC: string;
148
- MN: string;
149
- ME: string;
150
- MS: string;
151
- MA: string;
152
- MZ: string;
153
- MM: string;
154
- NA: string;
155
- NR: string;
156
- NP: string;
157
- NL: string;
158
- NC: string;
159
- NZ: string;
160
- NI: string;
161
- NE: string;
162
- NG: string;
163
- NU: string;
164
- NF: string;
165
- MP: string;
166
- NO: string;
167
- OM: string;
168
- PK: string;
169
- PW: string;
170
- PS: string;
171
- PA: string;
172
- PG: string;
173
- PY: string;
174
- PE: string;
175
- PH: string;
176
- PN: string;
177
- PL: string;
178
- PT: string;
179
- PR: string;
180
- QA: string;
181
- MK: string;
182
- RO: string;
183
- RU: string;
184
- RW: string;
185
- RE: string;
186
- BL: string;
187
- SH: string;
188
- KN: string;
189
- LC: string;
190
- MF: string;
191
- PM: string;
192
- VC: string;
193
- WS: string;
194
- SM: string;
195
- ST: string;
196
- SA: string;
197
- SN: string;
198
- RS: string;
199
- SC: string;
200
- SL: string;
201
- SG: string;
202
- SX: string;
203
- SK: string;
204
- SI: string;
205
- SB: string;
206
- SO: string;
207
- ZA: string;
208
- GS: string;
209
- SS: string;
210
- ES: string;
211
- LK: string;
212
- SD: string;
213
- SR: string;
214
- SJ: string;
215
- SE: string;
216
- CH: string;
217
- SY: string;
218
- TW: string;
219
- TJ: string;
220
- TZ: string;
221
- TH: string;
222
- TL: string;
223
- TG: string;
224
- TK: string;
225
- TO: string;
226
- TT: string;
227
- TN: string;
228
- TR: string;
229
- TM: string;
230
- TC: string;
231
- TV: string;
232
- UG: string;
233
- UA: string;
234
- AE: string;
235
- GB: string;
236
- UM: string;
237
- US: string;
238
- UY: string;
239
- UZ: string;
240
- VU: string;
241
- VE: string;
242
- VN: string;
243
- VG: string;
244
- VI: string;
245
- WF: string;
246
- EH: string;
247
- YE: string;
248
- ZM: string;
249
- ZW: string;
250
- AX: string;
251
- };
252
- export declare const usStateCodes: {
253
- AL: string;
254
- AK: string;
255
- AZ: string;
256
- AR: string;
257
- CA: string;
258
- CO: string;
259
- CT: string;
260
- DE: string;
261
- FL: string;
262
- GA: string;
263
- HI: string;
264
- ID: string;
265
- IL: string;
266
- IN: string;
267
- IA: string;
268
- KS: string;
269
- KY: string;
270
- LA: string;
271
- ME: string;
272
- MD: string;
273
- MA: string;
274
- MI: string;
275
- MN: string;
276
- MS: string;
277
- MO: string;
278
- MT: string;
279
- NE: string;
280
- NV: string;
281
- NH: string;
282
- NJ: string;
283
- NM: string;
284
- NY: string;
285
- NC: string;
286
- ND: string;
287
- OH: string;
288
- OK: string;
289
- OR: string;
290
- PA: string;
291
- RI: string;
292
- SC: string;
293
- SD: string;
294
- TN: string;
295
- TX: string;
296
- UT: string;
297
- VT: string;
298
- VA: string;
299
- WA: string;
300
- WV: string;
301
- WI: string;
302
- WY: string;
303
- DC: string;
304
- AS: string;
305
- GU: string;
306
- MP: string;
307
- PR: string;
308
- UM: string;
309
- VI: string;
310
- };
311
- export declare const isValidCountryCode: (code: string) => code is "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CD" | "CG" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "CI" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "MK" | "RO" | "RU" | "RW" | "RE" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | "AX";
312
- export declare const isValidStateCode: (code: string) => code is "AL" | "AS" | "AR" | "AZ" | "CA" | "KY" | "CO" | "GA" | "DE" | "GU" | "VA" | "IN" | "ID" | "IL" | "LA" | "MO" | "MT" | "MD" | "MN" | "ME" | "MS" | "MA" | "NC" | "NE" | "MP" | "PA" | "PR" | "SC" | "SD" | "TN" | "UM" | "VI" | "AK" | "CT" | "FL" | "HI" | "IA" | "KS" | "MI" | "NV" | "NH" | "NJ" | "NM" | "NY" | "ND" | "OH" | "OK" | "OR" | "RI" | "TX" | "UT" | "VT" | "WA" | "WV" | "WI" | "WY" | "DC";
313
- export declare namespace ISO3166Alpha2 {
314
- type CountryCode = keyof typeof countryCodes;
315
- type StateCodeUS = keyof typeof usStateCodes;
316
- }
@@ -1,12 +0,0 @@
1
- /// <reference types="node" />
2
- import { RLLEndPoint, RLLQueryConfig } from "./types/application.js";
3
- export declare const formatToRLLISODate: (date: Date) => string;
4
- export declare const apiKeyValidator: (apiKey: any) => string;
5
- export declare const optionsValidator: (options: {
6
- [key: string]: any;
7
- [key: number]: any;
8
- [key: symbol]: any;
9
- }) => void;
10
- export declare const queryOptionsValidator: (resource: RLLEndPoint, options?: RLLQueryConfig.Companies | RLLQueryConfig.Launches | RLLQueryConfig.Locations | RLLQueryConfig.Missions | RLLQueryConfig.Pads | RLLQueryConfig.Tags | RLLQueryConfig.Vehicles) => URLSearchParams;
11
- export declare const warn: (msg: string) => void;
12
- export declare const error: (msg: string, type?: "type" | "range" | "error") => void;