@c15t/backend 2.0.4 → 2.1.0
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.
- package/dist/302.js +1 -1
- package/dist/915.js +1 -1
- package/dist/core.cjs +4 -4
- package/dist/core.js +2 -2
- package/dist/router.cjs +1 -1
- package/dist-types/version.d.ts +1 -1
- package/package.json +4 -4
package/dist/302.js
CHANGED
|
@@ -13,7 +13,7 @@ function createTelemetryOptions(appName = 'c15t', telemetryConfig, tenantId) {
|
|
|
13
13
|
const defaultAttributes = {
|
|
14
14
|
...telemetryConfig?.defaultAttributes || {},
|
|
15
15
|
'service.name': String(appName),
|
|
16
|
-
'service.version': "2.0
|
|
16
|
+
'service.version': "2.1.0"
|
|
17
17
|
};
|
|
18
18
|
if (tenantId) defaultAttributes['tenant.id'] = tenantId;
|
|
19
19
|
const config = {
|
package/dist/915.js
CHANGED
package/dist/core.cjs
CHANGED
|
@@ -349,7 +349,7 @@ var __webpack_exports__ = {};
|
|
|
349
349
|
(()=>{
|
|
350
350
|
__webpack_require__.r(__webpack_exports__);
|
|
351
351
|
__webpack_require__.d(__webpack_exports__, {
|
|
352
|
-
version: ()=>"2.0
|
|
352
|
+
version: ()=>"2.1.0",
|
|
353
353
|
c15tInstance: ()=>c15tInstance,
|
|
354
354
|
EEA_COUNTRY_CODES: ()=>types_namespaceObject.EEA_COUNTRY_CODES,
|
|
355
355
|
EU_COUNTRY_CODES: ()=>types_namespaceObject.EU_COUNTRY_CODES,
|
|
@@ -757,7 +757,7 @@ var __webpack_exports__ = {};
|
|
|
757
757
|
const defaultAttributes = {
|
|
758
758
|
...telemetryConfig?.defaultAttributes || {},
|
|
759
759
|
'service.name': String(appName),
|
|
760
|
-
'service.version': "2.0
|
|
760
|
+
'service.version': "2.1.0"
|
|
761
761
|
};
|
|
762
762
|
if (tenantId) defaultAttributes['tenant.id'] = tenantId;
|
|
763
763
|
const config = {
|
|
@@ -2676,7 +2676,7 @@ Use for geo-targeted consent banners and regional compliance.`,
|
|
|
2676
2676
|
try {
|
|
2677
2677
|
await ctx.db.findFirst('subject', {});
|
|
2678
2678
|
return c.json({
|
|
2679
|
-
version: "2.0
|
|
2679
|
+
version: "2.1.0",
|
|
2680
2680
|
timestamp: new Date(),
|
|
2681
2681
|
client: clientInfo
|
|
2682
2682
|
});
|
|
@@ -3882,7 +3882,7 @@ Use for health checks, load balancer probes, and debugging. Performs a lightweig
|
|
|
3882
3882
|
openapi: '3.1.0',
|
|
3883
3883
|
info: {
|
|
3884
3884
|
title: options.appName || 'c15t API',
|
|
3885
|
-
version: "2.0
|
|
3885
|
+
version: "2.1.0",
|
|
3886
3886
|
description: 'API for consent management'
|
|
3887
3887
|
},
|
|
3888
3888
|
servers: [
|
package/dist/core.js
CHANGED
|
@@ -767,7 +767,7 @@ const c15tInstance = (options)=>{
|
|
|
767
767
|
openapi: '3.1.0',
|
|
768
768
|
info: {
|
|
769
769
|
title: options.appName || 'c15t API',
|
|
770
|
-
version: "2.0
|
|
770
|
+
version: "2.1.0",
|
|
771
771
|
description: 'API for consent management'
|
|
772
772
|
},
|
|
773
773
|
servers: [
|
|
@@ -881,7 +881,7 @@ const c15tInstance = (options)=>{
|
|
|
881
881
|
getDocsUI
|
|
882
882
|
};
|
|
883
883
|
};
|
|
884
|
-
var core_version = "2.0
|
|
884
|
+
var core_version = "2.1.0";
|
|
885
885
|
export { defineConfig } from "./define-config.js";
|
|
886
886
|
export { inspectPolicies } from "./583.js";
|
|
887
887
|
export { EEA_COUNTRY_CODES, EU_COUNTRY_CODES, POLICY_MATCH_DATASET_VERSION, UK_COUNTRY_CODES, c15tInstance, core_version as version, policyBuilder, policyMatchers, policyPackPresets };
|
package/dist/router.cjs
CHANGED
package/dist-types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.0
|
|
1
|
+
export declare const version = "2.1.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c15t/backend",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Consent policy engine and API for c15t. Powers the cookie banner, consent manager, and preference center. Webhooks, audit logs, storage adapters. Self-host or use inth.com",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"consent",
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
"test:watch": "bun prebuild && vitest"
|
|
127
127
|
},
|
|
128
128
|
"dependencies": {
|
|
129
|
-
"@c15t/logger": "2.
|
|
130
|
-
"@c15t/schema": "2.0
|
|
131
|
-
"@c15t/translations": "2.
|
|
129
|
+
"@c15t/logger": "2.1.0",
|
|
130
|
+
"@c15t/schema": "2.1.0",
|
|
131
|
+
"@c15t/translations": "2.1.0",
|
|
132
132
|
"@hono/standard-validator": "^0.2.2",
|
|
133
133
|
"@hono/valibot-validator": "0.6.1",
|
|
134
134
|
"@opentelemetry/api": "1.9.1",
|