@volontariapp/database 3.7.0-snap-c646e5b → 3.7.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/CHANGELOG.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - Add optional `traceparent` to `GatherStateMetadata` (jsonb `gather_state.metadata`, no migration), so a gather completion event can replay the trace context of the trigger event.
7
+ - Add `traceparent` (required, `''` when there is no trace context) to `GatherStateMetadata` (jsonb `gather_state.metadata`, no migration), so a gather completion event can replay the trace context of the trigger event. Code that builds a `GatherStateMetadata` must now provide it; rows stored before this change lack it at runtime.
8
8
 
9
9
  ## 3.6.0
10
10
 
@@ -4,7 +4,7 @@ import type { EventMessagingType, EventRegistry } from '@volontariapp/messaging'
4
4
  export declare class GatherStateMetadata<TKey extends EventMessagingType = EventMessagingType> {
5
5
  emitterId?: string;
6
6
  traceId?: string;
7
- traceparent?: string;
7
+ traceparent: string;
8
8
  payload?: EventRegistry[TKey];
9
9
  }
10
10
  export declare class GatherStateEntity<TKey extends EventMessagingType = EventMessagingType> extends BaseEntity {
@@ -1 +1 @@
1
- {"version":3,"file":"gather-state.entity.d.ts","sourceRoot":"","sources":["../../../src/gather/entities/gather-state.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEjF,qBAAa,mBAAmB,CAAC,IAAI,SAAS,kBAAkB,GAAG,kBAAkB;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;CAC/B;AAED,qBAAa,iBAAiB,CAC5B,IAAI,SAAS,kBAAkB,GAAG,kBAAkB,CACpD,SAAQ,UAAU;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,YAAY,EAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAM;IACzD,QAAQ,CAAC,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;CACtC"}
1
+ {"version":3,"file":"gather-state.entity.d.ts","sourceRoot":"","sources":["../../../src/gather/entities/gather-state.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAEjF,qBAAa,mBAAmB,CAAC,IAAI,SAAS,kBAAkB,GAAG,kBAAkB;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAOjB,WAAW,EAAG,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;CAC/B;AAED,qBAAa,iBAAiB,CAC5B,IAAI,SAAS,kBAAkB,GAAG,kBAAkB,CACpD,SAAQ,UAAU;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,YAAY,EAAG,IAAI,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAM;IACzD,QAAQ,CAAC,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;CACtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"gather-state.entity.js","sourceRoot":"","sources":["../../../src/gather/entities/gather-state.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,MAAM,OAAO,mBAAmB;IAC9B,SAAS,CAAU;IACnB,OAAO,CAAU;IAEjB,WAAW,CAAU;IACrB,OAAO,CAAuB;CAC/B;AAED,MAAM,OAAO,iBAEX,SAAQ,UAAU;IAClB,aAAa,CAAU;IACvB,YAAY,CAAQ;IACpB,iBAAiB,GAAqC,EAAE,CAAC;IACzD,QAAQ,CAA6B;CACtC"}
1
+ {"version":3,"file":"gather-state.entity.js","sourceRoot":"","sources":["../../../src/gather/entities/gather-state.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,MAAM,OAAO,mBAAmB;IAC9B,SAAS,CAAU;IACnB,OAAO,CAAU;IAOjB,WAAW,CAAU;IACrB,OAAO,CAAuB;CAC/B;AAED,MAAM,OAAO,iBAEX,SAAQ,UAAU;IAClB,aAAa,CAAU;IACvB,YAAY,CAAQ;IACpB,iBAAiB,GAAqC,EAAE,CAAC;IACzD,QAAQ,CAA6B;CACtC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volontariapp/database",
3
- "version": "3.7.0-snap-c646e5b",
3
+ "version": "3.7.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true