@live-change/identicon-service 0.3.41 → 0.4.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/definition.js CHANGED
@@ -1,10 +1,11 @@
1
- const app = require("@live-change/framework").app()
1
+ import App from '@live-change/framework'
2
+ const app = App.app()
2
3
 
3
- const relationsPlugin = require('@live-change/relations-plugin')
4
+ import relationsPlugin from '@live-change/relations-plugin'
4
5
 
5
6
  const definition = app.createServiceDefinition({
6
7
  name: "identicon",
7
8
  use: [ ]
8
9
  })
9
10
 
10
- module.exports = definition
11
+ export default definition
package/endpoint.js CHANGED
@@ -1,11 +1,12 @@
1
- const app = require("@live-change/framework").app()
2
- const definition = require('./definition.js')
1
+ import App from '@live-change/framework'
2
+ const app = App.app()
3
+ import definition from './definition.js'
3
4
 
4
- const crypto = require("crypto")
5
- const Identicon = require("identicon.js")
6
- const jdenticon = require("jdenticon")
5
+ import crypto from "crypto"
6
+ import Identicon from "identicon.js"
7
+ import * as jdenticon from "jdenticon"
7
8
 
8
- const express = require("express")
9
+ import express from "express"
9
10
 
10
11
  definition.endpoint({
11
12
  name: 'identicon',
@@ -45,4 +46,4 @@ definition.endpoint({
45
46
  }
46
47
  })
47
48
 
48
- module.exports = {}
49
+ export {}
package/index.js CHANGED
@@ -1,7 +1,8 @@
1
- const app = require("@live-change/framework").app()
1
+ import App from '@live-change/framework'
2
+ const app = App.app()
2
3
 
3
- const definition = require('./definition.js')
4
+ import definition from './definition.js'
4
5
 
5
- require('./endpoint.js')
6
+ import './endpoint.js'
6
7
 
7
- module.exports = definition
8
+ export default definition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/identicon-service",
3
- "version": "0.3.41",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,10 +21,11 @@
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
23
  "dependencies": {
24
- "@live-change/framework": "0.7.39",
25
- "@live-change/relations-plugin": "0.7.39",
24
+ "@live-change/framework": "0.8.0",
25
+ "@live-change/relations-plugin": "0.8.0",
26
26
  "identicon.js": "2.3.3",
27
27
  "jdenticon": "3.1.1"
28
28
  },
29
- "gitHead": "cf7a4196465c134c4685571526754330d7c70475"
29
+ "gitHead": "74215655da2a4bc3ef73c62e5d79d988276165e8",
30
+ "type": "module"
30
31
  }