@synnaxlabs/client 0.1.3 → 0.2.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/.DS_Store +0 -0
- package/.editorconfig +15 -0
- package/.eslintrc.json +33 -0
- package/.gitignore +9 -0
- package/.nyc_output/20720f2d-6abe-420f-a3c5-304d52d60827.json +1 -0
- package/.nyc_output/4725921c-6f1b-4ae9-9819-e455f702d31c.json +1 -0
- package/.nyc_output/47478588-5ffd-4332-873c-facaa4a2fc38.json +1 -0
- package/.nyc_output/48180641-e0b2-49ab-a6eb-e7910e9eac2f.json +1 -0
- package/.nyc_output/cb0abf31-740f-47db-b94a-8e3f8f117cb8.json +1 -0
- package/.nyc_output/fc77fce2-dad0-49a8-8d4b-0a9014ecf8c5.json +1 -0
- package/.nyc_output/processinfo/20720f2d-6abe-420f-a3c5-304d52d60827.json +1 -0
- package/.nyc_output/processinfo/4725921c-6f1b-4ae9-9819-e455f702d31c.json +1 -0
- package/.nyc_output/processinfo/47478588-5ffd-4332-873c-facaa4a2fc38.json +1 -0
- package/.nyc_output/processinfo/48180641-e0b2-49ab-a6eb-e7910e9eac2f.json +1 -0
- package/.nyc_output/processinfo/cb0abf31-740f-47db-b94a-8e3f8f117cb8.json +1 -0
- package/.nyc_output/processinfo/fc77fce2-dad0-49a8-8d4b-0a9014ecf8c5.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/.prettierignore +2 -0
- package/CHANGELOG.md +5 -0
- package/build/main/lib/auth.d.ts +54 -0
- package/build/main/lib/auth.js +62 -0
- package/build/main/lib/auth.spec.d.ts +1 -0
- package/build/main/lib/auth.spec.js +39 -0
- package/build/main/lib/channel/channel.spec.js +17 -3
- package/build/main/lib/channel/client.d.ts +2 -2
- package/build/main/lib/channel/client.js +6 -3
- package/build/main/lib/channel/payload.d.ts +2 -2
- package/build/main/lib/client.d.ts +13 -6
- package/build/main/lib/client.js +16 -4
- package/build/main/lib/segment/iterator.spec.js +14 -3
- package/build/main/lib/segment/typed.js +4 -4
- package/build/main/lib/segment/writer.spec.js +17 -3
- package/build/main/lib/telem.d.ts +2 -2
- package/build/main/lib/telem.js +4 -4
- package/build/main/lib/telem.spec.js +4 -2
- package/build/main/lib/transport.d.ts +2 -1
- package/build/main/lib/transport.js +5 -1
- package/build/main/lib/user/payload.d.ts +12 -0
- package/build/main/lib/user/payload.js +9 -0
- package/build/main/setupspecs.d.ts +4 -0
- package/build/main/setupspecs.js +17 -0
- package/build/module/lib/auth.d.ts +54 -0
- package/build/module/lib/auth.js +63 -0
- package/build/module/lib/auth.spec.d.ts +1 -0
- package/build/module/lib/auth.spec.js +34 -0
- package/build/module/lib/channel/channel.spec.js +17 -3
- package/build/module/lib/channel/client.d.ts +2 -2
- package/build/module/lib/channel/client.js +6 -3
- package/build/module/lib/channel/payload.d.ts +2 -2
- package/build/module/lib/client.d.ts +13 -6
- package/build/module/lib/client.js +17 -4
- package/build/module/lib/segment/iterator.spec.js +14 -3
- package/build/module/lib/segment/typed.js +5 -5
- package/build/module/lib/segment/writer.spec.js +18 -4
- package/build/module/lib/telem.d.ts +2 -2
- package/build/module/lib/telem.js +4 -4
- package/build/module/lib/telem.spec.js +5 -3
- package/build/module/lib/transport.d.ts +2 -1
- package/build/module/lib/transport.js +5 -1
- package/build/module/lib/user/payload.d.ts +12 -0
- package/build/module/lib/user/payload.js +6 -0
- package/build/module/setupspecs.d.ts +4 -0
- package/build/module/setupspecs.js +16 -0
- package/build/tsconfig.module.tsbuildinfo +1 -0
- package/build/tsconfig.tsbuildinfo +1 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +191 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +191 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/src/lib/auth.ts.html +340 -0
- package/coverage/lcov-report/src/lib/channel/client.ts.html +604 -0
- package/coverage/lcov-report/src/lib/channel/creator.ts.html +304 -0
- package/coverage/lcov-report/src/lib/channel/index.html +176 -0
- package/coverage/lcov-report/src/lib/channel/payload.ts.html +139 -0
- package/coverage/lcov-report/src/lib/channel/registry.ts.html +202 -0
- package/coverage/lcov-report/src/lib/channel/retriever.ts.html +244 -0
- package/coverage/lcov-report/src/lib/client.ts.html +244 -0
- package/coverage/lcov-report/src/lib/errors.ts.html +484 -0
- package/coverage/lcov-report/src/lib/index.html +176 -0
- package/coverage/lcov-report/src/lib/segment/client.ts.html +463 -0
- package/coverage/lcov-report/src/lib/segment/index.html +206 -0
- package/coverage/lcov-report/src/lib/segment/iterator.ts.html +928 -0
- package/coverage/lcov-report/src/lib/segment/payload.ts.html +139 -0
- package/coverage/lcov-report/src/lib/segment/splitter.ts.html +181 -0
- package/coverage/lcov-report/src/lib/segment/typed.ts.html +307 -0
- package/coverage/lcov-report/src/lib/segment/validator.ts.html +331 -0
- package/coverage/lcov-report/src/lib/segment/writer.ts.html +727 -0
- package/coverage/lcov-report/src/lib/telem.ts.html +2056 -0
- package/coverage/lcov-report/src/lib/transport.ts.html +196 -0
- package/coverage/lcov-report/src/lib/user/index.html +116 -0
- package/coverage/lcov-report/src/lib/user/payload.ts.html +109 -0
- package/coverage/lcov-report/src/lib/util/index.html +116 -0
- package/coverage/lcov-report/src/lib/util/telem.ts.html +124 -0
- package/coverage/lcov-report/src/setupspecs.ts.html +133 -0
- package/coverage/lcov.info +1230 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/src/index.html +116 -0
- package/coverage/src/lib/auth.ts.html +340 -0
- package/coverage/src/lib/channel/client.ts.html +604 -0
- package/coverage/src/lib/channel/creator.ts.html +304 -0
- package/coverage/src/lib/channel/index.html +176 -0
- package/coverage/src/lib/channel/payload.ts.html +139 -0
- package/coverage/src/lib/channel/registry.ts.html +202 -0
- package/coverage/src/lib/channel/retriever.ts.html +244 -0
- package/coverage/src/lib/client.ts.html +244 -0
- package/coverage/src/lib/errors.ts.html +484 -0
- package/coverage/src/lib/index.html +176 -0
- package/coverage/src/lib/segment/client.ts.html +463 -0
- package/coverage/src/lib/segment/index.html +206 -0
- package/coverage/src/lib/segment/iterator.ts.html +928 -0
- package/coverage/src/lib/segment/payload.ts.html +139 -0
- package/coverage/src/lib/segment/splitter.ts.html +181 -0
- package/coverage/src/lib/segment/typed.ts.html +307 -0
- package/coverage/src/lib/segment/validator.ts.html +331 -0
- package/coverage/src/lib/segment/writer.ts.html +727 -0
- package/coverage/src/lib/telem.ts.html +2056 -0
- package/coverage/src/lib/transport.ts.html +196 -0
- package/coverage/src/lib/user/index.html +116 -0
- package/coverage/src/lib/user/payload.ts.html +109 -0
- package/coverage/src/lib/util/index.html +116 -0
- package/coverage/src/lib/util/telem.ts.html +124 -0
- package/coverage/src/setupspecs.ts.html +133 -0
- package/package.json +2 -2
- package/src/index.ts +13 -0
- package/src/lib/.DS_Store +0 -0
- package/src/lib/auth.spec.ts +36 -0
- package/src/lib/auth.ts +85 -0
- package/src/lib/channel/channel.spec.ts +49 -0
- package/src/lib/channel/client.ts +173 -0
- package/src/lib/channel/creator.ts +73 -0
- package/src/lib/channel/payload.ts +18 -0
- package/src/lib/channel/registry.ts +39 -0
- package/src/lib/channel/retriever.ts +53 -0
- package/src/lib/client.ts +53 -0
- package/src/lib/errors.ts +133 -0
- package/src/lib/segment/client.ts +126 -0
- package/src/lib/segment/iterator.spec.ts +78 -0
- package/src/lib/segment/iterator.ts +281 -0
- package/src/lib/segment/payload.ts +18 -0
- package/src/lib/segment/splitter.ts +32 -0
- package/src/lib/segment/typed.ts +74 -0
- package/src/lib/segment/validator.ts +82 -0
- package/src/lib/segment/writer.spec.ts +85 -0
- package/src/lib/segment/writer.ts +214 -0
- package/src/lib/telem.spec.ts +200 -0
- package/src/lib/telem.ts +657 -0
- package/src/lib/transport.ts +37 -0
- package/src/lib/user/payload.ts +8 -0
- package/src/lib/util/telem.ts +13 -0
- package/src/setupspecs.ts +16 -0
- package/tsconfig.json +47 -0
- package/tsconfig.module.json +9 -0
- package/yarn-error.log +5756 -0
- package/yarn.lock +5936 -0
package/.DS_Store
ADDED
|
Binary file
|
package/.editorconfig
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# http://editorconfig.org
|
|
2
|
+
root = true
|
|
3
|
+
|
|
4
|
+
[*]
|
|
5
|
+
charset = utf-8
|
|
6
|
+
end_of_line = lf
|
|
7
|
+
indent_size = 2
|
|
8
|
+
indent_style = space
|
|
9
|
+
insert_final_newline = true
|
|
10
|
+
max_line_length = 80
|
|
11
|
+
trim_trailing_whitespace = true
|
|
12
|
+
|
|
13
|
+
[*.md]
|
|
14
|
+
max_line_length = 0
|
|
15
|
+
trim_trailing_whitespace = false
|
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root": true,
|
|
3
|
+
"parser": "@typescript-eslint/parser",
|
|
4
|
+
"parserOptions": { "project": "./tsconfig.json" },
|
|
5
|
+
"env": { "es6": true },
|
|
6
|
+
"ignorePatterns": ["node_modules", "build", "coverage"],
|
|
7
|
+
"plugins": ["import", "eslint-comments"],
|
|
8
|
+
"extends": [
|
|
9
|
+
"eslint:recommended",
|
|
10
|
+
"plugin:eslint-comments/recommended",
|
|
11
|
+
"plugin:@typescript-eslint/recommended",
|
|
12
|
+
"plugin:import/typescript",
|
|
13
|
+
"prettier",
|
|
14
|
+
"prettier/@typescript-eslint"
|
|
15
|
+
],
|
|
16
|
+
"globals": { "BigInt": true, "console": true, "WebAssembly": true },
|
|
17
|
+
"rules": {
|
|
18
|
+
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
19
|
+
"eslint-comments/disable-enable-pair": [
|
|
20
|
+
"error",
|
|
21
|
+
{ "allowWholeFile": true }
|
|
22
|
+
],
|
|
23
|
+
"eslint-comments/no-unused-disable": "error",
|
|
24
|
+
"import/order": [
|
|
25
|
+
"error",
|
|
26
|
+
{ "newlines-between": "always", "alphabetize": { "order": "asc" } }
|
|
27
|
+
],
|
|
28
|
+
"sort-imports": [
|
|
29
|
+
"error",
|
|
30
|
+
{ "ignoreDeclarationSort": true, "ignoreCase": true }
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|