@remit/data-ports 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +7 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/data-ports",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/types.ts CHANGED
@@ -500,10 +500,14 @@ export type CreateFilterInput = Omit<
500
500
  };
501
501
 
502
502
  // ruleChangedAt is never client-supplied: FilterService derives it, bumping
503
- // only when a predicate/action field is present in the update (RFC 034
504
- // Decision 3.2) — a cosmetic `name` rename must not move it.
503
+ // only when the predicate, the action, scope, or expiresAt is present in the
504
+ // update (RFC 034 Decision 3.2, reader #266) — a cosmetic `name` rename must
505
+ // not move it. `scope` is updatable here (reader #266): the handler resolves
506
+ // the merged scope/expiresAt/ttl/state before calling through to the repo, so
507
+ // this type must carry `scope` as a valid key, unlike the API-facing
508
+ // `UpdateFilterInput` for that same reason.
505
509
  export type UpdateFilterInput = Partial<
506
- Omit<CreateFilterInput, "accountConfigId" | "scope">
510
+ Omit<CreateFilterInput, "accountConfigId">
507
511
  >;
508
512
 
509
513
  export type CreateFilterAnchorInput = Omit<