Skip to content

Commit

Permalink
fix/webrtc: Use package version for auth, too
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Kampmann committed Nov 1, 2016
1 parent 4b58d0c commit 9bd59d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webrtc_app/src/store.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* global btoa, safeAuth, safeStructuredData, safeDataId */

// this is only file directly interacting with SAFE
import { version } from '../package.json'

// this is only file directly interacting with SAFE
if (process.env.NODE_ENV !== 'production') {
require('safe-js/dist/polyfill')
}
Expand All @@ -17,7 +18,7 @@ export function authorise () {
return safeAuth.authorise({
'name': 'SAFE Signaling Demo',
'id': APP_ID,
'version': '0.7',
'version': version,
'vendor': 'MaidSafe Ltd.',
'permissions': ['LOW_LEVEL_API']
},
Expand Down

0 comments on commit 9bd59d7

Please sign in to comment.