@uniformdev/canvas 18.32.1-alpha.26 → 18.33.1-alpha.7

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
@@ -541,17 +541,9 @@ var CanvasClient = class extends import_api.ApiClient {
541
541
  getCompositionByNodePath(options) {
542
542
  return this.getOneComposition(options);
543
543
  }
544
- /** @deprecated use getCompositionByNodePath instead */
545
- unstable_getCompositionByNodePath(options) {
546
- return this.getOneComposition(options);
547
- }
548
544
  getCompositionByNodeId(options) {
549
545
  return this.getOneComposition(options);
550
546
  }
551
- /** @deprecated Use getCompositionByNodeId instead */
552
- unstable_getCompositionByNodeId(options) {
553
- return this.getOneComposition(options);
554
- }
555
547
  getCompositionBySlug(options) {
556
548
  return this.getOneComposition(options);
557
549
  }
@@ -559,13 +551,13 @@ var CanvasClient = class extends import_api.ApiClient {
559
551
  return this.getOneComposition(options);
560
552
  }
561
553
  getOneComposition({
562
- unstable_resolveData: resolveData,
554
+ skipDataResolution,
563
555
  unstable_dynamicVariables: dynamicVariables,
564
- unstable_diagnostics: diagnostics,
556
+ diagnostics,
565
557
  ...params
566
558
  }) {
567
559
  const { projectId } = this.options;
568
- if (!resolveData) {
560
+ if (skipDataResolution) {
569
561
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
570
562
  }
571
563
  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.32.1-alpha.26+371f15eeb",
3
+ "version": "18.33.1-alpha.7+7127237a1",
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.32.1-alpha.26+371f15eeb"
50
+ "@uniformdev/context": "18.33.1-alpha.7+7127237a1"
51
51
  },
52
52
  "files": [
53
53
  "/dist"
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "371f15eeb2def5acf3000d0e6efb6567c1ec3395"
58
+ "gitHead": "7127237a1e099d2a11fa8c06d49cb01cf16c0852"
59
59
  }