@uniformdev/canvas 18.35.1-alpha.18 → 18.35.1-alpha.22

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,17 +470,9 @@ 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
- }
477
473
  getCompositionByNodeId(options) {
478
474
  return this.getOneComposition(options);
479
475
  }
480
- /** @deprecated Use getCompositionByNodeId instead */
481
- unstable_getCompositionByNodeId(options) {
482
- return this.getOneComposition(options);
483
- }
484
476
  getCompositionBySlug(options) {
485
477
  return this.getOneComposition(options);
486
478
  }
@@ -488,13 +480,13 @@ var CanvasClient = class extends ApiClient {
488
480
  return this.getOneComposition(options);
489
481
  }
490
482
  getOneComposition({
491
- unstable_resolveData: resolveData,
483
+ skipDataResolution,
492
484
  unstable_dynamicVariables: dynamicVariables,
493
- unstable_diagnostics: diagnostics,
485
+ diagnostics,
494
486
  ...params
495
487
  }) {
496
488
  const { projectId } = this.options;
497
- if (!resolveData) {
489
+ if (skipDataResolution) {
498
490
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
499
491
  }
500
492
  const edgeParams = {
package/dist/index.js CHANGED
@@ -548,17 +548,9 @@ var CanvasClient = class extends import_api.ApiClient {
548
548
  getCompositionByNodePath(options) {
549
549
  return this.getOneComposition(options);
550
550
  }
551
- /** @deprecated use getCompositionByNodePath instead */
552
- unstable_getCompositionByNodePath(options) {
553
- return this.getOneComposition(options);
554
- }
555
551
  getCompositionByNodeId(options) {
556
552
  return this.getOneComposition(options);
557
553
  }
558
- /** @deprecated Use getCompositionByNodeId instead */
559
- unstable_getCompositionByNodeId(options) {
560
- return this.getOneComposition(options);
561
- }
562
554
  getCompositionBySlug(options) {
563
555
  return this.getOneComposition(options);
564
556
  }
@@ -566,13 +558,13 @@ var CanvasClient = class extends import_api.ApiClient {
566
558
  return this.getOneComposition(options);
567
559
  }
568
560
  getOneComposition({
569
- unstable_resolveData: resolveData,
561
+ skipDataResolution,
570
562
  unstable_dynamicVariables: dynamicVariables,
571
- unstable_diagnostics: diagnostics,
563
+ diagnostics,
572
564
  ...params
573
565
  }) {
574
566
  const { projectId } = this.options;
575
- if (!resolveData) {
567
+ if (skipDataResolution) {
576
568
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
577
569
  }
578
570
  const edgeParams = {
package/dist/index.mjs CHANGED
@@ -470,17 +470,9 @@ 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
- }
477
473
  getCompositionByNodeId(options) {
478
474
  return this.getOneComposition(options);
479
475
  }
480
- /** @deprecated Use getCompositionByNodeId instead */
481
- unstable_getCompositionByNodeId(options) {
482
- return this.getOneComposition(options);
483
- }
484
476
  getCompositionBySlug(options) {
485
477
  return this.getOneComposition(options);
486
478
  }
@@ -488,13 +480,13 @@ var CanvasClient = class extends ApiClient {
488
480
  return this.getOneComposition(options);
489
481
  }
490
482
  getOneComposition({
491
- unstable_resolveData: resolveData,
483
+ skipDataResolution,
492
484
  unstable_dynamicVariables: dynamicVariables,
493
- unstable_diagnostics: diagnostics,
485
+ diagnostics,
494
486
  ...params
495
487
  }) {
496
488
  const { projectId } = this.options;
497
- if (!resolveData) {
489
+ if (skipDataResolution) {
498
490
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
499
491
  }
500
492
  const edgeParams = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "18.35.1-alpha.18+4510fc3ce",
3
+ "version": "18.35.1-alpha.22+55597238b",
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.18+4510fc3ce"
50
+ "@uniformdev/context": "18.35.1-alpha.22+55597238b"
51
51
  },
52
52
  "files": [
53
53
  "/dist"
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "4510fc3ce951613eb00718ee1a8eea3e3d63893c"
58
+ "gitHead": "55597238baeb37d7e7a5e2dca5e3b0953fd8e5c4"
59
59
  }