@uniformdev/canvas 18.35.1-alpha.27 → 18.38.2-alpha.6

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.esm.js CHANGED
@@ -470,9 +470,17 @@ var CanvasClient = class extends ApiClient {
470
470
  getCompositionByNodePath(options) {
471
471
  return this.getOneComposition(options);
472
472
  }
473
+ /** @deprecated use getCompositionByNodePath instead */
474
+ unstable_getCompositionByNodePath(options) {
475
+ return this.getOneComposition(options);
476
+ }
473
477
  getCompositionByNodeId(options) {
474
478
  return this.getOneComposition(options);
475
479
  }
480
+ /** @deprecated Use getCompositionByNodeId instead */
481
+ unstable_getCompositionByNodeId(options) {
482
+ return this.getOneComposition(options);
483
+ }
476
484
  getCompositionBySlug(options) {
477
485
  return this.getOneComposition(options);
478
486
  }
@@ -480,13 +488,13 @@ var CanvasClient = class extends ApiClient {
480
488
  return this.getOneComposition(options);
481
489
  }
482
490
  getOneComposition({
483
- skipDataResolution,
491
+ unstable_resolveData: resolveData,
484
492
  unstable_dynamicVariables: dynamicVariables,
485
- diagnostics,
493
+ unstable_diagnostics: diagnostics,
486
494
  ...params
487
495
  }) {
488
496
  const { projectId } = this.options;
489
- if (skipDataResolution) {
497
+ if (!resolveData) {
490
498
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
491
499
  }
492
500
  const edgeParams = {
package/dist/index.js CHANGED
@@ -545,9 +545,17 @@ var CanvasClient = class extends import_api.ApiClient {
545
545
  getCompositionByNodePath(options) {
546
546
  return this.getOneComposition(options);
547
547
  }
548
+ /** @deprecated use getCompositionByNodePath instead */
549
+ unstable_getCompositionByNodePath(options) {
550
+ return this.getOneComposition(options);
551
+ }
548
552
  getCompositionByNodeId(options) {
549
553
  return this.getOneComposition(options);
550
554
  }
555
+ /** @deprecated Use getCompositionByNodeId instead */
556
+ unstable_getCompositionByNodeId(options) {
557
+ return this.getOneComposition(options);
558
+ }
551
559
  getCompositionBySlug(options) {
552
560
  return this.getOneComposition(options);
553
561
  }
@@ -555,13 +563,13 @@ var CanvasClient = class extends import_api.ApiClient {
555
563
  return this.getOneComposition(options);
556
564
  }
557
565
  getOneComposition({
558
- skipDataResolution,
566
+ unstable_resolveData: resolveData,
559
567
  unstable_dynamicVariables: dynamicVariables,
560
- diagnostics,
568
+ unstable_diagnostics: diagnostics,
561
569
  ...params
562
570
  }) {
563
571
  const { projectId } = this.options;
564
- if (skipDataResolution) {
572
+ if (!resolveData) {
565
573
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
566
574
  }
567
575
  const edgeParams = {
package/dist/index.mjs CHANGED
@@ -470,9 +470,17 @@ var CanvasClient = class extends ApiClient {
470
470
  getCompositionByNodePath(options) {
471
471
  return this.getOneComposition(options);
472
472
  }
473
+ /** @deprecated use getCompositionByNodePath instead */
474
+ unstable_getCompositionByNodePath(options) {
475
+ return this.getOneComposition(options);
476
+ }
473
477
  getCompositionByNodeId(options) {
474
478
  return this.getOneComposition(options);
475
479
  }
480
+ /** @deprecated Use getCompositionByNodeId instead */
481
+ unstable_getCompositionByNodeId(options) {
482
+ return this.getOneComposition(options);
483
+ }
476
484
  getCompositionBySlug(options) {
477
485
  return this.getOneComposition(options);
478
486
  }
@@ -480,13 +488,13 @@ var CanvasClient = class extends ApiClient {
480
488
  return this.getOneComposition(options);
481
489
  }
482
490
  getOneComposition({
483
- skipDataResolution,
491
+ unstable_resolveData: resolveData,
484
492
  unstable_dynamicVariables: dynamicVariables,
485
- diagnostics,
493
+ unstable_diagnostics: diagnostics,
486
494
  ...params
487
495
  }) {
488
496
  const { projectId } = this.options;
489
- if (skipDataResolution) {
497
+ if (!resolveData) {
490
498
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
491
499
  }
492
500
  const edgeParams = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "18.35.1-alpha.27+183715405",
3
+ "version": "18.38.2-alpha.6+d4938f167",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "pusher-js": "8.0.1"
48
48
  },
49
49
  "dependencies": {
50
- "@uniformdev/context": "18.35.1-alpha.27+183715405"
50
+ "@uniformdev/context": "18.38.2-alpha.6+d4938f167"
51
51
  },
52
52
  "files": [
53
53
  "/dist"
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "18371540510874773bba7b3e0fbb0c6427cb8e07"
58
+ "gitHead": "d4938f167d196bbd523e6cdd031f56fab4ceebf6"
59
59
  }