Bump version, downgrade engine to LTS

This commit is contained in:
nolash 2021-04-08 16:32:39 +02:00
parent eb860a403f
commit ed02b7635b
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 11 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{
"name": "cic-client-meta",
"version": "0.0.7-alpha.5",
"version": "0.0.7-alpha.6",
"description": "Signed CRDT metadata graphs for the CIC network",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -40,6 +40,6 @@
],
"license": "GPL-3.0-or-later",
"engines": {
"node": "~15.3.0"
"node": "~14.16.1"
}
}

View File

@ -50,10 +50,8 @@ function doOne(keystore, filePath, address) {
const o = vcfp.parse(s);
const phone = o.tel[0].value;
cic.Phone.toKey(address, phone).then((uid) => {
cic.Phone.toKey(phone).then((uid) => {
const o = fs.readFileSync(filePath, 'utf-8');
fs.unlinkSync(filePath);
const s = new cic.Syncable(uid, o);
s.setSigner(signer);
@ -119,6 +117,7 @@ function importMetaPhone(keystore) {
);
doOne(keystore, metaFilePath, address);
fs.unlinkSync(filePath);
count++;
batchCount++;
if (batchCount == batchSize) {

View File

@ -5,7 +5,7 @@
"packages": {
"": {
"dependencies": {
"cic-client-meta": "^0.0.7-alpha.4",
"cic-client-meta": "^0.0.7-alpha.5",
"vcard-parser": "^1.0.0"
}
},
@ -317,9 +317,9 @@
"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
},
"node_modules/cic-client-meta": {
"version": "0.0.7-alpha.4",
"resolved": "https://registry.npmjs.org/cic-client-meta/-/cic-client-meta-0.0.7-alpha.4.tgz",
"integrity": "sha512-f27cL/IHHoU1jTslCgjFZzq9yk3rr2P3kyMTnqOIgXAzINSRdSVsJqhbIRqV/iVeBztvpk1ECsq6Xfn2lU7siw==",
"version": "0.0.7-alpha.5",
"resolved": "https://registry.npmjs.org/cic-client-meta/-/cic-client-meta-0.0.7-alpha.5.tgz",
"integrity": "sha512-h+0wmAKZIgezppBNYDmG387w6tI91FSWqONMTZbMuaO1Ej76Gg0Mk2UcDyAF/dmY6doXz3kHAbWkWat7mTzXAQ==",
"dependencies": {
"@ethereumjs/tx": "^3.0.0-beta.1",
"automerge": "^0.14.1",
@ -2378,9 +2378,9 @@
"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
},
"cic-client-meta": {
"version": "0.0.7-alpha.4",
"resolved": "https://registry.npmjs.org/cic-client-meta/-/cic-client-meta-0.0.7-alpha.4.tgz",
"integrity": "sha512-f27cL/IHHoU1jTslCgjFZzq9yk3rr2P3kyMTnqOIgXAzINSRdSVsJqhbIRqV/iVeBztvpk1ECsq6Xfn2lU7siw==",
"version": "0.0.7-alpha.5",
"resolved": "https://registry.npmjs.org/cic-client-meta/-/cic-client-meta-0.0.7-alpha.5.tgz",
"integrity": "sha512-h+0wmAKZIgezppBNYDmG387w6tI91FSWqONMTZbMuaO1Ej76Gg0Mk2UcDyAF/dmY6doXz3kHAbWkWat7mTzXAQ==",
"requires": {
"@ethereumjs/tx": "^3.0.0-beta.1",
"automerge": "^0.14.1",