@jupyterlab/statedb 4.2.0-beta.1 → 4.2.0-beta.3

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.
@@ -114,7 +114,7 @@ export interface IObjectPool<T extends IObservableDisposable> extends IDisposabl
114
114
  /**
115
115
  * Find the first object in the pool that satisfies a filter function.
116
116
  *
117
- * @param - fn The filter function to call on each object.
117
+ * @param fn The filter function to call on each object.
118
118
  *
119
119
  * #### Notes
120
120
  * If nothing is found, the value returned is `undefined`.
@@ -79,7 +79,7 @@ export declare class RestorablePool<T extends IObservableDisposable = IObservabl
79
79
  /**
80
80
  * Find the first object in the pool that satisfies a filter function.
81
81
  *
82
- * @param - fn The filter function to call on each object.
82
+ * @param fn The filter function to call on each object.
83
83
  */
84
84
  find(fn: (obj: T) => boolean): T | undefined;
85
85
  /**
@@ -150,7 +150,7 @@ class RestorablePool {
150
150
  /**
151
151
  * Find the first object in the pool that satisfies a filter function.
152
152
  *
153
- * @param - fn The filter function to call on each object.
153
+ * @param fn The filter function to call on each object.
154
154
  */
155
155
  find(fn) {
156
156
  const values = this._objects.values();
package/lib/statedb.d.ts CHANGED
@@ -42,7 +42,7 @@ export declare class StateDB<T extends ReadonlyPartialJSONValue = ReadonlyPartia
42
42
  /**
43
43
  * Retrieve all the saved bundles for a namespace.
44
44
  *
45
- * @param filter - The namespace prefix to retrieve.
45
+ * @param namespace The namespace prefix to retrieve.
46
46
  *
47
47
  * @returns A promise that bears a collection of payloads for a namespace.
48
48
  *
package/lib/statedb.js CHANGED
@@ -76,7 +76,7 @@ class StateDB {
76
76
  /**
77
77
  * Retrieve all the saved bundles for a namespace.
78
78
  *
79
- * @param filter - The namespace prefix to retrieve.
79
+ * @param namespace The namespace prefix to retrieve.
80
80
  *
81
81
  * @returns A promise that bears a collection of payloads for a namespace.
82
82
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/statedb",
3
- "version": "4.2.0-beta.1",
3
+ "version": "4.2.0-beta.3",
4
4
  "description": "Package for managing state in Jupyterlab",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -28,7 +28,6 @@
28
28
  "build": "tsc -b",
29
29
  "build:test": "tsc --build tsconfig.test.json",
30
30
  "clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
31
- "docs": "typedoc src",
32
31
  "test": "jest",
33
32
  "test:cov": "jest --collect-coverage",
34
33
  "test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
@@ -43,11 +42,10 @@
43
42
  "@lumino/signaling": "^2.1.2"
44
43
  },
45
44
  "devDependencies": {
46
- "@jupyterlab/testing": "^4.2.0-beta.1",
45
+ "@jupyterlab/testing": "^4.2.0-beta.3",
47
46
  "@types/jest": "^29.2.0",
48
47
  "jest": "^29.2.0",
49
48
  "rimraf": "~5.0.5",
50
- "typedoc": "~0.24.7",
51
49
  "typescript": "~5.1.6"
52
50
  },
53
51
  "publishConfig": {
package/src/interfaces.ts CHANGED
@@ -128,7 +128,7 @@ export interface IObjectPool<T extends IObservableDisposable>
128
128
  /**
129
129
  * Find the first object in the pool that satisfies a filter function.
130
130
  *
131
- * @param - fn The filter function to call on each object.
131
+ * @param fn The filter function to call on each object.
132
132
  *
133
133
  * #### Notes
134
134
  * If nothing is found, the value returned is `undefined`.
@@ -167,7 +167,7 @@ export class RestorablePool<
167
167
  /**
168
168
  * Find the first object in the pool that satisfies a filter function.
169
169
  *
170
- * @param - fn The filter function to call on each object.
170
+ * @param fn The filter function to call on each object.
171
171
  */
172
172
  find(fn: (obj: T) => boolean): T | undefined {
173
173
  const values = this._objects.values();
package/src/statedb.ts CHANGED
@@ -85,7 +85,7 @@ export class StateDB<
85
85
  /**
86
86
  * Retrieve all the saved bundles for a namespace.
87
87
  *
88
- * @param filter - The namespace prefix to retrieve.
88
+ * @param namespace The namespace prefix to retrieve.
89
89
  *
90
90
  * @returns A promise that bears a collection of payloads for a namespace.
91
91
  *