adapt-authoring-api 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -244,6 +244,7 @@ class AbstractApiModule extends AbstractModule {
244
244
  /** @ignore */ this.root = config.root
245
245
  if (config.schemaName !== undefined) this.schemaName = config.schemaName
246
246
  if (config.collectionName !== undefined) this.collectionName = config.collectionName
247
+ if (config.permissionsScope !== undefined) this.permissionsScope = config.permissionsScope
247
248
  /* eslint-disable no-template-curly-in-string */
248
249
  const replacements = {
249
250
  '${scope}': this.permissionsScope || this.root,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adapt-authoring-api",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Abstract module for creating APIs",
5
5
  "homepage": "https://github.com/adapt-security/adapt-authoring-api",
6
6
  "license": "GPL-3.0",