@oanda/labs-currency-strength-widget 1.0.136 → 1.0.138
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/CHANGELOG.md +1108 -0
- package/dist/main/CurrencyStrengthWidget/components/Chart/getOption.js +1 -0
- package/dist/main/CurrencyStrengthWidget/components/Chart/getOption.js.map +1 -1
- package/dist/module/CurrencyStrengthWidget/components/Chart/getOption.js +1 -0
- package/dist/module/CurrencyStrengthWidget/components/Chart/getOption.js.map +1 -1
- package/dist/types/CurrencyStrengthWidget/components/Chart/getOption.d.ts +1 -0
- package/package.json +5 -5
- package/src/CurrencyStrengthWidget/components/Chart/getOption.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,1114 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.0.138 (2025-09-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## 1.0.219 (2025-09-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## 1.0.218 (2025-09-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## 1.0.217 (2025-08-25)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## 1.0.216 (2025-08-18)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## 1.0.215 (2025-08-18)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## 1.0.214 (2025-08-14)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## 1.0.213 (2025-08-12)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## 1.0.212 (2025-08-05)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## 1.0.211 (2025-08-05)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## 1.0.210 (2025-07-31)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
## 1.0.209 (2025-07-31)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## 1.0.208 (2025-07-24)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
## 1.0.207 (2025-07-18)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## 1.0.206 (2025-07-18)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## 1.0.205 (2025-07-17)
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## 1.0.204 (2025-07-09)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
## 1.0.203 (2025-06-16)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## 1.0.202 (2025-06-04)
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## 1.0.201 (2025-06-02)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## 1.0.200 (2025-05-30)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## 1.0.199 (2025-05-29)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## 1.0.198 (2025-05-26)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## 1.0.197 (2025-05-23)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## 1.0.196 (2025-05-22)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## 1.0.195 (2025-05-21)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## 1.0.194 (2025-05-21)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## 1.0.193 (2025-05-15)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
## 1.0.192 (2025-05-14)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## 1.0.191 (2025-04-30)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## 1.0.190 (2025-04-28)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
## 1.0.189 (2025-04-23)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## 1.0.188 (2025-04-22)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
## 1.0.187 (2025-04-18)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
## 1.0.186 (2025-04-10)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
## 1.0.185 (2025-04-09)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
## 1.0.184 (2025-04-08)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
## 1.0.183 (2025-04-04)
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
## 1.0.182 (2025-03-21)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## 1.0.181 (2025-03-13)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
## 1.0.180 (2025-01-30)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
## 1.0.179 (2025-01-29)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
## 1.0.178 (2025-01-12)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
## 1.0.177 (2025-01-10)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
## 1.0.176 (2025-01-10)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## 1.0.175 (2025-01-08)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
## 1.0.174 (2024-12-16)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
## 1.0.173 (2024-12-11)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
## 1.0.172 (2024-11-29)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
## 1.0.171 (2024-11-28)
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
## 1.0.170 (2024-11-28)
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
## 1.0.169 (2024-11-20)
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
## 1.0.168 (2024-11-19)
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
## 1.0.167 (2024-10-14)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
## 1.0.166 (2024-10-07)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
## 1.0.165 (2024-10-03)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
## 1.0.164 (2024-09-26)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
## 1.0.163 (2024-09-18)
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## 1.0.162 (2024-09-12)
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
## 1.0.161 (2024-09-11)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
## 1.0.160 (2024-09-10)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
## 1.0.159 (2024-09-09)
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
## 1.0.158 (2024-09-04)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
## 1.0.157 (2024-09-04)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## 1.0.156 (2024-09-02)
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
## 1.0.155 (2024-08-29)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
## 1.0.154 (2024-08-29)
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
## 1.0.153 (2024-08-23)
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
## 1.0.152 (2024-08-23)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
## 1.0.151 (2024-08-20)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
## 1.0.150 (2024-08-19)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
## 1.0.149 (2024-08-07)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
## 1.0.148 (2024-08-01)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
## 1.0.147 (2024-08-01)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
## 1.0.146 (2024-07-26)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
## 1.0.145 (2024-07-25)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
## 1.0.144 (2024-07-22)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
## 1.0.143 (2024-07-19)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
## 1.0.142 (2024-07-16)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
## 1.0.141 (2024-07-16)
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
## 1.0.140 (2024-07-12)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
## 1.0.139 (2024-07-12)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
## 1.0.138 (2024-07-10)
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
## 1.0.137 (2024-07-05)
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
## 1.0.136 (2024-07-03)
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
## 1.0.135 (2024-07-03)
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
## 1.0.134 (2024-07-03)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
## 1.0.133 (2024-06-28)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
## 1.0.132 (2024-06-27)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
## 1.0.131 (2024-06-27)
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
## 1.0.130 (2024-06-26)
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
## 1.0.129 (2024-06-17)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
## 1.0.128 (2024-06-17)
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
## 1.0.127 (2024-06-10)
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
## 1.0.126 (2024-05-29)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
## 1.0.125 (2024-05-29)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
## 1.0.124 (2024-05-29)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
## 1.0.123 (2024-05-28)
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
## 1.0.122 (2024-05-27)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
## 1.0.121 (2024-05-27)
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
## 1.0.120 (2024-05-24)
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
## 1.0.119 (2024-05-17)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
## 1.0.118 (2024-05-09)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
## 1.0.117 (2024-05-07)
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
## 1.0.116 (2024-04-23)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
## 1.0.115 (2024-04-22)
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
## 1.0.114 (2024-04-19)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
## 1.0.113 (2024-04-19)
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
## 1.0.112 (2024-04-15)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
## 1.0.111 (2024-04-11)
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
## 1.0.110 (2024-04-05)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
## 1.0.109 (2024-04-05)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
## 1.0.108 (2024-04-04)
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
## 1.0.107 (2024-04-03)
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
## 1.0.106 (2024-03-29)
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
## 1.0.105 (2024-03-28)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
## 1.0.104 (2024-03-21)
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
## 1.0.103 (2024-03-20)
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
## 1.0.102 (2024-03-20)
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
## 1.0.101 (2024-03-13)
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
## 1.0.100 (2024-03-12)
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
## 1.0.99 (2024-03-11)
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
## 1.0.98 (2024-03-07)
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
## 1.0.97 (2024-03-06)
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
## 1.0.96 (2024-03-06)
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
## 1.0.95 (2024-03-04)
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
## 1.0.94 (2024-02-29)
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
## 1.0.93 (2024-02-28)
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
## 1.0.92 (2024-02-28)
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
## 1.0.91 (2024-02-23)
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
## 1.0.90 (2024-02-23)
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
## 1.0.89 (2024-02-21)
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
## 1.0.88 (2024-02-21)
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
## 1.0.87 (2024-02-20)
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
## 1.0.86 (2024-02-20)
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
## 1.0.85 (2024-02-13)
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
## 1.0.84 (2024-02-13)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
## 1.0.83 (2024-02-09)
|
|
555
|
+
|
|
556
|
+
**Note:** Version bump only for package @oanda/labs-currency-strength-widget
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
## 1.0.137 (2025-09-02)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
## 1.0.218 (2025-09-01)
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
## 1.0.217 (2025-08-25)
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
## 1.0.216 (2025-08-18)
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
## 1.0.215 (2025-08-18)
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
## 1.0.214 (2025-08-14)
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
## 1.0.213 (2025-08-12)
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
## 1.0.212 (2025-08-05)
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
## 1.0.211 (2025-08-05)
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
## 1.0.210 (2025-07-31)
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
## 1.0.209 (2025-07-31)
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
## 1.0.208 (2025-07-24)
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
## 1.0.207 (2025-07-18)
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
## 1.0.206 (2025-07-18)
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
## 1.0.205 (2025-07-17)
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
## 1.0.204 (2025-07-09)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
## 1.0.203 (2025-06-16)
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
## 1.0.202 (2025-06-04)
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
## 1.0.201 (2025-06-02)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
## 1.0.200 (2025-05-30)
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
## 1.0.199 (2025-05-29)
|
|
643
|
+
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
## 1.0.198 (2025-05-26)
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
## 1.0.197 (2025-05-23)
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
## 1.0.196 (2025-05-22)
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
## 1.0.195 (2025-05-21)
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
## 1.0.194 (2025-05-21)
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
## 1.0.193 (2025-05-15)
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
## 1.0.192 (2025-05-14)
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
## 1.0.191 (2025-04-30)
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
## 1.0.190 (2025-04-28)
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
## 1.0.189 (2025-04-23)
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
## 1.0.188 (2025-04-22)
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
## 1.0.187 (2025-04-18)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
## 1.0.186 (2025-04-10)
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
## 1.0.185 (2025-04-09)
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
## 1.0.184 (2025-04-08)
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
## 1.0.183 (2025-04-04)
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
## 1.0.182 (2025-03-21)
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
## 1.0.181 (2025-03-13)
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
## 1.0.180 (2025-01-30)
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
## 1.0.179 (2025-01-29)
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
## 1.0.178 (2025-01-12)
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
## 1.0.177 (2025-01-10)
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
## 1.0.176 (2025-01-10)
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
## 1.0.175 (2025-01-08)
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
## 1.0.174 (2024-12-16)
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
## 1.0.173 (2024-12-11)
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
## 1.0.172 (2024-11-29)
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
## 1.0.171 (2024-11-28)
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
## 1.0.170 (2024-11-28)
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
## 1.0.169 (2024-11-20)
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
## 1.0.168 (2024-11-19)
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
## 1.0.167 (2024-10-14)
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
## 1.0.166 (2024-10-07)
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
## 1.0.165 (2024-10-03)
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
## 1.0.164 (2024-09-26)
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
## 1.0.163 (2024-09-18)
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
## 1.0.162 (2024-09-12)
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
## 1.0.161 (2024-09-11)
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
## 1.0.160 (2024-09-10)
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
## 1.0.159 (2024-09-09)
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
## 1.0.158 (2024-09-04)
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
## 1.0.157 (2024-09-04)
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
## 1.0.156 (2024-09-02)
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
## 1.0.155 (2024-08-29)
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
## 1.0.154 (2024-08-29)
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
## 1.0.153 (2024-08-23)
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
## 1.0.152 (2024-08-23)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
## 1.0.151 (2024-08-20)
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
## 1.0.150 (2024-08-19)
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
## 1.0.149 (2024-08-07)
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
## 1.0.148 (2024-08-01)
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
## 1.0.147 (2024-08-01)
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
## 1.0.146 (2024-07-26)
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
## 1.0.145 (2024-07-25)
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
## 1.0.144 (2024-07-22)
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
## 1.0.143 (2024-07-19)
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
## 1.0.142 (2024-07-16)
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
## 1.0.141 (2024-07-16)
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
## 1.0.140 (2024-07-12)
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
## 1.0.139 (2024-07-12)
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
## 1.0.138 (2024-07-10)
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
## 1.0.137 (2024-07-05)
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
## 1.0.136 (2024-07-03)
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
## 1.0.135 (2024-07-03)
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
## 1.0.134 (2024-07-03)
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
## 1.0.133 (2024-06-28)
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
## 1.0.132 (2024-06-27)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
## 1.0.131 (2024-06-27)
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
## 1.0.130 (2024-06-26)
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
## 1.0.129 (2024-06-17)
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
## 1.0.128 (2024-06-17)
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
## 1.0.127 (2024-06-10)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
## 1.0.126 (2024-05-29)
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
## 1.0.125 (2024-05-29)
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
## 1.0.124 (2024-05-29)
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
## 1.0.123 (2024-05-28)
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
## 1.0.122 (2024-05-27)
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
## 1.0.121 (2024-05-27)
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
## 1.0.120 (2024-05-24)
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
## 1.0.119 (2024-05-17)
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
## 1.0.118 (2024-05-09)
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
## 1.0.117 (2024-05-07)
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
## 1.0.116 (2024-04-23)
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
## 1.0.115 (2024-04-22)
|
|
979
|
+
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
## 1.0.114 (2024-04-19)
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
|
|
986
|
+
## 1.0.113 (2024-04-19)
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
## 1.0.112 (2024-04-15)
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
## 1.0.111 (2024-04-11)
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
## 1.0.110 (2024-04-05)
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
## 1.0.109 (2024-04-05)
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
## 1.0.108 (2024-04-04)
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
## 1.0.107 (2024-04-03)
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
## 1.0.106 (2024-03-29)
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
## 1.0.105 (2024-03-28)
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
## 1.0.104 (2024-03-21)
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
|
|
1026
|
+
## 1.0.103 (2024-03-20)
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
## 1.0.102 (2024-03-20)
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
## 1.0.101 (2024-03-13)
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
## 1.0.100 (2024-03-12)
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
## 1.0.99 (2024-03-11)
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
## 1.0.98 (2024-03-07)
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
## 1.0.97 (2024-03-06)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
## 1.0.96 (2024-03-06)
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
## 1.0.95 (2024-03-04)
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
## 1.0.94 (2024-02-29)
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
## 1.0.93 (2024-02-28)
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
## 1.0.92 (2024-02-28)
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
## 1.0.91 (2024-02-23)
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
## 1.0.90 (2024-02-23)
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
## 1.0.89 (2024-02-21)
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
## 1.0.88 (2024-02-21)
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
## 1.0.87 (2024-02-20)
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
|
|
1094
|
+
## 1.0.86 (2024-02-20)
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
## 1.0.85 (2024-02-13)
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
## 1.0.84 (2024-02-13)
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
## 1.0.83 (2024-02-09)
|
|
1107
|
+
|
|
1108
|
+
**Note:** Version bump only for package @oanda/labs-currency-strength-widget
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
6
1114
|
## 1.0.136 (2025-09-01)
|
|
7
1115
|
|
|
8
1116
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOption.js","names":["_labsWidgetCommon","require","_constants","_formatters","getOption","_ref","values","currency","isDark","lang","currencies","map","item","percentages","percentage","barColors","darkBarColors","lightBarColors","gridLines","getGridLines","chartWidth","CHART_WIDTH","chartHeight","CHART_HEIGHT","xLabelsSize","yLabelSize","animation","title","left","text","textStyle","fontSize","lineHeight","fontWeight","grid","name","
|
|
1
|
+
{"version":3,"file":"getOption.js","names":["_labsWidgetCommon","require","_constants","_formatters","getOption","_ref","values","currency","isDark","lang","currencies","map","item","percentages","percentage","barColors","darkBarColors","lightBarColors","gridLines","getGridLines","chartWidth","CHART_WIDTH","chartHeight","CHART_HEIGHT","xLabelsSize","yLabelSize","animation","title","top","left","text","textStyle","fontSize","lineHeight","fontWeight","grid","name","right","Y_LABEL_SIZE","bottom","X_LABEL_SIZE","graphic","tooltip","trigger","formatter","_ref2","marker","value","tooltipFormatter","axisPointer","axis","extraCssText","xAxis","type","data","axisTick","show","axisLine","splitLine","axisLabel","yAxis","position","min","Math","floor","max","ceil","interval","series","emphasis","disabled","itemStyle","opacity","color","_ref3","positive","negative","zero","exports"],"sources":["../../../../../src/CurrencyStrengthWidget/components/Chart/getOption.ts"],"sourcesContent":["import { getGridLines } from '@oanda/labs-widget-common';\n\nimport {\n CHART_HEIGHT,\n CHART_WIDTH,\n darkBarColors,\n lightBarColors,\n X_LABEL_SIZE,\n Y_LABEL_SIZE,\n} from './constants';\nimport { tooltipFormatter } from './formatters';\nimport type { GetOptionProps } from './types';\n\nexport const getOption = ({\n values,\n currency,\n isDark,\n lang,\n}: GetOptionProps) => {\n const currencies = values.map((item) => item.currency);\n const percentages = values.map((item) => item.percentage);\n const barColors = isDark ? darkBarColors : lightBarColors;\n\n const gridLines = getGridLines({\n isDark,\n chartWidth: CHART_WIDTH,\n chartHeight: CHART_HEIGHT,\n xLabelsSize: -2,\n yLabelSize: -3,\n });\n\n return {\n animation: false,\n title: {\n top: '0px',\n left: 'center',\n text: `${currency} vs`,\n textStyle: {\n fontSize: 12,\n lineHeight: 20,\n fontWeight: 400,\n },\n },\n grid: [\n {\n name: 'main-grid',\n top: '30px',\n right: '0px',\n left: `${Y_LABEL_SIZE}px`,\n bottom: `${X_LABEL_SIZE}px`,\n },\n ],\n graphic: [...gridLines],\n tooltip: {\n trigger: 'axis',\n formatter: ([{ marker, name, value }]: {\n marker: string;\n name: string;\n value: number;\n }[]) =>\n tooltipFormatter({\n lang,\n currency,\n marker,\n name,\n value,\n }),\n axisPointer: {\n axis: 'x',\n },\n extraCssText: 'z-index: 1',\n },\n xAxis: {\n type: 'category',\n data: currencies,\n axisTick: { show: false },\n axisLine: { show: false },\n splitLine: { show: false },\n axisLabel: {\n fontSize: 10,\n },\n },\n yAxis: {\n type: 'value',\n position: 'left',\n min: Math.floor(Math.min(...percentages)),\n max: Math.ceil(Math.max(...percentages)),\n interval: 1,\n axisLine: { show: false },\n axisTick: { show: false },\n axisLabel: {\n formatter: '{value}%',\n fontSize: 10,\n },\n },\n series: [\n {\n data: percentages,\n type: 'bar',\n emphasis: {\n disabled: true,\n },\n itemStyle: {\n opacity: 1,\n color: ({ data }: { data: number }) => {\n if (data > 0) {\n return barColors.positive;\n }\n if (data < 0) {\n return barColors.negative;\n }\n return barColors.zero;\n },\n },\n },\n ],\n };\n};\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAEA,IAAAC,UAAA,GAAAD,OAAA;AAQA,IAAAE,WAAA,GAAAF,OAAA;AAGO,MAAMG,SAAS,GAAGC,IAAA,IAKH;EAAA,IALI;IACxBC,MAAM;IACNC,QAAQ;IACRC,MAAM;IACNC;EACc,CAAC,GAAAJ,IAAA;EACf,MAAMK,UAAU,GAAGJ,MAAM,CAACK,GAAG,CAAEC,IAAI,IAAKA,IAAI,CAACL,QAAQ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[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOption.js","names":["getGridLines","CHART_HEIGHT","CHART_WIDTH","darkBarColors","lightBarColors","X_LABEL_SIZE","Y_LABEL_SIZE","tooltipFormatter","getOption","_ref","values","currency","isDark","lang","currencies","map","item","percentages","percentage","barColors","gridLines","chartWidth","chartHeight","xLabelsSize","yLabelSize","animation","title","left","text","textStyle","fontSize","lineHeight","fontWeight","grid","name","
|
|
1
|
+
{"version":3,"file":"getOption.js","names":["getGridLines","CHART_HEIGHT","CHART_WIDTH","darkBarColors","lightBarColors","X_LABEL_SIZE","Y_LABEL_SIZE","tooltipFormatter","getOption","_ref","values","currency","isDark","lang","currencies","map","item","percentages","percentage","barColors","gridLines","chartWidth","chartHeight","xLabelsSize","yLabelSize","animation","title","top","left","text","textStyle","fontSize","lineHeight","fontWeight","grid","name","right","bottom","graphic","tooltip","trigger","formatter","_ref2","marker","value","axisPointer","axis","extraCssText","xAxis","type","data","axisTick","show","axisLine","splitLine","axisLabel","yAxis","position","min","Math","floor","max","ceil","interval","series","emphasis","disabled","itemStyle","opacity","color","_ref3","positive","negative","zero"],"sources":["../../../../../src/CurrencyStrengthWidget/components/Chart/getOption.ts"],"sourcesContent":["import { getGridLines } from '@oanda/labs-widget-common';\n\nimport {\n CHART_HEIGHT,\n CHART_WIDTH,\n darkBarColors,\n lightBarColors,\n X_LABEL_SIZE,\n Y_LABEL_SIZE,\n} from './constants';\nimport { tooltipFormatter } from './formatters';\nimport type { GetOptionProps } from './types';\n\nexport const getOption = ({\n values,\n currency,\n isDark,\n lang,\n}: GetOptionProps) => {\n const currencies = values.map((item) => item.currency);\n const percentages = values.map((item) => item.percentage);\n const barColors = isDark ? darkBarColors : lightBarColors;\n\n const gridLines = getGridLines({\n isDark,\n chartWidth: CHART_WIDTH,\n chartHeight: CHART_HEIGHT,\n xLabelsSize: -2,\n yLabelSize: -3,\n });\n\n return {\n animation: false,\n title: {\n top: '0px',\n left: 'center',\n text: `${currency} vs`,\n textStyle: {\n fontSize: 12,\n lineHeight: 20,\n fontWeight: 400,\n },\n },\n grid: [\n {\n name: 'main-grid',\n top: '30px',\n right: '0px',\n left: `${Y_LABEL_SIZE}px`,\n bottom: `${X_LABEL_SIZE}px`,\n },\n ],\n graphic: [...gridLines],\n tooltip: {\n trigger: 'axis',\n formatter: ([{ marker, name, value }]: {\n marker: string;\n name: string;\n value: number;\n }[]) =>\n tooltipFormatter({\n lang,\n currency,\n marker,\n name,\n value,\n }),\n axisPointer: {\n axis: 'x',\n },\n extraCssText: 'z-index: 1',\n },\n xAxis: {\n type: 'category',\n data: currencies,\n axisTick: { show: false },\n axisLine: { show: false },\n splitLine: { show: false },\n axisLabel: {\n fontSize: 10,\n },\n },\n yAxis: {\n type: 'value',\n position: 'left',\n min: Math.floor(Math.min(...percentages)),\n max: Math.ceil(Math.max(...percentages)),\n interval: 1,\n axisLine: { show: false },\n axisTick: { show: false },\n axisLabel: {\n formatter: '{value}%',\n fontSize: 10,\n },\n },\n series: [\n {\n data: percentages,\n type: 'bar',\n emphasis: {\n disabled: true,\n },\n itemStyle: {\n opacity: 1,\n color: ({ data }: { data: number }) => {\n if (data > 0) {\n return barColors.positive;\n }\n if (data < 0) {\n return barColors.negative;\n }\n return barColors.zero;\n },\n },\n },\n ],\n };\n};\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,2BAA2B;AAExD,SACEC,YAAY,EACZC,WAAW,EACXC,aAAa,EACbC,cAAc,EACdC,YAAY,EACZC,YAAY,QACP,aAAa;AACpB,SAASC,gBAAgB,QAAQ,cAAc;AAG/C,OAAO,MAAMC,SAAS,GAAGC,IAAA,IAKH;EAAA,IALI;IACxBC,MAAM;IACNC,QAAQ;IACRC,MAAM;IACNC;EACc,CAAC,GAAAJ,IAAA;EACf,MAAMK,UAAU,GAAGJ,MAAM,CAACK,GAAG,CAAEC,IAAI,IAAKA,IAAI,CAACL,QAAQ,CAAC;EACtD,MAAMM,WAAW,GAAGP,MAAM,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|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.138",
|
|
4
4
|
"description": "Labs Currency Strength Widget",
|
|
5
5
|
"main": "dist/main/index.js",
|
|
6
6
|
"module": "dist/module/index.js",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"author": "OANDA",
|
|
13
13
|
"license": "UNLICENSED",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@oanda/labs-widget-common": "^1.0.
|
|
15
|
+
"@oanda/labs-widget-common": "^1.0.220",
|
|
16
16
|
"@oanda/mono-i18n": "10.0.1",
|
|
17
|
-
"echarts": "
|
|
18
|
-
"echarts-for-react": "3.0.
|
|
17
|
+
"echarts": "6.0.0",
|
|
18
|
+
"echarts-for-react": "3.0.4",
|
|
19
19
|
"graphql": "16.8.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"@graphql-codegen/client-preset": "4.1.0",
|
|
24
24
|
"@graphql-codegen/typescript": "4.0.1"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "84d9bec88af7893f20ccd2d88fcbc28dd30aec22"
|
|
27
27
|
}
|