@dbos-inc/dbos-sdk 0.12.11-preview → 0.12.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,8 @@
8
8
  "name": "dbos-hello",
9
9
  "version": "0.0.1",
10
10
  "dependencies": {
11
- "@dbos-inc/dbos-sdk": "../.."
11
+ "@dbos-inc/dbos-sdk": "../..",
12
+ "knex": "3.1.0"
12
13
  },
13
14
  "devDependencies": {
14
15
  "@dbos-inc/eslint-plugin": "^0.0.6",
@@ -33,21 +34,28 @@
33
34
  "@koa/cors": "5.0.0",
34
35
  "@koa/router": "12.0.1",
35
36
  "@opentelemetry/api": "1.8.0",
37
+ "@opentelemetry/api-logs": "0.49.1",
38
+ "@opentelemetry/core": "1.22.0",
36
39
  "@opentelemetry/exporter-logs-otlp-proto": "0.49.1",
37
40
  "@opentelemetry/exporter-trace-otlp-proto": "0.49.1",
41
+ "@opentelemetry/resources": "1.22.0",
42
+ "@opentelemetry/sdk-logs": "0.49.1",
38
43
  "@opentelemetry/sdk-trace-base": "1.22.0",
44
+ "@opentelemetry/semantic-conventions": "1.22.0",
39
45
  "axios": "1.6.7",
40
46
  "commander": "12.0.0",
41
47
  "fast-glob": "3.3.2",
42
48
  "knex": "3.1.0",
43
49
  "koa": "2.15.0",
44
50
  "lodash": "4.17.21",
51
+ "openapi-types": "12.1.3",
45
52
  "pg": "8.11.3",
46
53
  "reflect-metadata": "0.2.1",
47
54
  "serialize-error": "8.1.0",
48
55
  "uuid": "9.0.1",
49
56
  "validator": "13.11.0",
50
57
  "winston": "3.12.0",
58
+ "winston-transport": "4.7.0",
51
59
  "yaml": "2.4.1"
52
60
  },
53
61
  "bin": {
@@ -2231,6 +2239,11 @@
2231
2239
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
2232
2240
  "dev": true
2233
2241
  },
2242
+ "node_modules/colorette": {
2243
+ "version": "2.0.19",
2244
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz",
2245
+ "integrity": "sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ=="
2246
+ },
2234
2247
  "node_modules/combined-stream": {
2235
2248
  "version": "1.0.8",
2236
2249
  "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
@@ -2243,6 +2256,14 @@
2243
2256
  "node": ">= 0.8"
2244
2257
  }
2245
2258
  },
2259
+ "node_modules/commander": {
2260
+ "version": "10.0.1",
2261
+ "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",
2262
+ "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",
2263
+ "engines": {
2264
+ "node": ">=14"
2265
+ }
2266
+ },
2246
2267
  "node_modules/component-emitter": {
2247
2268
  "version": "1.3.1",
2248
2269
  "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz",
@@ -2309,7 +2330,6 @@
2309
2330
  "version": "4.3.4",
2310
2331
  "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
2311
2332
  "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
2312
- "dev": true,
2313
2333
  "dependencies": {
2314
2334
  "ms": "2.1.2"
2315
2335
  },
@@ -2473,7 +2493,6 @@
2473
2493
  "version": "3.1.2",
2474
2494
  "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
2475
2495
  "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
2476
- "dev": true,
2477
2496
  "engines": {
2478
2497
  "node": ">=6"
2479
2498
  }
@@ -2617,6 +2636,14 @@
2617
2636
  "node": "*"
2618
2637
  }
2619
2638
  },
2639
+ "node_modules/esm": {
2640
+ "version": "3.2.25",
2641
+ "resolved": "https://registry.npmjs.org/esm/-/esm-3.2.25.tgz",
2642
+ "integrity": "sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==",
2643
+ "engines": {
2644
+ "node": ">=6"
2645
+ }
2646
+ },
2620
2647
  "node_modules/espree": {
2621
2648
  "version": "9.6.1",
2622
2649
  "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
@@ -2920,7 +2947,6 @@
2920
2947
  "version": "1.1.2",
2921
2948
  "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
2922
2949
  "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
2923
- "dev": true,
2924
2950
  "funding": {
2925
2951
  "url": "https://github.com/sponsors/ljharb"
2926
2952
  }
@@ -2966,7 +2992,6 @@
2966
2992
  "version": "0.1.0",
2967
2993
  "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
2968
2994
  "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
2969
- "dev": true,
2970
2995
  "engines": {
2971
2996
  "node": ">=8.0.0"
2972
2997
  }
@@ -2983,6 +3008,11 @@
2983
3008
  "url": "https://github.com/sponsors/sindresorhus"
2984
3009
  }
2985
3010
  },
