@tlouverse/graph-mailer-nestjs 0.1.0 → 0.2.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.
package/README.md CHANGED
@@ -14,7 +14,7 @@ NestJS module for [@tlouverse/graph-mailer](https://www.npmjs.com/package/@tlouv
14
14
  ### Installation
15
15
 
16
16
  ```bash
17
- npm install @tlouverse/graph-mailer-nestjs @tlouverse/graph-mailer
17
+ npm install @tlouverse/graph-mailer-nestjs
18
18
  ```
19
19
 
20
20
  ### Setup
@@ -97,6 +97,7 @@ This package re-exports everything from `@tlouverse/graph-mailer` — you only n
97
97
  | `GraphMailerConfig` | Config type |
98
98
  | `SendMailOptions` | Send options type |
99
99
  | `Address` | Address type |
100
+ | `Attachment` | Attachment type |
100
101
  | `GraphMailError` | Graph API error |
101
102
  | `GraphAuthError` | Token acquisition error |
102
103
 
@@ -115,7 +116,7 @@ Module NestJS pour [@tlouverse/graph-mailer](https://www.npmjs.com/package/@tlou
115
116
  ### Installation
116
117
 
117
118
  ```bash
118
- npm install @tlouverse/graph-mailer-nestjs @tlouverse/graph-mailer
119
+ npm install @tlouverse/graph-mailer-nestjs
119
120
  ```
120
121
 
121
122
  ### Configuration
package/dist/index.cjs CHANGED
@@ -60,6 +60,10 @@ Object.defineProperty(exports, "Address", {
60
60
  enumerable: true,
61
61
  get: function () { return graphMailer.Address; }
62
62
  });
63
+ Object.defineProperty(exports, "Attachment", {
64
+ enumerable: true,
65
+ get: function () { return graphMailer.Attachment; }
66
+ });
63
67
  Object.defineProperty(exports, "GraphAuthError", {
64
68
  enumerable: true,
65
69
  get: function () { return graphMailer.GraphAuthError; }
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ModuleMetadata, Type, DynamicModule } from '@nestjs/common';
2
2
  import { GraphMailerConfig } from '@tlouverse/graph-mailer';
3
- export { Address, GraphAuthError, GraphMailError, GraphMailer, GraphMailerConfig, SendMailOptions } from '@tlouverse/graph-mailer';
3
+ export { Address, Attachment, GraphAuthError, GraphMailError, GraphMailer, GraphMailerConfig, SendMailOptions } from '@tlouverse/graph-mailer';
4
4
 
5
5
  interface GraphMailerAsyncOptions extends Pick<ModuleMetadata, 'imports'> {
6
6
  useFactory: (...args: unknown[]) => GraphMailerConfig | Promise<GraphMailerConfig>;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ModuleMetadata, Type, DynamicModule } from '@nestjs/common';
2
2
  import { GraphMailerConfig } from '@tlouverse/graph-mailer';
3
- export { Address, GraphAuthError, GraphMailError, GraphMailer, GraphMailerConfig, SendMailOptions } from '@tlouverse/graph-mailer';
3
+ export { Address, Attachment, GraphAuthError, GraphMailError, GraphMailer, GraphMailerConfig, SendMailOptions } from '@tlouverse/graph-mailer';
4
4
 
5
5
  interface GraphMailerAsyncOptions extends Pick<ModuleMetadata, 'imports'> {
6
6
  useFactory: (...args: unknown[]) => GraphMailerConfig | Promise<GraphMailerConfig>;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Module } from '@nestjs/common';
2
2
  import { GraphMailer } from '@tlouverse/graph-mailer';
3
- export { Address, GraphAuthError, GraphMailError, GraphMailer, GraphMailerConfig, SendMailOptions } from '@tlouverse/graph-mailer';
3
+ export { Address, Attachment, GraphAuthError, GraphMailError, GraphMailer, GraphMailerConfig, SendMailOptions } from '@tlouverse/graph-mailer';
4
4
 
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
6
  var __decorateClass = (decorators, target, key, kind) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tlouverse/graph-mailer-nestjs",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "NestJS module for @tlouverse/graph-mailer.",
5
5
  "license": "MIT",
6
6
  "author": "tlouverse",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/Tlouverse/graph-mailer-nestjs.git"
16
+ "url": "git+https://github.com/Tlouverse/graph-mailer-nestjs.git"
17
17
  },
18
18
  "bugs": {
19
19
  "url": "https://github.com/Tlouverse/graph-mailer-nestjs/issues"
@@ -48,7 +48,7 @@
48
48
  "prepublishOnly": "npm run build"
49
49
  },
50
50
  "dependencies": {
51
- "@tlouverse/graph-mailer": "^0.2.0"
51
+ "@tlouverse/graph-mailer": "^0.3.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@nestjs/common": "^10.0.0 || ^11.0.0",