@matchain/matchid-sdk-react 0.1.42-alpha.0 → 0.1.42-alpha.10

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 (69) hide show
  1. package/dist/assets/icon/index.d.mts +1 -1
  2. package/dist/assets/icon/index.d.ts +1 -1
  3. package/dist/{chunk-ZP4OU66T.mjs → chunk-N53ZMW5C.mjs} +2 -2
  4. package/dist/chunk-SQIJR7RA.mjs +29 -0
  5. package/dist/chunk-SQIJR7RA.mjs.map +1 -0
  6. package/dist/chunk-YG4MNAUD.mjs +4662 -0
  7. package/dist/chunk-YG4MNAUD.mjs.map +1 -0
  8. package/dist/components/index.d.mts +3 -2
  9. package/dist/components/index.d.ts +3 -2
  10. package/dist/components/index.js +678 -454
  11. package/dist/components/index.js.map +1 -1
  12. package/dist/components/index.mjs +4 -1
  13. package/dist/hooks/api/index.d.mts +2 -2
  14. package/dist/hooks/api/index.d.ts +2 -2
  15. package/dist/hooks/api/index.js +122 -77
  16. package/dist/hooks/api/index.js.map +1 -1
  17. package/dist/hooks/api/index.mjs +3 -2
  18. package/dist/hooks/index.d.mts +5 -2
  19. package/dist/hooks/index.d.ts +5 -2
  20. package/dist/hooks/index.js +330 -146
  21. package/dist/hooks/index.js.map +1 -1
  22. package/dist/hooks/index.mjs +2 -1
  23. package/dist/index-BxS06a5O.d.ts +50 -0
  24. package/dist/{index-Dq9Swg8r.d.ts → index-Ca9nh_8s.d.ts} +1 -1
  25. package/dist/{index-COlsBC-b.d.mts → index-CmH9iRLd.d.mts} +25 -12
  26. package/dist/{index-C3KZYrtu.d.mts → index-DFZpfAfc.d.mts} +1 -1
  27. package/dist/index-DKMrpRJC.d.ts +137 -0
  28. package/dist/{index-fS75Swm8.d.ts → index-DY_ReBra.d.ts} +25 -12
  29. package/dist/index-q5XDobUF.d.mts +50 -0
  30. package/dist/index-sOVSnYF4.d.mts +137 -0
  31. package/dist/index.css +84 -4
  32. package/dist/index.d.mts +9 -4
  33. package/dist/index.d.ts +9 -4
  34. package/dist/index.js +1102 -615
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +9 -5
  37. package/dist/mpc-CTbBWHld.d.mts +20 -0
  38. package/dist/mpc-CTbBWHld.d.ts +20 -0
  39. package/dist/types/index.d.mts +3 -0
  40. package/dist/types/index.d.ts +3 -0
  41. package/dist/types/index.js +44 -0
  42. package/dist/types/index.js.map +1 -0
  43. package/dist/types/index.mjs +10 -0
  44. package/dist/types/index.mjs.map +1 -0
  45. package/dist/types-CVwZEgQ0.d.mts +244 -0
  46. package/dist/types-CVwZEgQ0.d.ts +244 -0
  47. package/example/package.json +1 -0
  48. package/example/src/App.tsx +56 -27
  49. package/example/src/components/ButtonGroup/index.tsx +10 -0
  50. package/example/src/components/Login/index.tsx +2 -2
  51. package/example/src/components/RoutePrivate/index.tsx +4 -3
  52. package/example/src/config/chains/index.ts +2 -0
  53. package/example/src/config/chains/matchMain.ts +27 -0
  54. package/example/src/config/chains/matchTest.ts +33 -0
  55. package/example/src/config/index.ts +6 -2
  56. package/example/src/pages/User/components/BindListModal.tsx +10 -0
  57. package/example/src/pages/User/components/PohListModal.tsx +10 -0
  58. package/example/src/pages/User/components/QueryDisplay.tsx +25 -0
  59. package/example/src/pages/{User.tsx → User/index.tsx} +55 -84
  60. package/example/src/pages/Wallet.tsx +133 -44
  61. package/example/src/store/useLocalStore.ts +45 -0
  62. package/package.json +7 -2
  63. package/dist/chunk-OVZZIJZP.mjs +0 -4196
  64. package/dist/chunk-OVZZIJZP.mjs.map +0 -1
  65. package/dist/index-Blx4Nrwm.d.ts +0 -93
  66. package/dist/index-C1uG-2K1.d.mts +0 -93
  67. package/dist/types.d-CLO_WLka.d.mts +0 -176
  68. package/dist/types.d-CLO_WLka.d.ts +0 -176
  69. /package/dist/{chunk-ZP4OU66T.mjs.map → chunk-N53ZMW5C.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { CSSProperties } from 'react';
3
- import { l as IconProps$1 } from '../../types.d-CLO_WLka.mjs';
3
+ import { s as IconProps$1 } from '../../types-CVwZEgQ0.mjs';
4
4
 
5
5
  declare function BackIcon({ color, size, className, style }: {
6
6
  color?: string;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React, { CSSProperties } from 'react';
3
- import { l as IconProps$1 } from '../../types.d-CLO_WLka.js';
3
+ import { s as IconProps$1 } from '../../types-CVwZEgQ0.js';
4
4
 
5
5
  declare function BackIcon({ color, size, className, style }: {
6
6
  color?: string;
@@ -9,7 +9,7 @@ import {
9
9
  unBindWalletApi,
10
10
  useUserInfo,
11
11
  verifyPohApi
12
- } from "./chunk-OVZZIJZP.mjs";
12
+ } from "./chunk-YG4MNAUD.mjs";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-J5LGTIGS.mjs";
@@ -90,4 +90,4 @@ export {
90
90
  user_exports,
91
91
  api_exports
92
92
  };
93
- //# sourceMappingURL=chunk-ZP4OU66T.mjs.map
93
+ //# sourceMappingURL=chunk-N53ZMW5C.mjs.map
@@ -0,0 +1,29 @@
1
+ import {
2
+ __export
3
+ } from "./chunk-J5LGTIGS.mjs";
4
+
5
+ // src/types/index.ts
6
+ var types_exports = {};
7
+ __export(types_exports, {
8
+ ChainType: () => ChainType,
9
+ RecoveryType: () => RecoveryType
10
+ });
11
+
12
+ // src/types/mpc.ts
13
+ var ChainType = /* @__PURE__ */ ((ChainType2) => {
14
+ ChainType2["Ethereum"] = "ethereum";
15
+ ChainType2["Solana"] = "solana";
16
+ return ChainType2;
17
+ })(ChainType || {});
18
+ var RecoveryType = /* @__PURE__ */ ((RecoveryType2) => {
19
+ RecoveryType2["Base"] = "base_generated_recovery_key";
20
+ RecoveryType2["UserPasscode"] = "user_passcode_recovery_key";
21
+ return RecoveryType2;
22
+ })(RecoveryType || {});
23
+
24
+ export {
25
+ ChainType,
26
+ RecoveryType,
27
+ types_exports
28
+ };
29
+ //# sourceMappingURL=chunk-SQIJR7RA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/types/index.ts","../src/types/mpc.ts"],"sourcesContent":["export * from \"./mpc\"\nexport * from \"./types\"","export interface AuthParams {\n AppId: string;\n AppClientId: string;\n UserId: string;\n AccessToken: string;\n Address?: string;\n}\n\nexport interface EmbeddedWalletsParams {\n Url: string;\n}\nexport enum ChainType {\n Ethereum = \"ethereum\",\n Solana = \"solana\"\n}\nexport enum RecoveryType {\n Base = \"base_generated_recovery_key\",\n UserPasscode = \"user_passcode_recovery_key\"\n}\n// export type ChainType = \"ethereum\" | \"solana\";\n// export type RecoveryType = \"base_generated_recovery_key\" | \"user_passcode_recovery_key\""],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACWO,IAAK,YAAL,kBAAKA,eAAL;AACH,EAAAA,WAAA,cAAW;AACX,EAAAA,WAAA,YAAS;AAFD,SAAAA;AAAA,GAAA;AAIL,IAAK,eAAL,kBAAKC,kBAAL;AACH,EAAAA,cAAA,UAAO;AACP,EAAAA,cAAA,kBAAe;AAFP,SAAAA;AAAA,GAAA;","names":["ChainType","RecoveryType"]}