@fluidframework/ordered-collection 2.32.0 → 2.33.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/ordered-collection
2
2
 
3
+ ## 2.33.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.32.0
4
8
 
5
9
  Dependency updates only.
@@ -4,10 +4,10 @@
4
4
 
5
5
  ```ts
6
6
 
7
- // @alpha
7
+ // @alpha @legacy
8
8
  export type ConsensusCallback<T> = (value: T) => Promise<ConsensusResult>;
9
9
 
10
- // @alpha
10
+ // @alpha @legacy
11
11
  export class ConsensusOrderedCollection<T = any> extends SharedObject<IConsensusOrderedCollectionEvents<T>> implements IConsensusOrderedCollection<T> {
12
12
  protected constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, data: IOrderedCollection<T>);
13
13
  acquire(callback: ConsensusCallback<T>): Promise<boolean>;
@@ -34,18 +34,18 @@ export class ConsensusOrderedCollection<T = any> extends SharedObject<IConsensus
34
34
  waitAndAcquire(callback: ConsensusCallback<T>): Promise<void>;
35
35
  }
36
36
 
37
- // @alpha
37
+ // @alpha @legacy
38
38
  export const ConsensusQueue: ISharedObjectKind<IConsensusOrderedCollection<any>> & SharedObjectKind<IConsensusOrderedCollection<any>>;
39
39
 
40
- // @alpha
40
+ // @alpha @legacy
41
41
  export type ConsensusQueue<T = any> = ConsensusQueueClass<T>;
42
42
 
43
- // @alpha
43
+ // @alpha @legacy
44
44
  export class ConsensusQueueClass<T = any> extends ConsensusOrderedCollection<T> {
45
45
  constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);
46
46
  }
47
47
 
48
- // @alpha (undocumented)
48
+ // @alpha @legacy (undocumented)
49
49
  export enum ConsensusResult {
50
50
  // (undocumented)
51
51
  Complete = 1,
@@ -53,14 +53,14 @@ export enum ConsensusResult {
53
53
  Release = 0
54
54
  }
55
55
 
56
- // @alpha
56
+ // @alpha @legacy
57
57
  export interface IConsensusOrderedCollection<T = any> extends ISharedObject<IConsensusOrderedCollectionEvents<T>> {
58
58
  acquire(callback: ConsensusCallback<T>): Promise<boolean>;
59
59
  add(value: T): Promise<void>;
60
60
  waitAndAcquire(callback: ConsensusCallback<T>): Promise<void>;
61
61
  }
62
62
 
63
- // @alpha
63
+ // @alpha @legacy
64
64
  export interface IConsensusOrderedCollectionEvents<T> extends ISharedObjectEvents {
65
65
  (event: "add", listener: (value: T, newlyAdded: boolean) => void): this;
66
66
  (event: "acquire", listener: (value: T, clientId?: string) => void): this;
@@ -68,14 +68,14 @@ export interface IConsensusOrderedCollectionEvents<T> extends ISharedObjectEvent
68
68
  (event: "localRelease", listener: (value: T, intentional: boolean) => void): this;
69
69
  }
70
70
 
71
- // @alpha
71
+ // @alpha @legacy
72
72
  export interface IOrderedCollection<T = any> extends ISnapshotable<T> {
73
73
  add(value: T): any;
74
74
  remove(): T;
75
75
  size(): number;
76
76
  }
77
77
 
78
- // @alpha
78
+ // @alpha @legacy
79
79
  export interface ISnapshotable<T> {
80
80
  // (undocumented)
81
81
  asArray(): T[];
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/ordered-collection";
8
- export declare const pkgVersion = "2.32.0";
8
+ export declare const pkgVersion = "2.33.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/ordered-collection";
11
- exports.pkgVersion = "2.32.0";
11
+ exports.pkgVersion = "2.33.0";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,oCAAoC,CAAC;AAC/C,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.32.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,oCAAoC,CAAC;AAC/C,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.33.0\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/ordered-collection";
8
- export declare const pkgVersion = "2.32.0";
8
+ export declare const pkgVersion = "2.33.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/ordered-collection";
8
- export const pkgVersion = "2.32.0";
8
+ export const pkgVersion = "2.33.0";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,oCAAoC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.32.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,oCAAoC,CAAC;AAC5D,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/ordered-collection\";\nexport const pkgVersion = \"2.33.0\";\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.50.1"
8
+ "packageVersion": "7.52.5"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/ordered-collection",
3
- "version": "2.32.0",
3
+ "version": "2.33.0",
4
4
  "description": "Consensus Collection",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -69,29 +69,29 @@
69
69
  "temp-directory": "nyc/.nyc_output"
70
70
  },
71
71
  "dependencies": {
72
- "@fluid-internal/client-utils": "~2.32.0",
73
- "@fluidframework/core-interfaces": "~2.32.0",
74
- "@fluidframework/core-utils": "~2.32.0",
75
- "@fluidframework/datastore-definitions": "~2.32.0",
76
- "@fluidframework/driver-definitions": "~2.32.0",
77
- "@fluidframework/runtime-definitions": "~2.32.0",
78
- "@fluidframework/runtime-utils": "~2.32.0",
79
- "@fluidframework/shared-object-base": "~2.32.0",
80
- "@fluidframework/telemetry-utils": "~2.32.0",
72
+ "@fluid-internal/client-utils": "~2.33.0",
73
+ "@fluidframework/core-interfaces": "~2.33.0",
74
+ "@fluidframework/core-utils": "~2.33.0",
75
+ "@fluidframework/datastore-definitions": "~2.33.0",
76
+ "@fluidframework/driver-definitions": "~2.33.0",
77
+ "@fluidframework/runtime-definitions": "~2.33.0",
78
+ "@fluidframework/runtime-utils": "~2.33.0",
79
+ "@fluidframework/shared-object-base": "~2.33.0",
80
+ "@fluidframework/telemetry-utils": "~2.33.0",
81
81
  "uuid": "^9.0.0"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@arethetypeswrong/cli": "^0.17.1",
85
85
  "@biomejs/biome": "~1.9.3",
86
- "@fluid-internal/mocha-test-setup": "~2.32.0",
87
- "@fluid-private/test-dds-utils": "~2.32.0",
86
+ "@fluid-internal/mocha-test-setup": "~2.33.0",
87
+ "@fluid-private/test-dds-utils": "~2.33.0",
88
88
  "@fluid-tools/build-cli": "^0.55.0",
89
89
  "@fluidframework/build-common": "^2.0.3",
90
90
  "@fluidframework/build-tools": "^0.55.0",
91
91
  "@fluidframework/eslint-config-fluid": "^5.7.3",
92
- "@fluidframework/ordered-collection-previous": "npm:@fluidframework/ordered-collection@2.31.0",
93
- "@fluidframework/test-runtime-utils": "~2.32.0",
94
- "@microsoft/api-extractor": "7.50.1",
92
+ "@fluidframework/ordered-collection-previous": "npm:@fluidframework/ordered-collection@2.32.0",
93
+ "@fluidframework/test-runtime-utils": "~2.33.0",
94
+ "@microsoft/api-extractor": "7.52.5",
95
95
  "@types/mocha": "^10.0.10",
96
96
  "@types/node": "^18.19.0",
97
97
  "@types/uuid": "^9.0.2",
@@ -102,8 +102,6 @@
102
102
  "eslint": "~8.55.0",
103
103
  "mocha": "^10.8.2",
104
104
  "mocha-multi-reporters": "^1.5.1",
105
- "moment": "^2.21.0",
106
- "replace-in-file": "^6.3.5",
107
105
  "rimraf": "^4.4.0",
108
106
  "typescript": "~5.4.5"
109
107
  },
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/ordered-collection";
9
- export const pkgVersion = "2.32.0";
9
+ export const pkgVersion = "2.33.0";