@matchain/matchid-sdk-react 0.1.51-alpha.0 → 0.1.51-alpha.2

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/dist/index.mjs CHANGED
@@ -1,12 +1,6 @@
1
- import {
2
- chains_exports
3
- } from "./chunk-HYQ3T6WW.mjs";
4
- import {
5
- types_exports
6
- } from "./chunk-HBOS3RBL.mjs";
7
1
  import {
8
2
  api_exports
9
- } from "./chunk-JJGSJGWC.mjs";
3
+ } from "./chunk-5W2S6QMI.mjs";
10
4
  import {
11
5
  MatchProvider,
12
6
  ModalProvider,
@@ -14,13 +8,19 @@ import {
14
8
  components_exports,
15
9
  hooks_exports,
16
10
  useMatch
17
- } from "./chunk-5P2AOB6Q.mjs";
11
+ } from "./chunk-OWEJPD4R.mjs";
12
+ import {
13
+ types_exports
14
+ } from "./chunk-HBOS3RBL.mjs";
18
15
  import "./chunk-UA6XHZHX.mjs";
16
+ import "./chunk-HLUFAIFV.mjs";
19
17
  import {
20
18
  ui_exports
21
19
  } from "./chunk-FB5MHLWX.mjs";
22
- import "./chunk-HLUFAIFV.mjs";
23
20
  import "./chunk-LHNKZISB.mjs";
21
+ import {
22
+ chains_exports
23
+ } from "./chunk-HYQ3T6WW.mjs";
24
24
  import "./chunk-J5LGTIGS.mjs";
25
25
  export {
26
26
  api_exports as Api,
@@ -22,5 +22,6 @@ interface NumberFormatterProps {
22
22
  declare const NumberFormatter: React.FC<NumberFormatterProps>;
23
23
  declare function formatAddress(address: string, pre?: number, after?: number): string;
24
24
  declare const formatDate: (value: any, formatString?: string) => string;
25
+ declare const isInTgApp: () => boolean;
25
26
 
26
- export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isValidEmail, isValidUsername, truncateAddress };
27
+ export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isInTgApp, isValidEmail, isValidUsername, truncateAddress };
@@ -22,5 +22,6 @@ interface NumberFormatterProps {
22
22
  declare const NumberFormatter: React.FC<NumberFormatterProps>;
23
23
  declare function formatAddress(address: string, pre?: number, after?: number): string;
24
24
  declare const formatDate: (value: any, formatString?: string) => string;
25
+ declare const isInTgApp: () => boolean;
25
26
 
26
- export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isValidEmail, isValidUsername, truncateAddress };
27
+ export { NumberFormatter, decodeBase64, deepMerge, encodeBase64, firstUpperCase, formatAddress, formatDate, getAppClientId, getVersion, isInTgApp, isValidEmail, isValidUsername, truncateAddress };
@@ -46,7 +46,7 @@ export default function MatchWallet() {
46
46
  <Button size={"sm"} onClick={wallet.showImportTokenModal}>showImportToken</Button>
47
47
  <Button size={"sm"} onClick={wallet.showSendListModal}>showSendListModal</Button>
48
48
  </ButtonGroup>
49
- <div className={`mt-[100px] gap-[20px] grid grid-cols-2`}>
49
+ <div className={`mt-[100px] gap-[20px] grid grid-cols-1 md:grid-cols-2`}>
50
50
  <WalletAsset onAssetClick={onAssetClick}/>
51
51
  <TransactionList/>
52
52
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchain/matchid-sdk-react",
3
- "version": "0.1.51-alpha.0",
3
+ "version": "0.1.51-alpha.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {