@squidcloud/mail-client 1.0.321
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/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{SquidMailClient:()=>r});class r{constructor(e){this.squid=e}async sendMail(e){return await this.squid.executeFunction("sendMail",e)}}var o=exports;for(var i in t)o[i]=t[i];t.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mail-client';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Squid } from '@squidcloud/client';
|
|
2
|
+
import { SquidSendMailRequest, SquidSendMailResponse } from 'common/mail-types';
|
|
3
|
+
export declare class SquidMailClient {
|
|
4
|
+
private readonly squid;
|
|
5
|
+
constructor(squid: Squid);
|
|
6
|
+
sendMail(request: SquidSendMailRequest): Promise<SquidSendMailResponse>;
|
|
7
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@squidcloud/mail-client",
|
|
3
|
+
"version": "1.0.321",
|
|
4
|
+
"description": "Squid Mail Client",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/client/src/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"prebuild": "del-cli dist",
|
|
9
|
+
"build": "webpack --mode=production",
|
|
10
|
+
"lint": "eslint",
|
|
11
|
+
"publish:public": "npm run build && npm publish --access public"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/**/*"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [],
|
|
17
|
+
"author": "",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"assertic": "^1.1.3",
|
|
21
|
+
"lodash": "^4.17.21",
|
|
22
|
+
"@squidcloud/client": "^1.0.321"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.0.0"
|
|
26
|
+
}
|
|
27
|
+
}
|