diff --git a/.env.example b/.env.example index 897326eba..9a6355484 100644 --- a/.env.example +++ b/.env.example @@ -1,46 +1,6 @@ -# Redis. +PUBLIC_POP_CLIENT_KEY= +POP_SERVER_KEY= +SEND_DEVPROTOCOL_API_KEY= REDIS_URL= REDIS_USERNAME= REDIS_PASSWORD= - -# Market auths. -PUBLIC_DISCORD_CLIENT_ID= -PUBLIC_DISCORD_CLIENT_SECRET= - -PUBLIC_YOUTUBE_CLIENT_ID= - -# FIREBASE -PUBLIC_FIREBASE_APP_ID= -PUBLIC_FIREBASE_API_KEY= -PUBLIC_FIREBASE_PROJECT_ID= -PUBLIC_FIREBASE_MESSAGING_SENDER_ID= -PUBLIC_FIREBASE_CALLBACK_SIGNIN_URL="http://localhost:3000/signin/authentication" - -# Web3. -PUBLIC_ALCHEMY_KEY= -PUBLIC_WEB3_PROVIDER_URL= -PUBLIC_DYNAMIC_ENVIRONMENT_ID= -PUBLIC_WALLET_CONNECT_PROJECT_ID= - -# Imgur. -PUBLIC_IMGUR_CLIENT_ID= -PUBLIC_IMGUR_CLIENT_SECRET= - -# Email. -SENDGRID_API_KEY= -SENDGRID_FROM_EMAIL= -PUBLIC_EMAIL_AUTH_ENDPOINT= -PUBLIC_GATED_CONTACT_FORM_SENDGRID_ENV_KEY='SENDGRID_API_KEY' - -# Misc. -SALT= -SEND_TX_API_KEY= -SEND_DEVPROTOCOL_API_KEY= -CREATOR_CLUBS_CREATION_LIMIT='3' - -# KYC. -PUBLIC_ONDATO_VERIFICATION_URL= - -# Mock Achievements. -MOCK_ACHIEVEMENTS_API_MESSAGE= -MOCK_ACHIEVEMENTS_ADMIN_SIGNATURE= diff --git a/.preview/config.ts b/.preview/config.ts index bdc7a8fa2..36de8713a 100644 --- a/.preview/config.ts +++ b/.preview/config.ts @@ -1,3 +1,4 @@ +/* eslint-disable functional/functional-parameters */ import { encode } from '@devprotocol/clubs-core' export default () => @@ -6,10 +7,10 @@ export default () => twitterHandle: '@debug', description: '', url: '', - propertyAddress: '', + propertyAddress: '0xF5fb43b4674Cc8D07FB45e53Dc77B651e17dC407', chainId: 137, rpcUrl: 'https://polygon-rpc.com/', - adminRolePoints: 50, + adminRolePoints: 0, plugins: [ { id: 'example-theme', @@ -17,7 +18,44 @@ export default () => }, { id: 'devprotocol:clubs:plugin:clubs-payments', - options: [], + options: [ + { key: 'debug', value: true }, + { + key: 'override', + value: [ + { + id: 'id', + importFrom: 'devprotocol:clubs:simple-memberships', + key: 'memberships', + payload: new Uint8Array([0, 1, 2]), // 0xf84a97f1f0a956e738abd85c2e0a5026f8874e3ec09c8f012159dfeeaab2b156 + price: { + yen: 2000, + }, + }, + ], + }, + ], + }, + { + id: 'devprotocol:clubs:simple-memberships', + name: 'memberships', + enable: true, + options: [ + { + key: 'memberships', + value: [ + { + id: 'id', + name: 'Debug', + description: 'Debug', + price: 0.000001, + currency: 'MATIC', + imageSrc: 'https://i.imgur.com/4Qc8iDc.png', + payload: new Uint8Array([0, 1, 2]), // 0xf84a97f1f0a956e738abd85c2e0a5026f8874e3ec09c8f012159dfeeaab2b156 + }, + ], + }, + ], }, ], }) diff --git a/.preview/plugins.ts b/.preview/plugins.ts index 5feea4357..6014f9815 100644 --- a/.preview/plugins.ts +++ b/.preview/plugins.ts @@ -1,4 +1,8 @@ import theme from './theme' import thisPlugin from '../src/index' -export default [theme, thisPlugin] +export default [ + theme, + thisPlugin, + { meta: { id: 'devprotocol:clubs:simple-memberships' } }, +] diff --git a/.preview/preview.ssr/src/env.d.ts b/.preview/preview.ssr/src/env.d.ts index e118f9d7b..d4202422a 100644 --- a/.preview/preview.ssr/src/env.d.ts +++ b/.preview/preview.ssr/src/env.d.ts @@ -1,3 +1,5 @@ +/* eslint-disable @typescript-eslint/triple-slash-reference */ +/// /// declare module '*.astro' { diff --git a/.preview/theme/Connect.vue b/.preview/theme/Connect.vue new file mode 100644 index 000000000..48ddff155 --- /dev/null +++ b/.preview/theme/Connect.vue @@ -0,0 +1,44 @@ + + + diff --git a/.preview/theme/Default.astro b/.preview/theme/Default.astro index c588cde75..bbbdfa559 100644 --- a/.preview/theme/Default.astro +++ b/.preview/theme/Default.astro @@ -1,9 +1,11 @@ --- +import { ClubsSlotName } from '@devprotocol/clubs-core' import '@devprotocol/clubs-core/styles' +import Connect from './Connect.vue' --- - + @@ -11,6 +13,11 @@ import '@devprotocol/clubs-core/styles'
+ + + + +
diff --git a/README.md b/README.md index 114cbde16..5bab65c59 100644 --- a/README.md +++ b/README.md @@ -1,53 +1,7 @@ -## development +## Clubs Payments -Install Dependencies: +### Development -```bash -yarn install -``` +Accessing the following local URL, you can debug the Checkout flow with the ClubsConfigration in `.preview/config.ts`. -Start the app: - -```bash -yarn dev -``` - -## releases - -Use `npm version` to manage git tags and update hosted Clubs by publishing them as GitHub Releases. - -```bash -npm version [patch|minor|major] -git push && git push --tags -``` - -Semantic versioning can basically be determined by the following rules: - -| command | when | -| --------------------- | -------------------------------------------------- | -| npm version **patch** | Bug fixes, Updates without changing functionality. | -| npm version **minor** | Updates without breaking changes. | -| npm version **major** | Major updates with breaking changes. | - -### pre-release - -Changes to the `main` branch are always automatically deployed as prereleases. - -## setup env file - -example: - -``` -REDIS_USERNAME=default -REDIS_PASSWORD=my-redis-password -REDIS_URL='redis://redis....com:16141' -``` - -## populate Redis with tenants - -Once you have set the Redis env variables, you are ready to populate your database. -You can do this by running `yarn run populate`. - -## copy clubs from the production - -For debugging purposes, you can copy the production configuration to a locally connected Redis by running `yarn copy --club CLUB_TENANT_ID`. +http://localhost:4321/fiat/yen/0xf84a97f1f0a956e738abd85c2e0a5026f8874e3ec09c8f012159dfeeaab2b156 diff --git a/package.json b/package.json index 9f996406d..9f3f147b3 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,10 @@ "@astrojs/svelte": "5.7.2", "@astrojs/tailwind": "5.1.1", "@astrojs/vue": "4.5.2", - "@devprotocol/clubs-core": "3.21.1", + "@devprotocol/clubs-core": "3.22.0", "@eslint/js": "^9.13.0", "@rollup/plugin-typescript": "^12.1.1", + "@tailwindcss/typography": "^0.5.15", "@types/dotenv": "8.2.0", "@types/eslint__js": "^8.42.3", "@types/jsonwebtoken": "^9.0.7", @@ -43,6 +44,7 @@ "prettier-plugin-svelte": "3.2.7", "prettier-plugin-tailwindcss": "0.6.8", "rollup": "^4.24.2", + "sass": "^1.80.4", "svelte": "4.2.19", "svelte-check": "^4.0.0", "tailwindcss": "^3.3.3", diff --git a/src/Id.astro b/src/Id.astro index 10f5cf846..952fc5e51 100644 --- a/src/Id.astro +++ b/src/Id.astro @@ -6,12 +6,13 @@ import { Checkout } from '@devprotocol/clubs-core/ui/components' import { i18nFactory } from '@devprotocol/clubs-core' import { Strings } from './i18n' -const { item, propertyAddress, rpcUrl, chainId, ...other } = +const { item, propertyAddress, rpcUrl, chainId, debugMode, ...other } = Astro.props as ClubsPropsPages & { item: ComposedItem propertyAddress: string rpcUrl: string chainId: number + debugMode: boolean } const i18nBase = i18nFactory(Strings) @@ -51,6 +52,7 @@ const { PUBLIC_POP_CLIENT_KEY } = import.meta.env item={item} chainId={chainId} rpcUrl={rpcUrl} + debugMode={debugMode} />
diff --git a/src/TransactionForm.svelte b/src/TransactionForm.svelte index dc9ef3685..5953be999 100644 --- a/src/TransactionForm.svelte +++ b/src/TransactionForm.svelte @@ -19,6 +19,7 @@ export let item: ComposedItem export let chainId: number export let rpcUrl: string + export let debugMode: boolean let account: string | undefined let customerEmail: string | undefined let customerName: string | undefined @@ -94,7 +95,7 @@ account: account_, customerName: customerName_, customerEmail: customerEmail_, - dummy: chainId !== 137 && chainId !== 1, + dummy: debugMode, }), ) ?? new Error('Required fields missing'), ) diff --git a/src/index.ts b/src/index.ts index c15edede4..1f47ac587 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,6 +42,7 @@ export const getPagePaths = (async ( utils, ) => { const items = composeItems(options, utils) + const debugMode = options.find(({ key }) => key === 'debug')?.value === true return items ? [ @@ -55,6 +56,7 @@ export const getPagePaths = (async ( signals: [ClubsPluginSignal.DisplayFullPage], accessControlUrl: item.source.accessControl?.url, accessControlDescription: item.source.accessControl?.description, + debugMode, }, component: Id, })), diff --git a/tailwind.config.js b/tailwind.config.js index be79ad37d..669822e43 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,24 +1,8 @@ -const { tailwindPreset } = require('@devprotocol/clubs-core') -const typography = require('@tailwindcss/typography') +import { tailwindPreset as clubs } from '@devprotocol/clubs-core' +import typography from '@tailwindcss/typography' -/** @type {import('tailwindcss').Config} */ -module.exports = { - mode: 'jit', - presets: [tailwindPreset], +export default { + presets: [clubs], + content: [...clubs.content, '.preview/**/*'], plugins: [typography], - theme: { - extend: { - animation: { - 'c-bash-spinner': 'c-bash-spinner 1s linear infinite', - }, - keyframes: { - 'c-bash-spinner': { - '0%': { content: '"/"' }, - '33%': { content: '"-"' }, - '66%': { content: '"\\005C"' }, - '100%': { content: '"|"' }, - }, - }, - }, - }, } diff --git a/yarn.lock b/yarn.lock index d17ccfc3a..c17356efc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,7 +32,7 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.2.0, @ampproject/remapping@npm:^2.2.1": +"@ampproject/remapping@npm:^2.2.0, @ampproject/remapping@npm:^2.2.1, @ampproject/remapping@npm:^2.3.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" dependencies: @@ -558,9 +558,9 @@ __metadata: languageName: node linkType: hard -"@devprotocol/clubs-core@npm:3.21.1": - version: 3.21.1 - resolution: "@devprotocol/clubs-core@npm:3.21.1" +"@devprotocol/clubs-core@npm:3.22.0": + version: 3.22.0 + resolution: "@devprotocol/clubs-core@npm:3.22.0" dependencies: "@devprotocol/dev-kit": "npm:8.7.0" "@devprotocol/elements": "npm:1.5.3" @@ -581,9 +581,9 @@ __metadata: react: "npm:^18.0.0" react-dom: "npm:^18.0.0" rxjs: "npm:^7.8.1" - svelte: "npm:^4.0.0" + svelte: "npm:^5.0.0" vue: "npm:^3.2.0" - yaml: "npm:2.5.1" + yaml: "npm:2.6.0" peerDependencies: "@astrojs/lit": ^1.0.1 || ^2.0.0 || ^3.0.0 || ^4.0.0 "@astrojs/react": ^1.2.2 || ^2.0.0 || ^3.0.0 @@ -595,7 +595,7 @@ __metadata: lit: ^2.3.1 || ^3.0.0 react: ^18.0.0 react-dom: ^18.0.0 - svelte: ^3.49.0 || ^4.0.0 + svelte: ^3.49.0 || ^4.0.0 || ^5.0.0 tailwindcss: ^3.2.4 vue: ^3.2.0 dependenciesMeta: @@ -607,7 +607,7 @@ __metadata: optional: true vue: optional: true - checksum: 10c0/3731ded2e6a1a99fdbf1b24fb383675f1a71ae530d73b618ee30c5dbb856f7550e6efd81a978169cccca561882a70d0bf41f0a278a99ad12fff0a1472dca990a + checksum: 10c0/106bc5f2587fef9f933ad9f6ed13600dd7cd0599e8fd3b40dab376d5ec148f91909d611524491801f3457b1c8f1550503548f1ee150581e184130a04380532f0 languageName: node linkType: hard @@ -619,11 +619,12 @@ __metadata: "@astrojs/svelte": "npm:5.7.2" "@astrojs/tailwind": "npm:5.1.1" "@astrojs/vue": "npm:4.5.2" - "@devprotocol/clubs-core": "npm:3.21.1" + "@devprotocol/clubs-core": "npm:3.22.0" "@devprotocol/dev-kit": "npm:8.7.0" "@devprotocol/util-ts": "npm:4.0.0" "@eslint/js": "npm:^9.13.0" "@rollup/plugin-typescript": "npm:^12.1.1" + "@tailwindcss/typography": "npm:^0.5.15" "@types/dotenv": "npm:8.2.0" "@types/eslint__js": "npm:^8.42.3" "@types/jsonwebtoken": "npm:^9.0.7" @@ -651,6 +652,7 @@ __metadata: ramda: "npm:0.30.1" redis: "npm:4.7.0" rollup: "npm:^4.24.2" + sass: "npm:^1.80.4" svelte: "npm:4.2.19" svelte-check: "npm:^4.0.0" tailwindcss: "npm:^3.3.3" @@ -1557,6 +1559,140 @@ __metadata: languageName: node linkType: hard +"@parcel/watcher-android-arm64@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-android-arm64@npm:2.4.1" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-darwin-arm64@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-darwin-arm64@npm:2.4.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-darwin-x64@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-darwin-x64@npm:2.4.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher-freebsd-x64@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-freebsd-x64@npm:2.4.1" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm-glibc@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-linux-arm-glibc@npm:2.4.1" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm64-glibc@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-linux-arm64-glibc@npm:2.4.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-arm64-musl@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-linux-arm64-musl@npm:2.4.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-linux-x64-glibc@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-linux-x64-glibc@npm:2.4.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@parcel/watcher-linux-x64-musl@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-linux-x64-musl@npm:2.4.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@parcel/watcher-win32-arm64@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-win32-arm64@npm:2.4.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@parcel/watcher-win32-ia32@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-win32-ia32@npm:2.4.1" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@parcel/watcher-win32-x64@npm:2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher-win32-x64@npm:2.4.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@parcel/watcher@npm:^2.4.1": + version: 2.4.1 + resolution: "@parcel/watcher@npm:2.4.1" + dependencies: + "@parcel/watcher-android-arm64": "npm:2.4.1" + "@parcel/watcher-darwin-arm64": "npm:2.4.1" + "@parcel/watcher-darwin-x64": "npm:2.4.1" + "@parcel/watcher-freebsd-x64": "npm:2.4.1" + "@parcel/watcher-linux-arm-glibc": "npm:2.4.1" + "@parcel/watcher-linux-arm64-glibc": "npm:2.4.1" + "@parcel/watcher-linux-arm64-musl": "npm:2.4.1" + "@parcel/watcher-linux-x64-glibc": "npm:2.4.1" + "@parcel/watcher-linux-x64-musl": "npm:2.4.1" + "@parcel/watcher-win32-arm64": "npm:2.4.1" + "@parcel/watcher-win32-ia32": "npm:2.4.1" + "@parcel/watcher-win32-x64": "npm:2.4.1" + detect-libc: "npm:^1.0.3" + is-glob: "npm:^4.0.3" + micromatch: "npm:^4.0.5" + node-addon-api: "npm:^7.0.0" + node-gyp: "npm:latest" + dependenciesMeta: + "@parcel/watcher-android-arm64": + optional: true + "@parcel/watcher-darwin-arm64": + optional: true + "@parcel/watcher-darwin-x64": + optional: true + "@parcel/watcher-freebsd-x64": + optional: true + "@parcel/watcher-linux-arm-glibc": + optional: true + "@parcel/watcher-linux-arm64-glibc": + optional: true + "@parcel/watcher-linux-arm64-musl": + optional: true + "@parcel/watcher-linux-x64-glibc": + optional: true + "@parcel/watcher-linux-x64-musl": + optional: true + "@parcel/watcher-win32-arm64": + optional: true + "@parcel/watcher-win32-ia32": + optional: true + "@parcel/watcher-win32-x64": + optional: true + checksum: 10c0/33b7112094b9eb46c234d824953967435b628d3d93a0553255e9910829b84cab3da870153c3a870c31db186dc58f3b2db81382fcaee3451438aeec4d786a6211 + languageName: node + linkType: hard + "@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" @@ -1887,6 +2023,20 @@ __metadata: languageName: node linkType: hard +"@tailwindcss/typography@npm:^0.5.15": + version: 0.5.15 + resolution: "@tailwindcss/typography@npm:0.5.15" + dependencies: + lodash.castarray: "npm:^4.4.0" + lodash.isplainobject: "npm:^4.0.6" + lodash.merge: "npm:^4.6.2" + postcss-selector-parser: "npm:6.0.10" + peerDependencies: + tailwindcss: "*" + checksum: 10c0/bd1a1d0ab06816afe129a49cb8a693b4f6ffe77748f5279f07ea29ea9fcb44ef24d1f8b1cfcffaf41dd9cb60065745897cbfc9dcabc57c8a60ceb89d594c97c6 + languageName: node + linkType: hard + "@types/babel__core@npm:^7.20.5": version: 7.20.5 resolution: "@types/babel__core@npm:7.20.5" @@ -1981,7 +2131,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:1.0.6, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.1, @types/estree@npm:^1.0.6": +"@types/estree@npm:*, @types/estree@npm:1.0.6, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.1, @types/estree@npm:^1.0.5, @types/estree@npm:^1.0.6": version: 1.0.6 resolution: "@types/estree@npm:1.0.6" checksum: 10c0/cdfd751f6f9065442cd40957c07fd80361c962869aa853c1c2fd03e101af8b9389d8ff4955a43a6fcfa223dd387a089937f95be0f3eec21ca527039fd2d9859a @@ -2764,6 +2914,15 @@ __metadata: languageName: node linkType: hard +"acorn-typescript@npm:^1.4.13": + version: 1.4.13 + resolution: "acorn-typescript@npm:1.4.13" + peerDependencies: + acorn: ">=8.9.0" + checksum: 10c0/f2f17cf03379d63beeb007f0feea02cebbd9af261f6b5619ea7345b177bd7a5f99752927cbf652baa3fc97962ae4561592093ab0a1c3e00ca4f354ba23c557ae + languageName: node + linkType: hard + "acorn-walk@npm:^8.3.0": version: 8.3.4 resolution: "acorn-walk@npm:8.3.4" @@ -2925,7 +3084,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.3.0, aria-query@npm:^5.3.2": +"aria-query@npm:^5.3.0, aria-query@npm:^5.3.1, aria-query@npm:^5.3.2": version: 5.3.2 resolution: "aria-query@npm:5.3.2" checksum: 10c0/003c7e3e2cff5540bf7a7893775fc614de82b0c5dde8ae823d47b7a28a9d4da1f7ed85f340bdb93d5649caa927755f0e31ecc7ab63edfdfc00c8ef07e505e03e @@ -3361,7 +3520,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^4.0.1": +"chokidar@npm:^4.0.0, chokidar@npm:^4.0.1": version: 4.0.1 resolution: "chokidar@npm:4.0.1" dependencies: @@ -3737,6 +3896,15 @@ __metadata: languageName: node linkType: hard +"detect-libc@npm:^1.0.3": + version: 1.0.3 + resolution: "detect-libc@npm:1.0.3" + bin: + detect-libc: ./bin/detect-libc.js + checksum: 10c0/4da0deae9f69e13bc37a0902d78bf7169480004b1fed3c19722d56cff578d16f0e11633b7fbf5fb6249181236c72e90024cbd68f0b9558ae06e281f47326d50d + languageName: node + linkType: hard + "detect-libc@npm:^2.0.3": version: 2.0.3 resolution: "detect-libc@npm:2.0.3" @@ -4137,6 +4305,13 @@ __metadata: languageName: node linkType: hard +"esm-env@npm:^1.0.0": + version: 1.0.0 + resolution: "esm-env@npm:1.0.0" + checksum: 10c0/6ea0001410224ebc18de4a83ce97dbdca6abc83ea4bbe91625aa3aead70793bb98dfa089f38e2cc5c13b7b025668d0649d5e25f2f9e8cca0f4aa3ad3406870d0 + languageName: node + linkType: hard + "espree@npm:^10.0.1, espree@npm:^10.2.0": version: 10.2.0 resolution: "espree@npm:10.2.0" @@ -4167,6 +4342,16 @@ __metadata: languageName: node linkType: hard +"esrap@npm:^1.2.2": + version: 1.2.2 + resolution: "esrap@npm:1.2.2" + dependencies: + "@jridgewell/sourcemap-codec": "npm:^1.4.15" + "@types/estree": "npm:^1.0.1" + checksum: 10c0/a3a0b665c034f604a162b910346309c64c42635c5d2e8704a27afcdf4e6d4c529e05475d1875d6b3e0d550f8470986116414097230ab3a7c565b85091ca5e177 + languageName: node + linkType: hard + "esrecurse@npm:^4.3.0": version: 4.3.0 resolution: "esrecurse@npm:4.3.0" @@ -4911,6 +5096,13 @@ __metadata: languageName: node linkType: hard +"immutable@npm:^4.0.0": + version: 4.3.7 + resolution: "immutable@npm:4.3.7" + checksum: 10c0/9b099197081b22f6433003e34929da8ecddbbdc1474cdc8aa3b7669dee4adda349c06143de22def36016d1b6de5322b043eccd7a11db1dad2ca85dad4fff5435 + languageName: node + linkType: hard + "import-fresh@npm:^3.2.1": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" @@ -5090,7 +5282,7 @@ __metadata: languageName: node linkType: hard -"is-reference@npm:^3.0.0, is-reference@npm:^3.0.1": +"is-reference@npm:^3.0.0, is-reference@npm:^3.0.1, is-reference@npm:^3.0.2": version: 3.0.2 resolution: "is-reference@npm:3.0.2" dependencies: @@ -5526,6 +5718,13 @@ __metadata: languageName: node linkType: hard +"lodash.castarray@npm:^4.4.0": + version: 4.4.0 + resolution: "lodash.castarray@npm:4.4.0" + checksum: 10c0/0bf523ad1596a5bf17869ba047235b4453eee927005013ae152345e2b291b81a02e7f2b7c38f876a1d16f73c34aa3c3241e965193e5b31595035bc8f330c4358 + languageName: node + linkType: hard + "lodash.includes@npm:^4.3.0": version: 4.3.0 resolution: "lodash.includes@npm:4.3.0" @@ -6510,6 +6709,15 @@ __metadata: languageName: node linkType: hard +"node-addon-api@npm:^7.0.0": + version: 7.1.1 + resolution: "node-addon-api@npm:7.1.1" + dependencies: + node-gyp: "npm:latest" + checksum: 10c0/fb32a206276d608037fa1bcd7e9921e177fe992fc610d098aa3128baca3c0050fc1e014fa007e9b3874cf865ddb4f5bd9f43ccb7cbbbe4efaff6a83e920b17e9 + languageName: node + linkType: hard + "node-fetch@npm:^2.6.12": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" @@ -7004,6 +7212,16 @@ __metadata: languageName: node linkType: hard +"postcss-selector-parser@npm:6.0.10": + version: 6.0.10 + resolution: "postcss-selector-parser@npm:6.0.10" + dependencies: + cssesc: "npm:^3.0.0" + util-deprecate: "npm:^1.0.2" + checksum: 10c0/a0b27c5e3f7604c8dc7cd83f145fdd7b21448e0d86072da99e0d78e536ba27aa9db2d42024c50aa530408ee517c4bdc0260529e1afb56608f9a82e839c207e82 + languageName: node + linkType: hard + "postcss-selector-parser@npm:^6.0.11, postcss-selector-parser@npm:^6.1.1": version: 6.1.2 resolution: "postcss-selector-parser@npm:6.1.2" @@ -7699,6 +7917,20 @@ __metadata: languageName: node linkType: hard +"sass@npm:^1.80.4": + version: 1.80.4 + resolution: "sass@npm:1.80.4" + dependencies: + "@parcel/watcher": "npm:^2.4.1" + chokidar: "npm:^4.0.0" + immutable: "npm:^4.0.0" + source-map-js: "npm:>=0.6.2 <2.0.0" + bin: + sass: sass.js + checksum: 10c0/58ca0f2d10720cde6621ee62f4bdbb537ea2ac572c565d5f02309f8271a5e1e880ad8c163b933e52b22b3dc0550973fb5a6033a500248e6a0d89dd050c1743cf + languageName: node + linkType: hard + "saxes@npm:^6.0.0": version: 6.0.0 resolution: "saxes@npm:6.0.0" @@ -7924,7 +8156,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1": +"source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0, source-map-js@npm:^1.2.1": version: 1.2.1 resolution: "source-map-js@npm:1.2.1" checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf @@ -8179,7 +8411,7 @@ __metadata: languageName: node linkType: hard -"svelte@npm:4.2.19, svelte@npm:^4.0.0": +"svelte@npm:4.2.19": version: 4.2.19 resolution: "svelte@npm:4.2.19" dependencies: @@ -8201,6 +8433,27 @@ __metadata: languageName: node linkType: hard +"svelte@npm:^5.0.0": + version: 5.1.3 + resolution: "svelte@npm:5.1.3" + dependencies: + "@ampproject/remapping": "npm:^2.3.0" + "@jridgewell/sourcemap-codec": "npm:^1.5.0" + "@types/estree": "npm:^1.0.5" + acorn: "npm:^8.12.1" + acorn-typescript: "npm:^1.4.13" + aria-query: "npm:^5.3.1" + axobject-query: "npm:^4.1.0" + esm-env: "npm:^1.0.0" + esrap: "npm:^1.2.2" + is-reference: "npm:^3.0.2" + locate-character: "npm:^3.0.0" + magic-string: "npm:^0.30.11" + zimmerframe: "npm:^1.1.2" + checksum: 10c0/5dab758f0ebd2843e09352513bbc476b480182a9f667fc582c6dd21318975f8aeb7309ba5fd13d530b7b4911374a2ba49746ed07154b7f2aa3dff58427b8c697 + languageName: node + linkType: hard + "svg-tags@npm:^1.0.0": version: 1.0.0 resolution: "svg-tags@npm:1.0.0" @@ -9510,16 +9763,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:2.5.1": - version: 2.5.1 - resolution: "yaml@npm:2.5.1" - bin: - yaml: bin.mjs - checksum: 10c0/40fba5682898dbeeb3319e358a968fe886509fab6f58725732a15f8dda3abac509f91e76817c708c9959a15f786f38ff863c1b88062d7c1162c5334a7d09cb4a - languageName: node - linkType: hard - -"yaml@npm:^2.3.4, yaml@npm:^2.5.0": +"yaml@npm:2.6.0, yaml@npm:^2.3.4, yaml@npm:^2.5.0": version: 2.6.0 resolution: "yaml@npm:2.6.0" bin: @@ -9564,6 +9808,13 @@ __metadata: languageName: node linkType: hard +"zimmerframe@npm:^1.1.2": + version: 1.1.2 + resolution: "zimmerframe@npm:1.1.2" + checksum: 10c0/8f693609c31cbb4449db223acd61661bc93b73e615f9db6fb8c86d4ceea84ca54cbbeebcf53cf74c22a1f923b92abd18e97988a5e175c76b6ab17238e5593a9d + languageName: node + linkType: hard + "zod-to-json-schema@npm:^3.23.3": version: 3.23.5 resolution: "zod-to-json-schema@npm:3.23.5"