@simplens/mock 1.0.0 → 1.0.1
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.
- package/README.md +0 -18
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,24 +40,6 @@ The mock provider accepts notifications with the following structure:
|
|
|
40
40
|
}
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
### Example
|
|
44
|
-
|
|
45
|
-
```typescript
|
|
46
|
-
import { SimpleNS } from '@simplens/core';
|
|
47
|
-
|
|
48
|
-
const notification = {
|
|
49
|
-
channel: 'mock',
|
|
50
|
-
recipient: {
|
|
51
|
-
user_id: 'test-user-123'
|
|
52
|
-
},
|
|
53
|
-
content: {
|
|
54
|
-
message: 'Hello, this is a test notification!'
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
await simplens.send(notification);
|
|
59
|
-
```
|
|
60
|
-
|
|
61
43
|
## Configuration Options
|
|
62
44
|
|
|
63
45
|
| Option | Type | Default | Description |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplens/mock",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Mock provider plugin for SimpleNS for testing",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
"type": "git",
|
|
42
42
|
"url": "https://github.com/SimpleNotificationSystem/plugin-mock"
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|