bringid-sdk 0.0.15 → 0.0.17

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 (61) hide show
  1. package/dist/components/task/index.d.ts.map +1 -1
  2. package/dist/components/task/types.d.ts +1 -1
  3. package/dist/components/task/types.d.ts.map +1 -1
  4. package/dist/components/verification/index.d.ts.map +1 -1
  5. package/dist/components/verification/styled-components.d.ts.map +1 -1
  6. package/dist/core/task.d.ts +1 -0
  7. package/dist/core/task.d.ts.map +1 -1
  8. package/dist/index.d.ts +2 -2
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/modules/verifications-dialog/callbacks/index.d.ts +6 -0
  12. package/dist/modules/verifications-dialog/callbacks/index.d.ts.map +1 -0
  13. package/dist/modules/verifications-dialog/components/header/index.d.ts.map +1 -1
  14. package/dist/modules/verifications-dialog/components/header/styled-components.d.ts +0 -1
  15. package/dist/modules/verifications-dialog/components/header/styled-components.d.ts.map +1 -1
  16. package/dist/modules/verifications-dialog/components/index.d.ts +1 -2
  17. package/dist/modules/verifications-dialog/components/index.d.ts.map +1 -1
  18. package/dist/modules/verifications-dialog/components/tasks-list/index.d.ts.map +1 -1
  19. package/dist/modules/verifications-dialog/components/verifications-list/index.d.ts.map +1 -1
  20. package/dist/modules/verifications-dialog/components/verifications-list/types.d.ts +0 -1
  21. package/dist/modules/verifications-dialog/components/verifications-list/types.d.ts.map +1 -1
  22. package/dist/modules/verifications-dialog/components/verifications-select-list/index.d.ts.map +1 -1
  23. package/dist/modules/verifications-dialog/events/event-bus.d.ts +8 -7
  24. package/dist/modules/verifications-dialog/events/event-bus.d.ts.map +1 -1
  25. package/dist/modules/verifications-dialog/inner-modal/index.d.ts.map +1 -1
  26. package/dist/modules/verifications-dialog/pages/home/index.d.ts.map +1 -1
  27. package/dist/modules/verifications-dialog/pages/home/styled-components.d.ts +1 -0
  28. package/dist/modules/verifications-dialog/pages/home/styled-components.d.ts.map +1 -1
  29. package/dist/modules/verifications-dialog/pages/index.d.ts +2 -1
  30. package/dist/modules/verifications-dialog/pages/index.d.ts.map +1 -1
  31. package/dist/modules/verifications-dialog/pages/proofs/index.d.ts +5 -0
  32. package/dist/modules/verifications-dialog/pages/proofs/index.d.ts.map +1 -0
  33. package/dist/modules/verifications-dialog/pages/proofs/styled-components.d.ts +8 -0
  34. package/dist/modules/verifications-dialog/pages/proofs/styled-components.d.ts.map +1 -0
  35. package/dist/modules/verifications-dialog/pages/proofs/types.d.ts +6 -0
  36. package/dist/modules/verifications-dialog/pages/proofs/types.d.ts.map +1 -0
  37. package/dist/modules/verifications-dialog/store/index.d.ts +0 -5
  38. package/dist/modules/verifications-dialog/store/index.d.ts.map +1 -1
  39. package/dist/modules/verifications-dialog/store/reducers/index.d.ts +0 -5
  40. package/dist/modules/verifications-dialog/store/reducers/index.d.ts.map +1 -1
  41. package/dist/modules/verifications-dialog/store/reducers/user.d.ts +5 -3
  42. package/dist/modules/verifications-dialog/store/reducers/user.d.ts.map +1 -1
  43. package/dist/modules/verifications-dialog/store/reducers/verifications.d.ts.map +1 -1
  44. package/dist/modules/verifications-dialog/utils/prepare-proofs.d.ts +1 -1
  45. package/dist/modules/verifications-dialog/utils/prepare-proofs.d.ts.map +1 -1
  46. package/dist/types/user.d.ts +1 -0
  47. package/dist/types/user.d.ts.map +1 -1
  48. package/dist/utils/define-initial-selected-verifications.d.ts +4 -0
  49. package/dist/utils/define-initial-selected-verifications.d.ts.map +1 -0
  50. package/dist/utils/index.d.ts +2 -1
  51. package/dist/utils/index.d.ts.map +1 -1
  52. package/package.json +1 -1
  53. package/dist/6d49141a78bd0420b0384a3801745c44.gif +0 -0
  54. package/dist/modules/verifications-dialog/components/confirmation-overlay/index.d.ts +0 -5
  55. package/dist/modules/verifications-dialog/components/confirmation-overlay/index.d.ts.map +0 -1
  56. package/dist/modules/verifications-dialog/components/confirmation-overlay/styled-components.d.ts +0 -17
  57. package/dist/modules/verifications-dialog/components/confirmation-overlay/styled-components.d.ts.map +0 -1
  58. package/dist/modules/verifications-dialog/components/confirmation-overlay/types.d.ts +0 -10
  59. package/dist/modules/verifications-dialog/components/confirmation-overlay/types.d.ts.map +0 -1
  60. package/dist/modules/verifications-dialog/store/reducers/request-proofs.d.ts +0 -27
  61. package/dist/modules/verifications-dialog/store/reducers/request-proofs.d.ts.map +0 -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/header/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAWlC,OAAO,MAAM,MAAM,SAAS,CAAC;AAwC7B,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,MAAM,CAU/B,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAU1B,OAAO,MAAM,MAAM,SAAS,CAAA;AA2B5B,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,MAAM,CAY/B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,7 +1,6 @@
