Skip to content

Commit 16a5f67

Browse files
author
Tom Kirkpatrick
committed
Update package name
1 parent 9761b18 commit 16a5f67

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ An 'access' [Operation Hook](https://docs.strongloop.com/display/public/LB/Opera
2727

2828
```json
2929
{
30-
"loopback-component-access": {
30+
"loopback-component-access-groups": {
3131
"{option}": "{value}"
3232
}
3333
}

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = function loopbackComponentAccess(app, options) {
1010
loopback.version.split('.')[0] || 1;
1111

1212
if (loopbackMajor < 2) {
13-
throw new Error('loopback-component-access requires loopback 2.0 or newer');
13+
throw new Error('loopback-component-access-groups requires loopback 2.0 or newer');
1414
}
1515

1616
// Initialise helper class.

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = class AccessUtils {
3030
});
3131

3232
// Save the component config for easy reference.
33-
app.set('loopback-component-access', options);
33+
app.set('loopback-component-access-groups', options);
3434
debug('options: %o', options);
3535
}
3636

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "loopback-component-access",
2+
"name": "loopback-component-access-groups",
33
"description": "Access controls for Loopback.",
44
"version": "0.1.0",
55
"author": {
66
"name": "Tom Kirkpatrick @mrfelton"
77
},
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/fullcube/loopback-component-access.git"
10+
"url": "https://github.com/fullcube/loopback-component-access-groups.git"
1111
},
1212
"keywords": [
1313
"loopback",
@@ -16,9 +16,9 @@
1616
],
1717
"license": "MIT",
1818
"bugs": {
19-
"url": "https://github.com/fullcube/loopback-component-access/issues"
19+
"url": "https://github.com/fullcube/loopback-component-access-groups/issues"
2020
},
21-
"homepage": "https://github.com/fullcube/loopback-component-access",
21+
"homepage": "https://github.com/fullcube/loopback-component-access-groups",
2222
"files": [
2323
"lib",
2424
"test"

0 commit comments

Comments
 (0)