bajo-extra 1.2.2 → 2.0.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.
@@ -0,0 +1,9 @@
1
+ async function hash (...args) {
2
+ const [type, ...items] = args
3
+ for (const item of items) {
4
+ const hashed = await this.hash(item, type)
5
+ console.log(`${item} -> ${hashed}`)
6
+ }
7
+ }
8
+
9
+ export default hash
package/index.js CHANGED
@@ -111,7 +111,7 @@ async function handler (rec, bulk) {
111
111
  async function factory (pkgName) {
112
112
  const me = this
113
113
 
114
- return class BajoExtra extends this.lib.BajoPlugin {
114
+ return class BajoExtra extends this.lib.Plugin {
115
115
  constructor () {
116
116
  super(pkgName, me.app)
117
117
  this.alias = 'extra'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bajo-extra",
3
- "version": "1.2.2",
3
+ "version": "2.0.0",
4
4
  "description": "Extra package for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
File without changes
File without changes
File without changes
File without changes