@openfeed/sdk-js 1.0.5 → 1.1.1
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 +9 -0
- package/README.md +16 -7
- package/dist/generated/openfeed.d.ts +1 -0
- package/dist/generated/openfeed_instrument.d.ts +1 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/node.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.1](https://github.com/openfeed-org/sdk-js/compare/v1.1.0...v1.1.1) (2023-12-20)
|
|
6
|
+
|
|
7
|
+
## [1.1.0](https://github.com/openfeed-org/sdk-js/compare/v1.0.5...v1.1.0) (2023-12-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* update proto files and regenerate ts with newest changes ([1b5ec30](https://github.com/openfeed-org/sdk-js/commit/1b5ec30c42dab7659ab3531d23d4eeeb110a1465))
|
|
13
|
+
|
|
5
14
|
### [1.0.5](https://github.com/openfeed-org/sdk-js/compare/v1.0.4...v1.0.5) (2023-12-20)
|
|
6
15
|
|
|
7
16
|
### [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
|
-
|
|
10
|
+
npm i --save @openfeed/sdk-js
|
|
15
11
|
```
|
|
16
12
|
|
|
17
13
|
Using yarn:
|
|
18
14
|
|
|
19
15
|
```shell
|
|
20
|
-
|
|
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
|
-
##
|
|
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
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.1.1";
|
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.
|
|
8034
|
+
const version = "1.1.1";
|
|
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.
|
|
11658
|
+
var version = "1.1.1";
|
|
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.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "JavaScript SDK for Barchart OpenFeed",
|
|
5
5
|
"main": "dist/node.js",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"build:ts": "yarn generate:version && vite build",
|
|
21
21
|
"build:types": "tsc -p tsconfig.types.json",
|
|
22
22
|
"build:test-release": "standard-version --dry-run",
|
|
23
|
-
"build:prepare-release": "standard-version",
|
|
23
|
+
"build:prepare-release": "standard-version -t",
|
|
24
24
|
"run:browser": "yarn generate:version && vite dev",
|
|
25
25
|
"run:node": "yarn generate:version && tsx ./src/test.ts"
|
|
26
26
|
},
|