gitmark 0.0.61 → 0.0.62

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
@@ -83,12 +83,12 @@ function addCryptoToCommit(commit) {
83
83
  function renderCommit(commit, type) {
84
84
  if (!commit) return
85
85
  if (type === 'nostr') {
86
- var canon = [0, commit.pubkey, commit.authorDate, 1, [], commit.hash]
86
+ var canon = [0, commit.pubkey, commit.authorDate, 17, [], commit.hash]
87
87
 
88
88
  canon = JSON.stringify(canon)
89
89
  var id = sha256(canon)
90
90
 
91
- // console.log(canon)
91
+ console.log(canon)
92
92
 
93
93
  // sign
94
94
  const KIND_CODE = 17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitmark",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "gitmark",
5
5
  "main": "index.js",
6
6
  "scripts": {