@abaxx_tech/v-integration-react 1.1.1 → 1.1.2-dev.1
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/README.md +0 -2
- package/dist/v-integration-react.d.ts +0 -3
- package/dist/v-integration-react.js +787 -798
- package/dist/v-integration-react.umd.cjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,6 @@ import { VerifierProvider } from "@abaxx_tech/v-integration-react";
|
|
|
31
31
|
const App = () => {
|
|
32
32
|
return (
|
|
33
33
|
<VerifierProvider
|
|
34
|
-
appId={Number(import.meta.env.VITE_APP_ID)}
|
|
35
34
|
apiUrl={import.meta.env.VITE_API_URL}
|
|
36
35
|
clientId={import.meta.env.VITE_CLIENT_ID}
|
|
37
36
|
>
|
|
@@ -140,7 +139,6 @@ The main provider component that wraps your application and manages the authenti
|
|
|
140
139
|
#### Props:
|
|
141
140
|
| Prop | Type | Description |
|
|
142
141
|
| ------------- | ------------- | ------------- |
|
|
143
|
-
| `appId` | `string \| number` | Unique application ID |
|
|
144
142
|
| `apiUrl` | `string` | API URL for authentication |
|
|
145
143
|
| `clientId` | `string` | Client identifier |
|
|
146
144
|
| `children` | `ReactNode` | Child components to be wrapped |
|
|
@@ -2,7 +2,6 @@ import { default as default_2 } from 'react';
|
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
declare type Props = {
|
|
5
|
-
appId: string | number;
|
|
6
5
|
clientId: string;
|
|
7
6
|
apiUrl: string;
|
|
8
7
|
children: ReactNode;
|
|
@@ -11,7 +10,6 @@ declare type Props = {
|
|
|
11
10
|
export declare const VContext: default_2.Context<VContextObj>;
|
|
12
11
|
|
|
13
12
|
export declare type VContextObj = {
|
|
14
|
-
appId: string | number;
|
|
15
13
|
apiUrl: string;
|
|
16
14
|
clientId: string;
|
|
17
15
|
authRequestId: string;
|
|
@@ -78,7 +76,6 @@ export declare interface VerifierAuthQrProps {
|
|
|
78
76
|
export declare const VerifierProvider: default_2.FC<VerifierProviderProps>;
|
|
79
77
|
|
|
80
78
|
export declare interface VerifierProviderProps {
|
|
81
|
-
appId: string | number;
|
|
82
79
|
clientId: string;
|
|
83
80
|
apiUrl: string;
|
|
84
81
|
children: ReactNode;
|