@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.
- package/dist/index.d.mts +5 -3
- 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 {
|
|
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
|
|
110
|
-
* await
|
|
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.
|
|
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.
|
|
44
|
-
"@uniformdev/webhooks": "20.50.2-alpha.
|
|
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.
|
|
60
|
-
"zod": "4.3
|
|
59
|
+
"ai": "6.0.208",
|
|
60
|
+
"zod": "4.4.3"
|
|
61
61
|
},
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "74e60d5bb79fe1c4d446e4d3e6edf9f08850be4f"
|
|
66
66
|
}
|