diff --git a/README.md b/README.md index 08249f0..6911659 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# theoutlet +# Kurate diff --git a/package-lock.json b/package-lock.json index 61e29e8..7f25620 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15897,6 +15897,10 @@ "node": ">=6" } }, + "node_modules/kurate": { + "resolved": "packages/ui", + "link": true + }, "node_modules/lerna": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/lerna/-/lerna-6.4.1.tgz", @@ -24543,10 +24547,6 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/theoutlet": { - "resolved": "packages/ui", - "link": true - }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -26984,7 +26984,7 @@ } }, "packages/ui": { - "name": "theoutlet", + "name": "kurate", "version": "0.0.1", "devDependencies": { "@fontsource/source-code-pro": "^4.5.14", @@ -39590,6 +39590,105 @@ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", "dev": true }, + "kurate": { + "version": "file:packages/ui", + "requires": { + "@fontsource/source-code-pro": "^4.5.14", + "@fontsource/source-sans-pro": "^4.5.11", + "@fontsource/source-serif-pro": "^4.5.9", + "@playwright/test": "1.30.0", + "@rollup/plugin-inject": "^5.0.3", + "@semaphore-protocol/group": "3.0.0", + "@semaphore-protocol/identity": "3.0.0", + "@semaphore-protocol/proof": "3.0.0", + "@sveltejs/adapter-static": "^1.0.6", + "@sveltejs/kit": "^1.3.10", + "@typescript-eslint/eslint-plugin": "^5.50.0", + "@typescript-eslint/parser": "^5.50.0", + "big-integer": "^1.6.51", + "bigint-conversion": "^2.3.0", + "eslint": "^8.33.0", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-svelte3": "^4.0.0", + "ethers": "^5.7.2", + "js-waku": "^0.30.0", + "multiaddr": "^10.0.1", + "node-stdlib-browser": "^1.2.0", + "prettier": "^2.8.3", + "prettier-plugin-svelte": "^2.9.0", + "protons": "^7.0.0", + "protons-runtime": "^5.0.0", + "sass": "^1.58.0", + "svelte": "^3.55.1", + "svelte-check": "^3.0.3", + "svelte-preprocess": "^5.0.1", + "tslib": "^2.5.0", + "typescript": "^4.9.5", + "vite": "^4.1.1" + }, + "dependencies": { + "@fontsource/source-sans-pro": { + "version": "4.5.11", + "dev": true + }, + "@fontsource/source-serif-pro": { + "version": "4.5.9", + "dev": true + }, + "eslint-plugin-svelte3": { + "version": "4.0.0", + "dev": true, + "requires": {} + }, + "long": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", + "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==", + "dev": true + }, + "prettier": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", + "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", + "dev": true + }, + "prettier-plugin-svelte": { + "version": "2.9.0", + "dev": true, + "requires": {} + }, + "protobufjs": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.1.tgz", + "integrity": "sha512-L3pCItypTnPK27+CS8nuhZMYtsY+i8dqdq2vZsYHlG17CnWp1DWPQ/sos0vOKrj1fHEAzo3GBqSHLaeZyKUCDA==", + "dev": true, + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + } + }, + "protons-runtime": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.0.tgz", + "integrity": "sha512-QqjGnPGkpvbzq0dITzhG9DVK10rRIHf7nePcU2QQVVpFGuYbwrOWnvGSvei1GcceAzB9syTz6vHzvTPmGRR0PA==", + "dev": true, + "requires": { + "protobufjs": "^7.0.0", + "uint8arraylist": "^2.4.3" + } + } + } + }, "lerna": { "version": "6.4.1", "resolved": "https://registry.npmjs.org/lerna/-/lerna-6.4.1.tgz", @@ -46249,105 +46348,6 @@ } } }, - "theoutlet": { - "version": "file:packages/ui", - "requires": { - "@fontsource/source-code-pro": "^4.5.14", - "@fontsource/source-sans-pro": "^4.5.11", - "@fontsource/source-serif-pro": "^4.5.9", - "@playwright/test": "1.30.0", - "@rollup/plugin-inject": "^5.0.3", - "@semaphore-protocol/group": "3.0.0", - "@semaphore-protocol/identity": "3.0.0", - "@semaphore-protocol/proof": "3.0.0", - "@sveltejs/adapter-static": "^1.0.6", - "@sveltejs/kit": "^1.3.10", - "@typescript-eslint/eslint-plugin": "^5.50.0", - "@typescript-eslint/parser": "^5.50.0", - "big-integer": "^1.6.51", - "bigint-conversion": "^2.3.0", - "eslint": "^8.33.0", - "eslint-config-prettier": "^8.6.0", - "eslint-plugin-svelte3": "^4.0.0", - "ethers": "^5.7.2", - "js-waku": "^0.30.0", - "multiaddr": "^10.0.1", - "node-stdlib-browser": "^1.2.0", - "prettier": "^2.8.3", - "prettier-plugin-svelte": "^2.9.0", - "protons": "^7.0.0", - "protons-runtime": "^5.0.0", - "sass": "^1.58.0", - "svelte": "^3.55.1", - "svelte-check": "^3.0.3", - "svelte-preprocess": "^5.0.1", - "tslib": "^2.5.0", - "typescript": "^4.9.5", - "vite": "^4.1.1" - }, - "dependencies": { - "@fontsource/source-sans-pro": { - "version": "4.5.11", - "dev": true - }, - "@fontsource/source-serif-pro": { - "version": "4.5.9", - "dev": true - }, - "eslint-plugin-svelte3": { - "version": "4.0.0", - "dev": true, - "requires": {} - }, - "long": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", - "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==", - "dev": true - }, - "prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", - "dev": true - }, - "prettier-plugin-svelte": { - "version": "2.9.0", - "dev": true, - "requires": {} - }, - "protobufjs": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.1.tgz", - "integrity": "sha512-L3pCItypTnPK27+CS8nuhZMYtsY+i8dqdq2vZsYHlG17CnWp1DWPQ/sos0vOKrj1fHEAzo3GBqSHLaeZyKUCDA==", - "dev": true, - "requires": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - } - }, - "protons-runtime": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/protons-runtime/-/protons-runtime-5.0.0.tgz", - "integrity": "sha512-QqjGnPGkpvbzq0dITzhG9DVK10rRIHf7nePcU2QQVVpFGuYbwrOWnvGSvei1GcceAzB9syTz6vHzvTPmGRR0PA==", - "dev": true, - "requires": { - "protobufjs": "^7.0.0", - "uint8arraylist": "^2.4.3" - } - } - } - }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", diff --git a/packages/ui/package.json b/packages/ui/package.json index f50aa7c..397ddac 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,5 +1,5 @@ { - "name": "theoutlet", + "name": "kurate", "version": "0.0.1", "private": true, "scripts": { diff --git a/packages/ui/src/lib/services/posts.ts b/packages/ui/src/lib/services/posts.ts index 05857fb..4f658b5 100644 --- a/packages/ui/src/lib/services/posts.ts +++ b/packages/ui/src/lib/services/posts.ts @@ -26,7 +26,7 @@ export type PostClean = { } export const getPostsTopic = () => { - return `/the-outlet/1/posts/proto` + return `/kurate/1/posts/proto` } // TODO: Does this have to be keccak? Does it need to be hashable on-chain?