@uniformdev/canvas-vue 19.1.0 → 19.2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -346,7 +346,7 @@ type UseUniformContextualEditingProps = {
346
346
  * WARNING: This enhancer will run on the client side. Make sure you're not exposing any secrets.
347
347
  * You can use `createUniformApiEnhancer` to create an enhancer based on an API route.
348
348
  */
349
- enhance?: (compositionUpdateMessage: UpdateCompositionMessage) => RootComponentInstance | Promise<RootComponentInstance>;
349
+ enhance?: (compositionUpdateMessage: Pick<UpdateCompositionMessage, 'composition' | 'hash'>) => RootComponentInstance | Promise<RootComponentInstance>;
350
350
  };
351
351
  /**
352
352
  * Adds contextual editing capability to a Uniform app.
@@ -734,7 +734,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
734
734
  default: string;
735
735
  };
736
736
  contextualEditingEnhancer: {
737
- type: PropType<((compositionUpdateMessage: _uniformdev_canvas.UpdateCompositionMessage) => {
737
+ type: PropType<((compositionUpdateMessage: Pick<_uniformdev_canvas.UpdateCompositionMessage, "composition" | "hash">) => {
738
738
  type: string;
739
739
  parameters?: {
740
740
  [key: string]: {
@@ -1210,7 +1210,7 @@ declare const UniformComposition: vue_demi.DefineComponent<{
1210
1210
  default: string;
1211
1211
  };
1212
1212
  contextualEditingEnhancer: {
1213
- type: PropType<((compositionUpdateMessage: _uniformdev_canvas.UpdateCompositionMessage) => {
1213
+ type: PropType<((compositionUpdateMessage: Pick<_uniformdev_canvas.UpdateCompositionMessage, "composition" | "hash">) => {
1214
1214
  type: string;
1215
1215
  parameters?: {
1216
1216
  [key: string]: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-vue",
3
- "version": "19.1.0",
3
+ "version": "19.2.0",
4
4
  "description": "Vue SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "document": "api-extractor run --local"
24
24
  },
25
25
  "dependencies": {
26
- "@uniformdev/canvas": "19.1.0",
27
- "@uniformdev/context-vue": "19.1.0",
26
+ "@uniformdev/canvas": "19.2.0",
27
+ "@uniformdev/context-vue": "19.2.0",
28
28
  "@vue/test-utils": "2.3.2",
29
29
  "vue-demi": "^0.14.0"
30
30
  },
@@ -62,5 +62,5 @@
62
62
  "last 2 versions",
63
63
  "not dead"
64
64
  ],
65
- "gitHead": "0a06bc3cbf5a3ef7eb72b7ba237e76df645a4a88"
65
+ "gitHead": "9eb2423cd12a5db527f9f3a9d46b47ac2a0e7eb3"
66
66
  }