@lmzhen/dsh-memory 0.3.62 → 0.3.64
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/lib/index.js +2 -1
- package/lib/types/index.d.ts +2 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -45,7 +45,8 @@ var MemoryRegistry = class extends Service {
|
|
|
45
45
|
}
|
|
46
46
|
/** V6-44 (0.3.37): test-support API — production consumers read the
|
|
47
47
|
* model-visible context via `renderContext()`; snapshot() has no production
|
|
48
|
-
* consumer (tests inspect the raw snapshot, kept by declaration).
|
|
48
|
+
* consumer (tests inspect the raw snapshot, kept by declaration).
|
|
49
|
+
* @internal Exported for this package's own tests only. */
|
|
49
50
|
snapshot() {
|
|
50
51
|
return this.provider().snapshot();
|
|
51
52
|
}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -63,7 +63,8 @@ export declare class MemoryRegistry extends Service {
|
|
|
63
63
|
applyBatch(target: MemoryTarget, operations: MemoryOperation[]): Promise<MemoryApplyResult>;
|
|
64
64
|
/** V6-44 (0.3.37): test-support API — production consumers read the
|
|
65
65
|
* model-visible context via `renderContext()`; snapshot() has no production
|
|
66
|
-
* consumer (tests inspect the raw snapshot, kept by declaration).
|
|
66
|
+
* consumer (tests inspect the raw snapshot, kept by declaration).
|
|
67
|
+
* @internal Exported for this package's own tests only. */
|
|
67
68
|
snapshot(): Promise<MemorySnapshot>;
|
|
68
69
|
renderContext(): Promise<string>;
|
|
69
70
|
}
|