bringid-sdk 0.0.16 → 0.0.18

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 (42) hide show
  1. package/dist/components/task/index.d.ts.map +1 -1
  2. package/dist/components/verification/index.d.ts.map +1 -1
  3. package/dist/components/verification/styled-components.d.ts.map +1 -1
  4. package/dist/core/task.d.ts +1 -0
  5. package/dist/core/task.d.ts.map +1 -1
  6. package/dist/index.css +1 -0
  7. package/dist/index.d.ts +2 -2
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.LICENSE.txt +0 -9
  11. package/dist/modules/verifications-dialog/components/header/index.d.ts.map +1 -1
  12. package/dist/modules/verifications-dialog/components/header/styled-components.d.ts +0 -1
  13. package/dist/modules/verifications-dialog/components/header/styled-components.d.ts.map +1 -1
  14. package/dist/modules/verifications-dialog/components/index.d.ts +1 -2
  15. package/dist/modules/verifications-dialog/components/index.d.ts.map +1 -1
  16. package/dist/modules/verifications-dialog/components/verifications-list/index.d.ts.map +1 -1
  17. package/dist/modules/verifications-dialog/components/verifications-list/types.d.ts +0 -1
  18. package/dist/modules/verifications-dialog/components/verifications-list/types.d.ts.map +1 -1
  19. package/dist/modules/verifications-dialog/events/event-bus.d.ts +0 -8
  20. package/dist/modules/verifications-dialog/events/event-bus.d.ts.map +1 -1
  21. package/dist/modules/verifications-dialog/inner-modal/index.d.ts.map +1 -1
  22. package/dist/modules/verifications-dialog/pages/home/index.d.ts.map +1 -1
  23. package/dist/modules/verifications-dialog/pages/proofs/index.d.ts.map +1 -1
  24. package/dist/modules/verifications-dialog/store/index.d.ts +0 -5
  25. package/dist/modules/verifications-dialog/store/index.d.ts.map +1 -1
  26. package/dist/modules/verifications-dialog/store/reducers/index.d.ts +0 -5
  27. package/dist/modules/verifications-dialog/store/reducers/index.d.ts.map +1 -1
  28. package/dist/modules/verifications-dialog/store/reducers/user.d.ts +5 -3
  29. package/dist/modules/verifications-dialog/store/reducers/user.d.ts.map +1 -1
  30. package/dist/modules/verifications-dialog/store/reducers/verifications.d.ts.map +1 -1
  31. package/dist/types/user.d.ts +1 -0
  32. package/dist/types/user.d.ts.map +1 -1
  33. package/package.json +2 -1
  34. package/dist/6d49141a78bd0420b0384a3801745c44.gif +0 -0
  35. package/dist/modules/verifications-dialog/components/confirmation-overlay/index.d.ts +0 -5
  36. package/dist/modules/verifications-dialog/components/confirmation-overlay/index.d.ts.map +0 -1
  37. package/dist/modules/verifications-dialog/components/confirmation-overlay/styled-components.d.ts +0 -17
  38. package/dist/modules/verifications-dialog/components/confirmation-overlay/styled-components.d.ts.map +0 -1
  39. package/dist/modules/verifications-dialog/components/confirmation-overlay/types.d.ts +0 -10
  40. package/dist/modules/verifications-dialog/components/confirmation-overlay/types.d.ts.map +0 -1
  41. package/dist/modules/verifications-dialog/store/reducers/request-proofs.d.ts +0 -26
  42. package/dist/modules/verifications-dialog/store/reducers/request-proofs.d.ts.map +0 -1
@@ -65,15 +65,6 @@
65
65
  * @see [Github]{@link https://github.com/semaphore-protocol/semaphore/tree/main/packages/proof}
66
66
  */
67
67
 
68
- /**
69
- * @module @zk-kit/artifacts
70
- * @version 2.0.1
71
- * @file Utilities for downloading snark artifacts
72
- * @copyright Ethereum Foundation 2024
73
- * @license MIT
74
- * @see [Github]{@link https://github.com/privacy-scaling-explorations/snark-artifacts/tree/main/packages/artifacts}
75
- */
76
-
77
68
  /**
78
69
  * @module @zk-kit/eddsa-poseidon
79
70
  * @version 1.0.4
@@ -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/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"}
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,11 +1,4 @@
1
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
2
  type TOpenModalArgs = {
10
3
  proofsGeneratedCallback: (proofs: TSemaphoreProof[], points: number) => void;
11
4
  scope?: string;
@@ -14,5 +7,4 @@ type TOpenModalCallback = (args: TOpenModalArgs) => void;
14
7
  export declare const registerOpenModal: (cb: TOpenModalCallback) => void;
15
8
  export declare const triggerOpenModal: (args: TOpenModalArgs) => void;
16
9
  export { triggerOpenModal as openModal };
17
- export { triggerRequest as requestProofs };
18
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,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
+ {"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;AAmGhC,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,MAAM,CA4J1B,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;AAgB3B,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AA0ChC,QAAA,MAAM,IAAI,EAAE,EAAE,CAAC,MAAM,CAiCpB,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 +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"}
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"}
@@ -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
- isOpen: boolean;
14
- scope: string | null;
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
- isOpen: boolean;
14
- scope: string | null;
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"}
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bringid-sdk",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -62,6 +62,7 @@
62
62
  "ethers": "^6.13.0",
63
63
  "file-loader": "^6.2.0",
64
64
  "json-loader": "^0.5.7",
65
+ "mini-css-extract-plugin": "^2.9.4",
65
66
  "mocha": "^10.4.0",
66
67
  "node-fetch": "^2.6.6",
67
68
  "postcss-loader": "^7.3.3",
@@ -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;AAsH7B,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
- scope: string | null;
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,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,26 +0,0 @@
1
- declare enum ActionType {
2
- '/requestProofs/registerRequest' = "/requestProofs/registerRequest",
3
- '/requestProofs/showRequest' = "/requestProofs/showRequest",
4
- '/requestProofs/resetRequest' = "/requestProofs/resetRequest",
5
- '/requestProofs/setScope' = "/requestProofs/setScope"
6
- }
7
- type Action<payload> = {
8
- type: ActionType;
9
- payload?: payload;
10
- error?: boolean;
11
- };
12
- type State = {
13
- pointsRequired: number | null;
14
- isOpen: boolean;
15
- scope: string | null;
16
- };
17
- export declare const registerRequest: (pointsRequired: number) => Action<number>;
18
- export declare const openRequest: (isOpen: boolean) => Action<boolean>;
19
- export declare const setScope: (scope: string | null) => Action<string | null>;
20
- export declare const resetRequest: () => {
21
- type: ActionType;
22
- };
23
- export default function requestProofs(state: State | undefined, action: Action<any>): State;
24
- export declare const useRequestProofs: () => State;
25
- export {};
26
- //# 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;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"}