@openfeed/sdk-js 1.0.5 → 1.1.0

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.1.0](https://github.com/openfeed-org/sdk-js/compare/v1.0.5...v1.1.0) (2023-12-20)
6
+
7
+
8
+ ### Features
9
+
10
+ * update proto files and regenerate ts with newest changes ([1b5ec30](https://github.com/openfeed-org/sdk-js/commit/1b5ec30c42dab7659ab3531d23d4eeeb110a1465))
11
+
5
12
  ### [1.0.5](https://github.com/openfeed-org/sdk-js/compare/v1.0.4...v1.0.5) (2023-12-20)
6
13
 
7
14
  ### [1.0.4](https://github.com/openfeed-org/sdk-js/compare/v1.0.3...v1.0.4) (2023-12-20)
package/README.md CHANGED
@@ -2,29 +2,38 @@
2
2
 
3
3
  TypeScript and JavaScript SDK for Barchart Openfeed is a library that can be used to subscribe to market data messages served by the Barchart [Openfeed](https://openfeed.com/) servers.
4
4
 
5
- ## Development
6
-
7
- This library uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for clarity, tracking changes and versioning. It's recommended to install [Conventional Commits Extension for VS Code](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits) when contributing to the library.
8
-
9
5
  ## Obtaining the Library
10
6
 
11
7
  Using npm:
12
8
 
13
9
  ```shell
14
- $ npm i --save @openfeed/sdk-js
10
+ npm i --save @openfeed/sdk-js
15
11
  ```
16
12
 
17
13
  Using yarn:
18
14
 
19
15
  ```shell
20
- $ yarn add @openfeed/sdk-js
16
+ yarn add @openfeed/sdk-js
21
17
  ```
22
18
 
23
19
  ## User Guide
24
20
 
25
21
  The User Guide for this project can be found in the [documentation](DOCUMENTATION.md) page.
26
22
 
27
- ## Updating the Dependencies
23
+ ## Development
24
+
25
+ This library uses [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for clarity, tracking changes and versioning. It's recommended to install [Conventional Commits Extension for VS Code](https://marketplace.visualstudio.com/items?itemName=vivaxy.vscode-conventional-commits) when contributing to the library.
26
+
27
+ ### Preparing a new version
28
+
29
+ For updating the version, run:
30
+
31
+ ```shell
32
+ yarn build:prepare-release
33
+ git push --follow-tags
34
+ ```
35
+
36
+ ### Updating the Dependencies
28
37
 
29
38
  To update the protobuf auto-generated files, follow the steps:
30
39
 
@@ -116,6 +116,7 @@ export declare enum ActionType {
116
116
  LISTING = 1,
117
117
  DELISTING = 2,
118
118
  EXCHANGE_MOVE = 3,
119
+ ALIAS_CHANGED = 4,
119
120
  UNRECOGNIZED = -1
120
121
  }
121
122
  /**
@@ -162,6 +162,7 @@ export declare enum InstrumentDefinition_InstrumentType {
162
162
  MONEY_MARKET_FUND = 8,
163
163
  USER_DEFINED_SPREAD = 9,
164
164
  EQUITY_OPTION = 10,
165
+ OTHER = 99,
165
166
  UNRECOGNIZED = -1
166
167
  }
167
168
  /** / Market depth implementation type */
@@ -1 +1 @@
1
- export declare const version = "1.0.5";
1
+ export declare const version = "1.1.0";
package/dist/index.js CHANGED
@@ -2244,6 +2244,7 @@ var InstrumentDefinition_InstrumentType = /* @__PURE__ */ ((InstrumentDefinition
2244
2244
  InstrumentDefinition_InstrumentType2[InstrumentDefinition_InstrumentType2["MONEY_MARKET_FUND"] = 8] = "MONEY_MARKET_FUND";
2245
2245
  InstrumentDefinition_InstrumentType2[InstrumentDefinition_InstrumentType2["USER_DEFINED_SPREAD"] = 9] = "USER_DEFINED_SPREAD";
2246
2246
  InstrumentDefinition_InstrumentType2[InstrumentDefinition_InstrumentType2["EQUITY_OPTION"] = 10] = "EQUITY_OPTION";
2247
+ InstrumentDefinition_InstrumentType2[InstrumentDefinition_InstrumentType2["OTHER"] = 99] = "OTHER";
2247
2248
  InstrumentDefinition_InstrumentType2[InstrumentDefinition_InstrumentType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2248
2249
  return InstrumentDefinition_InstrumentType2;
2249
2250
  })(InstrumentDefinition_InstrumentType || {});
@@ -3199,6 +3200,7 @@ var ActionType = /* @__PURE__ */ ((ActionType2) => {
3199
3200
  ActionType2[ActionType2["LISTING"] = 1] = "LISTING";
3200
3201
  ActionType2[ActionType2["DELISTING"] = 2] = "DELISTING";
3201
3202
  ActionType2[ActionType2["EXCHANGE_MOVE"] = 3] = "EXCHANGE_MOVE";
3203
+ ActionType2[ActionType2["ALIAS_CHANGED"] = 4] = "ALIAS_CHANGED";
3202
3204
  ActionType2[ActionType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
3203
3205
  return ActionType2;
3204
3206
  })(ActionType || {});
@@ -8029,7 +8031,7 @@ class ResolutionSource {
8029
8031
  return this.onError;
8030
8032
  }
8031
8033
  }
8032
- const version = "1.0.5";
8034
+ const version = "1.1.0";
8033
8035
  const send = (socket, message) => {
8034
8036
  socket.send(OpenfeedGatewayRequestEncode.encode(toT(message)).finish());
8035
8037
  };
package/dist/node.js CHANGED
@@ -5860,6 +5860,7 @@ var InstrumentDefinition_InstrumentType = /* @__PURE__ */ ((InstrumentDefinition
5860
5860
  InstrumentDefinition_InstrumentType3[InstrumentDefinition_InstrumentType3["MONEY_MARKET_FUND"] = 8] = "MONEY_MARKET_FUND";
5861
5861
  InstrumentDefinition_InstrumentType3[InstrumentDefinition_InstrumentType3["USER_DEFINED_SPREAD"] = 9] = "USER_DEFINED_SPREAD";
5862
5862
  InstrumentDefinition_InstrumentType3[InstrumentDefinition_InstrumentType3["EQUITY_OPTION"] = 10] = "EQUITY_OPTION";
5863
+ InstrumentDefinition_InstrumentType3[InstrumentDefinition_InstrumentType3["OTHER"] = 99] = "OTHER";
5863
5864
  InstrumentDefinition_InstrumentType3[InstrumentDefinition_InstrumentType3["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
5864
5865
  return InstrumentDefinition_InstrumentType3;
5865
5866
  })(InstrumentDefinition_InstrumentType || {});
@@ -6817,6 +6818,7 @@ var ActionType = /* @__PURE__ */ ((ActionType2) => {
6817
6818
  ActionType2[ActionType2["LISTING"] = 1] = "LISTING";
6818
6819
  ActionType2[ActionType2["DELISTING"] = 2] = "DELISTING";
6819
6820
  ActionType2[ActionType2["EXCHANGE_MOVE"] = 3] = "EXCHANGE_MOVE";
6821
+ ActionType2[ActionType2["ALIAS_CHANGED"] = 4] = "ALIAS_CHANGED";
6820
6822
  ActionType2[ActionType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
6821
6823
  return ActionType2;
6822
6824
  })(ActionType || {});
@@ -11653,7 +11655,7 @@ var ResolutionSource = class {
11653
11655
  };
11654
11656
 
11655
11657
  // generated/version.ts
11656
- var version = "1.0.5";
11658
+ var version = "1.1.0";
11657
11659
 
11658
11660
  // src/connection/connection.ts
11659
11661
  var send = (socket, message) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfeed/sdk-js",
3
- "version": "1.0.5",
3
+ "version": "1.1.0",
4
4
  "description": "JavaScript SDK for Barchart OpenFeed",
5
5
  "main": "dist/node.js",
6
6
  "browser": "dist/index.js",