Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Nov 15, 2024
1 parent 2593120 commit 1b33f58
Show file tree
Hide file tree
Showing 3 changed files with 1,037 additions and 476 deletions.
8 changes: 7 additions & 1 deletion api/stately/generated/stately_item_types.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* eslint-disable */

import { createClient as createGenericClient, StatelyError } from "@stately-cloud/client";
import clientPackageJson from "@stately-cloud/client/package.json" with { "type": "json" };
import {
ApiAppSchema,
GlobalSettingsSchema,
Expand Down Expand Up @@ -53,9 +54,14 @@ export const typeToSchema = {
"StatConstraintsEntry": StatConstraintsEntrySchema,
};

const SCHEMA_VERSION_ID = 1
/** The version of the schema that this client was generated for. */
const SCHEMA_VERSION_ID = 2;

export function createClient(storeId, opts) {

return createGenericClient(storeId, typeToSchema, SCHEMA_VERSION_ID, opts);
}

if (createGenericClient.length < 3) {
throw new Error("Your version of @stately-cloud/client is too old. Please update to the latest version.");
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --detectOpenHandles --verbose --coverage --forceExit",
"test:watch": "jest --watch",
"eslint-inspect": "pnpm dlx @eslint/config-inspector",
"generate": "stately schema generate -l js --schema-id 8030842688320564 --version 1 api/stately/generated",
"generate": "stately schema generate -l js --schema-id 8030842688320564 --version 2 api/stately/generated",
"generate-preview": "stately schema generate -l js --preview api/stately/schema/index.ts api/stately/generated",
"dim-api-types:build": "./build-dim-api-types.sh"
},
Expand All @@ -30,46 +30,46 @@
"@babel/plugin-transform-object-rest-spread": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@eslint/compat": "^1.2.2",
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.14.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.3.0",
"@sentry/cli": "^2.38.2",
"@stately-cloud/schema": "^0.9.0",
"@stately-cloud/schema": "^0.10.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash": "^4.17.13",
"@types/morgan": "^1.9.9",
"@types/pg": "^8.11.10",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"@types/vhost": "3.0.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"db-migrate": "^0.11.14",
"db-migrate-pg": "^1.5.2",
"eslint": "^9.14.0",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-sonarjs": "^1.0.4",
"globals": "^15.12.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^3.2.4",
"rollup": "^3.29.5",
"prettier-plugin-organize-imports": "^4.1.0",
"rollup": "^4.26.0",
"supertest-fetch": "^2.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
"typescript-eslint": "^8.14.0"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.2",
"@godaddy/terminus": "^4.12.1",
"@google-cloud/profiler": "^6.0.2",
"@sentry/node": "^7.119.2",
"@sentry/node": "^8.38.0",
"@sentry/tracing": "^7.114.0",
"@stately-cloud/client": "^0.12.0",
"bungie-api-ts": "^5.1.0",
Expand All @@ -88,7 +88,7 @@
"pg": "^8.13.1",
"pg-protocol": "^1.7.0",
"slugify": "^1.6.6",
"uuid": "^9.0.1",
"uuid": "^11.0.3",
"vhost": "^3.0.2"
},
"packageManager": "pnpm@8.9.0+sha256.8f5264ad1d100da11a6add6bb8a94c6f1e913f9e9261b2a551fabefad2ec0fec"
Expand Down
Loading

0 comments on commit 1b33f58

Please sign in to comment.