1
1
  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>>;
2
2
  export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
3
3
  export declare const UserStatus: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
4
- 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>>;
5
4
  export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
5
  export declare const Texts: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
6
  export declare const Address: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1 +1 @@
1
- {"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/header/styled-components.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,gTAAkB,CAAC;AAE3C,eAAO,MAAM,MAAM,uNAOlB,CAAC;AAEF,eAAO,MAAM,UAAU,+NAGtB,CAAC;AAEF,eAAO,MAAM,YAAY,kTAExB,CAAC;AAEF,eAAO,MAAM,OAAO,6NAInB,CAAC;AAEF,eAAO,MAAM,KAAK,6NAAe,CAAC;AAElC,eAAO,MAAM,OAAO,6NAMnB,CAAC;AAEF,eAAO,MAAM,WAAW,+NAGvB,CAAC;AACF,eAAO,MAAM,UAAU,8SAEtB,CAAC"}
1
+ {"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/header/styled-components.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,gTAAkB,CAAC;AAE3C,eAAO,MAAM,MAAM,uNAOlB,CAAC;AAEF,eAAO,MAAM,UAAU,+NAGtB,CAAC;AAEF,eAAO,MAAM,OAAO,6NAInB,CAAC;AAEF,eAAO,MAAM,KAAK,6NAAe,CAAC;AAElC,eAAO,MAAM,OAAO,6NAMnB,CAAC;AAEF,eAAO,MAAM,WAAW,+NAGvB,CAAC;AACF,eAAO,MAAM,UAAU,8SAEtB,CAAC"}
@@ -3,8 +3,7 @@ import NoTasksFound from './no-verifications-found';
3
3
  import TasksList from './tasks-list';
4
4
  import VerificationsList from './verifications-list';
5
5
  import VerificationSelectList from './verifications-select-list';
6
- import ConfirmationOverlay from './confirmation-overlay';
7
6
  import LoadingOverlay from './loading-overlay';
8
7
  import Authorize from './authorize';
