diff --git a/gen/api-auth/package.json b/gen/api-auth/package.json index 029b0602..c54fc997 100644 --- a/gen/api-auth/package.json +++ b/gen/api-auth/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/auth","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":true,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.1"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/auth", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": true, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.1" +} \ No newline at end of file diff --git a/gen/api-chat/package.json b/gen/api-chat/package.json index 7fcbd78f..38af7152 100644 --- a/gen/api-chat/package.json +++ b/gen/api-chat/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"Rivet service enabling identities to send and receive chat messages","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/chat","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":false,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.7"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "Rivet service enabling identities to send and receive chat messages", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/chat", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": false, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.7" +} \ No newline at end of file diff --git a/gen/api-cloud/package.json b/gen/api-cloud/package.json index f1e41c24..a4478c16 100644 --- a/gen/api-cloud/package.json +++ b/gen/api-cloud/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"Rivet service for developers to manage games","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/cloud","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":true,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.1"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "Rivet service for developers to manage games", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/cloud", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": true, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.1" +} \ No newline at end of file diff --git a/gen/api-group/package.json b/gen/api-group/package.json index 8e84c8f6..1ab93bd3 100644 --- a/gen/api-group/package.json +++ b/gen/api-group/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"Rivet service enabling identities to create groups together","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/group","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":false,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.7"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "Rivet service enabling identities to create groups together", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/group", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": false, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.7" +} \ No newline at end of file diff --git a/gen/api-identity/package.json b/gen/api-identity/package.json index c359fe59..4d73e1cb 100644 --- a/gen/api-identity/package.json +++ b/gen/api-identity/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"Rivet service for authenticating and managing identities","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/identity","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":false,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.14"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "Rivet service for authenticating and managing identities", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/identity", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": false, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.14" +} \ No newline at end of file diff --git a/gen/api-kv/package.json b/gen/api-kv/package.json index 269b8b08..a604b581 100644 --- a/gen/api-kv/package.json +++ b/gen/api-kv/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"Rivet service for interacting with the key-value database","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/kv","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":false,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.8"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "Rivet service for interacting with the key-value database", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/kv", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": false, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.8" +} \ No newline at end of file diff --git a/gen/api-party/package.json b/gen/api-party/package.json index 9c07ed92..797a330d 100644 --- a/gen/api-party/package.json +++ b/gen/api-party/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"Rivet service enabling identities to play together in real time across games","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/party","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":false,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.7"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "Rivet service enabling identities to play together in real time across games", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/party", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": false, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.7" +} \ No newline at end of file diff --git a/gen/api-portal/package.json b/gen/api-portal/package.json index c9adfadb..0751b147 100644 --- a/gen/api-portal/package.json +++ b/gen/api-portal/package.json @@ -1 +1,92 @@ -{"author":"Rivet Gaming, LLC","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"bugs":{"email":"developer@rivet.gg"},"dependencies":{"@aws-crypto/sha256-browser":"2.0.0","@aws-crypto/sha256-js":"2.0.0","@aws-sdk/config-resolver":"3.80.0","@aws-sdk/fetch-http-handler":"3.78.0","@aws-sdk/hash-node":"3.78.0","@aws-sdk/invalid-dependency":"3.78.0","@aws-sdk/middleware-content-length":"3.78.0","@aws-sdk/middleware-host-header":"3.78.0","@aws-sdk/middleware-logger":"3.78.0","@aws-sdk/middleware-retry":"3.80.0","@aws-sdk/middleware-serde":"3.78.0","@aws-sdk/middleware-stack":"3.78.0","@aws-sdk/middleware-user-agent":"3.78.0","@aws-sdk/node-config-provider":"3.80.0","@aws-sdk/node-http-handler":"3.94.0","@aws-sdk/protocol-http":"3.78.0","@aws-sdk/smithy-client":"3.99.0","@aws-sdk/types":"3.78.0","@aws-sdk/url-parser":"3.78.0","@aws-sdk/util-base64-browser":"3.58.0","@aws-sdk/util-base64-node":"3.55.0","@aws-sdk/util-body-length-browser":"3.55.0","@aws-sdk/util-body-length-node":"3.55.0","@aws-sdk/util-defaults-mode-browser":"3.99.0","@aws-sdk/util-defaults-mode-node":"3.99.0","@aws-sdk/util-user-agent-browser":"3.78.0","@aws-sdk/util-user-agent-node":"3.80.0","@aws-sdk/util-utf8-browser":"3.55.0","@aws-sdk/util-utf8-node":"3.55.0","@rivet-gg/common":"https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0","tslib":"^2.3.1"},"description":"","devDependencies":{"@aws-sdk/service-client-documentation-generator":"git+https://github.com/rivet-gg/service-client-documentation-generator.git","@tsconfig/recommended":"1.0.1","@types/node":"^12.7.5","concurrently":"7.0.0","downlevel-dts":"0.7.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.6.2"},"engines":{"node":">=12.0.0"},"files":["dist-*"],"homepage":"https://rivet.gg/","license":"Apache-2.0","main":"./dist-cjs/index.js","module":"./dist-es/index.js","name":"@rivet-gg/portal","overrides":{"typedoc":{"typescript":"~4.6.2"}},"private":true,"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"scripts":{"build":"yarn run build:cjs && yarn run build:es && yarn run build:types","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","prepack":"yarn run clean && yarn run build"},"sideEffects":false,"types":"./dist-types/index.d.ts","typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"version":"0.0.1"} \ No newline at end of file +{ + "author": "Rivet Gaming, LLC", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "bugs": { + "email": "developer@rivet.gg" + }, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/config-resolver": "3.80.0", + "@aws-sdk/fetch-http-handler": "3.78.0", + "@aws-sdk/hash-node": "3.78.0", + "@aws-sdk/invalid-dependency": "3.78.0", + "@aws-sdk/middleware-content-length": "3.78.0", + "@aws-sdk/middleware-host-header": "3.78.0", + "@aws-sdk/middleware-logger": "3.78.0", + "@aws-sdk/middleware-retry": "3.80.0", + "@aws-sdk/middleware-serde": "3.78.0", + "@aws-sdk/middleware-stack": "3.78.0", + "@aws-sdk/middleware-user-agent": "3.78.0", + "@aws-sdk/node-config-provider": "3.80.0", + "@aws-sdk/node-http-handler": "3.94.0", + "@aws-sdk/protocol-http": "3.78.0", + "@aws-sdk/smithy-client": "3.99.0", + "@aws-sdk/types": "3.78.0", + "@aws-sdk/url-parser": "3.78.0", + "@aws-sdk/util-base64-browser": "3.58.0", + "@aws-sdk/util-base64-node": "3.55.0", + "@aws-sdk/util-body-length-browser": "3.55.0", + "@aws-sdk/util-body-length-node": "3.55.0", + "@aws-sdk/util-defaults-mode-browser": "3.99.0", + "@aws-sdk/util-defaults-mode-node": "3.99.0", + "@aws-sdk/util-user-agent-browser": "3.78.0", + "@aws-sdk/util-user-agent-node": "3.80.0", + "@aws-sdk/util-utf8-browser": "3.55.0", + "@aws-sdk/util-utf8-node": "3.55.0", + "tslib": "^2.3.1" + }, + "description": "", + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "git+https://github.com/rivet-gg/service-client-documentation-generator.git", + "@tsconfig/recommended": "1.0.1", + "@types/node": "^12.7.5", + "concurrently": "7.0.0", + "downlevel-dts": "0.7.0", + "rimraf": "^3.0.0", + "typedoc": "^0.19.2", + "typescript": "~4.6.2" + }, + "engines": { + "node": ">=12.0.0" + }, + "files": [ + "dist-*" + ], + "homepage": "https://rivet.gg/", + "license": "Apache-2.0", + "main": "./dist-cjs/index.js", + "module": "./dist-es/index.js", + "name": "@rivet-gg/portal", + "overrides": { + "typedoc": { + "typescript": "~4.6.2" + } + }, + "private": true, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "scripts": { + "build": "yarn run build:cjs && yarn run build:es && yarn run build:types", + "build:cjs": "tsc -p tsconfig.cjs.json", + "build:docs": "typedoc", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", + "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "prepack": "yarn run clean && yarn run build" + }, + "sideEffects": false, + "types": "./dist-types/index.d.ts", + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "version": "0.0.1" +} \ No newline at end of file diff --git a/src/elements/pages/dev-only.ts b/src/elements/pages/dev-only.ts index a5c7ae1e..19ab8304 100644 --- a/src/elements/pages/dev-only.ts +++ b/src/elements/pages/dev-only.ts @@ -1,4 +1,4 @@ -import { LitElement, html } from 'lit'; +import { html, LitElement } from 'lit'; import { customElement, property } from 'lit/decorators.js'; import { cssify } from '../../utils/css'; import styles from './dev-only.scss'; @@ -9,6 +9,9 @@ import UIRouter from '../root/ui-router'; import { globalEventGroups, IdentityChangeEvent } from '../../utils/global-events'; import { isDeveloper } from '../../utils/identity'; +/** + * @deprecated + */ @customElement('page-dev-only') export default class PageDevOnly extends LitElement { static styles = cssify(styles); diff --git a/src/elements/pages/dev/user/consent.scss b/src/elements/pages/dev/user/consent.scss deleted file mode 100644 index 7073bd82..00000000 --- a/src/elements/pages/dev/user/consent.scss +++ /dev/null @@ -1,102 +0,0 @@ -@use '../../../shared/common'; - -#preload { - position: absolute; - width: 0; - height: 0; - left: 0; - top: 0; - opacity: 0; -} - -#base { - position: relative; - width: 100%; - height: 100%; - min-height: 100vh; - - display: flex; - justify-content: center; - align-items: center; - - #center { - position: relative; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - box-sizing: border-box; - padding: 60px 45px; - max-width: 100vw; - - #overflow { - position: absolute; - max-width: 100vw; - max-height: 100vh; - overflow: hidden; - - #bg { - position: absolute; - left: 50%; - top: 50%; - width: 600px; - height: 400px; - transform: translate(-50%, -50%); - } - } - - #content { - position: relative; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - z-index: 1; - - #header { - display: flex; - flex-direction: column; - align-items: center; - - e-svg { - width: 50px; - height: 50px; - margin-right: 10px; - } - - h1 { - position: relative; - margin: 0; - text-align: center; - font-weight: 900; - font-size: 55px; - } - } - - h2 { - position: relative; - margin: 0; - text-align: center; - font-weight: 600; - font-size: 16px; - } - - #consent-area { - display: flex; - flex-direction: row; - align-items: center; - margin: 30px 0 20px 0; - - p { - margin: 0; - font-size: 14px; - color: #ecececec; - } - } - - stylized-button { - --text-transform: none; - } - } - } -} diff --git a/src/elements/pages/dev/user/consent.ts b/src/elements/pages/dev/user/consent.ts deleted file mode 100644 index cf7f066b..00000000 --- a/src/elements/pages/dev/user/consent.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { LitElement, html } from 'lit'; -import { customElement } from 'lit/decorators.js'; -import { cssify } from '../../../../utils/css'; -import styles from './consent.scss'; -import global from '../../../../utils/global'; - -@customElement('page-consent') -export default class ConsentPage extends LitElement { - static styles = cssify(styles); - - onConsent() { - global.grantConsent(); - } - - render() { - return html` -
-
-
- -
-
- -

First things first, lets do some housekeeping.

- - - - Continue -
-
-
- `; - } -} diff --git a/src/elements/pages/dev/user/module.ts b/src/elements/pages/dev/user/module.ts index cbed6bb1..97097791 100644 --- a/src/elements/pages/dev/user/module.ts +++ b/src/elements/pages/dev/user/module.ts @@ -1,2 +1 @@ -import './consent'; import './settings'; diff --git a/src/elements/pages/module.ts b/src/elements/pages/module.ts index af330973..7b1ac0dc 100644 --- a/src/elements/pages/module.ts +++ b/src/elements/pages/module.ts @@ -6,4 +6,4 @@ import './dev-only'; import './error'; import './invalid-page-state'; import './link-game'; -import './dev-dash'; +import './rvt-user-dashboard'; diff --git a/src/elements/pages/dev-dash.scss b/src/elements/pages/rvt-user-dashboard.scss similarity index 96% rename from src/elements/pages/dev-dash.scss rename to src/elements/pages/rvt-user-dashboard.scss index ee32e00d..f604a1ae 100644 --- a/src/elements/pages/dev-dash.scss +++ b/src/elements/pages/rvt-user-dashboard.scss @@ -6,6 +6,12 @@ $tile-margin: 8px; $tile-border-radius: 20px; +:host { + display: flex; + justify-content: center; + min-height: 100%; +} + #base { padding: 0 20px 27px 20px; @@ -60,10 +66,10 @@ $tile-border-radius: 20px; object-fit: cover; $mask: radial-gradient( - circle farthest-corner at 0 calc(100% + 150px), - rgba(0, 0, 0, 0.7) 0%, - rgba(0, 0, 0, 0.7) 5%, - rgba(0, 0, 0, 1) 100% + circle farthest-corner at 0 calc(100% + 150px), + rgba(0, 0, 0, 0.7) 0%, + rgba(0, 0, 0, 0.7) 5%, + rgba(0, 0, 0, 1) 100% ); mask-image: $mask; -webkit-mask-image: $mask; @@ -296,9 +302,8 @@ $tile-border-radius: 20px; max-width: 300px; box-sizing: border-box; - transition: - transform consts.$transition-length, - box-shadow consts.$transition-length; + transition: transform consts.$transition-length, + box-shadow consts.$transition-length; @include common.active-state(); @@ -403,9 +408,8 @@ $tile-border-radius: 20px; max-width: 320px; box-sizing: border-box; - transition: - transform consts.$transition-length, - box-shadow consts.$transition-length; + transition: transform consts.$transition-length, + box-shadow consts.$transition-length; @include common.active-state(); @@ -550,9 +554,8 @@ $tile-border-radius: 20px; box-sizing: border-box; border-radius: $tile-border-radius; - transition: - transform consts.$transition-length, - box-shadow consts.$transition-length; + transition: transform consts.$transition-length, + box-shadow consts.$transition-length; cursor: pointer; @include common.active-state(); diff --git a/src/elements/pages/dev-dash.ts b/src/elements/pages/rvt-user-dashboard.ts similarity index 50% rename from src/elements/pages/dev-dash.ts rename to src/elements/pages/rvt-user-dashboard.ts index e22a37c5..890c8141 100644 --- a/src/elements/pages/dev-dash.ts +++ b/src/elements/pages/rvt-user-dashboard.ts @@ -1,17 +1,17 @@ -import { LitElement, html } from 'lit'; +import { html, LitElement } from 'lit'; import { customElement, property } from 'lit/decorators.js'; import { cssify } from '../../utils/css'; -import styles from './dev-dash.scss'; +import styles from './rvt-user-dashboard.scss'; import global from '../../utils/global'; import { when } from 'lit/directives/when.js'; -import { IdentityChangeEvent, globalEventGroups } from '../../utils/global-events'; +import { globalEventGroups, IdentityChangeEvent } from '../../utils/global-events'; import { isDeveloper } from '../../utils/identity'; import routes from '../../routes'; import UIRouter from '../root/ui-router'; import UIRoot from '../root/ui-root'; -import clsx from 'clsx'; -@customElement('dev-dash') -export default class DeveloperDash extends LitElement { + +@customElement('rvt-user-dashboard') +export default class RvtUserDashboard extends LitElement { static styles = cssify(styles); @property({ type: Object }) @@ -44,49 +44,57 @@ export default class DeveloperDash extends LitElement { } } + onLoginButtonClick() { + global.grantConsent(); + UIRoot.shared.openRegisterPanel(); + } + render() { return html` ${when( - global.currentIdentity.isAdmin || - global.currentIdentity.groups.find(group => group.group.isDeveloper), + global.currentIdentity?.isAdmin || + global.currentIdentity?.groups.find(group => group.group.isDeveloper), () => html` -
+
-
+
`, () => html` -
-

Private Beta

-

- Rivet is still in private beta. Join the waitlist to get early access. -

-
+
+ +

Welcome to Rivet!

+

Rivet is still in private beta.

+

Join the waitlist to get early access.

+
Beta Access Form
${when( - !global.currentIdentity.isRegistered, + !global.currentIdentity?.isRegistered, () => html` -
-

Have access and just got logged out?

-
- UIRoot.shared.openRegisterPanel()}> +
+
+

Have access and just got logged out?

+ Login
+

+ By clicking Login, you agree to the Rivet + + Terms of Service + + and + + Privacy Policy . +

` )}
diff --git a/src/elements/profile/user-banner.scss b/src/elements/profile/user-banner.scss index ff7b4c43..0ed702e7 100644 --- a/src/elements/profile/user-banner.scss +++ b/src/elements/profile/user-banner.scss @@ -7,7 +7,6 @@ $tile-margin: 8px; $tile-border-radius: 20px; #base { - padding: 0 20px 27px 20px; display: flex; flex-direction: column; @@ -62,10 +61,10 @@ $tile-border-radius: 20px; object-fit: cover; $mask: radial-gradient( - circle farthest-corner at 0 calc(100% + 150px), - rgba(0, 0, 0, 0.7) 0%, - rgba(0, 0, 0, 0.7) 5%, - rgba(0, 0, 0, 1) 100% + circle farthest-corner at 0 calc(100% + 150px), + rgba(0, 0, 0, 0.7) 0%, + rgba(0, 0, 0, 0.7) 5%, + rgba(0, 0, 0, 1) 100% ); mask-image: $mask; -webkit-mask-image: $mask; @@ -298,9 +297,8 @@ $tile-border-radius: 20px; max-width: 300px; box-sizing: border-box; - transition: - transform consts.$transition-length, - box-shadow consts.$transition-length; + transition: transform consts.$transition-length, + box-shadow consts.$transition-length; @include common.active-state(); @@ -405,9 +403,8 @@ $tile-border-radius: 20px; max-width: 320px; box-sizing: border-box; - transition: - transform consts.$transition-length, - box-shadow consts.$transition-length; + transition: transform consts.$transition-length, + box-shadow consts.$transition-length; @include common.active-state(); @@ -552,9 +549,8 @@ $tile-border-radius: 20px; box-sizing: border-box; border-radius: $tile-border-radius; - transition: - transform consts.$transition-length, - box-shadow consts.$transition-length; + transition: transform consts.$transition-length, + box-shadow consts.$transition-length; cursor: pointer; @include common.active-state(); diff --git a/src/elements/root/ui-root.scss b/src/elements/root/ui-root.scss index f0e450fe..145659bd 100644 --- a/src/elements/root/ui-root.scss +++ b/src/elements/root/ui-root.scss @@ -31,17 +31,6 @@ // min-height: 100vh; // left: consts.$sidebar-width; // top: 0px; - - ui-router { - box-sizing: border-box; - position: relative; - min-height: 100%; - } - - &.mobile { - left: 0; - width: 100%; - } } // === MEDIA HOLDER === @@ -58,9 +47,8 @@ pointer-events: none; // Don't transition width or height for performance - transition: - consts.$transition-length bottom, - consts.$transition-length right; + transition: consts.$transition-length bottom, + consts.$transition-length right; &.minimize { box-shadow: 0 0 16px rgba(0, 0, 0, 0.25); @@ -223,9 +211,8 @@ search-panel { border-radius: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); - transition: - consts.$transition-length opacity, - consts.$transition-length transform; + transition: consts.$transition-length opacity, + consts.$transition-length transform; } #dim { diff --git a/src/elements/root/ui-root.ts b/src/elements/root/ui-root.ts index 9792c046..748b6bfd 100644 --- a/src/elements/root/ui-root.ts +++ b/src/elements/root/ui-root.ts @@ -1,12 +1,12 @@ import { customElement, property, query } from 'lit/decorators.js'; -import { LitElement, html, TemplateResult } from 'lit'; +import { html, LitElement, TemplateResult } from 'lit'; import { classMap } from 'lit/directives/class-map.js'; import { when } from 'lit/directives/when.js'; import { repeat } from 'lit/directives/repeat.js'; import { ifDefined } from 'lit/directives/if-defined.js'; import { cssify } from '../../utils/css'; import { GlobalStatus } from '../../utils/global'; -import { globalEventGroups, windowEventGroups, GlobalStatusChangeEvent } from '../../utils/global-events'; +import { globalEventGroups, GlobalStatusChangeEvent, windowEventGroups } from '../../utils/global-events'; import timing from '../../utils/timing'; import styles from './ui-root.scss'; import UIRouter, { RouteChangeEvent, RouteTitleChangeEvent } from './ui-router'; @@ -17,7 +17,7 @@ import config from '../../config'; import { HookFetch } from '../../utils/fetch-hook'; import { DeferredStageEvent, Stage } from '../pages/link-game'; import StylizedButton from '../common/stylized-button'; -import { Orientation, Alignment } from '../common/overlay-positioning'; +import { Alignment, Orientation } from '../common/overlay-positioning'; import { DropDownSelectEvent, DropDownSelection } from '../dev/drop-down-list'; import { Breadcrumb } from '../common/navbar'; @@ -163,7 +163,6 @@ export default class UIRoot extends LitElement { // === LIFECYCLE === connectedCallback() { super.connectedCallback(); - // Handle status change this.handleStatusChange = this.onStatusChange.bind(this); globalEventGroups.add('status-change', this.handleStatusChange); @@ -365,7 +364,6 @@ export default class UIRoot extends LitElement { // === RENDER === render() { let content = null; - // NOTE: Game link page has own flow if ( window.location.pathname.startsWith('/link/') && @@ -385,17 +383,16 @@ export default class UIRoot extends LitElement { ${this.renderBasicOverlays()} `; } else { + console.log(this.globalStatus); switch (this.globalStatus) { // Loading case GlobalStatus.Loading: case GlobalStatus.Authenticating: this.showLoading(); break; - - // Interactive case GlobalStatus.Consenting: this.hideLoading(); - content = html``; + content = html` `; break; case GlobalStatus.Connected: case GlobalStatus.Reconnecting: @@ -441,7 +438,7 @@ export default class UIRoot extends LitElement { inFlightHostCountsSorted, x => x[0], x => { - return html`
  • + return html`
  • ${x[0]}: ${x[1]}
  • `; } @@ -454,11 +451,8 @@ export default class UIRoot extends LitElement { renderContent() { return html` - -
    - -
    +
    void; /*=== Navigation State ===*/ + /// Returns the full URL for the current page. get fullPath(): string { return location.href; @@ -540,7 +537,7 @@ export default class UIRouter extends LitElement { let newestPage = pageList[pageList.length - 1]; - if (!newestPage) return html`
    `; + if (!newestPage) return html``; // Create class map let classes = classMap({ @@ -550,17 +547,6 @@ export default class UIRouter extends LitElement { back: newestPage.back }); - // Position old pages in the proper y-pos based on scroll - let scrollStyle = styleMap({ - transform: newestPage.old ? `translateY(${-newestPage.state.scrollTop + this.scrollTop}px)` : null - }); - - // Two divs are used here because you cannot animate separate transform properties in - // css separately - return html`
    -
    -
    ${newestPage.renderResult.template}
    -
    -
    `; + return html`
    ${newestPage.renderResult.template}
    `; } } diff --git a/src/routes.ts b/src/routes.ts index b2bb4394..1fabd2b2 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -1,4 +1,4 @@ -import { TemplateResult, html } from 'lit'; +import { html, TemplateResult } from 'lit'; import * as pathToRegexp from 'path-to-regexp'; import global from './utils/global'; import utils from './utils/utils'; @@ -63,11 +63,13 @@ class Route

    { namespace routes { export let home = new Route<{}>({ path: '/', - render({}) { + render() { return { title: 'Home', breadcrumb: { type: 'Home' }, - template: html` ` + template: html` + + ` }; } }); @@ -87,7 +89,7 @@ namespace routes { path: '/developer/:path*', render({ path }, search) { return { - redirect: `${window.location.origin}/${path}${ + redirect: `${window.location.origin} /${path}${ search ? `?${new URLSearchParams(search).toString()}` : '' }` }; @@ -96,7 +98,7 @@ namespace routes { // Reuse the same template in order to preserve the same `page-group-settings` instance. function renderPageGroupSettings(groupId: string, config?: GroupSettingsRootConfig) { - return html``; + return html` `; } export let groupSettingsRedirect = new Route<{ groupId: string }>({ @@ -131,7 +133,7 @@ namespace routes { return { title: 'Group', breadcrumb: { type: 'Group', groupId: id }, - template: html`` + template: html` ` }; } }); @@ -149,7 +151,7 @@ namespace routes { groupId, title: 'Analytics' }, - template: html`` + template: html` ` }; } }); @@ -160,7 +162,7 @@ namespace routes { return { title: 'Group Invite', breadcrumb: { type: 'Custom' }, - template: html`` + template: html` ` }; } }); @@ -171,7 +173,7 @@ namespace routes { return { title: `Settings`, breadcrumb: { type: 'Custom' }, - template: html`` + template: html` ` }; } }); @@ -182,7 +184,7 @@ namespace routes { return { title: `Link account`, breadcrumb: { type: 'Custom' }, - template: html`` + template: html` ` }; } }); @@ -196,17 +198,17 @@ namespace routes { return { title: 'Link Device', breadcrumb: { type: 'Custom' }, - template: html`` + template: html` ` }; } }); // Reuse the same template in order to preserve the same `page-dev-game` instance. function renderPageDevGame(gameId: string, namespaceId: string, config: DevGameRootConfig) { - return html``; } @@ -219,7 +221,7 @@ namespace routes { return { title: 'Game', breadcrumb: { type: 'Game', gameId, title: 'Overview' }, - template: html` ` + template: html` ` }; } }); @@ -235,7 +237,10 @@ namespace routes { }); function renderPageDevGameSettings(gameId: string, config: GameSettingsRootConfig) { - return html``; + return html` `; } export let devGameSettingsRedirect = new Route<{ gameId: string }>({ @@ -444,7 +449,7 @@ export namespace responses { type: 'Custom' }, - template: html`` + template: html` ` }; } @@ -454,7 +459,7 @@ export namespace responses { breadcrumb: { type: 'Custom' }, - template: html`` + template: html` ` }; } @@ -464,7 +469,7 @@ export namespace responses { breadcrumb: { type: 'Custom' }, - template: html` + template: html`

    404

    This page isn't available or it doesn't exist. Sorry!

    ` @@ -477,7 +482,7 @@ export namespace responses { breadcrumb: { type: 'Custom' }, - template: html` + template: html`

    Coming Soon

    This page isn't available yet. Come back soon!

    @@ -493,15 +498,15 @@ export namespace responses { breadcrumb: { type: 'Custom' }, - template: html` + template: html`

    Registered Only

    This page isn't available for guest accounts. Register to save your account.

    - UIRoot.shared.openRegisterPanel()} - >Register Now + Register Now +
    ` }; @@ -513,7 +518,7 @@ export namespace responses { breadcrumb: { type: 'Custom' }, - template: html` + template: html`

    Desktop Only

    This page is only available on a Desktop platform.

    ` @@ -526,7 +531,7 @@ export namespace responses { breadcrumb: { type: 'Custom' }, - template: html`` + template: html` ` }; } @@ -535,7 +540,7 @@ export namespace responses { let errorMessage: string; if (typeof error == 'string') errorMessage = error; else if (error instanceof RivetError) { - return html``; @@ -548,7 +553,7 @@ export namespace responses { errorMessage = err.statusText ? err.statusText : err.status.toString() ?? 'Error'; } else errorMessage = 'Error'; - return html``; + return html` `; } } diff --git a/yarn.lock b/yarn.lock index 46e0c2e0..0730c839 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2130,7 +2130,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rivet-gg/chat@file:gen/api-chat": @@ -2165,7 +2164,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rivet-gg/cloud@file:gen/api-cloud": @@ -2200,15 +2198,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" - tslib "^2.3.1" - -"@rivet-gg/common@https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0": - version "0.1.0" - resolved "git+ssh://git@github.com/rivet-gg/rivet-sdk-js.git#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" - integrity sha512-itN3X/QvE7cpGa2LzveUS+/nsLMU6gVw8CLfDiMCruNSeiufkalPdnHMGpkpcy0UaI2sN1qAY34EIII4yftyhw== - dependencies: - node-fetch "^2.6.7" tslib "^2.3.1" "@rivet-gg/group@file:gen/api-group": @@ -2243,7 +2232,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rivet-gg/identity@file:gen/api-identity": @@ -2278,7 +2266,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rivet-gg/kv@file:gen/api-kv": @@ -2313,7 +2300,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rivet-gg/party@file:gen/api-party": @@ -2348,7 +2334,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rivet-gg/portal@file:gen/api-portal": @@ -2383,7 +2368,6 @@ "@aws-sdk/util-user-agent-node" "3.80.0" "@aws-sdk/util-utf8-browser" "3.55.0" "@aws-sdk/util-utf8-node" "3.55.0" - "@rivet-gg/common" "https://github.com/rivet-gg/rivet-sdk-js#4f439a15506de88c24c0e08ae3e5fe05cb0c60a0" tslib "^2.3.1" "@rollup/plugin-babel@^5.2.0": @@ -6587,7 +6571,7 @@ no-case@^3.0.4: lower-case "^2.0.2" tslib "^2.0.3" -node-fetch@2.6.7, node-fetch@^2.6.7: +node-fetch@2.6.7: version "2.6.7" resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==