@vpdev2/metakyc 1.0.52 → 1.0.53

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 (91) hide show
  1. package/dist/client/endpoint-builder.d.ts +0 -1
  2. package/dist/client/error-handler.d.ts +0 -1
  3. package/dist/client/http-client.d.ts +0 -1
  4. package/dist/components/CreateApplicantForm.d.ts +0 -1
  5. package/dist/components/CreateCompanyApplicantForm.d.ts +0 -1
  6. package/dist/components/Header.d.ts +0 -1
  7. package/dist/components/KycWorkflow.d.ts +0 -1
  8. package/dist/components/Logo.d.ts +0 -1
  9. package/dist/components/core/Badge.d.ts +0 -1
  10. package/dist/components/core/Button.d.ts +0 -1
  11. package/dist/components/core/Card.d.ts +0 -1
  12. package/dist/components/core/Checkbox.d.ts +0 -1
  13. package/dist/components/core/FileUpload.d.ts +0 -1
  14. package/dist/components/core/Input.d.ts +0 -1
  15. package/dist/components/core/MultiSelect.d.ts +0 -1
  16. package/dist/components/core/PhoneInput.d.ts +0 -1
  17. package/dist/components/core/SearchableSelect.d.ts +0 -1
  18. package/dist/components/core/Select.d.ts +0 -1
  19. package/dist/components/core/Spinner.d.ts +0 -1
  20. package/dist/components/identity/IdentityVerificationStep.d.ts +0 -1
  21. package/dist/components/status/KycStatusDisplay.d.ts +0 -1
  22. package/dist/components/steps/AppropriatenessTestStep.d.ts +0 -1
  23. package/dist/components/steps/InvestorCategorizationStep.d.ts +0 -1
  24. package/dist/components/steps/OverviewStep.d.ts +0 -1
  25. package/dist/components/steps/QuestionnaireStep.d.ts +0 -1
  26. package/dist/components/steps/RiskScoringStep.d.ts +0 -1
  27. package/dist/components/steps/UploadDocumentStep.d.ts +0 -1
  28. package/dist/context/MetaKYCContext.d.ts +0 -1
  29. package/dist/context/MetaKYCProvider.d.ts +0 -1
  30. package/dist/context/useMetaKYC.d.ts +0 -1
  31. package/dist/hooks/useApplicant.d.ts +0 -1
  32. package/dist/hooks/useAppropriatenessTest.d.ts +0 -1
  33. package/dist/hooks/useIdentityVerification.d.ts +0 -1
  34. package/dist/hooks/useKycWorkflow.d.ts +0 -1
  35. package/dist/hooks/useOverview.d.ts +0 -1
  36. package/dist/hooks/useQuestionnaire.d.ts +0 -1
  37. package/dist/hooks/useRiskScoring.d.ts +0 -1
  38. package/dist/hooks/useUploadDocument.d.ts +0 -1
  39. package/dist/i18n/TranslationContext.d.ts +0 -1
  40. package/dist/i18n/index.d.ts +0 -1
  41. package/dist/i18n/locales/ar.d.ts +0 -1
  42. package/dist/i18n/locales/da.d.ts +0 -1
  43. package/dist/i18n/locales/de.d.ts +0 -1
  44. package/dist/i18n/locales/en.d.ts +0 -1
  45. package/dist/i18n/locales/es.d.ts +0 -1
  46. package/dist/i18n/locales/fi.d.ts +0 -1
  47. package/dist/i18n/locales/fr.d.ts +0 -1
  48. package/dist/i18n/locales/it.d.ts +0 -1
  49. package/dist/i18n/locales/ja.d.ts +0 -1
  50. package/dist/i18n/locales/nl.d.ts +0 -1
  51. package/dist/i18n/locales/no.d.ts +0 -1
  52. package/dist/i18n/locales/pl.d.ts +0 -1
  53. package/dist/i18n/locales/pt.d.ts +0 -1
  54. package/dist/i18n/locales/ru.d.ts +0 -1
  55. package/dist/i18n/locales/sv.d.ts +0 -1
  56. package/dist/i18n/locales/tr.d.ts +0 -1
  57. package/dist/i18n/locales/zh.d.ts +0 -1
  58. package/dist/identity/provider-manager.d.ts +0 -1
  59. package/dist/identity/providers/onfido.d.ts +0 -1
  60. package/dist/identity/providers/sardin-ai.d.ts +0 -1
  61. package/dist/identity/providers/sumsub.d.ts +0 -1
  62. package/dist/index.cjs +1 -1
  63. package/dist/index.cjs.map +1 -1
  64. package/dist/index.js +2 -2
  65. package/dist/index.js.map +1 -1
  66. package/dist/services/applicant.service.d.ts +0 -1
  67. package/dist/services/appropriateness-test.service.d.ts +0 -1
  68. package/dist/services/base-information.service.d.ts +0 -1
  69. package/dist/services/identity.service.d.ts +0 -1
  70. package/dist/services/investor-categorization.service.d.ts +0 -1
  71. package/dist/services/overview.service.d.ts +0 -1
  72. package/dist/services/questionnaire.service.d.ts +0 -1
  73. package/dist/services/risk-scoring.service.d.ts +0 -1
  74. package/dist/services/theme.service.d.ts +0 -1
  75. package/dist/services/translation.service.d.ts +0 -1
  76. package/dist/services/upload-document.service.d.ts +0 -1
  77. package/dist/state/step-router.d.ts +0 -1
  78. package/dist/state/workflow-orchestrator.d.ts +0 -1
  79. package/dist/state/workflow-state.d.ts +0 -1
  80. package/dist/theme/presets.d.ts +0 -1
  81. package/dist/theme/theme-manager.d.ts +0 -1
  82. package/dist/types/form-config.d.ts +0 -1
  83. package/dist/types/identity.d.ts +0 -1
  84. package/dist/types/risk-scoring.d.ts +0 -1
  85. package/dist/types/workflow.d.ts +0 -1
  86. package/dist/validation/appropriateness-schema.d.ts +0 -1
  87. package/dist/validation/questionnaire-schema.d.ts +0 -1
  88. package/dist/validation/risk-scoring-schema.d.ts +0 -1
  89. package/dist/validation/upload-document-schema.d.ts +0 -1
  90. package/dist/version.d.ts +1 -1
  91. package/package.json +8 -8
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { ApplicantRegistrationRequestInput, CompanyApplicantRegistrationRequestInput, ProgressApplicantResult, ProgressApplicantStatusResult, ApplicantDataDto, DuplicateApplicantInput } from '../types';
3
-
4
3
  /**
5
4
  * Applicant service
6
5
  * Handles all applicant-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { AppropriatenessTestOutputDto, FillAppropriatenessTestInput, FillAppropriatenessTestResult } from '../types';
3
-
4
3
  /**
5
4
  * Appropriateness test service
6
5
  * Handles appropriateness test-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { CountryDto, BranchDto, LegalEntityDto } from '../types';
3
-
4
3
  /**
5
4
  * Base information service
6
5
  * Handles reference data API calls (countries, branches, legal entities)
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { IdentityRequest, ApplicantRegistrationRequestOutput } from '../types';
3
-
4
3
  /**
5
4
  * Identity service
6
5
  * Handles identity verification-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { InvestorCategorizationInput, SetInvestorCategorizationResult } from '../types';
3
-
4
3
  /**
5
4
  * Investor categorization service
6
5
  * Handles investor categorization-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { OverviewDataDto } from '../types';
3
-
4
3
  /**
5
4
  * Overview service
6
5
  * Handles overview step-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { QuestionnaireOutput, FillQuestionnarieInput, FillQuestionnairesResult } from '../types';
3
-
4
3
  /**
5
4
  * Questionnaire service
6
5
  * Handles questionnaire-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { RiskCriteriaDto, RiskCalculationInput, RiskScoringResult, RiskScoringPlanDto } from '../types';
3
-
4
3
  /**
5
4
  * Risk scoring service
6
5
  * Handles risk scoring-related API calls
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client';
2
2
  import { ThemeConfigurationDto, ThemeConfig, ThemePreset } from '../types/theme';
3
-
4
3
  /**
5
4
  * Theme Service
6
5
  * Handles backend communication for theme configuration
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { PartialTranslationDictionary } from '../i18n/types';
3
-
4
3
  export declare class TranslationService {
5
4
  private httpClient;
6
5
  constructor(httpClient: HttpClient);
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '../client/http-client';
2
2
  import { UploadDocumentOutputDto, FillUploadDocumentInput, ReviewUploadDocumentDto } from '../types';
3
-
4
3
  /**
5
4
  * Upload document service
6
5
  * Handles document upload-related API calls
@@ -1,5 +1,4 @@
1
1
  import { WorkflowStepAction } from '../types';
2
-
3
2
  /**
4
3
  * Step data loader function type
5
4
  */
