@oanda/labs-currency-power-balance-widget 1.0.62 → 1.0.64
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 +516 -0
- package/dist/main/CurrencyPowerBalanceWidget/ChartWithData.js +11 -2
- package/dist/main/CurrencyPowerBalanceWidget/ChartWithData.js.map +1 -1
- package/dist/main/gql/getCurrencyPowerBalance.js +1 -1
- package/dist/main/gql/getCurrencyPowerBalance.js.map +1 -1
- package/dist/main/gql/types/gql.js +1 -1
- package/dist/main/gql/types/gql.js.map +1 -1
- package/dist/main/gql/types/graphql.js +43 -1
- package/dist/main/gql/types/graphql.js.map +1 -1
- package/dist/main/translations/sources/en.json +2 -0
- package/dist/main/translations/sources/zh_TW.json +2 -0
- package/dist/module/CurrencyPowerBalanceWidget/ChartWithData.js +12 -3
- package/dist/module/CurrencyPowerBalanceWidget/ChartWithData.js.map +1 -1
- package/dist/module/gql/getCurrencyPowerBalance.js +1 -1
- package/dist/module/gql/getCurrencyPowerBalance.js.map +1 -1
- package/dist/module/gql/types/gql.js +1 -1
- package/dist/module/gql/types/gql.js.map +1 -1
- package/dist/module/gql/types/graphql.js +42 -0
- package/dist/module/gql/types/graphql.js.map +1 -1
- package/dist/module/translations/sources/en.json +2 -0
- package/dist/module/translations/sources/zh_TW.json +2 -0
- package/dist/types/gql/types/gql.d.ts +2 -2
- package/dist/types/gql/types/graphql.d.ts +128 -24
- package/package.json +3 -3
- package/src/CurrencyPowerBalanceWidget/ChartWithData.tsx +8 -0
- package/src/gql/getCurrencyPowerBalance.ts +1 -0
- package/src/gql/types/gql.ts +2 -2
- package/src/gql/types/graphql.ts +152 -29
- package/src/translations/sources/en.json +2 -0
- package/src/translations/sources/zh_TW.json +2 -0
- package/test/responsesMocks.ts +9 -0
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
"data_unavailable": "Data unavailable",
|
|
10
10
|
"hour": "{{count}} Hour",
|
|
11
11
|
"hour_plural": "{{count}} Hours",
|
|
12
|
+
"last_updated": "Last updated",
|
|
12
13
|
"month": "{{count}} Month",
|
|
13
14
|
"month_plural": "{{count}} Months",
|
|
14
15
|
"pagination_entries_range": "{{firstItemOnPage}}-{{lastItemOnPage}} of {{itemCount}} entries",
|
|
15
16
|
"previous_business_day": "Previous Business Day",
|
|
17
|
+
"today": "Today",
|
|
16
18
|
"week": "{{count}} Week",
|
|
17
19
|
"week_plural": "{{count}} Weeks"
|
|
18
20
|
}
|
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
"current_business_day": "目前營業日",
|
|
9
9
|
"data_unavailable": "沒有數據",
|
|
10
10
|
"hour_0": "{{count}} 時",
|
|
11
|
+
"last_updated": "最後更新",
|
|
11
12
|
"month_0": "{{count}} 月",
|
|
12
13
|
"pagination_entries_range": "{{itemCount}}个挂单中的{{firstItemOnPage}}-{{lastItemOnPage}}",
|
|
13
14
|
"previous_business_day": "前一營業日",
|
|
15
|
+
"today": "今日",
|
|
14
16
|
"week_0": "{{count}} 週"
|
|
15
17
|
}
|
package/test/responsesMocks.ts
CHANGED
|
@@ -38,6 +38,7 @@ const mockResponse = [{
|
|
|
38
38
|
price: 1.65,
|
|
39
39
|
},
|
|
40
40
|
],
|
|
41
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
41
42
|
},
|
|
42
43
|
{
|
|
43
44
|
currency: 'CHF',
|
|
@@ -67,6 +68,7 @@ const mockResponse = [{
|
|
|
67
68
|
price: -9.15,
|
|
68
69
|
},
|
|
69
70
|
],
|
|
71
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
70
72
|
},
|
|
71
73
|
{
|
|
72
74
|
currency: 'AUD',
|
|
@@ -96,6 +98,7 @@ const mockResponse = [{
|
|
|
96
98
|
price: 4.31,
|
|
97
99
|
},
|
|
98
100
|
],
|
|
101
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
99
102
|
},
|
|
100
103
|
{
|
|
101
104
|
currency: 'CAD',
|
|
@@ -125,6 +128,7 @@ const mockResponse = [{
|
|
|
125
128
|
price: -9.75,
|
|
126
129
|
},
|
|
127
130
|
],
|
|
131
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
128
132
|
},
|
|
129
133
|
{
|
|
130
134
|
currency: 'EUR',
|
|
@@ -154,6 +158,7 @@ const mockResponse = [{
|
|
|
154
158
|
price: 1.4,
|
|
155
159
|
},
|
|
156
160
|
],
|
|
161
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
157
162
|
},
|
|
158
163
|
{
|
|
159
164
|
currency: 'JPY',
|
|
@@ -183,6 +188,7 @@ const mockResponse = [{
|
|
|
183
188
|
price: 6.27,
|
|
184
189
|
},
|
|
185
190
|
],
|
|
191
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
186
192
|
},
|
|
187
193
|
{
|
|
188
194
|
currency: 'USD',
|
|
@@ -212,6 +218,7 @@ const mockResponse = [{
|
|
|
212
218
|
price: 4.31,
|
|
213
219
|
},
|
|
214
220
|
],
|
|
221
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
215
222
|
},
|
|
216
223
|
{
|
|
217
224
|
currency: 'GBP',
|
|
@@ -239,8 +246,10 @@ const mockResponse = [{
|
|
|
239
246
|
{
|
|
240
247
|
point: '2023-10-27T18:00:00Z',
|
|
241
248
|
price: 1.31,
|
|
249
|
+
|
|
242
250
|
},
|
|
243
251
|
],
|
|
252
|
+
updatedAt: '2023-10-28T00:00:29.250105730Z',
|
|
244
253
|
},
|
|
245
254
|
],
|
|
246
255
|
},
|