Skip to content

Commit

Permalink
security patching (#277)
Browse files Browse the repository at this point in the history
* dependency fixes

* Update node.js.yml

* updated few more dependencies

* reverted chatjs version to stable
  • Loading branch information
mrajatttt authored Jan 6, 2025
1 parent 042b6ed commit 40dc7f3
Show file tree
Hide file tree
Showing 13 changed files with 2,815 additions and 1,683 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
node-version: [15.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

env:
CI: false

steps:
- uses: actions/checkout@v2

Expand All @@ -32,4 +35,4 @@ jobs:
- run: npm run release

# Also verify dev-build runs, avoiding: github.com/amazon-connect/amazon-connect-chat-interface/issues/75
- run: npm run dev-build
- run: npm run dev-build
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/amazon-connect-chat-interface.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion local-testing/amazon-connect-chat-interface.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions local-testing/hostedWidget.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<script type="text/javascript">
(function(w, d, x, id){
s=d.createElement('script');
s.src='https://db08fjupg2abb.cloudfront.net/amazon-connect-chat-interface-client.js';
s.async=1;
s.id=id;
d.getElementsByTagName('head')[0].appendChild(s);
w[x] = w[x] || function() { (w[x].ac = w[x].ac || []).push(arguments) };
})(window, document, 'amazon_connect', '44d22e3a-1f9b-428d-ae76-115885672a11');
amazon_connect('styles', { iconType: 'CHAT_VOICE', openChat: { color: '#ffffff', backgroundColor: '#123456' }, closeChat: { color: '#ffffff', backgroundColor: '#123456'} });
amazon_connect('snippetId', 'QVFJREFIZ2JTNzdvNlZBdTFZSVJkT0xad3RDb08wM2NZamVYWno2UE4rbHpYL2JuRlFFd0U4c0FJNjVUNEpXZ1dxZWJjOS9DQUFBQWJqQnNCZ2txaGtpRzl3MEJCd2FnWHpCZEFnRUFNRmdHQ1NxR1NJYjNEUUVIQVRBZUJnbGdoa2dCWlFNRUFTNHdFUVFNS3cyRjBIRUpHcnZTejA3ZUFnRVFnQ3VBczBTNytqbGZ0TTR2SHJlVEZtVGtBVUhGc3NwZ0gyTXQvREQ4dkNZY1pHd1E4dWxPVzhrMVVQRDY6OncxNXpCSWlIVlQ5b1g2RXZ5aDljUWQ5NjFQL0w1UVh6K3FyVmxUS1d1VkpGTnpic3czZEhEVFU4eVpMVW1BY3VVSysvVTVNTThKdENqdXpHWFd2QU8vQ29PSkxzQVJNdm1mUmJMbUM4ejZubTNMSUUvZTkvZFp0NFMwam05aDZyRmZtR21MK1cveTBOQ0VmbHRoUzVSaVVxeW1kUEp2ND0=');
amazon_connect('supportedMessagingContentTypes', [ 'text/plain', 'text/markdown', 'application/vnd.amazonaws.connect.message.interactive', 'application/vnd.amazonaws.connect.message.interactive.response' ]);
amazon_connect('customerChatInterfaceUrl', './amazon-connect-chat-interface.js')
amazon_connect('customizationObject', {
composer: {
disableEmojiPicker: true,
disableCustomerAttachment: true,
},
});
</script>
Loading

0 comments on commit 40dc7f3

Please sign in to comment.