@@ -2,7 +2,6 @@ import { WorkflowState } from './workflow-state';
2
2
  import { StepRouter } from './step-router';
3
3
  import { ApplicantService, QuestionnaireService, UploadDocumentService, AppropriatenessTestService, OverviewService, RiskScoringService, IdentityService, InvestorCategorizationService } from '../services';
4
4
  import { ProgressApplicantResult } from '../types';
5
-
6
5
  /**
7
6
  * Workflow orchestrator
8
7
  * Manages workflow execution and step progression
@@ -1,5 +1,4 @@
1
1
  import { ProgressApplicantResult, FlowStep, StepInfo, ApplicantProgressStatus, WorkflowResultType } from '../types';
2
-
3
2
  /**
4
3
  * Workflow state events
5
4
  */
@@ -1,5 +1,4 @@
1
1
  import { ThemeConfig, ThemePreset } from '../types/theme';
2
-
3
2
  /**
4
3
  * Default theme preset
5
4
  */
@@ -1,5 +1,4 @@
1
1
  import { ThemeConfig } from '../types/theme';
2
-
3
2
  /**
4
3
  * Theme Manager
5
4
  * Handles theme application and CSS variable management.
@@ -1,5 +1,4 @@
1
1
  import { ApplicantFormField, CompanyApplicantFormField } from '../client/config';
2
-
3
2
  export declare const CountriesType: {
4
3
  readonly Nationality: 10;
5
4
  readonly Address: 20;
@@ -1,5 +1,4 @@
1
1
  import { IdentityVerificationProvider } from './enums';
2
-
3
2
  /**
4
3
  * Identity request input
5
4
  */
