@live-change/secret-link-service 0.3.40 → 0.4.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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. package/package.json +4 -3
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
- const nodemailer = require('nodemailer')
2
- const app = require("@live-change/framework").app()
3
- const { randomString } = require('@live-change/uid')
1
+ import App from '@live-change/framework'
2
+ const app = App.app()
3
+ import { randomString } from '@live-change/uid'
4
4
 
5
5
  const definition = app.createServiceDefinition({
6
6
  name: "secretLink"
@@ -143,4 +143,4 @@ definition.trigger({
143
143
  }
144
144
  })
145
145
 
146
- module.exports = definition
146
+ export default definition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/secret-link-service",
3
- "version": "0.3.40",
3
+ "version": "0.4.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,9 +20,10 @@
20
20
  "name": "Michał Łaszczewski",
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
+ "type": "module",
23
24
  "dependencies": {
24
- "@live-change/framework": "0.7.38",
25
+ "@live-change/framework": "0.8.0",
25
26
  "nodemailer": "^6.7.2"
26
27
  },
27
- "gitHead": "d72cc68ee4c46242e5f6a51c303be4177a1c33cf"
28
+ "gitHead": "87010b19907140a326943f22cd538eafdc9c28f1"
28
29
  }