@openfeed/sdk-js 1.4.1 → 1.5.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.
@@ -1,5 +1,6 @@
1
1
  export declare const TIME: {
2
2
  RECONNECT: number;
3
+ RECONNECT_RANDOMIZE: number;
3
4
  CONNECTION_TIMEOUT: number;
4
5
  SUBSCRIPTION_RETRY: number;
5
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfeed/sdk-js",
3
- "version": "1.4.1",
3
+ "version": "1.5.0",
4
4
  "description": "JavaScript SDK for Barchart OpenFeed",
5
5
  "main": "dist/node.js",
6
6
  "browser": "dist/index.js",
@@ -12,11 +12,10 @@
12
12
  "scripts": {
13
13
  "prepare": "husky install",
14
14
  "upgrade:proto": "yarn upgrade proto",
15
- "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",
15
+ "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",
16
16
  "generate:version": "genversion --es6 -s -d ./generated/version.ts",
17
17
  "generate:process": "tsx ./scripts/process.ts",
18
18
  "generate": "yarn upgrade:proto && yarn generate:proto && yarn generate:process",
19
- "build:clear": "rimraf dist",
20
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",
21
20
  "build:ts": "yarn generate:version && vite build",
22
21
  "build:types": "tsc -p tsconfig.types.json",
@@ -27,38 +26,38 @@
27
26
  "test": "jest"
28
27
  },
29
28
  "devDependencies": {
30
- "@commitlint/cli": "^18.4.3",
31
- "@commitlint/config-conventional": "^18.4.3",
32
- "@types/jest": "^29.5.4",
33
- "@types/node": "^20.5.6",
34
- "@types/ws": "^8.5.5",
35
- "@typescript-eslint/eslint-plugin": "^6.4.1",
36
- "@typescript-eslint/parser": "^6.4.1",
37
- "eslint": "^8.47.0",
29
+ "@commitlint/cli": "^20.3.1",
30
+ "@commitlint/config-conventional": "^20.3.1",
31
+ "@types/jest": "^30.0.0",
32
+ "@types/node": "^25.0.8",
33
+ "@types/ws": "^8.18.1",
34
+ "@typescript-eslint/eslint-plugin": "^8.53.1",
35
+ "@typescript-eslint/parser": "^8.53.1",
36
+ "eslint": "^9.39.2",
38
37
  "eslint-config-airbnb-base": "^15.0.0",
39
- "eslint-config-airbnb-typescript": "^17.1.0",
40
- "eslint-config-prettier": "^9.0.0",
41
- "eslint-plugin-import": "^2.28.1",
42
- "eslint-plugin-prettier": "^5.0.0",
43
- "genversion": "^3.1.1",
44
- "google-protobuf": "^3.21.2",
38
+ "eslint-config-airbnb-typescript": "^18.0.0",
39
+ "eslint-config-prettier": "^10.1.8",
40
+ "eslint-plugin-import": "^2.32.0",
41
+ "eslint-plugin-prettier": "^5.5.5",
42
+ "genversion": "^3.2.0",
43
+ "google-protobuf": "^4.0.1",
45
44
  "husky": "^8.0.0",
46
- "jest": "^29.6.4",
47
- "prettier": "^3.0.2",
45
+ "jest": "^30.2.0",
46
+ "prettier": "^3.8.1",
48
47
  "proto": "git+ssh://git@github.com/openfeed-org/proto.git#master",
49
48
  "standard-version": "^9.5.0",
50
- "ts-jest": "^29.1.1",
51
- "ts-proto": "^1.156.7",
52
- "tsx": "^3.12.7",
53
- "typescript": "^5.2.2",
54
- "vite": "^5.4.21",
55
- "vite-plugin-checker": "^0.8.0"
49
+ "ts-jest": "^29.4.6",
50
+ "ts-proto": "^2.11.0",
51
+ "tsx": "^4.21.0",
52
+ "typescript": "5.9.3",
53
+ "vite": "^7.3.1",
54
+ "vite-plugin-checker": "^0.12.0"
56
55
  },
57
56
  "packageManager": "yarn@1.22.19",
58
57
  "dependencies": {
59
58
  "isomorphic-ws": "^5.0.0",
60
- "long": "^5.2.3",
61
- "ws": "^8.13.0"
59
+ "long": "^5.3.2",
60
+ "ws": "^8.19.0"
62
61
  },
63
62
  "files": [
64
63
  "dist",