@@ -1,5 +1,4 @@
1
1
  import { RiskLevel } from './enums';
2
-
3
2
  /**
4
3
  * Value data type for risk criteria
5
4
  */
@@ -1,5 +1,4 @@
1
1
  import { WorkflowStepAction, WorkflowResultType, ApplicantProgressStatus, RiskLevel, KycStatus, ReviewStatus } from './enums';
2
-
3
2
  /**
4
3
  * Information about a specific workflow step
5
4
  */
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  import { AppropriatenessTestOutputDto } from '../types';
3
-
4
3
  /**
5
4
  * Generate zod schema from appropriateness test
6
5
  */
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  import { QuestionnaireOutput } from '../types';
3
-
4
3
  /**
5
4
  * Generate zod schema for question values (reserved for future use)
6
5
  */
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  import { RiskCriteriaDto } from '../types';
3
-
4
3
  /**
5
4
  * Generate zod schema for a single risk criterion (reserved for future use)
6
5
  */
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  import { UploadDocumentOutputDto } from '../types';
3
-
4
3
  /**
5
4
  * Generate zod schema from upload document
6
5
  */
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "1.0.52";
1
+ export declare const SDK_VERSION = "1.0.53";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpdev2/metakyc",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,9 +12,9 @@
12
12
  "types": "./dist/index.d.ts",
13
13
  "exports": {
14
14
  ".": {
15
+ "types": "./dist/index.d.ts",
15
16
  "import": "./dist/index.js",
16
- "require": "./dist/index.cjs",
17
- "types": "./dist/index.d.ts"
17
+ "require": "./dist/index.cjs"
18
18
  },
19
19
  "./package.json": "./package.json"
20
20
  },
@@ -55,8 +55,8 @@
55
55
  "@types/react-dom": "^18.2.19",
56
56
  "@typescript-eslint/eslint-plugin": "^7.0.2",
57
57
  "@typescript-eslint/parser": "^7.0.2",
58
- "@vitejs/plugin-react": "^4.2.1",
59
- "@vitest/ui": "^1.3.1",
58
+ "@vitejs/plugin-react": "^4.7.0",
59
+ "@vitest/ui": "^4.1.0",
60
60
  "autoprefixer": "^10.4.17",
61
61
  "eslint": "^8.56.0",
62
62
  "eslint-plugin-react-hooks": "^4.6.0",
@@ -68,9 +68,9 @@
68
68
  "react-hook-form": "^7.50.1",
69
69
  "tailwindcss": "^3.4.1",
70
70
  "typescript": "^5.3.3",
71
- "vite": "^5.1.3",
72
- "vite-plugin-dts": "^3.7.3",
73
- "vitest": "^1.3.1",
71
+ "vite": "^6.4.1",
72
+ "vite-plugin-dts": "^4.5.4",
73
+ "vitest": "^4.1.0",
74
74
  "zod": "^3.22.4"
75
75
  },
76
76
  "keywords": [