@notifiles/sdk 1.1.3 → 1.1.4

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@notifiles/sdk",
3
3
  "type": "module",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "description": "",
6
6
  "author": {
7
7
  "name": "adoucoure",
@@ -20,7 +20,6 @@ export default async ({
20
20
  const defaultContent = await importJSONAsync('./defaultContent.json')
21
21
  let content = {
22
22
  ...defaultContent,
23
- createdAt: (new Date()),
24
23
  ...data,
25
24
  }
26
25
 
@@ -54,6 +54,7 @@ export default async ({
54
54
  const emailPath = fsPath.join(folderPath, "email.tsx")
55
55
  const email = (emailType === 'mastered') ? await emailTemplateMaster({}) : await emailTemplate({})
56
56
  await fs.promises.writeFile(emailPath, email, 'utf8')
57
+ await fs.promises.writeFile(fsPath.join(folderPath, "email.subject.txt"), "", 'utf8')
57
58
 
58
59
  const textMessagePath = fsPath.join(folderPath, "textMessage.txt")
59
60
  const textMessage = await textmessageTemplate({})
@@ -1,5 +1,5 @@
1
1
 
2
- test('creates a new post', async () => {
2
+ test('creates a new template', async () => {
3
3
  const fsPath = (await import('path')).default
4
4
  let path = `${fsPath.resolve(process.env.TEST_MOCK_FOLDER)}`
5
5
  const operation = (await import('./index.js')).default
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- describe.skip('project', () => {
3
+ describe('project', () => {
4
4
  it('Updates and syncs to minio', async () => {
5
5
  const fsPath = (await import('path')).default
6
6
  let path = `${fsPath.resolve(process.env.TEST_MOCK_FOLDER)}`