@oanda/labs-spread-cost-calculator-widget 1.0.1 → 1.0.2

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,18 @@
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.2 (2024-11-20)
7
+
8
+
9
+
10
+ ## 1.0.168 (2024-11-19)
11
+
12
+ **Note:** Version bump only for package @oanda/labs-spread-cost-calculator-widget
13
+
14
+
15
+
16
+
17
+
6
18
  ## 1.0.1 (2024-11-19)
7
19
 
8
20
  **Note:** Version bump only for package @oanda/labs-spread-cost-calculator-widget
@@ -3,4 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "Locale", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _monoI18n.Locale;
10
+ }
11
+ });
12
+ var _monoI18n = require("@oanda/mono-i18n");
6
13
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["../../../src/SpreadCostCalculatorWidget/types.ts"],"sourcesContent":["import { WidgetWrapperProps } from '@oanda/labs-widget-common';\nimport { Division } from '../gql/types/graphql';\n\nexport type SpreadCostCalculatorWidgetConfig = Pick<\nWidgetWrapperProps,\n'locale' | 'theme' | 'isParamError' | 'removePadding'\n> & {\n graphqlUrl: string;\n liveRatesUrl: string;\n division: Division;\n instruments: string[];\n};\n\nexport type InstrumentResponse = {\n name: string;\n displayName: string;\n};\n\nexport type MainProps = {\n instruments: InstrumentResponse[];\n};\n\nexport interface ValidationWrapperProps {\n division: Division;\n instruments: string[];\n isParamError?: boolean;\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["_monoI18n","require"],"sources":["../../../src/SpreadCostCalculatorWidget/types.ts"],"sourcesContent":["import { WidgetWrapperProps } from '@oanda/labs-widget-common';\nimport { Division } from '../gql/types/graphql';\n\nexport { Locale } from '@oanda/mono-i18n';\n\nexport type SpreadCostCalculatorWidgetConfig = Pick<\nWidgetWrapperProps,\n'locale' | 'theme' | 'isParamError' | 'removePadding'\n> & {\n graphqlUrl: string;\n liveRatesUrl: string;\n division: Division;\n instruments: string[];\n};\n\nexport type InstrumentResponse = {\n name: string;\n displayName: string;\n};\n\nexport type MainProps = {\n instruments: InstrumentResponse[];\n};\n\nexport interface ValidationWrapperProps {\n division: Division;\n instruments: string[];\n isParamError?: boolean;\n}\n"],"mappings":";;;;;;;;;;;AAGA,IAAAA,SAAA,GAAAC,OAAA","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export {};
1
+ export { Locale } from '@oanda/mono-i18n';
2
2
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["../../../src/SpreadCostCalculatorWidget/types.ts"],"sourcesContent":["import { WidgetWrapperProps } from '@oanda/labs-widget-common';\nimport { Division } from '../gql/types/graphql';\n\nexport type SpreadCostCalculatorWidgetConfig = Pick<\nWidgetWrapperProps,\n'locale' | 'theme' | 'isParamError' | 'removePadding'\n> & {\n graphqlUrl: string;\n liveRatesUrl: string;\n division: Division;\n instruments: string[];\n};\n\nexport type InstrumentResponse = {\n name: string;\n displayName: string;\n};\n\nexport type MainProps = {\n instruments: InstrumentResponse[];\n};\n\nexport interface ValidationWrapperProps {\n division: Division;\n instruments: string[];\n isParamError?: boolean;\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"types.js","names":["Locale"],"sources":["../../../src/SpreadCostCalculatorWidget/types.ts"],"sourcesContent":["import { WidgetWrapperProps } from '@oanda/labs-widget-common';\nimport { Division } from '../gql/types/graphql';\n\nexport { Locale } from '@oanda/mono-i18n';\n\nexport type SpreadCostCalculatorWidgetConfig = Pick<\nWidgetWrapperProps,\n'locale' | 'theme' | 'isParamError' | 'removePadding'\n> & {\n graphqlUrl: string;\n liveRatesUrl: string;\n division: Division;\n instruments: string[];\n};\n\nexport type InstrumentResponse = {\n name: string;\n displayName: string;\n};\n\nexport type MainProps = {\n instruments: InstrumentResponse[];\n};\n\nexport interface ValidationWrapperProps {\n division: Division;\n instruments: string[];\n isParamError?: boolean;\n}\n"],"mappings":"AAGA,SAASA,MAAM,QAAQ,kBAAkB","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  import { WidgetWrapperProps } from '@oanda/labs-widget-common';
2
2
  import { Division } from '../gql/types/graphql';
3
+ export { Locale } from '@oanda/mono-i18n';
3
4
  export type SpreadCostCalculatorWidgetConfig = Pick<WidgetWrapperProps, 'locale' | 'theme' | 'isParamError' | 'removePadding'> & {
4
5
  graphqlUrl: string;
5
6
  liveRatesUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oanda/labs-spread-cost-calculator-widget",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Labs Spread Cost Calculator 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.168",
15
+ "@oanda/labs-widget-common": "^1.0.169",
16
16
  "@oanda/mono-i18n": "10.0.1",
17
17
  "echarts": "5.5.0",
18
18
  "echarts-for-react": "3.0.2",
@@ -22,5 +22,5 @@
22
22
  "@graphql-codegen/cli": "5.0.0",
23
23
  "@graphql-codegen/client-preset": "4.1.0"
24
24
  },
25
- "gitHead": "ece7c06ca65b093ec259d7693f002ae03d8a7118"
25
+ "gitHead": "e809eb04614639bd88d4e9d501940b8d08d26d88"
26
26
  }
@@ -1,6 +1,8 @@
1
1
  import { WidgetWrapperProps } from '@oanda/labs-widget-common';
2
2
  import { Division } from '../gql/types/graphql';
3
3
 
4
+ export { Locale } from '@oanda/mono-i18n';
5
+
4
6
  export type SpreadCostCalculatorWidgetConfig = Pick<
5
7
  WidgetWrapperProps,
6
8
  'locale' | 'theme' | 'isParamError' | 'removePadding'