Skip to content

Commit 8bd5c72

Browse files
authored
Merge pull request #6 from SAP/final_adjustments
Some final adjustments:
2 parents e286d60 + a0c7d85 commit 8bd5c72

24 files changed

+39
-38
lines changed

.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ docs/
99
node_modules/
1010
jest.config.js
1111
tsconfig.json
12-
.eslintrc.json
12+
.eslintrc.json
13+
.prettierrc.json

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Furthermore, events can be even stored in Alert Notification storage and pulled
2020
### Installation
2121

2222
```bash
23-
$ npm i alert-notification-client
23+
$ npm i @sap_oss/alert-notification-client
2424
```
2525

2626
## Getting Started
@@ -37,7 +37,7 @@ import {
3737
RegionUtils,
3838
Severity,
3939
Category
40-
} from 'alert-notification-node-client';
40+
} from '@sap_oss/alert-notification-client';
4141

4242
const client = new AlertNotificationClient({
4343
authentication: new BasicAuthentication({

docs/authentication/basic-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ BasicAuthentication is a class in the context of Alert Notification's node clien
4040
## @Example
4141

4242
```js
43-
import { BasicAuthentication } from 'alert-notification-client';
43+
import { BasicAuthentication } from '@sap_oss/alert-notification-client';
4444

4545
const basicAuthentication = new BasicAuthentication({
4646
username: 'test-username',

docs/authentication/oauth-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ _**Note**_: Grant type query parameter will be added automatically by the client
4242
## @Example
4343

4444
```js
45-
import { OAuthAuthentication } from 'alert-notification-client';
45+
import { OAuthAuthentication } from '@sap_oss/alert-notification-client';
4646

4747
const oAuthAuthentication = new OAuthAuthentication({
4848
username: 'test-username',

docs/common-objects/region-utils.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Platform is an enum representing the environment on which Alert Notification is
6262
### @Example
6363

6464
```js
65-
import { RegionUtils } from 'alert-notification-client';
65+
import { RegionUtils } from '@sap_oss/alert-notification-client';
6666

6767
console.log(RegionUtils.Platform.CF); // will print 'CF'
6868
console.log(RegionUtils.Platform.NEO); // will print 'NEO'
@@ -140,7 +140,7 @@ RegionUtils contains exported constants which represent predefined regions, on w
140140
### @Example
141141

142142
```js
143-
import { RegionUtils } from 'alert-notification-client';
143+
import { RegionUtils } from '@sap_oss/alert-notification-client';
144144

145145
console.log(RegionUtils.EU10); // will print EU10 region instance
146146
```

docs/configuration-api/action.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Action is an entity which represents the destination on which Alert Notification
3232

3333
_**@Example:**_
3434
```js
35-
import { State } from 'alert-notification-client';
35+
import { State } from '@sap_oss/alert-notification-client';
3636

3737
const action = {
3838
name: 'to-my-email',

docs/configuration-api/condition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Condition is an entity which defines a condition in the context of the Alert Not
3232

3333
## Example
3434
```js
35-
import { Predicate } from 'alert-notification-client';
35+
import { Predicate } from '@sap_oss/alert-notification-client';
3636

3737
const condition = {
3838
name: 'event-type-contains-HighCpu',
@@ -70,7 +70,7 @@ Predicate is an enum value representing a matching criteria for a condition.
7070

7171
#### Example
7272
```js
73-
import { Predicate } from 'alert-notification-client';
73+
import { Predicate } from '@sap_oss/alert-notification-client';
7474

7575
console.log(Predicate.CONTAINS); // will print 'CONTAINS'
7676
```

docs/configuration-api/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Configuration represents the assembly of actions, conditions and subscriptions
3232

3333
_**@Example:**_
3434
```js
35-
import { State, Predicate } from 'alert-notification-client';
35+
import { State, Predicate } from '@sap_oss/alert-notification-client';
3636

3737
const configuration =
3838
{

docs/configuration-api/entity-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ EntityType is an enum which helps deduce what type of entity you are trying to m
3232
## @Example
3333

3434
```js
35-
import { EntityType } from 'alert-notification-client';
35+
import { EntityType } from '@sap_oss/alert-notification-client';
3636

3737
console.log(EntityType.ACTION); // will print 'ACTION'
3838
console.log(EntityType.CONDITION); // will print 'CONDITION'

docs/configuration-api/state.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ State is an enum holding a value for enablement and disablement of an entity
3131
## Example
3232

3333
```js
34-
import { State } from 'alert-notification-client';
34+
import { State } from '@sap_oss/alert-notification-client';
3535

3636
console.log(State.ENABLED); // will print ENABLED
3737
console.log(State.DISABLED); // will print DISABLED

0 commit comments

Comments
 (0)