Skip to content

Commit f6e04d2

Browse files
committed
[BUG] SFTP: behavior has not changed according to user
1 parent 6782fe0 commit f6e04d2

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

components/sftp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/sftp",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Pipedream SFTP Components",
55
"main": "sftp.app.mjs",
66
"keywords": [

components/sftp/sources/watch-remote-directory/watch-remote-directory.mjs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
key: "sftp-watch-remote-directory",
77
name: "New Remote Directory Watcher",
88
description: "Emit new events when files get created, changed or deleted from a remote directory. [See the docs](https://github.com/theophilusx/ssh2-sftp-client#orgfac43d1)",
9-
version: "0.1.0",
9+
version: "0.1.1",
1010
type: "source",
1111
dedupe: "unique",
1212
props: {
@@ -122,11 +122,9 @@ export default {
122122
}
123123
},
124124
getEventId(event) {
125-
const uniqueIdentifier =
126-
createHash("md5")
127-
.update(event.path + event.modifyTime)
128-
.digest("hex");
129-
return `${event.event}|${event.path}|${event.size}|${event.modifyTime}|${uniqueIdentifier}`;
125+
return createHash("md5")
126+
.update(event.path + event.modifyTime)
127+
.digest("hex");
130128
},
131129
emitEvents(events) {
132130
// sort events by modification time in ascending order

components/sftp_password_based_auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/sftp_password_based_auth",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Pipedream SFTP Components",
55
"main": "sftp_password_based_auth.app.mjs",
66
"keywords": [

components/sftp_password_based_auth/sources/watch-remote-directory/watch-remote-directory.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ export default {
99
key: "sftp_password_based_auth-watch-remote-directory",
1010
name: "New Remote Directory Watcher (Password Auth)",
1111
description: "Emit new events when files get created, changed or deleted from a remote directory. [See the docs](https://github.com/theophilusx/ssh2-sftp-client#orgfac43d1)",
12-
version: "0.1.0",
12+
version: "0.1.1",
1313
type: "source",
1414
};

pnpm-lock.yaml

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)