9
- export { Header, VerificationSelectList, NoTasksFound, TasksList, VerificationsList, ConfirmationOverlay, LoadingOverlay, Authorize, };
8
+ export { Header, VerificationSelectList, NoTasksFound, TasksList, VerificationsList, LoadingOverlay, Authorize, };
10
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,sBAAsB,MAAM,6BAA6B,CAAC;AACjE,OAAO,mBAAmB,MAAM,wBAAwB,CAAC;AACzD,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EACL,MAAM,EACN,sBAAsB,EACtB,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,SAAS,GACV,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,sBAAsB,MAAM,6BAA6B,CAAC;AACjE,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,OAAO,EACL,MAAM,EACN,sBAAsB,EACtB,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,SAAS,GACV,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,CAyBzB,CAAC;AAEF,eAAe,SAAS,CAAC"}
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;AAI7B,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,MAAM,CAsDjC,CAAC;AAEF,eAAe,iBAAiB,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,CA+EjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -3,7 +3,6 @@ import { Task } from '../../../../core';
3
3
  type TProps = {
4
4
  tasks: Task[];
5
5
  verifications: TVerification[];
6
- onAddVerifications: () => void;
7
6
  className?: string;
8
7
  devMode: boolean;
9
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/verifications-list/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/verifications-list/types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -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,CA8CvC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
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,10 @@
1
- type OpenModalCallback = () => void;
2
- type RequestProofsCallback = (dropAddress: string, pointsRequired: number) => Promise<any>;
3
- export declare const registerOpenModal: (cb: OpenModalCallback) => void;
4
- export declare const registerRequestProofs: (cb: RequestProofsCallback) => void;
5
- export declare const triggerOpenModal: () => void;
6
- export declare const triggerRequest: (dropAddress: string, pointsRequired: number) => Promise<any> | undefined;
1
+ import { TSemaphoreProof } from "@/types";
2
+ type TOpenModalArgs = {
3
+ proofsGeneratedCallback: (proofs: TSemaphoreProof[], points: number) => void;
4
+ scope?: string;
5
+ };
6
+ type TOpenModalCallback = (args: TOpenModalArgs) => void;
7
+ export declare const registerOpenModal: (cb: TOpenModalCallback) => void;
8
+ export declare const triggerOpenModal: (args: TOpenModalArgs) => void;
7
9
  export { triggerOpenModal as openModal };
8
- export { triggerRequest as requestProofs };
9
10
  //# 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,KAAK,iBAAiB,GAAG,MAAM,IAAI,CAAC;AAEpC,KAAK,qBAAqB,GAAG,CAC3B,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,KACnB,OAAO,CAAC,GAAG,CAAC,CAAC;AAMlB,eAAO,MAAM,iBAAiB,GAAI,IAAI,iBAAiB,SAEtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,IAAI,qBAAqB,SAE9D,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAE5B,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,aAAa,MAAM,EACnB,gBAAgB,MAAM,6BASvB,CAAC;AAEF,OAAO,EAAE,gBAAgB,IAAI,SAAS,EAAE,CAAC;AACzC,OAAO,EAAE,cAAc,IAAI,aAAa,EAAE,CAAC"}
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,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"}
@@ -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;AA6EhC,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,MAAM,CAmJ1B,CAAA;AAED,eAAe,UAAU,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;AAoGhC,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,MAAM,CAmI1B,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;AAY3B,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AA4BhC,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,MAAM,CA2BpB,CAAC;AAEF,eAAe,IAAI,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;AAuChC,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,MAAM,CA+BpB,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":"AAGA,eAAO,MAAM,SAAS,6NAErB,CAAC;AAEF,eAAO,MAAM,uBAAuB,8TAEnC,CAAC"}
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,4 +1,5 @@
1
1
  import Home from './home';
2
2
  import Tasks from './tasks';
3
- export { Home, Tasks };
3
+ import Proofs from './proofs';
4
+ export { Home, Tasks, Proofs };
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -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,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC"}
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,5 @@
1
+ import { FC } from 'react';
2
+ import { TProps } from './types';
3
+ declare const Proofs: FC<TProps>;
4
+ export default Proofs;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -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;AAgChC,QAAA,MAAM,MAAM,EAAE,EAAE,CAAC,MAAM,CAyHtB,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,6 @@
1
+ import { TSemaphoreProof } from "@/types";
2
+ export type TProps = {
3
+ onConfirm: (proofs: TSemaphoreProof[], pointsSelected: number) => void;
4
+ onCancel: () => void;
5
+ };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -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"}
@@ -8,11 +8,6 @@ declare const store: import("redux").Store<import("redux").EmptyObject & {
8
8
  isOpen: boolean;
9
9
  loading: boolean;
10
10
  };
11
- requestProofs: {
12
- pointsRequired: number | null;
13
- dropAddress: string | null;
14
- isOpen: boolean;
15
- };
16
11
  }, import("redux").AnyAction> & {
17
12
  dispatch: unknown;
18
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/store/index.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;CAA4D,CAAC;AAExE,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/verifications-dialog/store/index.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,KAAK;;;;;;;;;;;;CAA4D,CAAC;AAExE,eAAe,KAAK,CAAC"}
@@ -8,11 +8,6 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
8
8
  isOpen: boolean;
9
9
  loading: boolean;
10
10
  };
