mirror of https://codeberg.org/pzp/pzp-db.git
use json-canon instead of canonicalize (#7)
This commit is contained in:
parent
e66483391b
commit
301cc6ff41
|
@ -1,6 +1,6 @@
|
||||||
const blake3 = require('blake3')
|
const blake3 = require('blake3')
|
||||||
const base58 = require('bs58')
|
const base58 = require('bs58')
|
||||||
const stringify = require('canonicalize')
|
const stringify = require('json-canon')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {import('./index').Msg} Msg
|
* @typedef {import('./index').Msg} Msg
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: LGPL-3.0-only
|
// SPDX-License-Identifier: LGPL-3.0-only
|
||||||
|
|
||||||
const stringify = require('canonicalize')
|
const stringify = require('json-canon')
|
||||||
const ed25519 = require('ssb-keys/sodium')
|
const ed25519 = require('ssb-keys/sodium')
|
||||||
const base58 = require('bs58')
|
const base58 = require('bs58')
|
||||||
const union = require('set.prototype.union')
|
const union = require('set.prototype.union')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const blake3 = require('blake3')
|
const blake3 = require('blake3')
|
||||||
const base58 = require('bs58')
|
const base58 = require('bs58')
|
||||||
const stringify = require('canonicalize')
|
const stringify = require('json-canon')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {any} content
|
* @param {any} content
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const base58 = require('bs58')
|
const base58 = require('bs58')
|
||||||
const ed25519 = require('ssb-keys/sodium')
|
const ed25519 = require('ssb-keys/sodium')
|
||||||
const stringify = require('canonicalize')
|
const stringify = require('json-canon')
|
||||||
const Tangle = require('./tangle')
|
const Tangle = require('./tangle')
|
||||||
const representContent = require('./represent-content')
|
const representContent = require('./represent-content')
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
"async-append-only-log": "^4.3.10",
|
"async-append-only-log": "^4.3.10",
|
||||||
"blake3": "^2.1.7",
|
"blake3": "^2.1.7",
|
||||||
"bs58": "^5.0.0",
|
"bs58": "^5.0.0",
|
||||||
"canonicalize": "^2.0.0",
|
"json-canon": "^1.0.0",
|
||||||
"obz": "^1.1.0",
|
"obz": "^1.1.0",
|
||||||
"promisify-4loc": "^1.0.0",
|
"promisify-4loc": "^1.0.0",
|
||||||
"push-stream": "^11.2.0",
|
"push-stream": "^11.2.0",
|
||||||
|
|
Loading…
Reference in New Issue