@lowdefy/connection-sendgrid 4.0.0-rc.9 → 4.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -17,8 +17,8 @@ import { type } from '@lowdefy/helpers';
17
17
  import schema from './schema.js';
18
18
  // https://sendgrid.api-docs.io/v3.0/how-to-use-the-sendgrid-v3-api/api-authentication
19
19
  // https://github.com/sendgrid/sendgrid-nodejs/blob/master/docs/use-cases/README.md#email-use-cases
20
- async function SendGridMailSend({ request , connection }) {
21
- const { apiKey , from , templateId , mailSettings } = connection;
20
+ async function SendGridMailSend({ request, connection }) {
21
+ const { apiKey, from, templateId, mailSettings } = connection;
22
22
  sendgrid.setApiKey(apiKey);
23
23
  const messages = (type.isArray(request) ? request : [
24
24
  request
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
package/dist/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/namespace */ /*
2
- Copyright 2020-2023 Lowdefy, Inc
2
+ Copyright 2020-2024 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/connection-sendgrid",
3
- "version": "4.0.0-rc.9",
3
+ "version": "4.0.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -34,26 +34,24 @@
34
34
  "files": [
35
35
  "dist/*"
36
36
  ],
37
- "scripts": {
38
- "build": "swc src --out-dir dist --config-file ../../../../.swcrc --delete-dir-on-start --copy-files",
39
- "clean": "rm -rf dist",
40
- "prepublishOnly": "pnpm build",
41
- "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
42
- },
43
37
  "dependencies": {
44
- "@lowdefy/helpers": "4.0.0-rc.9",
38
+ "@lowdefy/helpers": "4.0.1",
45
39
  "@sendgrid/mail": "7.7.0"
46
40
  },
47
41
  "devDependencies": {
48
- "@jest/globals": "28.1.0",
49
- "@lowdefy/ajv": "4.0.0-rc.9",
50
- "@swc/cli": "0.1.59",
51
- "@swc/core": "1.3.24",
52
- "@swc/jest": "0.2.24",
53
- "jest": "28.1.0"
42
+ "@jest/globals": "28.1.3",
43
+ "@lowdefy/ajv": "4.0.1",
44
+ "@swc/cli": "0.1.63",
45
+ "@swc/core": "1.3.99",
46
+ "@swc/jest": "0.2.29",
47
+ "jest": "28.1.3"
54
48
  },
55
49
  "publishConfig": {
56
50
  "access": "public"
57
51
  },
58
- "gitHead": "d20e6ac424643feca527a732dc2b0710713c8243"
59
- }
52
+ "scripts": {
53
+ "build": "swc src --out-dir dist --config-file ../../../../.swcrc --delete-dir-on-start --copy-files",
54
+ "clean": "rm -rf dist",
55
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
56
+ }
57
+ }