3011
+ "node_modules/getopts": {
3012
+ "version": "2.3.0",
3013
+ "resolved": "https://registry.npmjs.org/getopts/-/getopts-2.3.0.tgz",
3014
+ "integrity": "sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA=="
3015
+ },
2986
3016
  "node_modules/glob": {
2987
3017
  "version": "7.2.3",
2988
3018
  "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
@@ -3145,7 +3175,6 @@
3145
3175
  "version": "2.0.1",
3146
3176
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
3147
3177
  "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
3148
- "dev": true,
3149
3178
  "dependencies": {
3150
3179
  "function-bind": "^1.1.2"
3151
3180
  },
@@ -3246,6 +3275,14 @@
3246
3275
  "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
3247
3276
  "dev": true
3248
3277
  },
3278
+ "node_modules/interpret": {
3279
+ "version": "2.2.0",
3280
+ "resolved": "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz",
3281
+ "integrity": "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==",
3282
+ "engines": {
3283
+ "node": ">= 0.10"
3284
+ }
3285
+ },
3249
3286
  "node_modules/is-arrayish": {
3250
3287
  "version": "0.2.1",
3251
3288
  "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
@@ -3256,7 +3293,6 @@
3256
3293
  "version": "2.13.1",
3257
3294
  "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
3258
3295
  "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
3259
- "dev": true,
3260
3296
  "dependencies": {
3261
3297
  "hasown": "^2.0.0"
3262
3298
  },
@@ -4044,6 +4080,64 @@
4044
4080
  "node": ">=6"
4045
4081
  }
4046
4082
  },
4083
+ "node_modules/knex": {
4084
+ "version": "3.1.0",
4085
+ "resolved": "https://registry.npmjs.org/knex/-/knex-3.1.0.tgz",
4086
+ "integrity": "sha512-GLoII6hR0c4ti243gMs5/1Rb3B+AjwMOfjYm97pu0FOQa7JH56hgBxYf5WK2525ceSbBY1cjeZ9yk99GPMB6Kw==",
4087
+ "dependencies": {
4088
+ "colorette": "2.0.19",
4089
+ "commander": "^10.0.0",
4090
+ "debug": "4.3.4",
4091
+ "escalade": "^3.1.1",
4092
+ "esm": "^3.2.25",
4093
+ "get-package-type": "^0.1.0",
4094
+ "getopts": "2.3.0",
4095
+ "interpret": "^2.2.0",
4096
+ "lodash": "^4.17.21",
4097
+ "pg-connection-string": "2.6.2",
4098
+ "rechoir": "^0.8.0",
4099
+ "resolve-from": "^5.0.0",
4100
+ "tarn": "^3.0.2",
4101
+ "tildify": "2.0.0"
4102
+ },
4103
+ "bin": {
4104
+ "knex": "bin/cli.js"
4105
+ },
4106
+ "engines": {
4107
+ "node": ">=16"
4108
+ },
4109
+ "peerDependenciesMeta": {
4110
+ "better-sqlite3": {
4111
+ "optional": true
4112
+ },
4113
+ "mysql": {
4114
+ "optional": true
4115
+ },
4116
+ "mysql2": {
4117
+ "optional": true
4118
+ },
4119
+ "pg": {
4120
+ "optional": true
4121
+ },
4122
+ "pg-native": {
4123
+ "optional": true
4124
+ },
4125
+ "sqlite3": {
4126
+ "optional": true
4127
+ },
4128
+ "tedious": {
4129
+ "optional": true
4130
+ }
4131
+ }
4132
+ },
4133
+ "node_modules/knex/node_modules/resolve-from": {
4134
+ "version": "5.0.0",
4135
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
4136
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
4137
+ "engines": {
4138
+ "node": ">=8"
4139
+ }
4140
+ },
4047
4141
  "node_modules/leven": {
4048
4142
  "version": "3.1.0",
4049
4143
  "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
@@ -4087,6 +4181,11 @@
4087
4181
  "url": "https://github.com/sponsors/sindresorhus"
4088
4182
  }
4089
4183
  },
