@selvajs/notifications 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -7,7 +7,7 @@ Message templates for Selva's outbound mail. Pure render: data in,
7
7
  import { renderInviteEmail } from '@selvajs/notifications';
8
8
 
9
9
  const message = renderInviteEmail({ to, acceptUrl, orgName, expiresAt });
10
- await getNotificationProvider().send(message, log);
10
+ await provider.send(message, log); // an INotificationProvider the host wires up
11
11
  ```
12
12
 
13
13
  ## Where this sits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selvajs/notifications",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Message templates for Selva's outbound notifications — pure render, no transport",
5
5
  "license": "MIT",
6
6
  "author": "VektorNode",
@@ -40,11 +40,11 @@
40
40
  "!**/*.spec.*"
41
41
  ],
42
42
  "dependencies": {
43
- "@selvajs/platform": "0.20.1"
43
+ "@selvajs/platform": "0.20.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "~6.0.3",
47
- "vitest": "^4.1.10",
47
+ "vitest": "^5.0.2",
48
48
  "@selvajs/config": "0.0.4"
49
49
  },
50
50
  "scripts": {