@oanda/labs-sentiment-widget 1.0.6 → 1.0.7

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,22 @@
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.7 (2023-09-26)
7
+
8
+
9
+
10
+ ## 1.0.6 (2023-09-21)
11
+
12
+
13
+
14
+ ## 1.0.5 (2023-09-13)
15
+
16
+ **Note:** Version bump only for package @oanda/labs-sentiment-widget
17
+
18
+
19
+
20
+
21
+
6
22
  ## 1.0.6 (2023-09-21)
7
23
 
8
24
 
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.SelectedArrow = void 0;
7
- let SelectedArrow = function (SelectedArrow) {
7
+ let SelectedArrow = exports.SelectedArrow = function (SelectedArrow) {
8
8
  SelectedArrow["UP"] = "up";
9
9
  SelectedArrow["DOWN"] = "down";
10
10
  return SelectedArrow;
11
11
  }({});
12
- exports.SelectedArrow = SelectedArrow;
13
12
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["SelectedArrow","exports"],"sources":["../../../../../src/SentimentWidget/components/SortSwitch/types.tsx"],"sourcesContent":["export enum SelectedArrow {\n UP = 'up',\n DOWN = 'down',\n}\n\nexport interface SortSwitchProps {\n onClickButtonUp: () => void;\n onClickButtonDown: () => void;\n selected: SelectedArrow;\n disabled?: boolean;\n}\n"],"mappings":";;;;;;IAAYA,aAAa,aAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAAAC,OAAA,CAAAD,aAAA,GAAAA,aAAA"}
1
+ {"version":3,"file":"types.js","names":["SelectedArrow","exports"],"sources":["../../../../../src/SentimentWidget/components/SortSwitch/types.tsx"],"sourcesContent":["export enum SelectedArrow {\n UP = 'up',\n DOWN = 'down',\n}\n\nexport interface SortSwitchProps {\n onClickButtonUp: () => void;\n onClickButtonDown: () => void;\n selected: SelectedArrow;\n disabled?: boolean;\n}\n"],"mappings":";;;;;;IAAYA,aAAa,GAAAC,OAAA,CAAAD,aAAA,aAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA"}
@@ -4,10 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.SentimentSort = void 0;
7
- let SentimentSort = function (SentimentSort) {
7
+ let SentimentSort = exports.SentimentSort = function (SentimentSort) {
8
8
  SentimentSort["Bearish"] = "BEARISH";
9
9
  SentimentSort["Bullish"] = "BULLISH";
10
10
  return SentimentSort;
11
11
  }({});
12
- exports.SentimentSort = SentimentSort;
13
12
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":["SentimentSort","exports"],"sources":["../../../src/SentimentWidget/types.ts"],"sourcesContent":["export interface SentimentConfig {\n graphqlUrl: string;\n instrument?: string;\n count?: number;\n}\n\nexport interface SentimentWidgetConfig {\n graphqlUrl: string;\n instrument: string;\n}\n\nexport interface SentimentToolConfig {\n graphqlUrl: string;\n}\n\nexport interface SentimentListData {\n name: string;\n sentiment: {\n shortPercent: number;\n longPercent: number;\n }\n}\n\nexport interface SentimentListResponse {\n sentimentList: SentimentListData[]\n}\n\nexport enum SentimentSort {\n Bearish = 'BEARISH',\n Bullish = 'BULLISH',\n}\n"],"mappings":";;;;;;IA2BYA,aAAa,aAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAAAC,OAAA,CAAAD,aAAA,GAAAA,aAAA"}
1
+ {"version":3,"file":"types.js","names":["SentimentSort","exports"],"sources":["../../../src/SentimentWidget/types.ts"],"sourcesContent":["export interface SentimentConfig {\n graphqlUrl: string;\n instrument?: string;\n count?: number;\n}\n\nexport interface SentimentWidgetConfig {\n graphqlUrl: string;\n instrument: string;\n}\n\nexport interface SentimentToolConfig {\n graphqlUrl: string;\n}\n\nexport interface SentimentListData {\n name: string;\n sentiment: {\n shortPercent: number;\n longPercent: number;\n }\n}\n\nexport interface SentimentListResponse {\n sentimentList: SentimentListData[]\n}\n\nexport enum SentimentSort {\n Bearish = 'BEARISH',\n Bullish = 'BULLISH',\n}\n"],"mappings":";;;;;;IA2BYA,aAAa,GAAAC,OAAA,CAAAD,aAAA,aAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA"}
@@ -7,6 +7,5 @@ exports.getInstrumentSentiment = void 0;
7
7
  var _client = require("@apollo/client");
8
8
  var _templateObject;
9
9
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
- const getInstrumentSentiment = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query GetInstrumentSentiment(\n $division: Division!\n $name: String!\n ) {\n sentiment(\n division: $division\n name: $name\n ) {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n"])));
11
- exports.getInstrumentSentiment = getInstrumentSentiment;
10
+ const getInstrumentSentiment = exports.getInstrumentSentiment = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query GetInstrumentSentiment(\n $division: Division!\n $name: String!\n ) {\n sentiment(\n division: $division\n name: $name\n ) {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n"])));
12
11
  //# sourceMappingURL=getInstrumentSentiment.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getInstrumentSentiment.js","names":["_client","require","_templateObject","_taggedTemplateLiteral","strings","raw","slice","Object","freeze","defineProperties","value","getInstrumentSentiment","gql","exports"],"sources":["../../../src/gql/getInstrumentSentiment.ts"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst getInstrumentSentiment = gql`\n query GetInstrumentSentiment(\n $division: Division!\n $name: String!\n ) {\n sentiment(\n division: $division\n name: $name\n ) {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n`;\n\nexport { getInstrumentSentiment };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqC,IAAAC,eAAA;AAAA,SAAAC,uBAAAC,OAAA,EAAAC,GAAA,SAAAA,GAAA,IAAAA,GAAA,GAAAD,OAAA,CAAAE,KAAA,cAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAE,gBAAA,CAAAL,OAAA,IAAAC,GAAA,IAAAK,KAAA,EAAAH,MAAA,CAAAC,MAAA,CAAAH,GAAA;AAErC,MAAMM,sBAAsB,OAAGC,WAAG,EAAAV,eAAA,KAAAA,eAAA,GAAAC,sBAAA,sQAgBjC;AAACU,OAAA,CAAAF,sBAAA,GAAAA,sBAAA"}
1
+ {"version":3,"file":"getInstrumentSentiment.js","names":["_client","require","_templateObject","_taggedTemplateLiteral","strings","raw","slice","Object","freeze","defineProperties","value","getInstrumentSentiment","exports","gql"],"sources":["../../../src/gql/getInstrumentSentiment.ts"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst getInstrumentSentiment = gql`\n query GetInstrumentSentiment(\n $division: Division!\n $name: String!\n ) {\n sentiment(\n division: $division\n name: $name\n ) {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n`;\n\nexport { getInstrumentSentiment };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqC,IAAAC,eAAA;AAAA,SAAAC,uBAAAC,OAAA,EAAAC,GAAA,SAAAA,GAAA,IAAAA,GAAA,GAAAD,OAAA,CAAAE,KAAA,cAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAE,gBAAA,CAAAL,OAAA,IAAAC,GAAA,IAAAK,KAAA,EAAAH,MAAA,CAAAC,MAAA,CAAAH,GAAA;AAErC,MAAMM,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,OAAGE,WAAG,EAAAX,eAAA,KAAAA,eAAA,GAAAC,sBAAA,sQAgBjC"}
@@ -7,6 +7,5 @@ exports.getSentimentList = void 0;
7
7
  var _client = require("@apollo/client");
8
8
  var _templateObject;
9
9
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
- const getSentimentList = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query GetSentimentList {\n sentimentList {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n"])));
11
- exports.getSentimentList = getSentimentList;
10
+ const getSentimentList = exports.getSentimentList = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query GetSentimentList {\n sentimentList {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n"])));
12
11
  //# sourceMappingURL=getSentimentList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSentimentList.js","names":["_client","require","_templateObject","_taggedTemplateLiteral","strings","raw","slice","Object","freeze","defineProperties","value","getSentimentList","gql","exports"],"sources":["../../../src/gql/getSentimentList.ts"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst getSentimentList = gql`\n query GetSentimentList {\n sentimentList {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n`;\n\nexport { getSentimentList };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqC,IAAAC,eAAA;AAAA,SAAAC,uBAAAC,OAAA,EAAAC,GAAA,SAAAA,GAAA,IAAAA,GAAA,GAAAD,OAAA,CAAAE,KAAA,cAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAE,gBAAA,CAAAL,OAAA,IAAAC,GAAA,IAAAK,KAAA,EAAAH,MAAA,CAAAC,MAAA,CAAAH,GAAA;AAErC,MAAMM,gBAAgB,OAAGC,WAAG,EAAAV,eAAA,KAAAA,eAAA,GAAAC,sBAAA,0JAU3B;AAACU,OAAA,CAAAF,gBAAA,GAAAA,gBAAA"}
1
+ {"version":3,"file":"getSentimentList.js","names":["_client","require","_templateObject","_taggedTemplateLiteral","strings","raw","slice","Object","freeze","defineProperties","value","getSentimentList","exports","gql"],"sources":["../../../src/gql/getSentimentList.ts"],"sourcesContent":["import { gql } from '@apollo/client';\n\nconst getSentimentList = gql`\n query GetSentimentList {\n sentimentList {\n name\n sentiment {\n shortPercent\n longPercent\n }\n }\n }\n`;\n\nexport { getSentimentList };\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAqC,IAAAC,eAAA;AAAA,SAAAC,uBAAAC,OAAA,EAAAC,GAAA,SAAAA,GAAA,IAAAA,GAAA,GAAAD,OAAA,CAAAE,KAAA,cAAAC,MAAA,CAAAC,MAAA,CAAAD,MAAA,CAAAE,gBAAA,CAAAL,OAAA,IAAAC,GAAA,IAAAK,KAAA,EAAAH,MAAA,CAAAC,MAAA,CAAAH,GAAA;AAErC,MAAMM,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,OAAGE,WAAG,EAAAX,eAAA,KAAAA,eAAA,GAAAC,sBAAA,0JAU3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oanda/labs-sentiment-widget",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Labs Sentiment Widget",
5
5
  "main": "dist/main/index.js",
6
6
  "module": "dist/module/index.js",
@@ -11,9 +11,9 @@
11
11
  "license": "UNLICENSED",
12
12
  "dependencies": {
13
13
  "@apollo/client": "3.7.17",
14
- "@oanda/labs-widget-common": "^1.0.6",
14
+ "@oanda/labs-widget-common": "^1.0.7",
15
15
  "classnames": "2.3.2",
16
16
  "graphql": "16.7.1"
17
17
  },
18
- "gitHead": "28ff90d723e59f211daf628519c71ecc727e9014"
18
+ "gitHead": "ac5b1f093b37e2ea852d5d20b9bb0ddf860cd775"
19
19
  }