@uniformdev/canvas 18.38.1-alpha.10 → 19.0.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.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
@@ -545,17 +545,9 @@ 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
- }
552
548
  getCompositionByNodeId(options) {
553
549
  return this.getOneComposition(options);
554
550
  }
555
- /** @deprecated Use getCompositionByNodeId instead */
556
- unstable_getCompositionByNodeId(options) {
557
- return this.getOneComposition(options);
558
- }
559
551
  getCompositionBySlug(options) {
560
552
  return this.getOneComposition(options);
561
553
  }
@@ -563,13 +555,13 @@ var CanvasClient = class extends import_api.ApiClient {
563
555
  return this.getOneComposition(options);
564
556
  }
565
557
  getOneComposition({
566
- unstable_resolveData: resolveData,
558
+ skipDataResolution,
567
559
  unstable_dynamicVariables: dynamicVariables,
568
- unstable_diagnostics: diagnostics,
560
+ diagnostics,
569
561
  ...params
570
562
  }) {
571
563
  const { projectId } = this.options;
572
- if (!resolveData) {
564
+ if (skipDataResolution) {
573
565
  return this.apiClient(this.createUrl(CANVAS_URL, { ...params, projectId }));
574
566
  }
575
567
  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.38.1-alpha.10+13f006c1d",
3
+ "version": "19.0.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",
@@ -47,7 +47,7 @@
47
47
  "pusher-js": "8.0.1"
48
48
  },
49
49
  "dependencies": {
50
- "@uniformdev/context": "18.38.1-alpha.10+13f006c1d"
50
+ "@uniformdev/context": "19.0.0"
51
51
  },
52
52
  "files": [
53
53
  "/dist"
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "13f006c1d5ebbe593d33f3446a8de84b4a2d42d1"
58
+ "gitHead": "e104985924b24a8de1d8dcfcca6c9167611adf85"
59
59
  }