11
- requestProofs: {
12
- pointsRequired: number | null;
13
- dropAddress: string | null;
14
- isOpen: boolean;
15
- };
16
11
  }>, import("redux").AnyAction>;
17
12
  export type AppRootState = ReturnType<typeof rootReducer>;
18
13
  export default rootReducer;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/index.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;8BAKf,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAC1D,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/index.tsx"],"names":[],"mappings":"AAKA,QAAA,MAAM,WAAW;;;;;;;;;;8BAIf,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAC1D,eAAe,WAAW,CAAC"}
@@ -6,7 +6,8 @@ declare enum ActionType {
6
6
  '/user/setLoading' = "/user/setLoading",
7
7
  '/user/setAddress' = "/user/setAddress",
8
8
  '/user/setApiKey' = "/user/setApiKey",
9
- '/user/destroy' = "/user/destroy"
9
+ '/user/destroy' = "/user/destroy",
10
+ '/user/setScope' = "/user/setScope"
10
11
  }
11
12
  type Action<payload> = {
12
13
  type: ActionType;
@@ -14,14 +15,15 @@ type Action<payload> = {
14
15
  error?: boolean;
15
16
  };
16
17
  type State = TUser;
17
- export declare const setKey: (key: string) => Action<string>;
18
+ export declare const setKey: (key: string | null) => Action<string | null>;
18
19
  export declare const destroy: () => {
19
20
  type: ActionType;
20
21
  };
21
22
  export declare const setLoading: (loading: boolean) => Action<boolean>;
23
+ export declare const setScope: (scope: string | null) => Action<string | null>;
22
24
  export declare const setId: (id: string) => Action<string>;
23
25
  export declare const setUser: (user: TUser) => Action<TUser>;
24
- export declare const setAddress: (address: string) => Action<string>;
26
+ export declare const setAddress: (address: string | null) => Action<string | null>;
25
27
  export declare const setApiKey: (apiKey: string) => Action<string>;
26
28
  export default function user(state: TUser | undefined, action: Action<any>): State;
27
29
  export declare const useUser: () => State;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/user.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAK/B,aAAK,UAAU;IACb,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,eAAe,kBAAkB;IACjC,kBAAkB,qBAAqB;IACvC,kBAAkB,qBAAqB;IACvC,iBAAiB,oBAAoB;IACrC,eAAe,kBAAkB;CAClC;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,KAAK,CAAC;AAUnB,eAAO,MAAM,MAAM,GAAI,KAAK,MAAM,KAAG,MAAM,CAAC,MAAM,CAGhD,CAAC;AAEH,eAAO,MAAM,OAAO;;CAElB,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,KAAG,MAAM,CAAC,OAAO,CAG1D,CAAC;AAEH,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,MAAM,CAAC,MAAM,CAG9C,CAAC;AAEH,eAAO,MAAM,OAAO,GAAI,MAAM,KAAK,KAAG,MAAM,CAAC,KAAK,CAGhD,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,KAAG,MAAM,CAAC,MAAM,CAGxD,CAAC;AAEH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,KAAG,MAAM,CAAC,MAAM,CAGtD,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,mBAAY,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CA2B1E;AAED,eAAO,MAAM,OAAO,EAAE,MAAM,KAI3B,CAAC"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/user.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAK/B,aAAK,UAAU;IACb,cAAc,iBAAiB;IAC/B,aAAa,gBAAgB;IAC7B,eAAe,kBAAkB;IACjC,kBAAkB,qBAAqB;IACvC,kBAAkB,qBAAqB;IACvC,iBAAiB,oBAAoB;IACrC,eAAe,kBAAkB;IACjC,gBAAgB,mBAAmB;CACpC;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,KAAK,CAAC;AAWnB,eAAO,MAAM,MAAM,GAAI,KAAK,MAAM,GAAG,IAAI,KAAG,MAAM,CAAC,MAAM,GAAG,IAAI,CAG9D,CAAA;AAEF,eAAO,MAAM,OAAO;;CAElB,CAAA;AAEF,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,KAAG,MAAM,CAAC,OAAO,CAG1D,CAAA;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,GAAG,IAAI,KAAG,MAAM,CAAC,MAAM,GAAG,IAAI,CAGlE,CAAA;AAEF,eAAO,MAAM,KAAK,GAAI,IAAI,MAAM,KAAG,MAAM,CAAC,MAAM,CAG9C,CAAA;AAEF,eAAO,MAAM,OAAO,GAAI,MAAM,KAAK,KAAG,MAAM,CAAC,KAAK,CAGhD,CAAA;AAEF,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,GAAG,IAAI,KAAG,MAAM,CAAC,MAAM,GAAG,IAAI,CAGtE,CAAA;AAEF,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,KAAG,MAAM,CAAC,MAAM,CAGtD,CAAA;AAEF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,mBAAY,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CA6B1E;AAED,eAAO,MAAM,OAAO,EAAE,MAAM,KAI3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"verifications.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/verifications.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIxC,aAAK,UAAU;IACb,gCAAgC,mCAAmC;IACnE,iCAAiC,oCAAoC;IACrE,2BAA2B,8BAA8B;CAC1D;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,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAOF,eAAO,MAAM,eAAe,GAC1B,cAAc,aAAa,KAC1B,MAAM,CAAC,aAAa,CAGrB,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAC3B,eAAe,aAAa,EAAE,KAC7B,MAAM,CAAC,aAAa,EAAE,CAGvB,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,KAAG,MAAM,CAAC,OAAO,CAG1D,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,KAAK,mBAAY,EACjB,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,GAClB,KAAK,CAyCP;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,KAIpC,CAAC"}
1
+ {"version":3,"file":"verifications.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/store/reducers/verifications.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAIxC,aAAK,UAAU;IACb,gCAAgC,mCAAmC;IACnE,iCAAiC,oCAAoC;IACrE,2BAA2B,8BAA8B;CAC1D;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,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAOF,eAAO,MAAM,eAAe,GAC1B,cAAc,aAAa,KAC1B,MAAM,CAAC,aAAa,CAGrB,CAAC;AAEH,eAAO,MAAM,gBAAgB,GAC3B,eAAe,aAAa,EAAE,KAC7B,MAAM,CAAC,aAAa,EAAE,CAGvB,CAAC;AAEH,eAAO,MAAM,UAAU,GAAI,SAAS,OAAO,KAAG,MAAM,CAAC,OAAO,CAG1D,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,KAAK,mBAAY,EACjB,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,GAClB,KAAK,CA2CP;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[], dropAddress: string, pointsRequired: number, selectedVerifications: string[]) => Promise<TSemaphoreProof[]>;
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;AAKzD,KAAK,UAAU,GAAG,CAChB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,aAAa,EAAE,EAC9B,WAAW,EAAE,MAAM,EACnB,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"}
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"}
@@ -4,5 +4,6 @@ export type TUser = {
4
4
  address: string | null;
5
5
  loading: boolean;
6
6
  apiKey: string | null;
7
+ scope: null | string;
7
8
  };
8
9
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/types/user.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/types/user.tsx"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,IAAI,GAAG,MAAM,CAAA;CACrB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { TVerification } from "@/types";
2
+ declare const defineInitialSelectedVerifications: (verifications: TVerification[]) => string[];
3
+ export default defineInitialSelectedVerifications;
4
+ //# sourceMappingURL=define-initial-selected-verifications.d.ts.map
@@ -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"}
@@ -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
- export { generateId, defineGroup, createSemaphoreIdentity, shortenString, defineExplorerURL, areArraysEqual, areObjectsEqual, msToTime, defineApiUrl, defineTaskPointsRange, defineTaskByCredentialGroupId, calculateScope, api, createQueryString, defineZuploNetworkName, defineRelatedVerification, calculateAvailablePoints, };
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;AAElD,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,GACzB,CAAA"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bringid-sdk",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import TProps from './types';
3
- declare const ConfirmationOverlay: FC<TProps>;
4
- export default ConfirmationOverlay;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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;AAiI7B,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,MAAM,CAoHnC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,17 +0,0 @@
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 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>>;
3
- export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
4
- export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
- export declare const LogoWrapperStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/logo-wrapper/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/logo-wrapper/types").default>, keyof import("react").Component<any, {}, any>>;
7
- 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>>;
8
- 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>>;
9
- 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;
10
- 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>>;
11
- export declare const Image: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
12
- export declare const NoteStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../components/note/types").default, never>> & string & Omit<import("react").FC<import("../../../../components/note/types").default>, keyof import("react").Component<any, {}, any>>;
13
- export declare const OpenPopupButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
14
- export declare const UserStatusRequired: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
15
- export declare const UserStatus: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
16
- export declare const VerificationsSelectListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../verifications-select-list/types").default, never>> & string & Omit<import("react").FC<import("../verifications-select-list/types").default>, keyof import("react").Component<any, {}, any>>;
17
- //# sourceMappingURL=styled-components.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../../../src/modules/verifications-dialog/components/confirmation-overlay/styled-components.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,SAAS,6NAUrB,CAAC;AAEF,eAAO,MAAM,WAAW,gTAIvB,CAAC;AAEF,eAAO,MAAM,MAAM,uNAKlB,CAAC;AAEF,eAAO,MAAM,OAAO,6NAQnB,CAAC;AAEF,eAAO,MAAM,OAAO,6NAEnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,8TAG7B,CAAC;AAEF,eAAO,MAAM,UAAU,8SAItB,CAAC;AAEF,eAAO,MAAM,aAAa,oTAKzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,6NAK5B,CAAC;AAEF,eAAO,MAAM,YAAY,kTAExB,CAAC;AAEF,eAAO,MAAM,KAAK,oOAKjB,CAAC;AAEF,eAAO,MAAM,UAAU,8SAEtB,CAAC;AAEF,eAAO,MAAM,eAAe,+NAG3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,+NAG9B,CAAC;AAEF,eAAO,MAAM,UAAU,+NAGtB,CAAC;AAEF,eAAO,MAAM,6BAA6B,gTAGzC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { TSemaphoreProof } from "@/types";
2
- type TProps = {
3
- pointsRequired: number;
4
- dropAddress: string;
5
- onClose: () => void;
6
- points: number;
7
- onAccept: (proofs: TSemaphoreProof[]) => void;
8
- };
9
- export default TProps;
10
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
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,WAAW,EAAE,MAAM,CAAC;IACpB,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,27 +0,0 @@
1
- declare enum ActionType {
2
- '/requestProofs/registerRequest' = "/requestProofs/registerRequest",
3
- '/requestProofs/showRequest' = "/requestProofs/showRequest",
4
- '/requestProofs/resetRequest' = "/requestProofs/resetRequest"
5
- }
6
- type Action<payload> = {
7
- type: ActionType;
8
- payload?: payload;
9
- error?: boolean;
10
- };
11
- type State = {
12
- pointsRequired: number | null;
13
- dropAddress: string | null;
14
- isOpen: boolean;
15
- };
16
- export declare const registerRequest: (pointsRequired: number, dropAddress: string) => Action<{
17
- pointsRequired: number;
18
- dropAddress: string;
19
- }>;
20
- export declare const openRequest: (isOpen: boolean) => Action<boolean>;
21
- export declare const resetRequest: () => {
22
- type: ActionType;
23
- };
24
- export default function requestProofs(state: State | undefined, action: Action<any>): State;
25
- export declare const useRequestProofs: () => State;
26
- export {};
27
- //# sourceMappingURL=request-proofs.d.ts.map
@@ -1 +0,0 @@
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;CAC9D;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,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,MAAM,EAAE,OAAO,CAAA;CAChB,CAAC;AAQF,eAAO,MAAM,eAAe,GAC1B,gBAAgB,MAAM,EACtB,aAAa,MAAM,KAClB,MAAM,CAAC;IACR,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB,CAMC,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,QAAQ,OAAO,KAAG,MAAM,CAAC,OAAO,CAG1D,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,CA6BP;AAED,eAAO,MAAM,gBAAgB,EAAE,MAAM,KAIpC,CAAC"}