Skip to content

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
 - @uploadcare/react-adapter@0.2.0
 - @uploadcare/react-uploader@0.2.0
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
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