-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript #356
Typescript #356
Conversation
Size Change: +2.02 kB (2%) Total Size: 100 kB
|
bump dependencies
import utils from './utils'; | ||
import signing from './signing'; | ||
|
||
export default function createRedirectUrl(targetUrl, userId, events) { | ||
// TODO: userId is skipped here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch: if user_id is given we need to add it to token instead of *
} catch (e) { | ||
return undefined; | ||
} | ||
} | ||
|
||
function padString(string) { | ||
function padString(string: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's rename it, looks awkward
if (contentType != null) fileField.type = contentType; | ||
} | ||
|
||
data.append('file', fileField); | ||
return data; | ||
} | ||
|
||
function replaceStreamObjects(obj) { | ||
// TODO: refactor and add proper types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
probably we will spot some improvements down the road but looks fine in general, nothing blocking.
"homepage": "https://getstream.io/docs/?language=js", | ||
"email": "[email protected]", | ||
"license": "BSD-3-Clause", | ||
"version": "5.0.5", | ||
"version": "5.1.0-0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's go with 6.x
No description provided.