@smplkit/sdk 3.0.19 → 3.0.21
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/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -16806,7 +16806,6 @@ function _attributesFromInput(input) {
|
|
|
16806
16806
|
const ts = input.occurredAt instanceof Date ? input.occurredAt.toISOString() : input.occurredAt;
|
|
16807
16807
|
attrs.occurred_at = ts;
|
|
16808
16808
|
}
|
|
16809
|
-
if (input.snapshot !== void 0) attrs.snapshot = input.snapshot;
|
|
16810
16809
|
if (input.data !== void 0) attrs.data = input.data;
|
|
16811
16810
|
if (input.doNotForward) attrs.do_not_forward = true;
|
|
16812
16811
|
return attrs;
|
|
@@ -16823,7 +16822,6 @@ function _eventFromResource(resource) {
|
|
|
16823
16822
|
actorType: String(attrs.actor_type ?? ""),
|
|
16824
16823
|
actorId: attrs.actor_id ?? null,
|
|
16825
16824
|
actorLabel: String(attrs.actor_label ?? ""),
|
|
16826
|
-
snapshot: attrs.snapshot ?? null,
|
|
16827
16825
|
data: attrs.data ?? {},
|
|
16828
16826
|
idempotencyKey: String(attrs.idempotency_key ?? ""),
|
|
16829
16827
|
doNotForward: Boolean(attrs.do_not_forward ?? false)
|