@remit/data-ports 0.0.5 → 0.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/data-ports",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -63,7 +63,14 @@ export interface IAddressRepository {
63
63
  }): Promise<AddressItem[]>;
64
64
  listByAccountConfig(input: {
65
65
  accountConfigId: string;
66
- normalizedCompound?: string;
66
+ /**
67
+ * Prefix term matched against both the display-name compound
68
+ * (`"<display name> <email>"`) and the normalized email. Matching the
69
+ * email separately is what makes an exact-address lookup resolve: the
70
+ * compound leads with the display name, so an email prefix never
71
+ * matches it.
72
+ */
73
+ search?: string;
67
74
  cursor?: string;
68
75
  limit?: number;
69
76
  }): Promise<ResultList<AddressItem>>;