@uniformdev/canvas 19.20.0 → 19.21.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/index.d.ts CHANGED
@@ -199,7 +199,8 @@ interface components$4 {
199
199
  /**
200
200
  * @description Unique identifier of the component within the composition.
201
201
  * No assumptions should be made about the format of this value other than "it will be unique."
202
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
202
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
203
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
203
204
  */
204
205
  _id?: string;
205
206
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -812,7 +813,8 @@ interface external$9 {
812
813
  /**
813
814
  * @description Unique identifier of the component within the composition.
814
815
  * No assumptions should be made about the format of this value other than "it will be unique."
815
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
816
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
817
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
816
818
  */
817
819
  _id?: string;
818
820
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -1436,7 +1438,8 @@ interface external$8 {
1436
1438
  /**
1437
1439
  * @description Unique identifier of the component within the composition.
1438
1440
  * No assumptions should be made about the format of this value other than "it will be unique."
1439
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
1441
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
1442
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
1440
1443
  */
1441
1444
  _id?: string;
1442
1445
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -1991,7 +1994,8 @@ interface external$7 {
1991
1994
  /**
1992
1995
  * @description Unique identifier of the component within the composition.
1993
1996
  * No assumptions should be made about the format of this value other than "it will be unique."
1994
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
1997
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
1998
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
1995
1999
  */
1996
2000
  _id?: string;
1997
2001
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -2581,7 +2585,8 @@ interface external$6 {
2581
2585
  /**
2582
2586
  * @description Unique identifier of the component within the composition.
2583
2587
  * No assumptions should be made about the format of this value other than "it will be unique."
2584
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
2588
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
2589
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
2585
2590
  */
2586
2591
  _id?: string;
2587
2592
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -3557,7 +3562,8 @@ interface external$5 {
3557
3562
  /**
3558
3563
  * @description Unique identifier of the component within the composition.
3559
3564
  * No assumptions should be made about the format of this value other than "it will be unique."
3560
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
3565
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
3566
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
3561
3567
  */
3562
3568
  _id?: string;
3563
3569
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -4358,7 +4364,8 @@ interface external$3 {
4358
4364
  /**
4359
4365
  * @description Unique identifier of the component within the composition.
4360
4366
  * No assumptions should be made about the format of this value other than "it will be unique."
4361
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
4367
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
4368
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
4362
4369
  */
4363
4370
  _id?: string;
4364
4371
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -5775,7 +5782,8 @@ interface external$2 {
5775
5782
  /**
5776
5783
  * @description Unique identifier of the component within the composition.
5777
5784
  * No assumptions should be made about the format of this value other than "it will be unique."
5778
- * This is not set unless specifically requested via `withComponentIDs` API parameter.
5785
+ * This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
5786
+ * When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
5779
5787
  */
5780
5788
  _id?: string;
5781
5789
  /** @description Indicates this component instance should be sourced from a pattern library pattern. */
@@ -6788,7 +6796,7 @@ type DataResolutionParameters = {
6788
6796
  diagnostics?: boolean;
6789
6797
  };
6790
6798
  /** Types of issue that can occur when fetching composition data */
6791
- type CompositionIssue = CompositionPatternIssue | DataResourceIssue | DataElementBindingIssue | DataResourceInputIssue | DataResolutionConfigIssue | OverrideIssue;
6799
+ type CompositionIssue = CompositionPatternIssue | DataResourceIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
6792
6800
  type CompositionIssueCore = components$1['schemas']['CompositionIssue'];
6793
6801
  /** An error that occured resolving a pattern that is referenced on the composition */
6794
6802
  type CompositionPatternIssue = CompositionIssueCore & {
@@ -6811,20 +6819,14 @@ type DataResourceIssue = CompositionIssueCore & {
6811
6819
  * An issue that occurred while binding dynamic inputs to composition data resources,
6812
6820
  * specifically when an expected dynamic input did not have a value.
6813
6821
  */
6814
- type DataResourceInputIssue = CompositionIssueCore & {
6822
+ type DynamicInputIssue = CompositionIssueCore & {
6815
6823
  type: 'input';
6816
- inputName: string;
6817
6824
  };
6818
6825
  /** Error in data resolution configuration (internal error) */
6819
6826
  type DataResolutionConfigIssue = {
6820
6827
  message: string;
6821
6828
  type: 'config';
6822
6829
  };
6823
- /** Error in applying component overrides */
6824
- type OverrideIssue = CompositionIssueCore & {
6825
- message: string;
6826
- type: 'override';
6827
- };
6828
6830
  /** Diagnostics about edge request processing */
6829
6831
  type CompositionDiagnostics = components$1['schemas']['CompositionDiagnostics'];
6830
6832
  /** Diagnostic data about the load performance of attached composition datas */
@@ -7926,7 +7928,7 @@ type ResolvedRouteGetResponse = RouteGetResponseNotFound | RouteGetResponseRedir
7926
7928
  * Resolves a route using Uniform Project Map and Uniform Redirects,
7927
7929
  * returning a composition, redirection, or not found result.
7928
7930
  */
7929
- declare class unstable_RouteClient extends ApiClient<RouteClientOptions> {
7931
+ declare class RouteClient extends ApiClient<RouteClientOptions> {
7930
7932
  private edgeApiHost;
7931
7933
  constructor(options: RouteClientOptions);
7932
7934
  /** Fetches lists of Canvas compositions, optionally by type */
@@ -7941,7 +7943,6 @@ type BindVariablesResult<TValue> = {
7941
7943
  type BindVariablesToObjectOptions<T> = {
7942
7944
  /** The object to bind variables to. Only strings or objects are bound. */
7943
7945
  value: T;
7944
- recursivePath?: string;
7945
7946
  } & Omit<BindVariablesOptions, 'value'>;
7946
7947
  /**
7947
7948
  * Binds composition variables to an object whose string keys may have variable expressions in them.
@@ -8192,4 +8193,4 @@ declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined):
8192
8193
 
8193
8194
  declare const CanvasClientError: typeof ApiClientError;
8194
8195
 
8195
- export { AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceInputIssue, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideIssue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, subscribeToComposition, unstable_CompositionRelationshipClient, unstable_RouteClient, walkComponentTree };
8196
+ export { AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
package/dist/index.esm.js CHANGED
@@ -1557,7 +1557,7 @@ function subscribeToComposition({
1557
1557
  // src/RouteClient.ts
1558
1558
  import { ApiClient as ApiClient5 } from "@uniformdev/context/api";
1559
1559
  var ROUTE_URL = "/api/v1/route";
1560
- var unstable_RouteClient = class extends ApiClient5 {
1560
+ var RouteClient = class extends ApiClient5 {
1561
1561
  constructor(options) {
1562
1562
  var _a;
1563
1563
  if (!options.limitPolicy) {
@@ -1631,7 +1631,7 @@ function bindVariablesToObjectRecursive({
1631
1631
  }
1632
1632
  return;
1633
1633
  }
1634
- const childBind = bindVariablesToObject({
1634
+ const childBind = bindVariablesToObjectRecursive({
1635
1635
  ...bindVariablesOptions,
1636
1636
  value: oldValue,
1637
1637
  recursivePath: currentObjectPath
@@ -1746,6 +1746,7 @@ export {
1746
1746
  IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
1747
1747
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
1748
1748
  PLACEHOLDER_ID,
1749
+ RouteClient,
1749
1750
  UncachedCanvasClient,
1750
1751
  UniqueBatchEntries,
1751
1752
  bindVariables,
@@ -1780,6 +1781,5 @@ export {
1780
1781
  nullLimitPolicy,
1781
1782
  subscribeToComposition,
1782
1783
  unstable_CompositionRelationshipClient,
1783
- unstable_RouteClient,
1784
1784
  walkComponentTree
1785
1785
  };
package/dist/index.js CHANGED
@@ -309,6 +309,7 @@ __export(src_exports, {
309
309
  IN_CONTEXT_EDITOR_QUERY_STRING_PARAM: () => IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
310
310
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE: () => IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
311
311
  PLACEHOLDER_ID: () => PLACEHOLDER_ID,
312
+ RouteClient: () => RouteClient,
312
313
  UncachedCanvasClient: () => UncachedCanvasClient,
313
314
  UniqueBatchEntries: () => UniqueBatchEntries,
314
315
  bindVariables: () => bindVariables,
@@ -343,7 +344,6 @@ __export(src_exports, {
343
344
  nullLimitPolicy: () => nullLimitPolicy,
344
345
  subscribeToComposition: () => subscribeToComposition,
345
346
  unstable_CompositionRelationshipClient: () => unstable_CompositionRelationshipClient,
346
- unstable_RouteClient: () => unstable_RouteClient,
347
347
  walkComponentTree: () => walkComponentTree
348
348
  });
349
349
  module.exports = __toCommonJS(src_exports);
@@ -1640,7 +1640,7 @@ function subscribeToComposition({
1640
1640
  // src/RouteClient.ts
1641
1641
  var import_api5 = require("@uniformdev/context/api");
1642
1642
  var ROUTE_URL = "/api/v1/route";
1643
- var unstable_RouteClient = class extends import_api5.ApiClient {
1643
+ var RouteClient = class extends import_api5.ApiClient {
1644
1644
  constructor(options) {
1645
1645
  var _a;
1646
1646
  if (!options.limitPolicy) {
@@ -1714,7 +1714,7 @@ function bindVariablesToObjectRecursive({
1714
1714
  }
1715
1715
  return;
1716
1716
  }
1717
- const childBind = bindVariablesToObject({
1717
+ const childBind = bindVariablesToObjectRecursive({
1718
1718
  ...bindVariablesOptions,
1719
1719
  value: oldValue,
1720
1720
  recursivePath: currentObjectPath
@@ -1830,6 +1830,7 @@ var CanvasClientError = import_api6.ApiClientError;
1830
1830
  IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
1831
1831
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
1832
1832
  PLACEHOLDER_ID,
1833
+ RouteClient,
1833
1834
  UncachedCanvasClient,
1834
1835
  UniqueBatchEntries,
1835
1836
  bindVariables,
@@ -1864,6 +1865,5 @@ var CanvasClientError = import_api6.ApiClientError;
1864
1865
  nullLimitPolicy,
1865
1866
  subscribeToComposition,
1866
1867
  unstable_CompositionRelationshipClient,
1867
- unstable_RouteClient,
1868
1868
  walkComponentTree
1869
1869
  });
package/dist/index.mjs CHANGED
@@ -1557,7 +1557,7 @@ function subscribeToComposition({
1557
1557
  // src/RouteClient.ts
1558
1558
  import { ApiClient as ApiClient5 } from "@uniformdev/context/api";
1559
1559
  var ROUTE_URL = "/api/v1/route";
1560
- var unstable_RouteClient = class extends ApiClient5 {
1560
+ var RouteClient = class extends ApiClient5 {
1561
1561
  constructor(options) {
1562
1562
  var _a;
1563
1563
  if (!options.limitPolicy) {
@@ -1631,7 +1631,7 @@ function bindVariablesToObjectRecursive({
1631
1631
  }
1632
1632
  return;
1633
1633
  }
1634
- const childBind = bindVariablesToObject({
1634
+ const childBind = bindVariablesToObjectRecursive({
1635
1635
  ...bindVariablesOptions,
1636
1636
  value: oldValue,
1637
1637
  recursivePath: currentObjectPath
@@ -1746,6 +1746,7 @@ export {
1746
1746
  IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
1747
1747
  IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
1748
1748
  PLACEHOLDER_ID,
1749
+ RouteClient,
1749
1750
  UncachedCanvasClient,
1750
1751
  UniqueBatchEntries,
1751
1752
  bindVariables,
@@ -1780,6 +1781,5 @@ export {
1780
1781
  nullLimitPolicy,
1781
1782
  subscribeToComposition,
1782
1783
  unstable_CompositionRelationshipClient,
1783
- unstable_RouteClient,
1784
1784
  walkComponentTree
1785
1785
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.20.0",
3
+ "version": "19.21.0",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "pusher-js": "8.0.1"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/context": "19.20.0",
41
+ "@uniformdev/context": "19.21.0",
42
42
  "immer": "9.0.21"
43
43
  },
44
44
  "files": [
@@ -47,5 +47,5 @@
47
47
  "publishConfig": {
48
48
  "access": "public"
49
49
  },
50
- "gitHead": "eb731fec3a9f35b9cc6d218e2a77861ccf00441a"
50
+ "gitHead": "3db4c0f1c775a5cf9677c6df294322cfbf79611e"
51
51
  }