From 47673ba9c3197468fdbf497460870f0c17242c96 Mon Sep 17 00:00:00 2001 From: Amadeo Pellicce Date: Fri, 12 Aug 2022 13:03:43 +0200 Subject: [PATCH 1/2] fixing issue in networks initialisation --- src/model/Network.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/Network.ts b/src/model/Network.ts index 53b65cf..1a61afa 100644 --- a/src/model/Network.ts +++ b/src/model/Network.ts @@ -16,7 +16,7 @@ export class Network extends RepoObject { constructor(info: Partial) { super(info); - if(!this.name || toHyphenCase(this.name) !== info.id) { + if(!this.name || toHyphenCase(this.name) !== info.networkId) { throw new Error('Network requires a name that is the hyphencase version of the id'); } From c306e044495323f5a1e4de8b05708ae3eae6f104 Mon Sep 17 00:00:00 2001 From: Amadeo Pellicce Date: Fri, 12 Aug 2022 13:03:59 +0200 Subject: [PATCH 2/2] 1.0.120 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c69ccc1..82201b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@map3xyz/assets-helper", - "version": "1.0.119", + "version": "1.0.120", "description": "A library for maintaining the assets repo.", "author": "pellicceama", "keywords": [