@tlouverse/graph-mailer-nestjs 0.1.1 → 0.2.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 CHANGED
@@ -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
 
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,9 +1,9 @@
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
- useFactory: (...args: unknown[]) => GraphMailerConfig | Promise<GraphMailerConfig>;
6
+ useFactory: (...args: any[]) => GraphMailerConfig | Promise<GraphMailerConfig>;
7
7
  inject?: (string | symbol | Type)[];
8
8
  }
9
9
 
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
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
- useFactory: (...args: unknown[]) => GraphMailerConfig | Promise<GraphMailerConfig>;
6
+ useFactory: (...args: any[]) => GraphMailerConfig | Promise<GraphMailerConfig>;
7
7
  inject?: (string | symbol | Type)[];
8
8
  }
9
9
 
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.1",
3
+ "version": "0.2.1",
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",