@fluidframework/id-compressor 2.1.0-274160 → 2.1.0-276985

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.
Files changed (42) hide show
  1. package/README.md +5 -5
  2. package/dist/idCompressor.d.ts +4 -0
  3. package/dist/idCompressor.d.ts.map +1 -1
  4. package/dist/idCompressor.js.map +1 -1
  5. package/dist/legacy.d.ts +1 -1
  6. package/dist/packageVersion.d.ts +1 -1
  7. package/dist/packageVersion.js +1 -1
  8. package/dist/packageVersion.js.map +1 -1
  9. package/dist/types/idCompressor.d.ts +1 -0
  10. package/dist/types/idCompressor.d.ts.map +1 -1
  11. package/dist/types/idCompressor.js.map +1 -1
  12. package/dist/types/persisted-types/0.0.1.d.ts +4 -0
  13. package/dist/types/persisted-types/0.0.1.d.ts.map +1 -1
  14. package/dist/types/persisted-types/0.0.1.js.map +1 -1
  15. package/dist/utilities.d.ts +1 -0
  16. package/dist/utilities.d.ts.map +1 -1
  17. package/dist/utilities.js +1 -0
  18. package/dist/utilities.js.map +1 -1
  19. package/lib/idCompressor.d.ts +4 -0
  20. package/lib/idCompressor.d.ts.map +1 -1
  21. package/lib/idCompressor.js.map +1 -1
  22. package/lib/legacy.d.ts +1 -1
  23. package/lib/packageVersion.d.ts +1 -1
  24. package/lib/packageVersion.js +1 -1
  25. package/lib/packageVersion.js.map +1 -1
  26. package/lib/types/idCompressor.d.ts +1 -0
  27. package/lib/types/idCompressor.d.ts.map +1 -1
  28. package/lib/types/idCompressor.js.map +1 -1
  29. package/lib/types/persisted-types/0.0.1.d.ts +4 -0
  30. package/lib/types/persisted-types/0.0.1.d.ts.map +1 -1
  31. package/lib/types/persisted-types/0.0.1.js.map +1 -1
  32. package/lib/utilities.d.ts +1 -0
  33. package/lib/utilities.d.ts.map +1 -1
  34. package/lib/utilities.js +1 -0
  35. package/lib/utilities.js.map +1 -1
  36. package/package.json +9 -9
  37. package/src/idCompressor.ts +4 -0
  38. package/src/packageVersion.ts +1 -1
  39. package/src/types/idCompressor.ts +1 -0
  40. package/src/types/persisted-types/0.0.1.ts +4 -0
  41. package/src/utilities.ts +1 -0
  42. /package/api-report/{id-compressor.alpha.api.md → id-compressor.legacy.alpha.api.md} +0 -0
@@ -75,6 +75,7 @@ import {
75
75
  *
76
76
  * These two spaces naturally define a rule: consumers of compressed IDs should use session-space IDs, but serialized forms such as ops
77
77
  * should use op-space IDs.
78
+ * @legacy
78
79
  * @alpha
79
80
  */
80
81
  export interface IIdCompressorCore {
@@ -7,6 +7,7 @@ import type { SessionId } from "../identifiers.js";
7
7
 
8
8
  /**
9
9
  * The serialized contents of an IdCompressor, suitable for persistence in a summary.
10
+ * @legacy
10
11
  * @alpha
11
12
  */
12
13
  export type SerializedIdCompressor = string & {
@@ -15,6 +16,7 @@ export type SerializedIdCompressor = string & {
15
16
 
16
17
  /**
17
18
  * The serialized contents of an IdCompressor, suitable for persistence in a summary.
19
+ * @legacy
18
20
  * @alpha
19
21
  */
20
22
  export type SerializedIdCompressorWithNoSession = SerializedIdCompressor & {
@@ -23,6 +25,7 @@ export type SerializedIdCompressorWithNoSession = SerializedIdCompressor & {
23
25
 
24
26
  /**
25
27
  * The serialized contents of an IdCompressor, suitable for persistence in a summary.
28
+ * @legacy
26
29
  * @alpha
27
30
  */
28
31
  export type SerializedIdCompressorWithOngoingSession = SerializedIdCompressor & {
@@ -33,6 +36,7 @@ export type SerializedIdCompressorWithOngoingSession = SerializedIdCompressor &
33
36
  * Data describing a range of session-local IDs (from a remote or local session).
34
37
  *
35
38
  * A range is composed of local IDs that were generated.
39
+ * @legacy
36
40
  * @alpha
37
41
  */
38
42
  export interface IdCreationRange {
package/src/utilities.ts CHANGED
@@ -29,6 +29,7 @@ function isHexadecimalCharacter(charCode: number): boolean {
29
29
 
30
30
  /**
31
31
  * Generate a random session ID
32
+ * @legacy
32
33
  * @alpha
33
34
  */
34
35
  export function createSessionId(): SessionId {