@openfeed/sdk-js 1.0.0 → 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 ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
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
+
5
+ ### [1.0.2](https://github.com/openfeed-org/sdk-js/compare/v1.0.1...v1.0.2) (2023-12-20)
6
+
7
+ ### 1.0.1 (2023-12-20)
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
- # TS/JS SDK for Barchart OpenFeed
1
+ # TS/JS SDK for Barchart Openfeed
2
2
 
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.
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
+
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.
4
8
 
5
9
  ## Obtaining the Library
6
10
 
@@ -1 +1 @@
1
- export declare const version = "1.0.0";
1
+ export declare const version = "1.0.2";
package/dist/index.js CHANGED
@@ -8029,7 +8029,7 @@ class ResolutionSource {
8029
8029
  return this.onError;
8030
8030
  }
8031
8031
  }
8032
- const version = "1.0.0";
8032
+ const version = "1.0.2";
8033
8033
  const send = (socket, message) => {
8034
8034
  socket.send(OpenfeedGatewayRequestEncode.encode(toT(message)).finish());
8035
8035
  };
package/dist/node.js CHANGED
@@ -11653,7 +11653,7 @@ var ResolutionSource = class {
11653
11653
  };
11654
11654
 
11655
11655
  // generated/version.ts
11656
- var version = "1.0.0";
11656
+ var version = "1.0.2";
11657
11657
 
11658
11658
  // src/connection/connection.ts
11659
11659
  var send = (socket, message) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfeed/sdk-js",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "JavaScript SDK for Barchart OpenFeed",
5
5
  "main": "dist/node.js",
6
6
  "browser": "dist/index.js",
@@ -10,6 +10,7 @@
10
10
  "author": "Dejan Maksimovic <maximovic.d@gmail.com>",
11
11
  "license": "MIT",
12
12
  "scripts": {
13
+ "prepare": "husky install",
13
14
  "generate:proto": "cd node_modules\\proto && ..\\..\\protoc --plugin=..\\..\\node_modules\\.bin\\protoc-gen-ts_proto --ts_proto_opt=outputJsonMethods=false --ts_proto_opt=outputPartialMethods=false --ts_proto_opt=exportCommonSymbols=false --ts_proto_opt=esModuleInterop=true --ts_proto_opt=forceLong=long --ts_proto_opt=useExactTypes=false --ts_proto_out=../../generated *.proto",
14
15
  "generate:version": "genversion --es6 -s -d ./generated/version.ts",
15
16
  "generate:process": "tsx ./scripts/process.ts",
@@ -18,10 +19,14 @@
18
19
  "build:node": "esbuild --bundle --outfile=dist/node.js --platform=node --target=node16 --format=esm --banner:js=\"import { createRequire } from 'module';const require = createRequire(import.meta.url);\" src/index.ts",
19
20
  "build:ts": "yarn generate:version && vite build",
20
21
  "build:types": "tsc -p tsconfig.types.json",
22
+ "build:test-release": "standard-version --dry-run",
23
+ "build:prepare-release": "standard-version",
21
24
  "run:browser": "yarn generate:version && vite dev",
22
25
  "run:node": "yarn generate:version && tsx ./src/test.ts"
23
26
  },
24
27
  "devDependencies": {
28
+ "@commitlint/cli": "^18.4.3",
29
+ "@commitlint/config-conventional": "^18.4.3",
25
30
  "@types/jest": "^29.5.4",
26
31
  "@types/node": "^20.5.6",
27
32
  "@types/ws": "^8.5.5",
@@ -35,9 +40,11 @@
35
40
  "eslint-plugin-prettier": "^5.0.0",
36
41
  "genversion": "^3.1.1",
37
42
  "google-protobuf": "^3.21.2",
43
+ "husky": "^8.0.0",
38
44
  "jest": "^29.6.4",
39
45
  "prettier": "^3.0.2",
40
46
  "proto": "git+ssh://git@github.com/openfeed-org/proto.git#master",
47
+ "standard-version": "^9.5.0",
41
48
  "ts-jest": "^29.1.1",
42
49
  "ts-proto": "^1.156.7",
43
50
  "tsx": "^3.12.7",