File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 22
33# Changelog
44
5+ ## [ 1.6.7] - 2025-06-06
6+
7+ ### Added
8+
9+ - Added ` stashId ` option to the ` runAction ` method, which allows files to be
10+ persisted between action runs.
11+
512## [ 1.6.6] - 2025-06-05
613
714### Added
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/sdk" ,
33 "type" : " module" ,
4- "version" : " 1.6.6 " ,
4+ "version" : " 1.6.7 " ,
55 "description" : " Pipedream SDK" ,
66 "main" : " ./dist/server.js" ,
77 "module" : " ./dist/server.js" ,
Original file line number Diff line number Diff line change @@ -567,6 +567,15 @@ export type RunActionOpts = ExternalUserId & {
567567 * The ID of the last prop reconfiguration (if any).
568568 */
569569 dynamicPropsId ?: string ;
570+
571+ /**
572+ * The ID of the File Stash to sync the action's /tmp directory with. This
573+ * allows you to persist files across action runs for up to 1 day. If set to
574+ * `true` or "", a unique stash ID will be generated for you and returned in
575+ * the response. If not set, the action will not sync its /tmp directory with
576+ * a File Stash.
577+ */
578+ stashId ?: string | boolean ;
570579} ;
571580
572581/**
@@ -589,6 +598,11 @@ export type RunActionResponse = {
589598 * The value returned by the action
590599 */
591600 ret : unknown ;
601+
602+ /**
603+ * The ID of the File Stash that was used to sync the action's /tmp directory
604+ */
605+ stashId ?: string ;
592606} ;
593607
594608/**
@@ -1428,6 +1442,7 @@ export abstract class BaseClient {
14281442 id,
14291443 configured_props : opts . configuredProps ,
14301444 dynamic_props_id : opts . dynamicPropsId ,
1445+ stash_id : opts . stashId ,
14311446 } ;
14321447 return this . makeConnectRequest < RunActionResponse > ( "/actions/run" , {
14331448 method : "POST" ,
You can’t perform that action at this time.
0 commit comments