@oanda/labs-instrument-live-rate-widget 1.0.38 → 1.0.39

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 CHANGED
@@ -3,6 +3,166 @@
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.39 (2025-01-12)
7
+
8
+
9
+
10
+ ## 1.0.177 (2025-01-10)
11
+
12
+
13
+
14
+ ## 1.0.176 (2025-01-10)
15
+
16
+
17
+
18
+ ## 1.0.175 (2025-01-08)
19
+
20
+
21
+
22
+ ## 1.0.174 (2024-12-16)
23
+
24
+
25
+
26
+ ## 1.0.173 (2024-12-11)
27
+
28
+
29
+
30
+ ## 1.0.172 (2024-11-29)
31
+
32
+
33
+
34
+ ## 1.0.171 (2024-11-28)
35
+
36
+
37
+
38
+ ## 1.0.170 (2024-11-28)
39
+
40
+
41
+
42
+ ## 1.0.169 (2024-11-20)
43
+
44
+
45
+
46
+ ## 1.0.168 (2024-11-19)
47
+
48
+
49
+
50
+ ## 1.0.167 (2024-10-14)
51
+
52
+
53
+
54
+ ## 1.0.166 (2024-10-07)
55
+
56
+
57
+
58
+ ## 1.0.165 (2024-10-03)
59
+
60
+
61
+
62
+ ## 1.0.164 (2024-09-26)
63
+
64
+
65
+
66
+ ## 1.0.163 (2024-09-18)
67
+
68
+
69
+
70
+ ## 1.0.162 (2024-09-12)
71
+
72
+
73
+
74
+ ## 1.0.161 (2024-09-11)
75
+
76
+
77
+
78
+ ## 1.0.160 (2024-09-10)
79
+
80
+
81
+
82
+ ## 1.0.159 (2024-09-09)
83
+
84
+
85
+
86
+ ## 1.0.158 (2024-09-04)
87
+
88
+
89
+
90
+ ## 1.0.157 (2024-09-04)
91
+
92
+
93
+
94
+ ## 1.0.156 (2024-09-02)
95
+
96
+
97
+
98
+ ## 1.0.155 (2024-08-29)
99
+
100
+
101
+
102
+ ## 1.0.154 (2024-08-29)
103
+
104
+
105
+
106
+ ## 1.0.153 (2024-08-23)
107
+
108
+
109
+
110
+ ## 1.0.152 (2024-08-23)
111
+
112
+
113
+
114
+ ## 1.0.151 (2024-08-20)
115
+
116
+
117
+
118
+ ## 1.0.150 (2024-08-19)
119
+
120
+
121
+
122
+ ## 1.0.149 (2024-08-07)
123
+
124
+
125
+
126
+ ## 1.0.148 (2024-08-01)
127
+
128
+
129
+
130
+ ## 1.0.147 (2024-08-01)
131
+
132
+
133
+
134
+ ## 1.0.146 (2024-07-26)
135
+
136
+
137
+
138
+ ## 1.0.145 (2024-07-25)
139
+
140
+
141
+
142
+ ## 1.0.144 (2024-07-22)
143
+
144
+
145
+
146
+ ## 1.0.143 (2024-07-19)
147
+
148
+
149
+
150
+ ## 1.0.142 (2024-07-16)
151
+
152
+
153
+
154
+ ## 1.0.141 (2024-07-16)
155
+
156
+
157
+
158
+ ## 1.0.140 (2024-07-12)
159
+
160
+ **Note:** Version bump only for package @oanda/labs-instrument-live-rate-widget
161
+
162
+
163
+
164
+
165
+
6
166
  ## 1.0.38 (2025-01-10)
7
167
 
8
168
 
@@ -22,7 +22,8 @@ const InstrumentLiveRateWidget = _ref => {
22
22
  isParamError,
23
23
  removePadding,
24
24
  size,
25
- logoLink
25
+ logoLink,
26
+ brandingSpace
26
27
  } = _ref;
