hypha-rpc 0.20.71 → 0.20.72

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypha-rpc",
3
- "version": "0.20.71",
3
+ "version": "0.20.72",
4
4
  "description": "Hypha RPC client for connecting to Hypha server for data management and AI model serving.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/.eslintrc DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "parser": "babel-eslint",
3
- "rules": {}
4
- }
package/.prettierignore DELETED
@@ -1,3 +0,0 @@
1
- # Ignore files for prettier
2
- *.imjoy.html
3
- .*
Binary file
Binary file
Binary file
Binary file
package/karma.conf.js DELETED
@@ -1,114 +0,0 @@
1
- // Karma configuration
2
- // Generated on Sun Mar 08 2020 02:01:17 GMT+0100 (GMT+01:00)
3
- var webpackConfig = require('./webpack.config.js');
4
-
5
- module.exports = function (config) {
6
- config.set({
7
-
8
- // base path that will be used to resolve all patterns (eg. files, exclude)
9
- basePath: '',
10
-
11
-
12
- // frameworks to use
13
- // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
14
- frameworks: ['mocha'],
15
-
16
-
17
- // list of files / patterns to load in the browser
18
- files: [
19
- // only specify one entry point
20
- // and require all tests in there
21
- 'tests/*_test.js',
22
- {
23
- pattern: 'src/*.js',
24
- watched: false,
25
- included: false,
26
- served: true,
27
- nocache: false
28
- }
29
- ],
30
-
31
- proxies: {
32
- },
33
-
34
-
35
- // list of files / patterns to exclude
36
- exclude: [],
37
-
38
-
39
- // preprocess matching files before serving them to the browser
40
- // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
41
- preprocessors: {
42
- // add webpack as preprocessor
43
- 'tests/*_test.js': ['webpack', 'sourcemap'],
44
- 'src/*.js': ['webpack', 'sourcemap' ]
45
- },
46
-
47
- webpack: webpackConfig,
48
-
49
- webpackMiddleware: {
50
- // webpack-dev-middleware configuration
51
- // i. e.
52
- stats: 'errors-only',
53
- },
54
-
55
-
56
- // test results reporter to use
57
- // possible values: 'dots', 'progress'
58
- // available reporters: https://npmjs.org/browse/keyword/karma-reporter
59
- reporters: ["spec"],
60
- specReporter: {
61
- maxLogLines: 5, // limit number of lines logged per test
62
- suppressErrorSummary: true, // do not print error summary
63
- suppressFailed: false, // do not print information about failed tests
64
- suppressPassed: false, // do not print information about passed tests
65
- suppressSkipped: true, // do not print information about skipped tests
66
- showSpecTiming: false // print the time elapsed for each spec
67
- },
68
-
69
-
70
- // web server port
71
- port: 9876,
72
-
73
-
74
- // enable / disable colors in the output (reporters and logs)
75
- colors: true,
76
-
77
-
78
- // level of logging
79
- // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
80
- logLevel: config.LOG_INFO,
81
-
82
-
83
- // enable / disable watching file and executing tests whenever any file changes
84
- autoWatch: true,
85
-
86
-
87
- // start these browsers
88
- // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
89
- browsers: ['ChromeHeadlessNoSandbox', 'FirefoxHeadless', 'ChromeDebugging'],
90
-
91
- customLaunchers: {
92
- ChromeHeadlessNoSandbox: {
93
- base: 'ChromeHeadless',
94
- flags: ["--no-sandbox"]
95
- },
96
- ChromeDebugging: {
97
- base: 'Chrome',
98
- flags: [ '--remote-debugging-port=9333' ]
99
- }
100
- },
101
-
102
- // Continuous Integration mode
103
- // if true, Karma captures browsers, runs the tests and exits
104
- singleRun: false,
105
-
106
- // Concurrency level
107
- // how many browser should be started simultaneous
108
- concurrency: Infinity,
109
- captureTimeout: 12000,
110
- browserDisconnectTolerance: 2,
111
- browserDisconnectTimeout: 40000,
112
- browserNoActivityTimeout: 40000,
113
- })
114
- }