bajo-extra 1.2.1 → 1.2.3

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/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "bajo-extra",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Extra package for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "type": "module",
10
+ "bajo": {
11
+ "type": "plugin"
12
+ },
10
13
  "repository": {
11
14
  "type": "git",
12
15
  "url": "git+https://github.com/ardhi/bajo-extra.git"