27
28
  const client = new _client.ApolloClient({
28
29
  uri: graphqlUrl,
@@ -47,6 +48,7 @@ const InstrumentLiveRateWidget = _ref => {
47
48
  theme: theme,
48
49
  translations: _translations.translations
49
50
  }, _react.default.createElement(_labsWidgetCommon.WidgetWrapper, {
51
+ brandingSpace: brandingSpace,
50
52
  isParamError: isParamError,
51
53
  linkArea: "full",
52
54
  logoLink: logoLink
@@ -1 +1 @@
1
- {"version":3,"file":"InstrumentLiveRateWidget.js","names":["_client","require","_labsWidgetCommon","_react","_interopRequireDefault","_translations","_types","_ValidationWrapper","e","__esModule","default","InstrumentLiveRateWidget","_ref","graphqlUrl","liveRatesUrl","instrument","division","locale","theme","isParamError","removePadding","size","logoLink","client","ApolloClient","uri","cache","InMemoryCache","divisionCode","Division","Opt","Ogm","dataSource","createElement","WidgetProvider","withSuspense","liveRates","url","options","styling","translations","WidgetWrapper","linkArea","ValidationWrapper","exports"],"sources":["../../../src/InstrumentLiveRateWidget/InstrumentLiveRateWidget.tsx"],"sourcesContent":["import { ApolloClient, InMemoryCache } from '@apollo/client';\nimport { WidgetProvider, WidgetWrapper } from '@oanda/labs-widget-common';\nimport React from 'react';\n\nimport { translations } from '../translations';\nimport type { InstrumentLiveRateConfig } from './types';\nimport { Division } from './types';\nimport { ValidationWrapper } from './ValidationWrapper';\n\nconst InstrumentLiveRateWidget = ({\n graphqlUrl,\n liveRatesUrl,\n instrument,\n division,\n locale,\n theme,\n isParamError,\n removePadding,\n size,\n logoLink,\n}: InstrumentLiveRateConfig) => {\n const client = new ApolloClient({\n uri: graphqlUrl,\n cache: new InMemoryCache(),\n });\n\n const divisionCode = division === Division.Opt ? Division.Ogm : division;\n const dataSource = divisionCode === Division.Ogm ? 'MT5' : 'V20';\n\n return (\n <WidgetProvider\n withSuspense\n client={client}\n liveRates={{\n url: liveRatesUrl,\n options: { divisionCode, dataSource },\n }}\n locale={locale}\n styling={{\n removePadding,\n }}\n theme={theme}\n translations={translations}\n >\n <WidgetWrapper\n isParamError={isParamError}\n linkArea=\"full\"\n logoLink={logoLink}\n >\n <ValidationWrapper\n division={division}\n instrument={instrument}\n isParamError={isParamError}\n size={size}\n />\n </WidgetWrapper>\n </WidgetProvider>\n );\n};\n\nexport { InstrumentLiveRateWidget };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,kBAAA,GAAAN,OAAA;AAAwD,SAAAG,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ACvBI,YAAY,EAAEA,YAAa;IAC3BE,IAAI,EAAEA;EAAK,CACZ,CACY,CACD,CAAC;AAErB,CAAC;AAACuB,OAAA,CAAAjC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
1
+ {"version":3,"file":"InstrumentLiveRateWidget.js","names":["_client","require","_labsWidgetCommon","_react","_interopRequireDefault","_translations","_types","_ValidationWrapper","e","__esModule","default","InstrumentLiveRateWidget","_ref","graphqlUrl","liveRatesUrl","instrument","division","locale","theme","isParamError","removePadding","size","logoLink","brandingSpace","client","ApolloClient","uri","cache","InMemoryCache","divisionCode","Division","Opt","Ogm","dataSource","createElement","WidgetProvider","withSuspense","liveRates","url","options","styling","translations","WidgetWrapper","linkArea","ValidationWrapper","exports"],"sources":["../../../src/InstrumentLiveRateWidget/InstrumentLiveRateWidget.tsx"],"sourcesContent":["import { ApolloClient, InMemoryCache } from '@apollo/client';\nimport { WidgetProvider, WidgetWrapper } from '@oanda/labs-widget-common';\nimport React from 'react';\n\nimport { translations } from '../translations';\nimport type { InstrumentLiveRateConfig } from './types';\nimport { Division } from './types';\nimport { ValidationWrapper } from './ValidationWrapper';\n\nconst InstrumentLiveRateWidget = ({\n graphqlUrl,\n liveRatesUrl,\n instrument,\n division,\n locale,\n theme,\n isParamError,\n removePadding,\n size,\n logoLink,\n brandingSpace,\n}: InstrumentLiveRateConfig) => {\n const client = new ApolloClient({\n uri: graphqlUrl,\n cache: new InMemoryCache(),\n });\n\n const divisionCode = division === Division.Opt ? Division.Ogm : division;\n const dataSource = divisionCode === Division.Ogm ? 'MT5' : 'V20';\n\n return (\n <WidgetProvider\n withSuspense\n client={client}\n liveRates={{\n url: liveRatesUrl,\n options: { divisionCode, dataSource },\n }}\n locale={locale}\n styling={{\n removePadding,\n }}\n theme={theme}\n translations={translations}\n >\n <WidgetWrapper\n brandingSpace={brandingSpace}\n isParamError={isParamError}\n linkArea=\"full\"\n logoLink={logoLink}\n >\n <ValidationWrapper\n division={division}\n instrument={instrument}\n isParam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K,EAAEA,KAAM;IACbuB,YAAY,EAAEA;EAAa,GAE3BtC,MAAA,CAAAO,OAAA,CAAAwB,aAAA,CAAChC,iBAAA,CAAAwC,aAAa;IACZnB,aAAa,EAAEA,aAAc;IAC7BJ,YAAY,EAAEA,YAAa;IAC3BwB,QAAQ,EAAC,MAAM;IACfrB,QAAQ,EAAEA;EAAS,GAEnBnB,MAAA,CAAAO,OAAA,CAAAwB,aAAA,CAAC3B,kBAAA,CAAAqC,iBAAiB;IAChB5B,QAAQ,EAAEA,QAAS;IACnBD,UAAU,EAAEA,UAAW;IACvBI,YAAY,EAAEA,YAAa;IAC3BE,IAAI,EAAEA;EAAK,CACZ,CACY,CACD,CAAC;AAErB,CAAC;AAACwB,OAAA,CAAAlC,wBAAA,GAAAA,wBAAA","ignoreList":[]}
@@ -15,7 +15,8 @@ const InstrumentLiveRateWidget = _ref => {
15
15
  isParamError,
16
16
  removePadding,
17
17
  size,
18
- logoLink
18
+ logoLink,
19
+ brandingSpace
19
20
  } = _ref;
20
21
  const client = new ApolloClient({
21
22
  uri: graphqlUrl,
@@ -40,6 +41,7 @@ const InstrumentLiveRateWidget = _ref => {
40
41
  theme: theme,
41
42
  translations: translations
42
43
  }, React.createElement(WidgetWrapper, {
44
+ brandingSpace: brandingSpace,
43
45
  isParamError: isParamError,
44
46
  linkArea: "full",
45
47
  logoLink: logoLink
@@ -1 +1 @@
1
- {"version":3,"file":"InstrumentLiveRateWidget.js","names":["ApolloClient","InMemoryCache","WidgetProvider","WidgetWrapper","React","translations","Division","ValidationWrapper","InstrumentLiveRateWidget","_ref","graphqlUrl","liveRatesUrl","instrument","division","locale","theme","isParamError","removePadding","size","logoLink","client","uri","cache","divisionCode","Opt","Ogm","dataSource","createElement","withSuspense","liveRates","url","options","styling","linkArea"],"sources":["../../../src/InstrumentLiveRateWidget/InstrumentLiveRateWidget.tsx"],"sourcesContent":["import { ApolloClient, InMemoryCache } from '@apollo/client';\nimport { WidgetProvider, WidgetWrapper } from '@oanda/labs-widget-common';\nimport React from 'react';\n\nimport { translations } from '../translations';\nimport type { InstrumentLiveRateConfig } from './types';\nimport { Division } from './types';\nimport { ValidationWrapper } from './ValidationWrapper';\n\nconst InstrumentLiveRateWidget = ({\n graphqlUrl,\n liveRatesUrl,\n instrument,\n division,\n locale,\n theme,\n isParamError,\n removePadding,\n size,\n logoLink,\n}: InstrumentLiveRateConfig) => {\n const client = new ApolloClient({\n uri: graphqlUrl,\n cache: new InMemoryCache(),\n });\n\n const divisionCode = division === Division.Opt ? Division.Ogm : division;\n const dataSource = divisionCode === Division.Ogm ? 'MT5' : 'V20';\n\n return (\n <WidgetProvider\n withSuspense\n client={client}\n liveRates={{\n url: liveRatesUrl,\n options: { divisionCode, dataSource },\n }}\n locale={locale}\n styling={{\n removePadding,\n }}\n theme={theme}\n translations={translations}\n >\n <WidgetWrapper\n isParamError={isParamError}\n linkArea=\"full\"\n logoLink={logoLink}\n >\n <ValidationWrapper\n division={division}\n instrument={instrument}\n isParamError={isParamError}\n size={size}\n />\n </WidgetWrapper>\n </WidgetProvider>\n );\n};\n\nexport { InstrumentLiveRateWidget };\n"],"mappings":"AAAA,SAASA,YAAY,EAAEC,aAAa,QAAQ,gBAAgB;AAC5D,SAASC,cAAc,EAAEC,aAAa,QAAQ,2BAA2B;AACzE,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,iBAAiB;AAE9C,SAASC,QAAQ,QAAQ,SAAS;AAClC,SAASC,iBAAiB,QAAQ,qBAAqB;AAEvD,MAAMC,wBAAwB,GAAGC,IAAA,IAWD;EAAA,IAXE;IAChCC,UAAU;IACVC,YAAY;IACZC,UAAU;IACVC,QAAQ;IACRC,MAAM;IACNC,KAAK;IACLC,YAAY;IACZC,aAAa;IACbC,IAAI;IACJC;EACwB,CAAC,GAAAV,IAAA;EACzB,MAAMW,MAAM,GAAG,IAAIpB,YAAY,CAAC;IAC9BqB,GAAG,EAAEX,UAAU;IACfY,KAAK,EAAE,IAAIrB,aAAa,CAAC;EAC3B,CAAC,CAAC;EAEF,MAAMsB,YAAY,GAAGV,QAAQ,KAAKP,QAAQ,CAACkB,GAAG,GAAGlB,QAAQ,CAACmB,GAAG,GAAGZ,QAAQ;EACxE,MAAMa,UAAU,GAAGH,YAAY,KAAKjB,QAAQ,CAACmB,GAAG,GAAG,KAAK,GAAG,KAAK;EAEhE,OACErB,KAAA,CAAAuB,aAAA,CAACzB,cAAc;IACb0B,YAAY;IACZR,MAAM,EAAEA,MAAO;IACfS,SAAS,EAAE;MACTC,GAAG,EAAEnB,YAAY;MACjBoB,OAAO,EAAE;QAAER,YAAY;QAAEG;MAAW;IACtC,CAAE;IACFZ,MAAM,EAAEA,MAAO;IACfkB,OAAO,EAAE;MACPf;IACF,CAAE;IACFF,KAAK,EAAEA,KAAM;IACbV,YAAY,EAAEA;EAAa,GAE3BD,KAAA,CAAAuB,aAAA,CAACxB,aAAa;IACZa,YAAY,EAAEA,YAAa;IAC3BiB,QAAQ,EAAC,MAAM;IACfd,QAAQ,EAAEA;EAAS,GAEnBf,KAAA,CAAAuB,aAAA,CAACpB,iBAAiB;IAChBM,QAAQ,EAAEA,QAAS;IACnBD,UAAU,EAAEA,UAAW;IACvBI,YAAY,EAAEA,YAAa;IAC3BE,IAAI,EAAEA;EAAK,CACZ,CACY,CACD,CAAC;AAErB,CAAC;AAED,SAASV,wBAAwB","ignoreList":[]}
1
+ {"version":3,"file":"InstrumentLiveRateWidget.js","names":["ApolloClient","InMemoryCache","WidgetProvider","WidgetWrapper","React","translations","Division","ValidationWrapper","InstrumentLiveRateWidget","_ref","graphqlUrl","liveRatesUrl","instrument","division","locale","theme","isParamError","removePadding","size","logoLink","brandingSpace","client","uri","cache","divisionCode","Opt","Ogm","dataSource","createElement","withSuspense","liveRates","url","options","styling","linkArea"],"sources":["../../../src/InstrumentLiveRateWidget/InstrumentLiveRateWidget.tsx"],"sourcesContent":["import { ApolloClient, InMemoryCache } from '@apollo/client';\nimport { WidgetProvider, WidgetWrapper } from '@oanda/labs-widget-common';\nimport React from 'react';\n\nimport { translations } from '../translations';\nimport type { InstrumentLiveRateConfig } from './types';\nimport { Division } from './types';\nimport { ValidationWrapper } from './ValidationWrapper';\n\nconst InstrumentLiveRateWidget = ({\n graphqlUrl,\n liveRatesUrl,\n instrument,\n division,\n locale,\n theme,\n isParamError,\n removePadding,\n size,\n logoLink,\n brandingSpace,\n}: InstrumentLiveRateConfig) => {\n const client = new ApolloClient({\n uri: graphqlUrl,\n cache: new InMemoryCache(),\n });\n\n const divisionCode = division === Division.Opt ? Division.Ogm : division;\n const dataSource = divisionCode === Division.Ogm ? 'MT5' : 'V20';\n\n return (\n <WidgetProvider\n withSuspense\n client={client}\n liveRates={{\n url: liveRatesUrl,\n options: { divisionCode, dataSource },\n }}\n locale={locale}\n styling={{\n removePadding,\n }}\n theme={theme}\n translations={translations}\n >\n <WidgetWrapper\n brandingSpace={brandingSpace}\n isParamError={isParamError}\n linkArea=\"full\"\n logoLink={logoLink}\n >\n <ValidationWrapper\n division={division}\n instrument={instrument}\n isParamError={isParamError}\n size={size}\n />\n </WidgetWrapper>\n </WidgetProvider>\n );\n};\n\nexport { InstrumentLiveRateWidget };\n"],"mappings":"AAAA,SAASA,YAAY,EAAEC,aAAa,QAAQ,gBAAgB;AAC5D,SAASC,cAAc,EAAEC,aAAa,QAAQ,2BAA2B;AACzE,OAAOC,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,iBAAiB;AAE9C,SAASC,QAAQ,QAAQ,SAAS;AAClC,SAASC,iBAAiB,QAAQ,qBAAqB;AAEvD,MAAMC,wBAAwB,GAAGC,IAAA,IAYD;EAAA,IAZE;IAChCC,UAAU;IACVC,YAAY;IACZC,UAAU;IACVC,QAAQ;IACRC,MAAM;IACNC,KAAK;IACLC,YAAY;IACZC,aAAa;IACbC,IAAI;IACJC,QAAQ;IACRC;EACwB,CAAC,GAAAX,IAAA;EACzB,MAAMY,MAAM,GAAG,IAAIrB,YAAY,CAAC;IAC9BsB,GAAG,EAAEZ,UAAU;IACfa,KAAK,EAAE,IAAItB,aAAa,CAAC;EAC3B,CAAC,CAAC;EAEF,MAAMuB,YAAY,GAAGX,QAAQ,KAAKP,QAAQ,CAACmB,GAAG,GAAGnB,QAAQ,CAACoB,GAAG,GAAGb,QAAQ;EACxE,MAAMc,UAAU,GAAGH,YAAY,KAAKlB,QAAQ,CAACoB,GAAG,GAAG,KAAK,GAAG,KAAK;EAEhE,OACEtB,KAAA,CAAAwB,aAAA,CAAC1B,cAAc;IACb2B,YAAY;IACZR,MAAM,EAAEA,MAAO;IACfS,SAAS,EAAE;MACTC,GAAG,EAAEpB,YAAY;MACjBqB,OAAO,EAAE;QAAER,YAAY;QAAEG;MAAW;IACtC,CAAE;IACFb,MAAM,EAAEA,MAAO;IACfmB,OAAO,EAAE;MACPhB;IACF,CAAE;IACFF,KAAK,EAAEA,KAAM;IACbV,YAAY,EAAEA;EAAa,GAE3BD,KAAA,CAAAwB,aAAA,CAACzB,aAAa;IACZiB,aAAa,EAAEA,aAAc;IAC7BJ,YAAY,EAAEA,YAAa;IAC3BkB,QAAQ,EAAC,MAAM;IACff,QAAQ,EAAEA;EAAS,GAEnBf,KAAA,CAAAwB,aAAA,CAACrB,iBAAiB;IAChBM,QAAQ,EAAEA,QAAS;IACnBD,UAAU,EAAEA,UAAW;IACvBI,YAAY,EAAEA,YAAa;IAC3BE,IAAI,EAAEA;EAAK,CACZ,CACY,CACD,CAAC;AAErB,CAAC;AAED,SAASV,wBAAwB","ignoreList":[]}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { InstrumentLiveRateConfig } from './types';
3
- declare const InstrumentLiveRateWidget: ({ graphqlUrl, liveRatesUrl, instrument, division, locale, theme, isParamError, removePadding, size, logoLink, }: InstrumentLiveRateConfig) => React.JSX.Element;
3
+ declare const InstrumentLiveRateWidget: ({ graphqlUrl, liveRatesUrl, instrument, division, locale, theme, isParamError, removePadding, size, logoLink, brandingSpace, }: InstrumentLiveRateConfig) => React.JSX.Element;
4
4
  export { InstrumentLiveRateWidget };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oanda/labs-instrument-live-rate-widget",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "Labs Instrument Live Rate Widget",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -12,7 +12,7 @@
12
12
  "author": "OANDA",
13
13
  "license": "UNLICENSED",
14
14
  "dependencies": {
15
- "@oanda/labs-widget-common": "^1.0.177",
15
+ "@oanda/labs-widget-common": "^1.0.178",
16
16
  "@oanda/mono-i18n": "10.0.1",
17
17
  "graphql": "16.8.1"
18
18
  },
@@ -20,5 +20,5 @@
20
20
  "@graphql-codegen/cli": "5.0.0",
21
21
  "@graphql-codegen/client-preset": "4.1.0"
22
22
  },
23
- "gitHead": "e1568a944573675226db214bea0022af67a3ca2f"
23
+ "gitHead": "413f337cba12f019aedd355e03bf695d10674701"
24
24
  }
@@ -18,6 +18,7 @@ const InstrumentLiveRateWidget = ({
18
18
  removePadding,
19
19
  size,
20
20
  logoLink,
21
+ brandingSpace,
21
22
  }: InstrumentLiveRateConfig) => {
22
23
  const client = new ApolloClient({
23
24
  uri: graphqlUrl,
@@ -43,6 +44,7 @@ const InstrumentLiveRateWidget = ({
43
44
  translations={translations}
44
45
  >
45
46
  <WidgetWrapper
47
+ brandingSpace={brandingSpace}
46
48
  isParamError={isParamError}
47
49
  linkArea="full"
48
50
  logoLink={logoLink}