@fluidframework/shared-object-base 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.268409

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.
@@ -1,4 +1,4 @@
1
- ## API Report File for "@fluidframework/shared-object-base"
1
+ ## Alpha API Report File for "@fluidframework/shared-object-base"
2
2
 
3
3
  > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
4
 
@@ -28,35 +28,6 @@ import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/inter
28
28
  import { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
29
29
  import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
30
30
 
31
- // @internal
32
- export function bindHandles(value: any, serializer: IFluidSerializer, bind: IFluidHandle): void;
33
-
34
- // @internal
35
- export function createSharedObjectKind<TSharedObject>(factory: (new () => IChannelFactory<TSharedObject>) & {
36
- readonly Type: string;
37
- }): ISharedObjectKind<TSharedObject> & SharedObjectKind<TSharedObject>;
38
-
39
- // @internal
40
- export function createSingleBlobSummary(key: string, content: string | Uint8Array): ISummaryTreeWithStats;
41
-
42
- // @internal
43
- export class FluidSerializer implements IFluidSerializer {
44
- constructor(context: IFluidHandleContext, handleParsedCb?: (handle: IFluidHandle) => void);
45
- decode(input: any): any;
46
- encode(input: any, bind: IFluidHandle): any;
47
- // (undocumented)
48
- get IFluidSerializer(): this;
49
- // (undocumented)
50
- parse(input: string): any;
51
- // (undocumented)
52
- protected serializeHandle(handle: IFluidHandleInternal, bind: IFluidHandleInternal): {
53
- type: string;
54
- url: string;
55
- };
56
- // (undocumented)
57
- stringify(input: unknown, bind: IFluidHandle): string;
58
- }
59
-
60
31
  // @alpha (undocumented)
61
32
  export interface IFluidSerializer {
62
33
  decode(input: any): any;
@@ -91,9 +62,6 @@ export function makeHandlesSerializable(value: any, serializer: IFluidSerializer
91
62
  // @alpha
92
63
  export function parseHandles(value: any, serializer: IFluidSerializer): any;
93
64
 
94
- // @internal
95
- export function serializeHandles(value: any, serializer: IFluidSerializer, bind: IFluidHandle): string | undefined;
96
-
97
65
  // @alpha
98
66
  export abstract class SharedObject<TEvent extends ISharedObjectEvents = ISharedObjectEvents> extends SharedObjectCore<TEvent> {
99
67
  constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes, telemetryContextPrefix: string);
@@ -150,24 +118,6 @@ export abstract class SharedObjectCore<TEvent extends ISharedObjectEvents = ISha
150
118
  export interface SharedObjectKind<out TSharedObject = unknown> extends ErasedType<readonly ["SharedObjectKind", TSharedObject]> {
151
119
  }
152
120
 
153
- // @internal
154
- export class SummarySerializer extends FluidSerializer {
155
- // (undocumented)
156
- getSerializedRoutes(): string[];
157
- // (undocumented)
158
- protected serializeHandle(handle: IFluidHandleInternal, bind: IFluidHandleInternal): {
159
- type: string;
160
- url: string;
161
- };
162
- }
163
-
164
- // @internal
165
- export enum ValueType {
166
- Plain = 1,
167
- // @deprecated
168
- Shared = 0
169
- }
170
-
171
121
  // (No @packageDocumentation comment for this package)
172
122
 
173
123
  ```
@@ -0,0 +1,37 @@
1
+ ## Beta API Report File for "@fluidframework/shared-object-base"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ErasedType } from '@fluidframework/core-interfaces';
8
+ import { EventEmitterEventType } from '@fluid-internal/client-utils';
9
+ import { EventEmitterWithErrorHandling } from '@fluidframework/telemetry-utils/internal';
10
+ import { IChannel } from '@fluidframework/datastore-definitions/internal';
11
+ import { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';
12
+ import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
13
+ import { IChannelServices } from '@fluidframework/datastore-definitions/internal';
14
+ import { IChannelStorageService } from '@fluidframework/datastore-definitions/internal';
15
+ import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
16
+ import { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
17
+ import { IErrorEvent } from '@fluidframework/core-interfaces';
18
+ import { IEventProvider } from '@fluidframework/core-interfaces';
19
+ import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
20
+ import { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions/internal';
21
+ import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
22
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
23
+ import { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
24
+ import { IFluidHandleInternal } from '@fluidframework/core-interfaces/internal';
25
+ import { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
26
+ import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
27
+ import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
28
+ import { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
29
+ import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
30
+
31
+ // @public
32
+ export interface SharedObjectKind<out TSharedObject = unknown> extends ErasedType<readonly ["SharedObjectKind", TSharedObject]> {
33
+ }
34
+
35
+ // (No @packageDocumentation comment for this package)
36
+
37
+ ```
@@ -0,0 +1,37 @@
1
+ ## Public API Report File for "@fluidframework/shared-object-base"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { ErasedType } from '@fluidframework/core-interfaces';
8
+ import { EventEmitterEventType } from '@fluid-internal/client-utils';
9
+ import { EventEmitterWithErrorHandling } from '@fluidframework/telemetry-utils/internal';
10
+ import { IChannel } from '@fluidframework/datastore-definitions/internal';
11
+ import { IChannelAttributes } from '@fluidframework/datastore-definitions/internal';
12
+ import { IChannelFactory } from '@fluidframework/datastore-definitions/internal';
13
+ import { IChannelServices } from '@fluidframework/datastore-definitions/internal';
14
+ import { IChannelStorageService } from '@fluidframework/datastore-definitions/internal';
15
+ import type { IDeltaManager } from '@fluidframework/container-definitions/internal';
16
+ import { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
17
+ import { IErrorEvent } from '@fluidframework/core-interfaces';
18
+ import { IEventProvider } from '@fluidframework/core-interfaces';
19
+ import { IEventThisPlaceHolder } from '@fluidframework/core-interfaces';
20
+ import { IExperimentalIncrementalSummaryContext } from '@fluidframework/runtime-definitions/internal';
21
+ import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions/internal';
22
+ import { IFluidHandle } from '@fluidframework/core-interfaces';
23
+ import { IFluidHandleContext } from '@fluidframework/core-interfaces/internal';
24
+ import { IFluidHandleInternal } from '@fluidframework/core-interfaces/internal';
25
+ import { IGarbageCollectionData } from '@fluidframework/runtime-definitions/internal';
26
+ import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
27
+ import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions/internal';
28
+ import { ITelemetryContext } from '@fluidframework/runtime-definitions/internal';
29
+ import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
30
+
31
+ // @public
32
+ export interface SharedObjectKind<out TSharedObject = unknown> extends ErasedType<readonly ["SharedObjectKind", TSharedObject]> {
33
+ }
34
+
35
+ // (No @packageDocumentation comment for this package)
36
+
37
+ ```
@@ -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/shared-object-base";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
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/shared-object-base";
11
- exports.pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
11
+ exports.pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
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,2BAA2B,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/shared-object-base\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\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,2BAA2B,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/shared-object-base\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\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/shared-object-base";
8
- export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
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/shared-object-base";
8
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
8
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
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,2BAA2B,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/shared-object-base\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.267932\";\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,2BAA2B,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/shared-object-base\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/shared-object-base",
3
- "version": "2.0.0-dev-rc.5.0.0.267932",
3
+ "version": "2.0.0-dev-rc.5.0.0.268409",
4
4
  "description": "Fluid base class for shared distributed data structures",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -67,30 +67,30 @@
67
67
  "temp-directory": "nyc/.nyc_output"
68
68
  },
69
69
  "dependencies": {
70
- "@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.267932",
71
- "@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.267932",
72
- "@fluidframework/container-runtime": "2.0.0-dev-rc.5.0.0.267932",
73
- "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.267932",
74
- "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.267932",
75
- "@fluidframework/datastore": "2.0.0-dev-rc.5.0.0.267932",
76
- "@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.267932",
77
- "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.267932",
78
- "@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.267932",
79
- "@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.267932",
80
- "@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.267932",
70
+ "@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.268409",
71
+ "@fluidframework/container-definitions": "2.0.0-dev-rc.5.0.0.268409",
72
+ "@fluidframework/container-runtime": "2.0.0-dev-rc.5.0.0.268409",
73
+ "@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.268409",
74
+ "@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
75
+ "@fluidframework/datastore": "2.0.0-dev-rc.5.0.0.268409",
76
+ "@fluidframework/datastore-definitions": "2.0.0-dev-rc.5.0.0.268409",
77
+ "@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
78
+ "@fluidframework/runtime-definitions": "2.0.0-dev-rc.5.0.0.268409",
79
+ "@fluidframework/runtime-utils": "2.0.0-dev-rc.5.0.0.268409",
80
+ "@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.268409",
81
81
  "uuid": "^9.0.0"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@arethetypeswrong/cli": "^0.15.2",
85
- "@biomejs/biome": "^1.6.2",
86
- "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.267932",
87
- "@fluid-private/test-pairwise-generator": "2.0.0-dev-rc.5.0.0.267932",
85
+ "@biomejs/biome": "^1.7.3",
86
+ "@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
87
+ "@fluid-private/test-pairwise-generator": "2.0.0-dev-rc.5.0.0.268409",
88
88
  "@fluid-tools/build-cli": "^0.39.0-264124",
89
89
  "@fluidframework/build-common": "^2.0.3",
90
90
  "@fluidframework/build-tools": "^0.39.0-264124",
91
- "@fluidframework/eslint-config-fluid": "^5.1.0",
91
+ "@fluidframework/eslint-config-fluid": "^5.3.0",
92
92
  "@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@2.0.0-rc.4.0.0",
93
- "@fluidframework/test-runtime-utils": "2.0.0-dev-rc.5.0.0.267932",
93
+ "@fluidframework/test-runtime-utils": "2.0.0-dev-rc.5.0.0.268409",
94
94
  "@microsoft/api-extractor": "^7.45.1",
95
95
  "@types/benchmark": "^2.1.0",
96
96
  "@types/mocha": "^9.1.1",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/shared-object-base";
9
- export const pkgVersion = "2.0.0-dev-rc.5.0.0.267932";
9
+ export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";