Skip to content

Commit 277f851

Browse files
Accept "stash ID" when running actions (#71)
* Add the `stash_id` field to the "run action" opts * Update dependencies * Bump version --------- Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: Jay Vercellone <[email protected]>
1 parent d071376 commit 277f851

File tree

6 files changed

+57
-64
lines changed

6 files changed

+57
-64
lines changed

MIGRATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ incrementally without breaking your existing codebase. To do this, you can
835835
install the new SDK with an alias:
836836

837837
```bash
838-
npm install @pipedream/sdk-v2@npm:@pipedream/sdk@^2.0.0-rc.4 --save
838+
npm install @pipedream/sdk-v2@npm:@pipedream/sdk@^2.0.0-rc.5 --save
839839
```
840840

841841
Then, in your code, you can import the new SDK with the alias:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/sdk",
3-
"version": "2.0.0-rc.4",
3+
"version": "2.0.0-rc.5",
44
"private": false,
55
"repository": "github:PipedreamHQ/pipedream-sdk-typescript",
66
"type": "commonjs",

src/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export class PipedreamClient {
7373
"x-pd-environment": _options?.projectEnvironment,
7474
"X-Fern-Language": "JavaScript",
7575
"X-Fern-SDK-Name": "@pipedream/sdk",
76-
"X-Fern-SDK-Version": "2.0.0-rc.4",
77-
"User-Agent": "@pipedream/sdk/2.0.0-rc.4",
76+
"X-Fern-SDK-Version": "2.0.0-rc.5",
77+
"User-Agent": "@pipedream/sdk/2.0.0-rc.5",
7878
"X-Fern-Runtime": core.RUNTIME.type,
7979
"X-Fern-Runtime-Version": core.RUNTIME.version,
8080
},

src/api/resources/actions/client/requests/RunActionOpts.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,13 @@ export interface RunActionOpts {
1919
configured_props?: Record<string, unknown>;
2020
/** The ID for dynamic props */
2121
dynamic_props_id?: string;
22+
/** The ID of the File Stash to use for syncing the action's /tmp directory */
23+
stash_id?: RunActionOpts.StashId;
24+
}
25+
26+
export namespace RunActionOpts {
27+
/**
28+
* The ID of the File Stash to use for syncing the action's /tmp directory
29+
*/
30+
export type StashId = string | boolean;
2231
}

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "2.0.0-rc.3";
1+
export const SDK_VERSION = "2.0.0-rc.5";

yarn.lock

Lines changed: 43 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -736,11 +736,11 @@
736736
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
737737

738738
"@types/node@*":
739-
version "24.1.0"
740-
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.1.0.tgz#0993f7dc31ab5cc402d112315b463e383d68a49c"
741-
integrity sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==
739+
version "24.2.0"
740+
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.2.0.tgz#cde712f88c5190006d6b069232582ecd1f94a760"
741+
integrity sha512-3xyG3pMCq3oYCNg7/ZP+E1ooTaGB4cG8JWRsqqOYQdbWNY4zbaV0Ennrd7stjiJEFZCaybcIgpTjJWHRfBSIDw==
742742
dependencies:
743-
undici-types "~7.8.0"
743+
undici-types "~7.10.0"
744744

745745
"@types/node@^18.19.70":
746746
version "18.19.121"
@@ -1007,11 +1007,6 @@ argparse@^1.0.7:
10071007
dependencies:
10081008
sprintf-js "~1.0.2"
10091009

1010-
async@^3.2.3:
1011-
version "3.2.6"
1012-
resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce"
1013-
integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==
1014-
10151010
asynckit@^0.4.0:
10161011
version "0.4.0"
10171012
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -1093,13 +1088,6 @@ brace-expansion@^1.1.7:
10931088
balanced-match "^1.0.0"
10941089
concat-map "0.0.1"
10951090

1096-
brace-expansion@^2.0.1:
1097-
version "2.0.2"
1098-
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.2.tgz#54fc53237a613d854c7bd37463aad17df87214e7"
1099-
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
1100-
dependencies:
1101-
balanced-match "^1.0.0"
1102-
11031091
braces@^3.0.3:
11041092
version "3.0.3"
11051093
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
@@ -1164,7 +1152,7 @@ caniuse-lite@^1.0.30001726:
11641152
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001731.tgz#277c07416ea4613ec564e5b0ffb47e7b60f32e2f"
11651153
integrity sha512-lDdp2/wrOmTRWuoB5DpfNkC0rJDU8DqRa6nYL6HK6sytw70QMopt/NIc/9SM7ylItlBWfACXk0tEn37UWM/+mg==
11661154

1167-
chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0:
1155+
chalk@^4.0.0, chalk@^4.1.0:
11681156
version "4.1.2"
11691157
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
11701158
integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
@@ -1356,17 +1344,10 @@ dunder-proto@^1.0.1:
13561344
es-errors "^1.3.0"
13571345
gopd "^1.2.0"
13581346

1359-
ejs@^3.1.10:
1360-
version "3.1.10"
1361-
resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b"
1362-
integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==
1363-
dependencies:
1364-
jake "^10.8.5"
1365-
13661347
electron-to-chromium@^1.5.173:
1367-
version "1.5.194"
1368-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.194.tgz#05e541c3373ba8d967a65c92bc14d60608908236"
1369-
integrity sha512-SdnWJwSUot04UR51I2oPD8kuP2VI37/CADR1OHsFOUzZIvfWJBO6q11k5P/uKNyTT3cdOsnyjkrZ+DDShqYqJA==
1348+
version "1.5.195"
1349+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.195.tgz#2fe0d9b644726292189f227be73740868617b6d5"
1350+
integrity sha512-URclP0iIaDUzqcAyV1v2PgduJ9N0IdXmWsnPzPfelvBmjmZzEy6xJcjb1cXj+TbYqXgtLrjHEoaSIdTYhw4ezg==
13701351

13711352
emittery@^0.13.1:
13721353
version "0.13.1"
@@ -1544,13 +1525,6 @@ fb-watchman@^2.0.0:
15441525
dependencies:
15451526
bser "2.1.1"
15461527

1547-
filelist@^1.0.4:
1548-
version "1.0.4"
1549-
resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5"
1550-
integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==
1551-
dependencies:
1552-
minimatch "^5.0.1"
1553-
15541528
fill-range@^7.1.1:
15551529
version "7.1.1"
15561530
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
@@ -1668,6 +1642,18 @@ graphql@^16.8.1:
16681642
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.11.0.tgz#96d17f66370678027fdf59b2d4c20b4efaa8a633"
16691643
integrity sha512-mS1lbMsxgQj6hge1XZ6p7GPhbrtFwUFYi3wRzXAC/FmYnyXMTvvI3td3rjmQ2u8ewXueaSvRPWaEcgVVOT9Jnw==
16701644

1645+
handlebars@^4.7.8:
1646+
version "4.7.8"
1647+
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9"
1648+
integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==
1649+
dependencies:
1650+
minimist "^1.2.5"
1651+
neo-async "^2.6.2"
1652+
source-map "^0.6.1"
1653+
wordwrap "^1.0.0"
1654+
optionalDependencies:
1655+
uglify-js "^3.1.4"
1656+
16711657
has-flag@^4.0.0:
16721658
version "4.0.0"
16731659
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
@@ -1864,16 +1850,6 @@ istanbul-reports@^3.1.3:
18641850
html-escaper "^2.0.0"
18651851
istanbul-lib-report "^3.0.0"
18661852

1867-
jake@^10.8.5:
1868-
version "10.9.2"
1869-
resolved "https://registry.yarnpkg.com/jake/-/jake-10.9.2.tgz#6ae487e6a69afec3a5e167628996b59f35ae2b7f"
1870-
integrity sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==
1871-
dependencies:
1872-
async "^3.2.3"
1873-
chalk "^4.0.2"
1874-
filelist "^1.0.4"
1875-
minimatch "^3.1.2"
1876-
18771853
jest-changed-files@^29.7.0:
18781854
version "29.7.0"
18791855
resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a"
@@ -2413,19 +2389,17 @@ mimic-fn@^2.1.0:
24132389
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
24142390
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
24152391

2416-
minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2:
2392+
minimatch@^3.0.4, minimatch@^3.1.1:
24172393
version "3.1.2"
24182394
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
24192395
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
24202396
dependencies:
24212397
brace-expansion "^1.1.7"
24222398

2423-
minimatch@^5.0.1:
2424-
version "5.1.6"
2425-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96"
2426-
integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==
2427-
dependencies:
2428-
brace-expansion "^2.0.1"
2399+
minimist@^1.2.5:
2400+
version "1.2.8"
2401+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
2402+
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
24292403

24302404
ms@^2.1.3:
24312405
version "2.1.3"
@@ -2956,13 +2930,13 @@ tr46@^3.0.0:
29562930
punycode "^2.1.1"
29572931

29582932
ts-jest@^29.3.4:
2959-
version "29.4.0"
2960-
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.0.tgz#bef0ee98d94c83670af7462a1617bf2367a83740"
2961-
integrity sha512-d423TJMnJGu80/eSgfQ5w/R+0zFJvdtTxwtF9KzFFunOpSeD+79lHJQIiAhluJoyGRbvj9NZJsl9WjCUo0ND7Q==
2933+
version "29.4.1"
2934+
resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.1.tgz#42d33beb74657751d315efb9a871fe99e3b9b519"
2935+
integrity sha512-SaeUtjfpg9Uqu8IbeDKtdaS0g8lS6FT6OzM3ezrDfErPJPHNDo/Ey+VFGP1bQIDfagYDLyRpd7O15XpG1Es2Uw==
29622936
dependencies:
29632937
bs-logger "^0.2.6"
2964-
ejs "^3.1.10"
29652938
fast-json-stable-stringify "^2.1.0"
2939+
handlebars "^4.7.8"
29662940
json5 "^2.2.3"
29672941
lodash.memoize "^4.1.2"
29682942
make-error "^1.3.6"
@@ -3001,15 +2975,20 @@ typescript@~5.7.2:
30012975
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
30022976
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==
30032977

2978+
uglify-js@^3.1.4:
2979+
version "3.19.3"
2980+
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.3.tgz#82315e9bbc6f2b25888858acd1fff8441035b77f"
2981+
integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==
2982+
30042983
undici-types@~5.26.4:
30052984
version "5.26.5"
30062985
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
30072986
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
30082987

3009-
undici-types@~7.8.0:
3010-
version "7.8.0"
3011-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.8.0.tgz#de00b85b710c54122e44fbfd911f8d70174cd294"
3012-
integrity sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==
2988+
undici-types@~7.10.0:
2989+
version "7.10.0"
2990+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.10.0.tgz#4ac2e058ce56b462b056e629cc6a02393d3ff350"
2991+
integrity sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==
30132992

30142993
universalify@^0.2.0:
30152994
version "0.2.0"
@@ -3131,6 +3110,11 @@ which@^2.0.1:
31313110
dependencies:
31323111
isexe "^2.0.0"
31333112

3113+
wordwrap@^1.0.0:
3114+
version "1.0.0"
3115+
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
3116+
integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
3117+
31343118
wrap-ansi@^6.2.0:
31353119
version "6.2.0"
31363120
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"

0 commit comments

Comments
 (0)