@c15t/backend 0.0.1-rc.16 → 0.0.1-rc.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
1
 
2
2
  
3
- > @c15t/backend@0.0.1-rc.16 build /Users/christopherburns/glados/k/c15t/packages/backend
3
+ > @c15t/backend@0.0.1-rc.17 build /Users/christopherburns/glados/k/c15t/packages/backend
4
4
  > rslib build
5
5
 
6
6
    Rslib v0.5.3
7
7
  
8
8
  ready  built in 0.36 s (esm)
9
- ready  built in 0.35 s (cjs)
9
+ ready  built in 0.36 s (cjs)
10
10
  start  Generating DTS... (esm)
11
11
  start  Generating DTS... (cjs)
12
- ready  DTS generated in 3.48 s (cjs)
13
- ready  DTS generated in 3.53 s (esm)
12
+ ready  DTS generated in 3.61 s (esm)
13
+ ready  DTS generated in 3.57 s (cjs)
14
14
 
15
15
   File (esm) Size 
16
16
  dist/pkgs/types/index.js 0.00 kB
@@ -29,9 +29,9 @@
29
29
  dist/schema/index.js 74.9 kB
30
30
  dist/pkgs/data-model/index.js 75.6 kB
31
31
  dist/pkgs/db-adapters/index.js 94.3 kB
32
- dist/index.js 154.5 kB
32
+ dist/index.js 154.6 kB
33
33
 
34
- Total: 811.9 kB
34
+ Total: 812.0 kB
35
35
 
36
36
   -----
37
37
 
@@ -52,7 +52,7 @@
52
52
  dist/schema/index.cjs 82.6 kB
53
53
  dist/pkgs/data-model/index.cjs 83.5 kB
54
54
  dist/pkgs/db-adapters/index.cjs 95.0 kB
55
- dist/index.cjs 168.2 kB
55
+ dist/index.cjs 168.3 kB
56
56
 
57
- Total: 860.3 kB
57
+ Total: 860.4 kB
58
58
 
package/dist/index.cjs CHANGED
@@ -3300,13 +3300,16 @@ var __webpack_exports__ = {};
3300
3300
  message
3301
3301
  };
3302
3302
  }
3303
+ var package_namespaceObject = {
3304
+ i8: "0.0.1-rc.17"
3305
+ };
3303
3306
  const status_status = defineRoute({
3304
3307
  path: '/status',
3305
3308
  method: 'get',
3306
3309
  handler: async (event)=>{
3307
3310
  const response = {
3308
3311
  status: 'ok',
3309
- version: '2.0.0',
3312
+ version: package_namespaceObject.i8,
3310
3313
  timestamp: new Date().toISOString(),
3311
3314
  storage: {
3312
3315
  type: event.context.adapter?.id ?? 'Unavailable',
package/dist/index.js CHANGED
@@ -3270,13 +3270,16 @@ function checkJurisdiction(countryCode) {
3270
3270
  message
3271
3271
  };
3272
3272
  }
3273
+ var package_namespaceObject = {
3274
+ i8: "0.0.1-rc.17"
3275
+ };
3273
3276
  const status_status = defineRoute({
3274
3277
  path: '/status',
3275
3278
  method: 'get',
3276
3279
  handler: async (event)=>{
3277
3280
  const response = {
3278
3281
  status: 'ok',
3279
- version: '2.0.0',
3282
+ version: package_namespaceObject.i8,
3280
3283
  timestamp: new Date().toISOString(),
3281
3284
  storage: {
3282
3285
  type: event.context.adapter?.id ?? 'Unavailable',
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/routes/status.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC9B,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,OAAO,CAAC;KACnB,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,MAAM;;CAgBjB,CAAC"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/routes/status.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC9B,MAAM,EAAE,IAAI,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,OAAO,CAAC;KACnB,CAAC;CACF;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,MAAM;;CAgBjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c15t/backend",
3
- "version": "0.0.1-rc.16",
3
+ "version": "0.0.1-rc.17",
4
4
  "license": "GPL-3.0-only",
5
5
  "type": "module",
6
6
  "exports": {
@@ -1,4 +1,5 @@
1
1
  import { defineRoute } from '~/pkgs/api-router/utils/define-route';
2
+ import { version } from '../../package.json';
2
3
 
3
4
  /**
4
5
  * Response type for the status endpoint
@@ -47,7 +48,7 @@ export const status = defineRoute<StatusResponse>({
47
48
  handler: async (event) => {
48
49
  const response: StatusResponse = {
49
50
  status: 'ok',
50
- version: '2.0.0',
51
+ version: version,
51
52
  timestamp: new Date().toISOString(),
52
53
  storage: {
53
54
  type: event.context.adapter?.id ?? 'Unavailable',