@ocap/util 1.18.128 → 1.18.129

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -580,7 +580,7 @@ function toDid(address) {
580
580
  }
581
581
  exports.toDid = toDid;
582
582
  function isSameDid(a, b) {
583
- return toAddress(a) === toAddress(b);
583
+ return toAddress(a).toLowerCase() === toAddress(b).toLowerCase();
584
584
  }
585
585
  exports.isSameDid = isSameDid;
586
586
  function formatTxType(type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/util",
3
- "version": "1.18.128",
3
+ "version": "1.18.129",
4
4
  "description": "utils shared across multiple forge js libs, works in both node.js and browser",
5
5
  "keywords": [
6
6
  "arcblock",
@@ -66,5 +66,5 @@
66
66
  "bugs": {
67
67
  "url": "https://github.com/ArcBlock/blockchain/issues"
68
68
  },
69
- "gitHead": "97c217e51a0c250f8804c67c893c09d9f4c127c8"
69
+ "gitHead": "422e48b5668be8d25d76037d86926a625b194758"
70
70
  }