@fluidframework/shared-object-base 2.0.0-internal.2.0.2 → 2.0.0-internal.2.1.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/dist/handle.d.ts CHANGED
@@ -6,12 +6,15 @@ import { IFluidHandleContext } from "@fluidframework/core-interfaces";
6
6
  import { FluidObjectHandle } from "@fluidframework/datastore";
7
7
  import { ISharedObject } from "./types";
8
8
  /**
9
- * Handle for shared object
10
- * This object is used for already loaded (in-memory) shared object
11
- * and is used only for serialization purposes.
12
- * De-serialization process goes through FluidObjectHandle and request flow:
13
- * FluidDataStoreRuntime.request() recognizes requests in the form of '/\<shared object id\>'
14
- * and loads shared object.
9
+ * Handle for a shared object.
10
+ *
11
+ * @remarks
12
+ *
13
+ * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.
14
+ *
15
+ * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:
16
+ * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of
17
+ * '/\<shared object id\>' and loads shared object.
15
18
  */
16
19
  export declare class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {
17
20
  protected readonly value: ISharedObject;
@@ -23,7 +26,8 @@ export declare class SharedObjectHandle extends FluidObjectHandle<ISharedObject>
23
26
  * Creates a new SharedObjectHandle.
24
27
  * @param value - The shared object this handle is for.
25
28
  * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.
26
- * @param routeContext - The parent IFluidHandleContext that has a route to this handle.
29
+ * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route
30
+ * to this handle.
27
31
  */
28
32
  constructor(value: ISharedObject, path: string, routeContext: IFluidHandleContext);
29
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,mBAAmB,EACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;GAOG;AACH,qBAAa,kBAAmB,SAAQ,iBAAiB,CAAC,aAAa,CAAC;IAehE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa;IAd3C;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED;;;;;OAKG;gBAEoB,KAAK,EAAE,aAAa,EACvC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB;IAKrC;;;OAGG;IACI,WAAW,IAAI,IAAI;CAI7B"}
1
+ {"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;;;;GAUG;AACH,qBAAa,kBAAmB,SAAQ,iBAAiB,CAAC,aAAa,CAAC;IAgBhE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa;IAf3C;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED;;;;;;OAMG;gBAEoB,KAAK,EAAE,aAAa,EACvC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB;IAKrC;;;OAGG;IACI,WAAW,IAAI,IAAI;CAI7B"}
package/dist/handle.js CHANGED
@@ -7,19 +7,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.SharedObjectHandle = void 0;
8
8
  const datastore_1 = require("@fluidframework/datastore");
9
9
  /**
10
- * Handle for shared object
11
- * This object is used for already loaded (in-memory) shared object
12
- * and is used only for serialization purposes.
13
- * De-serialization process goes through FluidObjectHandle and request flow:
14
- * FluidDataStoreRuntime.request() recognizes requests in the form of '/\<shared object id\>'
15
- * and loads shared object.
10
+ * Handle for a shared object.
11
+ *
12
+ * @remarks
13
+ *
14
+ * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.
15
+ *
16
+ * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:
17
+ * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of
18
+ * '/\<shared object id\>' and loads shared object.
16
19
  */
17
20
  class SharedObjectHandle extends datastore_1.FluidObjectHandle {
18
21
  /**
19
22
  * Creates a new SharedObjectHandle.
20
23
  * @param value - The shared object this handle is for.
21
24
  * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.
22
- * @param routeContext - The parent IFluidHandleContext that has a route to this handle.
25
+ * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route
26
+ * to this handle.
23
27
  */
24
28
  constructor(value, path, routeContext) {
25
29
  super(value, path, routeContext);
@@ -1 +1 @@
1
- {"version":3,"file":"handle.js","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAKH,yDAA8D;AAG9D;;;;;;;GAOG;AACH,MAAa,kBAAmB,SAAQ,6BAAgC;IAQpE;;;;;OAKG;IACH,YACuB,KAAoB,EACvC,IAAY,EACZ,YAAiC;QAEjC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;QAJd,UAAK,GAAL,KAAK,CAAe;IAK3C,CAAC;IAnBD;;OAEG;IACH,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;IAgBD;;;OAGG;IACI,WAAW;QACd,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC;CACJ;AA9BD,gDA8BC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n IFluidHandleContext,\n} from \"@fluidframework/core-interfaces\";\nimport { FluidObjectHandle } from \"@fluidframework/datastore\";\nimport { ISharedObject } from \"./types\";\n\n/**\n * Handle for shared object\n * This object is used for already loaded (in-memory) shared object\n * and is used only for serialization purposes.\n * De-serialization process goes through FluidObjectHandle and request flow:\n * FluidDataStoreRuntime.request() recognizes requests in the form of '/\\<shared object id\\>'\n * and loads shared object.\n */\nexport class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {\n /**\n * Whether services have been attached for the associated shared object.\n */\n public get isAttached(): boolean {\n return this.value.isAttached();\n }\n\n /**\n * Creates a new SharedObjectHandle.\n * @param value - The shared object this handle is for.\n * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.\n * @param routeContext - The parent IFluidHandleContext that has a route to this handle.\n */\n constructor(\n protected readonly value: ISharedObject,\n path: string,\n routeContext: IFluidHandleContext,\n ) {\n super(value, path, routeContext);\n }\n\n /**\n * Attaches all bound handles first (which may in turn attach further handles), then attaches this handle.\n * When attaching the handle, it registers the associated shared object.\n */\n public attachGraph(): void {\n this.value.bindToContext();\n super.attachGraph();\n }\n}\n"]}
1
+ {"version":3,"file":"handle.js","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,yDAA8D;AAG9D;;;;;;;;;;GAUG;AACH,MAAa,kBAAmB,SAAQ,6BAAgC;IAQpE;;;;;;OAMG;IACH,YACuB,KAAoB,EACvC,IAAY,EACZ,YAAiC;QAEjC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;QAJd,UAAK,GAAL,KAAK,CAAe;IAK3C,CAAC;IApBD;;OAEG;IACH,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;IAiBD;;;OAGG;IACI,WAAW;QACd,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC;CACJ;AA/BD,gDA+BC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidHandleContext } from \"@fluidframework/core-interfaces\";\nimport { FluidObjectHandle } from \"@fluidframework/datastore\";\nimport { ISharedObject } from \"./types\";\n\n/**\n * Handle for a shared object.\n *\n * @remarks\n *\n * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.\n *\n * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:\n * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of\n * '/\\<shared object id\\>' and loads shared object.\n */\nexport class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {\n /**\n * Whether services have been attached for the associated shared object.\n */\n public get isAttached(): boolean {\n return this.value.isAttached();\n }\n\n /**\n * Creates a new SharedObjectHandle.\n * @param value - The shared object this handle is for.\n * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.\n * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route\n * to this handle.\n */\n constructor(\n protected readonly value: ISharedObject,\n path: string,\n routeContext: IFluidHandleContext,\n ) {\n super(value, path, routeContext);\n }\n\n /**\n * Attaches all bound handles first (which may in turn attach further handles), then attaches this handle.\n * When attaching the handle, it registers the associated shared object.\n */\n public attachGraph(): void {\n this.value.bindToContext();\n super.attachGraph();\n }\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./serializer";
6
- export * from "./sharedObject";
7
- export * from "./summarySerializer";
8
- export * from "./types";
9
- export * from "./utils";
10
- export * from "./valueType";
5
+ export { FluidSerializer, IFluidSerializer, ISerializedHandle, isSerializedHandle } from "./serializer";
6
+ export { SharedObject, SharedObjectCore } from "./sharedObject";
7
+ export { SummarySerializer } from "./summarySerializer";
8
+ export { ISharedObject, ISharedObjectEvents } from "./types";
9
+ export { createSingleBlobSummary, makeHandlesSerializable, parseHandles, serializeHandles } from "./utils";
10
+ export { ValueType } from "./valueType";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACxG,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -3,21 +3,21 @@
3
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
4
4
  * Licensed under the MIT License.
5
5
  */
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
6
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./serializer"), exports);
18
- __exportStar(require("./sharedObject"), exports);
19
- __exportStar(require("./summarySerializer"), exports);
20
- __exportStar(require("./types"), exports);
21
- __exportStar(require("./utils"), exports);
22
- __exportStar(require("./valueType"), exports);
7
+ exports.ValueType = exports.serializeHandles = exports.parseHandles = exports.makeHandlesSerializable = exports.createSingleBlobSummary = exports.SummarySerializer = exports.SharedObjectCore = exports.SharedObject = exports.isSerializedHandle = exports.FluidSerializer = void 0;
8
+ var serializer_1 = require("./serializer");
9
+ Object.defineProperty(exports, "FluidSerializer", { enumerable: true, get: function () { return serializer_1.FluidSerializer; } });
10
+ Object.defineProperty(exports, "isSerializedHandle", { enumerable: true, get: function () { return serializer_1.isSerializedHandle; } });
11
+ var sharedObject_1 = require("./sharedObject");
12
+ Object.defineProperty(exports, "SharedObject", { enumerable: true, get: function () { return sharedObject_1.SharedObject; } });
13
+ Object.defineProperty(exports, "SharedObjectCore", { enumerable: true, get: function () { return sharedObject_1.SharedObjectCore; } });
14
+ var summarySerializer_1 = require("./summarySerializer");
15
+ Object.defineProperty(exports, "SummarySerializer", { enumerable: true, get: function () { return summarySerializer_1.SummarySerializer; } });
16
+ var utils_1 = require("./utils");
17
+ Object.defineProperty(exports, "createSingleBlobSummary", { enumerable: true, get: function () { return utils_1.createSingleBlobSummary; } });
18
+ Object.defineProperty(exports, "makeHandlesSerializable", { enumerable: true, get: function () { return utils_1.makeHandlesSerializable; } });
19
+ Object.defineProperty(exports, "parseHandles", { enumerable: true, get: function () { return utils_1.parseHandles; } });
20
+ Object.defineProperty(exports, "serializeHandles", { enumerable: true, get: function () { return utils_1.serializeHandles; } });
21
+ var valueType_1 = require("./valueType");
22
+ Object.defineProperty(exports, "ValueType", { enumerable: true, get: function () { return valueType_1.ValueType; } });
23
23
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;AAEH,+CAA6B;AAC7B,iDAA+B;AAC/B,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./serializer\";\nexport * from \"./sharedObject\";\nexport * from \"./summarySerializer\";\nexport * from \"./types\";\nexport * from \"./utils\";\nexport * from \"./valueType\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,2CAAwG;AAA/F,6GAAA,eAAe,OAAA;AAAuC,gHAAA,kBAAkB,OAAA;AACjF,+CAAgE;AAAvD,4GAAA,YAAY,OAAA;AAAE,gHAAA,gBAAgB,OAAA;AACvC,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAE1B,iCAA2G;AAAlG,gHAAA,uBAAuB,OAAA;AAAE,gHAAA,uBAAuB,OAAA;AAAE,qGAAA,YAAY,OAAA;AAAE,yGAAA,gBAAgB,OAAA;AACzF,yCAAwC;AAA/B,sGAAA,SAAS,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { FluidSerializer, IFluidSerializer, ISerializedHandle, isSerializedHandle } from \"./serializer\";\nexport { SharedObject, SharedObjectCore } from \"./sharedObject\";\nexport { SummarySerializer } from \"./summarySerializer\";\nexport { ISharedObject, ISharedObjectEvents } from \"./types\";\nexport { createSingleBlobSummary, makeHandlesSerializable, parseHandles, serializeHandles } from \"./utils\";\nexport { ValueType } from \"./valueType\";\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-internal.2.0.2";
8
+ export declare const pkgVersion = "2.0.0-internal.2.1.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/shared-object-base";
11
- exports.pkgVersion = "2.0.0-internal.2.0.2";
11
+ exports.pkgVersion = "2.0.0-internal.2.1.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,sBAAsB,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-internal.2.0.2\";\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,sBAAsB,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-internal.2.1.0\";\n"]}
package/lib/handle.d.ts CHANGED
@@ -6,12 +6,15 @@ import { IFluidHandleContext } from "@fluidframework/core-interfaces";
6
6
  import { FluidObjectHandle } from "@fluidframework/datastore";
7
7
  import { ISharedObject } from "./types";
8
8
  /**
9
- * Handle for shared object
10
- * This object is used for already loaded (in-memory) shared object
11
- * and is used only for serialization purposes.
12
- * De-serialization process goes through FluidObjectHandle and request flow:
13
- * FluidDataStoreRuntime.request() recognizes requests in the form of '/\<shared object id\>'
14
- * and loads shared object.
9
+ * Handle for a shared object.
10
+ *
11
+ * @remarks
12
+ *
13
+ * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.
14
+ *
15
+ * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:
16
+ * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of
17
+ * '/\<shared object id\>' and loads shared object.
15
18
  */
16
19
  export declare class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {
17
20
  protected readonly value: ISharedObject;
@@ -23,7 +26,8 @@ export declare class SharedObjectHandle extends FluidObjectHandle<ISharedObject>
23
26
  * Creates a new SharedObjectHandle.
24
27
  * @param value - The shared object this handle is for.
25
28
  * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.
26
- * @param routeContext - The parent IFluidHandleContext that has a route to this handle.
29
+ * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route
30
+ * to this handle.
27
31
  */
28
32
  constructor(value: ISharedObject, path: string, routeContext: IFluidHandleContext);
29
33
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,mBAAmB,EACtB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;GAOG;AACH,qBAAa,kBAAmB,SAAQ,iBAAiB,CAAC,aAAa,CAAC;IAehE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa;IAd3C;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED;;;;;OAKG;gBAEoB,KAAK,EAAE,aAAa,EACvC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB;IAKrC;;;OAGG;IACI,WAAW,IAAI,IAAI;CAI7B"}
1
+ {"version":3,"file":"handle.d.ts","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC;;;;;;;;;;GAUG;AACH,qBAAa,kBAAmB,SAAQ,iBAAiB,CAAC,aAAa,CAAC;IAgBhE,SAAS,CAAC,QAAQ,CAAC,KAAK,EAAE,aAAa;IAf3C;;OAEG;IACH,IAAW,UAAU,IAAI,OAAO,CAE/B;IAED;;;;;;OAMG;gBAEoB,KAAK,EAAE,aAAa,EACvC,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,mBAAmB;IAKrC;;;OAGG;IACI,WAAW,IAAI,IAAI;CAI7B"}
package/lib/handle.js CHANGED
@@ -4,19 +4,23 @@
4
4
  */
5
5
  import { FluidObjectHandle } from "@fluidframework/datastore";
6
6
  /**
7
- * Handle for shared object
8
- * This object is used for already loaded (in-memory) shared object
9
- * and is used only for serialization purposes.
10
- * De-serialization process goes through FluidObjectHandle and request flow:
11
- * FluidDataStoreRuntime.request() recognizes requests in the form of '/\<shared object id\>'
12
- * and loads shared object.
7
+ * Handle for a shared object.
8
+ *
9
+ * @remarks
10
+ *
11
+ * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.
12
+ *
13
+ * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:
14
+ * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of
15
+ * '/\<shared object id\>' and loads shared object.
13
16
  */
14
17
  export class SharedObjectHandle extends FluidObjectHandle {
15
18
  /**
16
19
  * Creates a new SharedObjectHandle.
17
20
  * @param value - The shared object this handle is for.
18
21
  * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.
19
- * @param routeContext - The parent IFluidHandleContext that has a route to this handle.
22
+ * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route
23
+ * to this handle.
20
24
  */
21
25
  constructor(value, path, routeContext) {
22
26
  super(value, path, routeContext);
package/lib/handle.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"handle.js","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D;;;;;;;GAOG;AACH,MAAM,OAAO,kBAAmB,SAAQ,iBAAgC;IAQpE;;;;;OAKG;IACH,YACuB,KAAoB,EACvC,IAAY,EACZ,YAAiC;QAEjC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;QAJd,UAAK,GAAL,KAAK,CAAe;IAK3C,CAAC;IAnBD;;OAEG;IACH,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;IAgBD;;;OAGG;IACI,WAAW;QACd,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC;CACJ","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n IFluidHandleContext,\n} from \"@fluidframework/core-interfaces\";\nimport { FluidObjectHandle } from \"@fluidframework/datastore\";\nimport { ISharedObject } from \"./types\";\n\n/**\n * Handle for shared object\n * This object is used for already loaded (in-memory) shared object\n * and is used only for serialization purposes.\n * De-serialization process goes through FluidObjectHandle and request flow:\n * FluidDataStoreRuntime.request() recognizes requests in the form of '/\\<shared object id\\>'\n * and loads shared object.\n */\nexport class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {\n /**\n * Whether services have been attached for the associated shared object.\n */\n public get isAttached(): boolean {\n return this.value.isAttached();\n }\n\n /**\n * Creates a new SharedObjectHandle.\n * @param value - The shared object this handle is for.\n * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.\n * @param routeContext - The parent IFluidHandleContext that has a route to this handle.\n */\n constructor(\n protected readonly value: ISharedObject,\n path: string,\n routeContext: IFluidHandleContext,\n ) {\n super(value, path, routeContext);\n }\n\n /**\n * Attaches all bound handles first (which may in turn attach further handles), then attaches this handle.\n * When attaching the handle, it registers the associated shared object.\n */\n public attachGraph(): void {\n this.value.bindToContext();\n super.attachGraph();\n }\n}\n"]}
1
+ {"version":3,"file":"handle.js","sourceRoot":"","sources":["../src/handle.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D;;;;;;;;;;GAUG;AACH,MAAM,OAAO,kBAAmB,SAAQ,iBAAgC;IAQpE;;;;;;OAMG;IACH,YACuB,KAAoB,EACvC,IAAY,EACZ,YAAiC;QAEjC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC;QAJd,UAAK,GAAL,KAAK,CAAe;IAK3C,CAAC;IApBD;;OAEG;IACH,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;IAiBD;;;OAGG;IACI,WAAW;QACd,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QAC3B,KAAK,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC;CACJ","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IFluidHandleContext } from \"@fluidframework/core-interfaces\";\nimport { FluidObjectHandle } from \"@fluidframework/datastore\";\nimport { ISharedObject } from \"./types\";\n\n/**\n * Handle for a shared object.\n *\n * @remarks\n *\n * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.\n *\n * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:\n * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of\n * '/\\<shared object id\\>' and loads shared object.\n */\nexport class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {\n /**\n * Whether services have been attached for the associated shared object.\n */\n public get isAttached(): boolean {\n return this.value.isAttached();\n }\n\n /**\n * Creates a new SharedObjectHandle.\n * @param value - The shared object this handle is for.\n * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.\n * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route\n * to this handle.\n */\n constructor(\n protected readonly value: ISharedObject,\n path: string,\n routeContext: IFluidHandleContext,\n ) {\n super(value, path, routeContext);\n }\n\n /**\n * Attaches all bound handles first (which may in turn attach further handles), then attaches this handle.\n * When attaching the handle, it registers the associated shared object.\n */\n public attachGraph(): void {\n this.value.bindToContext();\n super.attachGraph();\n }\n}\n"]}
package/lib/index.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./serializer";
6
- export * from "./sharedObject";
7
- export * from "./summarySerializer";
8
- export * from "./types";
9
- export * from "./utils";
10
- export * from "./valueType";
5
+ export { FluidSerializer, IFluidSerializer, ISerializedHandle, isSerializedHandle } from "./serializer";
6
+ export { SharedObject, SharedObjectCore } from "./sharedObject";
7
+ export { SummarySerializer } from "./summarySerializer";
8
+ export { ISharedObject, ISharedObjectEvents } from "./types";
9
+ export { createSingleBlobSummary, makeHandlesSerializable, parseHandles, serializeHandles } from "./utils";
10
+ export { ValueType } from "./valueType";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACxG,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
package/lib/index.js CHANGED
@@ -2,10 +2,9 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./serializer";
6
- export * from "./sharedObject";
7
- export * from "./summarySerializer";
8
- export * from "./types";
9
- export * from "./utils";
10
- export * from "./valueType";
5
+ export { FluidSerializer, isSerializedHandle } from "./serializer";
6
+ export { SharedObject, SharedObjectCore } from "./sharedObject";
7
+ export { SummarySerializer } from "./summarySerializer";
8
+ export { createSingleBlobSummary, makeHandlesSerializable, parseHandles, serializeHandles } from "./utils";
9
+ export { ValueType } from "./valueType";
11
10
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./serializer\";\nexport * from \"./sharedObject\";\nexport * from \"./summarySerializer\";\nexport * from \"./types\";\nexport * from \"./utils\";\nexport * from \"./valueType\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAuC,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACxG,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3G,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { FluidSerializer, IFluidSerializer, ISerializedHandle, isSerializedHandle } from \"./serializer\";\nexport { SharedObject, SharedObjectCore } from \"./sharedObject\";\nexport { SummarySerializer } from \"./summarySerializer\";\nexport { ISharedObject, ISharedObjectEvents } from \"./types\";\nexport { createSingleBlobSummary, makeHandlesSerializable, parseHandles, serializeHandles } from \"./utils\";\nexport { ValueType } from \"./valueType\";\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-internal.2.0.2";
8
+ export declare const pkgVersion = "2.0.0-internal.2.1.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/shared-object-base";
8
- export const pkgVersion = "2.0.0-internal.2.0.2";
8
+ export const pkgVersion = "2.0.0-internal.2.1.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,sBAAsB,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-internal.2.0.2\";\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,sBAAsB,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-internal.2.1.0\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/shared-object-base",
3
- "version": "2.0.0-internal.2.0.2",
3
+ "version": "2.0.0-internal.2.1.0",
4
4
  "description": "Fluid base class for shared distributed data structures",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -36,8 +36,6 @@
36
36
  "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
37
37
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
38
38
  "tsc": "tsc",
39
- "tsfmt": "tsfmt --verify",
40
- "tsfmt:fix": "tsfmt --replace",
41
39
  "typetests:gen": "fluid-type-validator -g -d ."
42
40
  },
43
41
  "nyc": {
@@ -63,25 +61,26 @@
63
61
  "dependencies": {
64
62
  "@fluidframework/common-definitions": "^0.20.1",
65
63
  "@fluidframework/common-utils": "^1.0.0",
66
- "@fluidframework/container-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
67
- "@fluidframework/container-runtime": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
68
- "@fluidframework/container-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
69
- "@fluidframework/core-interfaces": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
70
- "@fluidframework/datastore": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
71
- "@fluidframework/datastore-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
64
+ "@fluidframework/container-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
65
+ "@fluidframework/container-runtime": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
66
+ "@fluidframework/container-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
67
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
68
+ "@fluidframework/datastore": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
69
+ "@fluidframework/datastore-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
72
70
  "@fluidframework/protocol-definitions": "^1.1.0",
73
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
74
- "@fluidframework/runtime-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
75
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
71
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
72
+ "@fluidframework/runtime-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
73
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
76
74
  "uuid": "^8.3.1"
77
75
  },
78
76
  "devDependencies": {
79
- "@fluidframework/build-common": "^1.0.0",
80
- "@fluidframework/build-tools": "^0.4.6000",
81
- "@fluidframework/eslint-config-fluid": "^1.0.0",
82
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
77
+ "@fluid-tools/build-cli": "^0.5.0",
78
+ "@fluidframework/build-common": "^1.1.0",
79
+ "@fluidframework/build-tools": "^0.5.0",
80
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
81
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
83
82
  "@fluidframework/shared-object-base-previous": "npm:@fluidframework/shared-object-base@2.0.0-internal.2.0.0",
84
- "@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
83
+ "@fluidframework/test-runtime-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
85
84
  "@microsoft/api-extractor": "^7.22.2",
86
85
  "@rushstack/eslint-config": "^2.5.1",
87
86
  "@types/benchmark": "^2.1.0",
@@ -96,11 +95,10 @@
96
95
  "nyc": "^15.0.0",
97
96
  "rimraf": "^2.6.2",
98
97
  "ts-node": "^7.0.1",
99
- "typescript": "~4.5.5",
100
- "typescript-formatter": "7.1.0"
98
+ "typescript": "~4.5.5"
101
99
  },
102
100
  "typeValidation": {
103
- "version": "2.0.0-internal.2.0.1",
101
+ "version": "2.0.0-internal.2.1.0",
104
102
  "broken": {}
105
103
  }
106
104
  }
package/src/handle.ts CHANGED
@@ -3,19 +3,20 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- import {
7
- IFluidHandleContext,
8
- } from "@fluidframework/core-interfaces";
6
+ import { IFluidHandleContext } from "@fluidframework/core-interfaces";
9
7
  import { FluidObjectHandle } from "@fluidframework/datastore";
10
8
  import { ISharedObject } from "./types";
11
9
 
12
10
  /**
13
- * Handle for shared object
14
- * This object is used for already loaded (in-memory) shared object
15
- * and is used only for serialization purposes.
16
- * De-serialization process goes through FluidObjectHandle and request flow:
17
- * FluidDataStoreRuntime.request() recognizes requests in the form of '/\<shared object id\>'
18
- * and loads shared object.
11
+ * Handle for a shared object.
12
+ *
13
+ * @remarks
14
+ *
15
+ * This object is used for already loaded (in-memory) shared objects and is used only for serialization purposes.
16
+ *
17
+ * De-serialization process goes through {@link @fluidframework/datastore#FluidObjectHandle}, and request flow:
18
+ * {@link @fluidframework/datastore#FluidDataStoreRuntime.request} recognizes requests in the form of
19
+ * '/\<shared object id\>' and loads shared object.
19
20
  */
20
21
  export class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {
21
22
  /**
@@ -29,7 +30,8 @@ export class SharedObjectHandle extends FluidObjectHandle<ISharedObject> {
29
30
  * Creates a new SharedObjectHandle.
30
31
  * @param value - The shared object this handle is for.
31
32
  * @param path - The id of the shared object. It is also the path to this object relative to the routeContext.
32
- * @param routeContext - The parent IFluidHandleContext that has a route to this handle.
33
+ * @param routeContext - The parent {@link @fluidframework/core-interfaces#IFluidHandleContext} that has a route
34
+ * to this handle.
33
35
  */
34
36
  constructor(
35
37
  protected readonly value: ISharedObject,
package/src/index.ts CHANGED
@@ -3,9 +3,9 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- export * from "./serializer";
7
- export * from "./sharedObject";
8
- export * from "./summarySerializer";
9
- export * from "./types";
10
- export * from "./utils";
11
- export * from "./valueType";
6
+ export { FluidSerializer, IFluidSerializer, ISerializedHandle, isSerializedHandle } from "./serializer";
7
+ export { SharedObject, SharedObjectCore } from "./sharedObject";
8
+ export { SummarySerializer } from "./summarySerializer";
9
+ export { ISharedObject, ISharedObjectEvents } from "./types";
10
+ export { createSingleBlobSummary, makeHandlesSerializable, parseHandles, serializeHandles } from "./utils";
11
+ export { ValueType } from "./valueType";
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/shared-object-base";
9
- export const pkgVersion = "2.0.0-internal.2.0.2";
9
+ export const pkgVersion = "2.0.0-internal.2.1.0";