import DataMatcher from '../../lib/DataMatcher';

export default class ContactMatcher extends DataMatcher {
  constructor({
    ...options
  }) {
    super({
      name: 'contactMatcher',
      ...options
    });
  }
}

@@ -209,11 +209,380 @@
  %7D);%0A  %7D
+%0A%0A  async hasMatchNumber(%7B phoneNumber, ignoreCache = false %7D) %7B%0A    await this.match(%7B%0A      queries: %5BphoneNumber%5D,%0A      ignoreCache%0A    %7D);%0A    return !!this.dataMapping%5BphoneNumber%5D && this.dataMapping%5BphoneNumber%5D.length %3E 0;%0A  %7D%0A%0A  async forceMatchNumber(%7B phoneNumber %7D) %7B%0A    await this.match(%7B%0A      queries: %5BphoneNumber%5D,%0A      ignoreCache: true%0A    %7D);%0A  %7D
 %0A%7D%0A

add force match function for ContactMatch (#259)