mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* fix: sdk build configs * chore: SelfBackendVerifier (WIP) * feat: add custom verification * feat: consider destination chain in user defined data * chore: export attestation id * chore: export attestation id * chore: export config storage * chore: don't throw an error if the proof is not valid * chore: trim abi and rm typechain types * refactor * chore: rm unnecessary exports * 📝 Add docstrings to `fix/sdk` (#653) Docstrings generation was requested by @remicolin. * https://github.com/selfxyz/self/pull/652#issuecomment-2992046545 The following files were modified: * `sdk/core/src/utils/hash.ts` * `sdk/core/src/utils/proof.ts` * `sdk/core/src/utils/utils.ts` Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * review fixes * chore: fix package.json cjs types * chore: add minor changes to checks * feat: add InMemoryConfigStore, allIds constant and verificationResult type * chore: export Verification config * feat: change the verification config types * fix: throw issues early if verification config is null * fix: update yarn.lock file * chore: lint * fix: rm ts expect error directive * fix: contract tests * use excluded countries instead forbidden countries list * chore: change types in constnats --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
24 lines
816 B
TypeScript
24 lines
816 B
TypeScript
import { SelfBackendVerifier } from './src/SelfBackendVerifier.js';
|
|
import { countryCodes } from '@selfxyz/common/constants/constants';
|
|
import { getUniversalLink } from '@selfxyz/common/utils/appType';
|
|
import { countries } from '@selfxyz/common';
|
|
import type { AttestationId, VerificationResult, VerificationConfig } from 'src/types/types.js';
|
|
import type { IConfigStorage } from 'src/store/interface.js';
|
|
import { DefaultConfigStore } from 'src/store/DefaultConfigStore.js';
|
|
import { AllIds } from 'src/utils/constants.js';
|
|
import { InMemoryConfigStore } from 'src/store/InMemoryConfigStore.js';
|
|
|
|
export {
|
|
SelfBackendVerifier,
|
|
countryCodes,
|
|
getUniversalLink,
|
|
countries,
|
|
AttestationId,
|
|
IConfigStorage,
|
|
DefaultConfigStore,
|
|
InMemoryConfigStore,
|
|
AllIds,
|
|
VerificationResult,
|
|
VerificationConfig,
|
|
};
|