4184
+ "node_modules/lodash": {
4185
+ "version": "4.17.21",
4186
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
4187
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
4188
+ },
4090
4189
  "node_modules/lodash.memoize": {
4091
4190
  "version": "4.1.2",
4092
4191
  "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
@@ -4235,8 +4334,7 @@
4235
4334
  "node_modules/ms": {
4236
4335
  "version": "2.1.2",
4237
4336
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
4238
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
4239
- "dev": true
4337
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
4240
4338
  },
4241
4339
  "node_modules/natural-compare": {
4242
4340
  "version": "1.4.0",
@@ -4426,8 +4524,7 @@
4426
4524
  "node_modules/path-parse": {
4427
4525
  "version": "1.0.7",
4428
4526
  "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
4429
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
4430
- "dev": true
4527
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
4431
4528
  },
4432
4529
  "node_modules/path-type": {
4433
4530
  "version": "4.0.0",
@@ -4438,6 +4535,11 @@
4438
4535
  "node": ">=8"
4439
4536
  }
4440
4537
  },
4538
+ "node_modules/pg-connection-string": {
4539
+ "version": "2.6.2",
4540
+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz",
4541
+ "integrity": "sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA=="
4542
+ },
4441
4543
  "node_modules/picocolors": {
4442
4544
  "version": "1.0.0",
4443
4545
  "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
@@ -4643,6 +4745,17 @@
4643
4745
  "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==",
4644
4746
  "dev": true
4645
4747
  },
4748
+ "node_modules/rechoir": {
4749
+ "version": "0.8.0",
4750
+ "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz",
4751
+ "integrity": "sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==",
4752
+ "dependencies": {
4753
+ "resolve": "^1.20.0"
4754
+ },
4755
+ "engines": {
4756
+ "node": ">= 10.13.0"
4757
+ }
4758
+ },
4646
4759
  "node_modules/regexp-tree": {
4647
4760
  "version": "0.1.27",
4648
4761
  "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz",
@@ -4665,7 +4778,6 @@
4665
4778
  "version": "1.22.8",
4666
4779
  "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
4667
4780
  "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
4668
- "dev": true,
4669
4781
  "dependencies": {
4670
4782
  "is-core-module": "^2.13.0",
4671
4783
  "path-parse": "^1.0.7",
@@ -5049,7 +5161,6 @@
5049
5161
  "version": "1.0.0",
5050
5162
  "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
5051
5163
  "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
5052
- "dev": true,
5053
5164
  "engines": {
5054
5165
  "node": ">= 0.4"
5055
5166
  },
@@ -5057,6 +5168,14 @@
5057
5168
  "url": "https://github.com/sponsors/ljharb"
5058
5169
  }
5059
5170
  },
5171
+ "node_modules/tarn": {
5172
+ "version": "3.0.2",
5173
+ "resolved": "https://registry.npmjs.org/tarn/-/tarn-3.0.2.tgz",
5174
+ "integrity": "sha512-51LAVKUSZSVfI05vjPESNc5vwqqZpbXCsU+/+wxlOrUjk2SnFTt97v9ZgQrD4YmxYW1Px6w2KjaDitCfkvgxMQ==",
5175
+ "engines": {
5176
+ "node": ">=8.0.0"
5177
+ }
5178
+ },
5060
5179
  "node_modules/test-exclude": {
5061
5180
  "version": "6.0.0",
5062
5181
  "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
@@ -5099,6 +5218,14 @@
5099
5218
  "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
5100
5219
  "dev": true
5101
5220
  },
5221
+ "node_modules/tildify": {
5222
+ "version": "2.0.0",
5223
+ "resolved": "https://registry.npmjs.org/tildify/-/tildify-2.0.0.tgz",
5224
+ "integrity": "sha512-Cc+OraorugtXNfs50hU9KS369rFXCfgGLpfCfvlc+Ud5u6VWmUQsOAa9HbTvheQdYnrdJqqv1e5oIqXppMYnSw==",
5225
+ "engines": {
5226
+ "node": ">=8"
5227
+ }
5228
+ },
5102
5229
  "node_modules/tmpl": {
5103
5230
  "version": "1.0.5",
5104
5231
  "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
@@ -18,6 +18,7 @@
18
18
  "typescript": "^5.2.2"
19
19
  },
20
20
  "dependencies": {
21
- "@dbos-inc/dbos-sdk": "../.."
21
+ "@dbos-inc/dbos-sdk": "../..",
22
+ "knex": "3.1.0"
22
23
  }
23
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/dbos-sdk",
3
- "version": "0.12.11-preview",
3
+ "version": "0.12.13",
4
4
  "description": "A Typescript framework built on the database",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -53,21 +53,28 @@
53
53
  "@koa/cors": "5.0.0",
54
54
  "@koa/router": "12.0.1",
55
55
  "@opentelemetry/api": "1.8.0",
56
+ "@opentelemetry/api-logs": "0.49.1",
57
+ "@opentelemetry/core": "1.22.0",
56
58
  "@opentelemetry/exporter-logs-otlp-proto": "0.49.1",
57
59
  "@opentelemetry/exporter-trace-otlp-proto": "0.49.1",
60
+ "@opentelemetry/resources": "1.22.0",
61
+ "@opentelemetry/sdk-logs": "0.49.1",
58
62
  "@opentelemetry/sdk-trace-base": "1.22.0",
63
+ "@opentelemetry/semantic-conventions": "1.22.0",
59
64
  "axios": "1.6.7",
60
65
  "commander": "12.0.0",
61
66
  "fast-glob": "3.3.2",
62
67
  "knex": "3.1.0",
63
68
  "koa": "2.15.0",
64
69
  "lodash": "4.17.21",
70
+ "openapi-types": "12.1.3",
65
71
  "pg": "8.11.3",
66
72
  "reflect-metadata": "0.2.1",
67
73
  "serialize-error": "8.1.0",
68
74
  "uuid": "9.0.1",
69
75
  "validator": "13.11.0",
70
76
  "winston": "3.12.0",
77
+ "winston-transport": "4.7.0",
71
78
  "yaml": "2.4.1"
72
79
  },
73
80
  "optionalDependencies": {