@azure/web-pubsub-client-protobuf 1.0.0-beta.1 → 1.0.0-beta.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/dist/index.js +2700 -20
- package/dist/index.js.map +1 -1
- package/package.json +17 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/web-pubsub-client-protobuf",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"description": "Azure Web PubSub Client Protobuf",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"types": "types/web-pubsub-client-protobuf.d.ts",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
|
|
14
|
-
"build:browser": "npm run build-protobuf && tsc -p . && npm run copy-files &&
|
|
15
|
-
"build:node": "npm run build-protobuf && tsc -p . && npm run copy-files &&
|
|
14
|
+
"build:browser": "npm run build-protobuf && tsc -p . && npm run copy-files && rollup -c",
|
|
15
|
+
"build:node": "npm run build-protobuf && tsc -p . && npm run copy-files && rollup -c",
|
|
16
16
|
"build:samples": "dev-tool samples publish -f",
|
|
17
|
-
"build:test": "npm run build-protobuf && tsc -p . && npm run copy-files &&
|
|
18
|
-
"build": "npm run clean && npm run build-protobuf && tsc -p . && npm run copy-files &&
|
|
17
|
+
"build:test": "npm run build-protobuf && tsc -p . && npm run copy-files && rollup -c",
|
|
18
|
+
"build": "npm run clean && npm run build-protobuf && tsc -p . && npm run copy-files && rollup -c && api-extractor run --local",
|
|
19
19
|
"copy-files": "copyfiles ./src/generated/clientProto.js ./dist-esm/",
|
|
20
20
|
"build-protobuf": "pbjs -t static-module -w es6 -o ./src/generated/clientProto.js ./src/protos/client.proto && pbts -o ./src/generated/clientProto.d.ts ./src/generated/clientProto.js",
|
|
21
21
|
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
|
|
34
34
|
"test": "npm run build:test && npm run unit-test && npm run integration-test",
|
|
35
35
|
"unit-test:browser": "echo skipped",
|
|
36
|
-
"unit-test:node": "
|
|
36
|
+
"unit-test:node": "dev-tool run test:node-js-input --no-test-proxy=true",
|
|
37
37
|
"unit-test": "npm run unit-test:node && npm run unit-test:browser"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
|
-
"node": ">=
|
|
58
|
+
"node": ">=16.0.0"
|
|
59
59
|
},
|
|
60
60
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/web-pubsub-client/README.md",
|
|
61
61
|
"sideEffects": false,
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"@types/express": "^4.16.0",
|
|
76
76
|
"@types/express-serve-static-core": "^4.17.19",
|
|
77
77
|
"@types/jsonwebtoken": "^9.0.0",
|
|
78
|
-
"@types/mocha": "^
|
|
79
|
-
"@types/node": "^
|
|
80
|
-
"@types/sinon": "^
|
|
78
|
+
"@types/mocha": "^10.0.0",
|
|
79
|
+
"@types/node": "^16.0.0",
|
|
80
|
+
"@types/sinon": "^10.0.0",
|
|
81
81
|
"chai": "^4.2.0",
|
|
82
82
|
"cross-env": "^7.0.2",
|
|
83
83
|
"dotenv": "^16.0.0",
|
|
@@ -97,22 +97,24 @@
|
|
|
97
97
|
"karma-mocha": "^2.0.1",
|
|
98
98
|
"karma-mocha-reporter": "^2.2.5",
|
|
99
99
|
"karma-sourcemap-loader": "^0.3.8",
|
|
100
|
-
"mocha": "^
|
|
100
|
+
"mocha": "^10.0.0",
|
|
101
101
|
"mocha-junit-reporter": "^2.0.0",
|
|
102
|
-
"
|
|
102
|
+
"c8": "^8.0.0",
|
|
103
103
|
"prettier": "^2.5.1",
|
|
104
104
|
"puppeteer": "^19.2.2",
|
|
105
105
|
"rimraf": "^3.0.0",
|
|
106
|
-
"sinon": "^
|
|
106
|
+
"sinon": "^15.0.0",
|
|
107
107
|
"source-map-support": "^0.5.9",
|
|
108
|
-
"typescript": "~
|
|
108
|
+
"typescript": "~5.2.0",
|
|
109
109
|
"@azure/web-pubsub": "^1.1.0",
|
|
110
110
|
"@azure/test-utils": "^1.0.0",
|
|
111
111
|
"mock-socket": "^9.1.5",
|
|
112
112
|
"util": "^0.12.1",
|
|
113
113
|
"@types/ws": "^7.4.5",
|
|
114
114
|
"protobufjs-cli": "^1.1.1",
|
|
115
|
-
"copyfiles": "2.4.1"
|
|
115
|
+
"copyfiles": "2.4.1",
|
|
116
|
+
"ts-node": "^10.0.0",
|
|
117
|
+
"rollup": "^3.0.0"
|
|
116
118
|
},
|
|
117
119
|
"//sampleConfiguration": {
|
|
118
120
|
"productName": "Azure Web PubSub Client",
|