Skip to content
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

docs: added describe props api, styles, react-uploader-api via ref (#14) #15

Merged
merged 4 commits into from
Apr 29, 2024

Conversation

egordidenko
Copy link
Contributor

  • docs: added describe props api, styles, react-uploader-api via ref

  • feat: added className for wrapper

  • docs: added describe summary and Quick Features

  • feat: added userAgentIntegration

Description

Checklist

egordidenko and others added 2 commits April 25, 2024 15:27
* docs: added describe props api, styles, react-uploader-api via ref

* feat: added className for wrapper

* docs: added describe summary and Quick Features

* feat: added userAgentIntegration
import { version, name } from "../../package.json";

export const getUserAgentIntegration = (pubkey: string) => {
return `${name}/${version}/${pubkey} (JavaScript; React;)`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This format seems to be invalid here. It should be just Integration/version; string.

Because blocks UA is blocks/${version}/${publicKey} (JavaScript; ${integration}) where integration is our string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

Output string: React/18.2.0; @uploadcare/react-uploader/0.2.0

@nd0ut nd0ut self-requested a review April 29, 2024 16:35
@egordidenko egordidenko merged commit dea205c into main Apr 29, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants