diff --git a/package.json b/package.json index 4ffc7670..ef599010 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "request-promise": "^4.2.2", "response-time": "^2.3.2", "shelljs": "^0.8.2", - "shock-common": "24.x.x", + "shock-common": "28.2.0", "socket.io": "2.1.1", "text-encoding": "^0.7.0", "tingodb": "^0.6.1", @@ -67,6 +67,7 @@ "@types/jsonwebtoken": "^8.3.7", "@types/lodash": "^4.14.141", "@types/ramda": "types/npm-ramda#dist", + "@types/react": "16.x.x", "@types/socket.io": "^2.1.11", "@types/uuid": "^3.4.5", "babel-eslint": "^10.0.3", diff --git a/services/gunDB/contact-api/actions.js b/services/gunDB/contact-api/actions.js index f784cfe5..e747deda 100644 --- a/services/gunDB/contact-api/actions.js +++ b/services/gunDB/contact-api/actions.js @@ -1274,8 +1274,7 @@ const createPostNew = async (tags, title, content) => { status: 'publish', tags: tags.join('-'), title, - contentItems: {}, - tipCounter: 0 + contentItems: {} } content.forEach(c => { diff --git a/services/gunDB/contact-api/jobs/onOrders.js b/services/gunDB/contact-api/jobs/onOrders.js index d869b2eb..5cc5e124 100644 --- a/services/gunDB/contact-api/jobs/onOrders.js +++ b/services/gunDB/contact-api/jobs/onOrders.js @@ -243,7 +243,7 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => { }) /** - * @param {Common.Invoice} invoice + * @param {Common.InvoiceWhenListed} invoice */ const onData = invoice => { if (invoice.settled) { diff --git a/yarn.lock b/yarn.lock index bad2473b..8abfc121 100644 --- a/yarn.lock +++ b/yarn.lock @@ -722,6 +722,11 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== +"@types/prop-types@*": + version "15.7.3" + resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" + integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== + "@types/pvutils@*": version "0.0.2" resolved "https://registry.npmjs.org/@types/pvutils/-/pvutils-0.0.2.tgz#e21684962cfa58ac920fd576d90556032dc86009" @@ -736,6 +741,14 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c" integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA== +"@types/react@16.x.x": + version "16.14.2" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.14.2.tgz#85dcc0947d0645349923c04ccef6018a1ab7538c" + integrity sha512-BzzcAlyDxXl2nANlabtT4thtvbbnhee8hMmH/CcJrISDBVcJS1iOsP1f0OAgSdGE0MsY9tqcrb9YoZcOFv9dbQ== + dependencies: + "@types/prop-types" "*" + csstype "^3.0.2" + "@types/serve-static@*": version "1.13.3" resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.3.tgz#eb7e1c41c4468272557e897e9171ded5e2ded9d1" @@ -2010,6 +2023,11 @@ cssstyle@^1.0.0: dependencies: cssom "0.3.x" +csstype@^3.0.2: + version "3.0.6" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.6.tgz#865d0b5833d7d8d40f4e5b8a6d76aea3de4725ef" + integrity sha512-+ZAmfyWMT7TiIlzdqJgjMb7S4f1beorDbWbsocyK4RaiqA5RTX3K14bnBWmmA9QEM0gRdsjyyrEmcyga8Zsxmw== + dashdash@^1.12.0: version "1.14.1" resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -6210,10 +6228,10 @@ shellwords@^0.1.1: resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww== -shock-common@24.x.x: - version "24.0.0" - resolved "https://registry.yarnpkg.com/shock-common/-/shock-common-24.0.0.tgz#4307846515c49ab78720ef59df07486fcae15fd6" - integrity sha512-bCaxSZcK6Lb6e4+KTXU9bSKKu9b+SEf+n10NG6X/9NjMZQgKF/hUZUVVgsslsRfiobJbSUBK3uIzBsU7a0pMAA== +shock-common@28.2.0: + version "28.2.0" + resolved "https://registry.yarnpkg.com/shock-common/-/shock-common-28.2.0.tgz#96af4b1e29ef49748624f0fa013d9d8cf8b101e3" + integrity sha512-ZyQEAIu05ZwZbEA50V56SP4eAUu4sLQEb7yvnUKkqSzMAhnecVc1KtUz9RRv+keUjVNhFj8A9z8GA4aweyLkTg== dependencies: immer "^6.0.6" lodash "^4.17.19"