diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..2cc8584 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@sole24ore:registry=http://10.98.221.201:8083/repository/sole24npm/ \ No newline at end of file diff --git a/package.json b/package.json index 40d1226..c1a3e72 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "disqus-react", + "name": "@sole24ore/disqus-react", "version": "1.0.7", "description": "Official React components to embed Disqus discussions and comments.", "repository": { "type": "git", - "url": "https://github.com/disqus/disqus-react.git" + "url": "https://github.com/Nikolay992/disqus-react.git" }, "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/src/DiscussionEmbed.jsx b/src/DiscussionEmbed.jsx index 56fe942..d74fe56 100644 --- a/src/DiscussionEmbed.jsx +++ b/src/DiscussionEmbed.jsx @@ -64,6 +64,8 @@ export class DiscussionEmbed extends React.Component { this.page.identifier = config.identifier; this.page.url = config.url; this.page.title = config.title; + this.page.remote_auth_s3 = config.remoteAuthS3; + this.page.api_key = config.apiKey; this.callbacks.onNewComment = [ config.onNewComment, ];