bringid-sdk 0.0.14 → 0.0.16
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 +213 -0
- package/dist/components/task/types.d.ts +1 -1
- package/dist/components/task/types.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/modules/verifications-dialog/callbacks/index.d.ts +6 -0
- package/dist/modules/verifications-dialog/callbacks/index.d.ts.map +1 -0
- package/dist/modules/verifications-dialog/components/confirmation-overlay/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/components/confirmation-overlay/types.d.ts +1 -1
- package/dist/modules/verifications-dialog/components/confirmation-overlay/types.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/components/tasks-list/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/components/verifications-list/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/components/verifications-select-list/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/events/event-bus.d.ts +15 -6
- package/dist/modules/verifications-dialog/events/event-bus.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/inner-modal/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/pages/home/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/pages/home/styled-components.d.ts +1 -0
- package/dist/modules/verifications-dialog/pages/home/styled-components.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/pages/index.d.ts +2 -1
- package/dist/modules/verifications-dialog/pages/index.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/pages/proofs/index.d.ts +5 -0
- package/dist/modules/verifications-dialog/pages/proofs/index.d.ts.map +1 -0
- package/dist/modules/verifications-dialog/pages/proofs/styled-components.d.ts +8 -0
- package/dist/modules/verifications-dialog/pages/proofs/styled-components.d.ts.map +1 -0
- package/dist/modules/verifications-dialog/pages/proofs/types.d.ts +6 -0
- package/dist/modules/verifications-dialog/pages/proofs/types.d.ts.map +1 -0
- package/dist/modules/verifications-dialog/store/index.d.ts +1 -1
- package/dist/modules/verifications-dialog/store/reducers/index.d.ts +1 -1
- package/dist/modules/verifications-dialog/store/reducers/request-proofs.d.ts +5 -6
- package/dist/modules/verifications-dialog/store/reducers/request-proofs.d.ts.map +1 -1
- package/dist/modules/verifications-dialog/utils/prepare-proofs.d.ts +1 -1
- package/dist/modules/verifications-dialog/utils/prepare-proofs.d.ts.map +1 -1
- package/dist/utils/define-initial-selected-verifications.d.ts +4 -0
- package/dist/utils/define-initial-selected-verifications.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TSemaphoreProof } from "@/types";
|
|
2
|
+
type ProofsCallback = (proofs: TSemaphoreProof[], points: number) => void;
|
|
3
|
+
export declare const setProofsGeneratedCallback: (cb: ProofsCallback) => void;
|
|
4
|
+
export declare const callProofsGeneratedCallback: (proofs: TSemaphoreProof[], points: number) => void;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/callbacks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,cAAc,GAAG,CACpB,MAAM,EAAE,eAAe,EAAE,EACzB,MAAM,EAAE,MAAM,KACX,IAAI,CAAC;AAIV,eAAO,MAAM,0BAA0B,GAAI,IAAI,cAAc,SAE5D,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,eAAe,EAAE,EACzB,QAAQ,MAAM,SAQf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/confirmation-overlay/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AAehE,OAAO,MAAM,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/confirmation-overlay/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AAehE,OAAO,MAAM,MAAM,SAAS,CAAC;AAsH7B,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,MAAM,CAoHnC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/confirmation-overlay/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,MAAM,GAAG;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/confirmation-overlay/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,MAAM,GAAG;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CACR,MAAM,EAAE,eAAe,EAAE,KACtB,IAAI,CAAA;CACV,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/tasks-list/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,MAAM,MAAM,SAAS,CAAC;AAI7B,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/tasks-list/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,MAAM,MAAM,SAAS,CAAC;AAI7B,QAAA,MAAM,SAAS,EAAE,EAAE,CAAC,MAAM,CA0BzB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/verifications-list/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AASlC,OAAO,MAAM,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/verifications-list/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AASlC,OAAO,MAAM,MAAM,SAAS,CAAC;AAK7B,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,MAAM,CA8EjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/dist/modules/verifications-dialog/components/verifications-select-list/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/verifications-select-list/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,MAAM,MAAM,SAAS,CAAC;AAG7B,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/verifications-select-list/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,MAAM,MAAM,SAAS,CAAC;AAG7B,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,MAAM,CA+CvC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { TSemaphoreProof } from "@/types";
|
|
2
|
+
type TRequestProofsCallbackArgs = {
|
|
3
|
+
pointsRequired: number;
|
|
4
|
+
scope?: string;
|
|
5
|
+
};
|
|
6
|
+
type TRequestProofsCallback = (args: TRequestProofsCallbackArgs) => Promise<any>;
|
|
7
|
+
export declare const registerRequestProofs: (cb: TRequestProofsCallback) => void;
|
|
8
|
+
export declare const triggerRequest: (args: TRequestProofsCallbackArgs) => Promise<any> | undefined;
|
|
9
|
+
type TOpenModalArgs = {
|
|
10
|
+
proofsGeneratedCallback: (proofs: TSemaphoreProof[], points: number) => void;
|
|
11
|
+
scope?: string;
|
|
12
|
+
};
|
|
13
|
+
type TOpenModalCallback = (args: TOpenModalArgs) => void;
|
|
14
|
+
export declare const registerOpenModal: (cb: TOpenModalCallback) => void;
|
|
15
|
+
export declare const triggerOpenModal: (args: TOpenModalArgs) => void;
|
|
7
16
|
export { triggerOpenModal as openModal };
|
|
8
17
|
export { triggerRequest as requestProofs };
|
|
9
18
|
//# sourceMappingURL=event-bus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-bus.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/events/event-bus.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"event-bus.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/events/event-bus.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,0BAA0B,GAAG;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,KAAK,sBAAsB,GAAG,CAAC,IAAI,EAAE,0BAA0B,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAEjF,eAAO,MAAM,qBAAqB,GAAI,IAAI,sBAAsB,SAE/D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,0BAA0B,6BAK9D,CAAC;AAGF,KAAK,cAAc,GAAG;IACpB,uBAAuB,EAAE,CACvB,MAAM,EAAE,eAAe,EAAE,EACzB,MAAM,EAAE,MAAM,KACX,IAAI,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,KAAK,kBAAkB,GAAG,CAAC,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC;AAGzD,eAAO,MAAM,iBAAiB,GAAI,IAAI,kBAAkB,SAEvD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,MAAM,cAAc,SAIpD,CAAC;AAGF,OAAO,EAAE,gBAAgB,IAAI,SAAS,EAAE,CAAC;AACzC,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/inner-modal/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAM/C,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/inner-modal/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAA;AAM/C,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAmGhC,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,MAAM,CA4J1B,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/home/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/home/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgB3B,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AA0ChC,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,MAAM,CAiCpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export declare const VerificationsListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../components/verifications-list/types").default, never>> & string & Omit<import("react").FC<import("../../components/verifications-list/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
3
|
+
export declare const ButtonStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/button/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/button/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
3
4
|
//# sourceMappingURL=styled-components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/home/styled-components.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/home/styled-components.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,6NAErB,CAAC;AAEF,eAAO,MAAM,uBAAuB,8TAEnC,CAAC;AAEF,eAAO,MAAM,YAAY,kTAExB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/pages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/pages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/proofs/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,EAAE,EAIH,MAAM,OAAO,CAAA;AAoBd,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAiChC,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,MAAM,CA0HtB,CAAC;AAEF,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export declare const VerificationSelectListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../components/verifications-select-list/types").default, never>> & string & Omit<import("react").FC<import("../../components/verifications-select-list/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
3
|
+
export declare const ButtonStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/button/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/button/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
4
|
+
export declare const TitleStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/title/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/title/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
5
|
+
export declare const TextStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/text/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/text/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
6
|
+
export declare const MessageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/message/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/message/types").default>, keyof import("react").Component<any, {}, any>>;
|
|
7
|
+
export declare const ButtonsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
//# sourceMappingURL=styled-components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/proofs/styled-components.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS,6NAErB,CAAA;AAED,eAAO,MAAM,4BAA4B,4UAExC,CAAA;AAED,eAAO,MAAM,YAAY,kTAExB,CAAA;AAED,eAAO,MAAM,WAAW,gTAGvB,CAAA;AAED,eAAO,MAAM,UAAU,8SAEtB,CAAA;AAED,eAAO,MAAM,aAAa,oTAKzB,CAAA;AAED,eAAO,MAAM,gBAAgB,6NAK5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/pages/proofs/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEzC,MAAM,MAAM,MAAM,GAAG;IACnB,SAAS,EAAE,CACT,MAAM,EAAE,eAAe,EAAE,EACzB,cAAc,EAAE,MAAM,KACnB,IAAI,CAAA;IACT,QAAQ,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA"}
|
|
@@ -10,8 +10,8 @@ declare const store: import("redux").Store<import("redux").EmptyObject & {
|
|
|
10
10
|
};
|
|
11
11
|
requestProofs: {
|
|
12
12
|
pointsRequired: number | null;
|
|
13
|
-
dropAddress: string | null;
|
|
14
13
|
isOpen: boolean;
|
|
14
|
+
scope: string | null;
|
|
15
15
|
};
|
|
16
16
|
}, import("redux").AnyAction> & {
|
|
17
17
|
dispatch: unknown;
|
|
@@ -10,8 +10,8 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
|
10
10
|
};
|
|
11
11
|
requestProofs: {
|
|
12
12
|
pointsRequired: number | null;
|
|
13
|
-
dropAddress: string | null;
|
|
14
13
|
isOpen: boolean;
|
|
14
|
+
scope: string | null;
|
|
15
15
|
};
|
|
16
16
|
}>, import("redux").AnyAction>;
|
|
17
17
|
export type AppRootState = ReturnType<typeof rootReducer>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
declare enum ActionType {
|
|
2
2
|
'/requestProofs/registerRequest' = "/requestProofs/registerRequest",
|
|
3
3
|
'/requestProofs/showRequest' = "/requestProofs/showRequest",
|
|
4
|
-
'/requestProofs/resetRequest' = "/requestProofs/resetRequest"
|
|
4
|
+
'/requestProofs/resetRequest' = "/requestProofs/resetRequest",
|
|
5
|
+
'/requestProofs/setScope' = "/requestProofs/setScope"
|
|
5
6
|
}
|
|
6
7
|
type Action<payload> = {
|
|
7
8
|
type: ActionType;
|
|
@@ -10,14 +11,12 @@ type Action<payload> = {
|
|
|
10
11
|
};
|
|
11
12
|
type State = {
|
|
12
13
|
pointsRequired: number | null;
|
|
13
|
-
dropAddress: string | null;
|
|
14
14
|
isOpen: boolean;
|
|
15
|
+
scope: string | null;
|
|
15
16
|
};
|
|
16
|
-
export declare const registerRequest: (pointsRequired: number
|
|
17
|
-
pointsRequired: number;
|
|
18
|
-
dropAddress: string;
|
|
19
|
-
}>;
|
|
17
|
+
export declare const registerRequest: (pointsRequired: number) => Action<number>;
|
|
20
18
|
export declare const openRequest: (isOpen: boolean) => Action<boolean>;
|
|
19
|
+
export declare const setScope: (scope: string | null) => Action<string | null>;
|
|
21
20
|
export declare const resetRequest: () => {
|
|
22
21
|
type: ActionType;
|
|
23
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-proofs.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/request-proofs.tsx"],"names":[],"mappings":"AAIA,aAAK,UAAU;IACb,gCAAgC,mCAAmC;IACnE,4BAA4B,+BAA+B;IAC3D,6BAA6B,gCAAgC;
|
|
1
|
+
{"version":3,"file":"request-proofs.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/request-proofs.tsx"],"names":[],"mappings":"AAIA,aAAK,UAAU;IACb,gCAAgC,mCAAmC;IACnE,4BAA4B,+BAA+B;IAC3D,6BAA6B,gCAAgC;IAC7D,yBAAyB,4BAA4B;CACtD;AAED,KAAK,MAAM,CAAC,OAAO,IAAI;IACrB,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,KAAK,KAAK,GAAG;IACX,cAAc,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB,CAAC;AAQF,eAAO,MAAM,eAAe,GAC1B,gBAAgB,MAAM,KACrB,MAAM,CAAC,MAAM,CAGd,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,QAAQ,OAAO,KAAG,MAAM,CAAC,OAAO,CAG1D,CAAC;AAGH,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,GAAG,IAAI,KAAG,MAAM,CAAC,MAAM,GAAG,IAAI,CAGlE,CAAC;AAEH,eAAO,MAAM,YAAY;;CAEvB,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,KAAK,mBAAY,EACjB,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,GAClB,KAAK,CAmCP;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,KAIpC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TSemaphoreProof, TVerification } from "@/types";
|
|
2
|
-
type TGetProofs = (userKey: string, verifications: TVerification[],
|
|
2
|
+
type TGetProofs = (userKey: string, verifications: TVerification[], scope: string | null, pointsRequired: number, selectedVerifications: string[]) => Promise<TSemaphoreProof[]>;
|
|
3
3
|
declare const prepareProofs: TGetProofs;
|
|
4
4
|
export default prepareProofs;
|
|
5
5
|
//# sourceMappingURL=prepare-proofs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepare-proofs.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/utils/prepare-proofs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"prepare-proofs.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/utils/prepare-proofs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAOzD,KAAK,UAAU,GAAG,CAChB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,aAAa,EAAE,EAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,cAAc,EAAE,MAAM,EACtB,qBAAqB,EAAE,MAAM,EAAE,KAC5B,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;AAEhC,QAAA,MAAM,aAAa,EAAE,UA0EpB,CAAC;AAEF,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-initial-selected-verifications.d.ts","sourceRoot":"","sources":["../../src/utils/define-initial-selected-verifications.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAExC,QAAA,MAAM,kCAAkC,GAAI,eAAe,aAAa,EAAE,aAUzE,CAAC;AAEF,eAAe,kCAAkC,CAAA"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -15,5 +15,6 @@ import msToTime from './ms-to-time';
|
|
|
15
15
|
import defineExplorerURL from './define-explorer-url';
|
|
16
16
|
import areArraysEqual from './are-arrays-equal';
|
|
17
17
|
import areObjectsEqual from './are-objects-equal';
|
|
18
|
-
|
|
18
|
+
import defineInitialSelectedVerifications from './define-initial-selected-verifications';
|
|
19
|
+
export { generateId, defineGroup, createSemaphoreIdentity, shortenString, defineExplorerURL, areArraysEqual, areObjectsEqual, msToTime, defineApiUrl, defineTaskPointsRange, defineTaskByCredentialGroupId, calculateScope, api, createQueryString, defineZuploNetworkName, defineRelatedVerification, calculateAvailablePoints, defineInitialSelectedVerifications };
|
|
19
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,uBAAuB,MAAM,6BAA6B,CAAC;AAClE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,OAAO,6BAA6B,MAAM,sCAAsC,CAAC;AACjF,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,sBAAsB,MAAM,6BAA6B,CAAC;AACjE,OAAO,yBAAyB,MAAM,+BAA+B,CAAC;AACtE,OAAO,wBAAwB,MAAM,8BAA8B,CAAC;AACpE,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,eAAe,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,uBAAuB,MAAM,6BAA6B,CAAC;AAClE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAC/D,OAAO,6BAA6B,MAAM,sCAAsC,CAAC;AACjF,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,sBAAsB,MAAM,6BAA6B,CAAC;AACjE,OAAO,yBAAyB,MAAM,+BAA+B,CAAC;AACtE,OAAO,wBAAwB,MAAM,8BAA8B,CAAC;AACpE,OAAO,QAAQ,MAAM,cAAc,CAAC;AACpC,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AACtD,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAChD,OAAO,eAAe,MAAM,qBAAqB,CAAC;AAClD,OAAO,kCAAkC,MAAM,yCAAyC,CAAC;AAEzF,OAAO,EACL,UAAU,EACV,WAAW,EACX,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,qBAAqB,EACrB,6BAA6B,EAC7B,cAAc,EACd,GAAG,EACH,iBAAiB,EACjB,sBAAsB,EACtB,yBAAyB,EACzB,wBAAwB,EACxB,kCAAkC,EACnC,CAAA"}
|