@dbos-inc/dbos-sdk 1.20.5-preview → 1.20.12-preview.g6123518221

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/src/data_validation.js +4 -4
  2. package/dist/src/data_validation.js.map +1 -1
  3. package/dist/src/dbos-executor.d.ts +3 -1
  4. package/dist/src/dbos-executor.d.ts.map +1 -1
  5. package/dist/src/dbos-executor.js +23 -4
  6. package/dist/src/dbos-executor.js.map +1 -1
  7. package/dist/src/dbos-runtime/config.js +1 -1
  8. package/dist/src/dbos-runtime/config.js.map +1 -1
  9. package/dist/src/dbos-runtime/configure.d.ts.map +1 -1
  10. package/dist/src/dbos-runtime/configure.js +17 -31
  11. package/dist/src/dbos-runtime/configure.js.map +1 -1
  12. package/dist/src/dbos-runtime/migrate.js +1 -1
  13. package/dist/src/dbos-runtime/migrate.js.map +1 -1
  14. package/dist/src/debugger/debug_workflow.js +1 -1
  15. package/dist/src/debugger/debug_workflow.js.map +1 -1
  16. package/dist/src/decorators.d.ts +6 -2
  17. package/dist/src/decorators.d.ts.map +1 -1
  18. package/dist/src/decorators.js +1 -1
  19. package/dist/src/decorators.js.map +1 -1
  20. package/dist/src/httpServer/server.d.ts.map +1 -1
  21. package/dist/src/httpServer/server.js +4 -1
  22. package/dist/src/httpServer/server.js.map +1 -1
  23. package/dist/src/scheduler/scheduler.d.ts.map +1 -1
  24. package/dist/src/scheduler/scheduler.js +2 -2
  25. package/dist/src/scheduler/scheduler.js.map +1 -1
  26. package/dist/src/user_database.d.ts +10 -5
  27. package/dist/src/user_database.d.ts.map +1 -1
  28. package/dist/src/user_database.js +14 -15
  29. package/dist/src/user_database.js.map +1 -1
  30. package/dist/src/workflow.d.ts.map +1 -1
  31. package/dist/src/workflow.js +2 -1
  32. package/dist/src/workflow.js.map +1 -1
  33. package/dist/tsconfig.build.tsbuildinfo +1 -1
  34. package/eslint.config.js +3 -1
  35. package/package.json +12 -10
package/eslint.config.js CHANGED
@@ -32,10 +32,12 @@ module.exports = typescriptEslint.config(
32
32
  },
33
33
 
34
34
  rules: {
35
+ "eqeqeq": "error",
35
36
  "@typescript-eslint/indent": "off",
36
37
  "@typescript-eslint/unbound-method": ["error", { ignoreStatic: true }],
37
38
  "@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrors: "none" }],
38
- "@typescript-eslint/no-misused-promises": ["error", { checksVoidReturn: false }]
39
+ "@typescript-eslint/no-misused-promises": ["error", { checksVoidReturn: false }],
40
+ "@typescript-eslint/no-floating-promises": "error"
39
41
  }
40
42
  }
41
43
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/dbos-sdk",
3
- "version": "1.20.5-preview",
3
+ "version": "1.20.12-preview.g6123518221",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -16,8 +16,8 @@
16
16
  "scripts": {
17
17
  "build": "tsc --project tsconfig.build.json && npm run --workspaces build",
18
18
  "build-fdb": "tsc --project tsconfig.build-fdb.json && npm run --workspaces build",
19
- "lint": "eslint --ignore-pattern src/foundationdb/ --ignore-pattern tests/foundationdb/ --ignore-pattern **/coverage/ .",
20
- "lint-fdb": "eslint --ignore-pattern **/coverage/ .",
19
+ "lint": "rm -rf packages/create/templates/hello-prisma/node_modules/ && eslint --ignore-pattern src/foundationdb/ --ignore-pattern tests/foundationdb/ --ignore-pattern **/coverage/ .",
20
+ "lint-fdb": "rm -rf packages/create/templates/hello-prisma/node_modules/ && eslint --ignore-pattern **/coverage/ .",
21
21
  "setversion": "npm run --workspaces setversion && grunt setversion",
22
22
  "test": "npm run build && rm -rf packages/create/templates/hello-prisma/node_modules/ && npm run --workspaces test && npx prisma generate --schema tests/prisma/schema.prisma && jest --coverage --collectCoverageFrom='src/**/*' --collectCoverageFrom='!src/foundationdb/**/*' --detectOpenHandles --testPathIgnorePatterns=examples/* --testPathIgnorePatterns=packages/* --testPathIgnorePatterns=tests/foundationdb/*",
23
23
  "test-fdb": "npm run build-fdb && rm -rf packages/create/templates/hello-prisma/node_modules/ && npm run --workspaces test && npx prisma generate --schema tests/prisma/schema.prisma && jest --runInBand --coverage"
@@ -28,8 +28,6 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@prisma/client": "^5.3.1",
31
- "@types/inquirer": "^8.2.10",
32
- "@types/jest": "^29.5.12",
33
31
  "@types/koa": "^2.15.0",
34
32
  "@types/koa__cors": "^5.0.0",
35
33
  "@types/koa__router": "^12.0.4",
@@ -41,17 +39,18 @@
41
39
  "@typescript-eslint/eslint-plugin": "^8.0.0-alpha.30",
42
40
  "@typescript-eslint/parser": "^8.0.0-alpha.30",
43
41
  "axios": "^1.6.7",
42
+ "drizzle-orm": "^0.32.2",
44
43
  "eslint": "^9.4.0",
45
44
  "jest": "^29.7.0",
46
- "nerdbank-gitversioning": "^3.6.133",
47
45
  "prisma": "^5.1.1",
48
46
  "supertest": "^7.0.0",
49
- "ts-jest": "^29.1.2",
47
+ "ts-jest": "^29.2.4",
50
48
  "typeorm": "^0.3.17",
51
49
  "typescript": "^5.4.5",
52
50
  "typescript-eslint": "^8.0.0-alpha.30"
53
51
  },
54
52
  "dependencies": {
53
+ "@inquirer/prompts": "^5.3.8",
55
54
  "@koa/bodyparser": "5.0.0",
56
55
  "@koa/cors": "5.0.0",
57
56
  "@koa/router": "12.0.1",
@@ -66,14 +65,13 @@
66
65
  "@opentelemetry/semantic-conventions": "1.22.0",
67
66
  "ajv": "8.13.0",
68
67
  "commander": "12.0.0",
69
- "drizzle-orm": "^0.32.2",
70
- "inquirer": "^8.2.6",
71
68
  "kafkajs": "^2.2.4",
72
69
  "knex": "3.1.0",
73
- "koa": "2.15.0",
70
+ "koa": "^2.15.0",
74
71
  "lodash": "4.17.21",
75
72
  "openapi-types": "12.1.3",
76
73
  "pg": "8.11.3",
74
+ "pg-protocol": "^1.6.1",
77
75
  "reflect-metadata": "^0.2.2",
78
76
  "serialize-error": "8.1.0",
79
77
  "uuid": "9.0.1",
@@ -81,6 +79,10 @@
81
79
  "winston-transport": "4.7.0",
82
80
  "yaml": "2.4.1"
83
81
  },
82
+ "peerDependencies": {
83
+ "@types/koa": "^2.15.0",
84
+ "koa": "^2.15.0"
85
+ },
84
86
  "optionalDependencies": {
85
87
  "foundationdb": "^2.0.1"
86
88
  }