Skip to content

Commit dc4c3d2

Browse files
authored
Merge pull request #55 from xpodev/dev/0.9.0
Dev/0.9.0
2 parents fbda6fb + 35b294d commit dc4c3d2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/python-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main
77
- dev/v\d+\.\d+\.\d+
88
types: [opened, reopened, synchronize]
9+
paths:
10+
- 'seamless/**/*.py'
911

1012
permissions:
1113
contents: read

node/packages/core/src/index.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,21 +130,16 @@ class Seamless {
130130
}
131131

132132
registerEventListener(
133-
seamlessId: string,
134133
event: string,
135134
callback: (e: any) => any
136135
) {
137-
this.socket.on(`${seamlessId}:${event}`, callback);
136+
this.socket.on(event, callback);
138137
}
139138

140139
emit(event: string, ...args: any[]) {
141140
this.socket.emit(event, ...args);
142141
}
143142

144-
sendCustomEvent(event: string, data: any) {
145-
this.socket.emit("custom", event, data);
146-
}
147-
148143
sendWaitResponse<T>(event: string, ...args: any[]) {
149144
return new Promise<T>((resolve) => {
150145
this.socket.emit(event, ...args, resolve);

0 commit comments

Comments
 (0)