gitmark 0.0.66 → 0.0.67

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/bin/git-mark-list CHANGED
@@ -157,7 +157,6 @@ var b3
157
157
 
158
158
 
159
159
  // genesis
160
- var genesis = require('../gitmark.json')
161
160
  var genesisCommit = {
162
161
  "hash": "genesis",
163
162
  "authorDate": data.created_at,
@@ -204,6 +203,10 @@ for (var i = commits.length - 1; i >= 0; i--) {
204
203
  privkey: b1.toString(16),
205
204
  c: commits[i].subject
206
205
  }
206
+ if (commit.c && commit.c.split(":").length <= 2) {
207
+ commit.c = commit.c + ':0'
208
+ }
209
+ commit.c = commit?.c?.replace('gitmark ', 'gitmark:')
207
210
  commit = addCryptoToCommit(commit)
208
211
  // console.log(commit)
209
212
  gitmarks.push(commit)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitmark",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "gitmark",
5
5
  "main": "index.js",
6
6
  "scripts": {