@uniformdev/automations-sdk 20.50.2-alpha.149 → 20.50.2-alpha.167

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.mts +5 -3
  2. package/package.json +6 -6
package/dist/index.d.mts CHANGED
@@ -100,14 +100,16 @@ type AutomationMetadata = EventAutomationMetadata | ScheduleAutomationMetadata |
100
100
  *
101
101
  * @example
102
102
  * ```ts
103
- * import { CanvasClient } from '@uniformdev/canvas';
103
+ * import { CompositionManagementClient } from '@uniformdev/canvas';
104
104
  *
105
105
  * if(!context.uniformCredentials) {
106
106
  * throw new Error('The automation does not have credentials assigned.');
107
107
  * }
108
108
  *
109
- * const canvas = new CanvasClient(context.uniformCredentials);
110
- * await canvas.updateComposition({ ... });
109
+ * const compositions = new CompositionManagementClient(context.uniformCredentials);
110
+ * const { composition } = await compositions.get({ compositionId });
111
+ * // ...mutate...
112
+ * await compositions.save({ composition });
111
113
  * ```
112
114
  */
113
115
  interface UniformConnectionParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/automations-sdk",
3
- "version": "20.50.2-alpha.149+913f0b7b57",
3
+ "version": "20.50.2-alpha.167+74e60d5bb7",
4
4
  "description": "Uniform Automations SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "exports": {
@@ -40,8 +40,8 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@standard-schema/spec": "^1.1.0",
43
- "@uniformdev/context": "20.50.2-alpha.149+913f0b7b57",
44
- "@uniformdev/webhooks": "20.50.2-alpha.149+913f0b7b57"
43
+ "@uniformdev/context": "20.50.2-alpha.167+74e60d5bb7",
44
+ "@uniformdev/webhooks": "20.50.2-alpha.167+74e60d5bb7"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "ai": "^6.0.0",
@@ -56,11 +56,11 @@
56
56
  }
57
57
  },
58
58
  "devDependencies": {
59
- "ai": "6.0.168",
60
- "zod": "4.3.6"
59
+ "ai": "6.0.208",
60
+ "zod": "4.4.3"
61
61
  },
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "913f0b7b57295ca79575810663c56a7a5deea9e4"
65
+ "gitHead": "74e60d5bb79fe1c4d446e4d3e6edf9f08850be4f"
66
66
  }