@xyo-network/react-chain-blockchain 1.16.19 → 1.16.20
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BalanceHistoryTableEx.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/account/table/BalanceHistoryTableEx.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;wBAiBrD,IAAI;AAHT,wBAGS;
|
|
1
|
+
{"version":3,"file":"BalanceHistoryTableEx.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/account/table/BalanceHistoryTableEx.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;wBAiBrD,IAAI;AAHT,wBAGS;AA8ET,QAAA,MAAM,OAAO,sKAAoB,CAAA;AAGjC,QAAA,MAAM,UAAU,sKAA0B,CAAA;AAG1C,QAAA,MAAM,SAAS,sKAAyB,CAAA;AAGxC,OAAO,EACL,OAAO,EAAE,UAAU,EAAE,SAAS,GAC/B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/react-chain-blockchain",
|
|
4
|
-
"version": "1.16.
|
|
4
|
+
"version": "1.16.20",
|
|
5
5
|
"description": "XYO Layer One React SDK Blockchain",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -63,18 +63,18 @@
|
|
|
63
63
|
"@xyo-network/boundwitness-builder": "~5.1.23",
|
|
64
64
|
"@xyo-network/boundwitness-model": "~5.1.23",
|
|
65
65
|
"@xyo-network/bridge-http": "~5.1.23",
|
|
66
|
-
"@xyo-network/chain-analyze": "~1.16.
|
|
67
|
-
"@xyo-network/chain-protocol": "~1.16.
|
|
68
|
-
"@xyo-network/chain-services": "~1.16.
|
|
69
|
-
"@xyo-network/chain-utils": "~1.16.
|
|
70
|
-
"@xyo-network/chain-wrappers": "~1.16.
|
|
66
|
+
"@xyo-network/chain-analyze": "~1.16.20",
|
|
67
|
+
"@xyo-network/chain-protocol": "~1.16.20",
|
|
68
|
+
"@xyo-network/chain-services": "~1.16.20",
|
|
69
|
+
"@xyo-network/chain-utils": "~1.16.20",
|
|
70
|
+
"@xyo-network/chain-wrappers": "~1.16.20",
|
|
71
71
|
"@xyo-network/module-model": "~5.1.23",
|
|
72
72
|
"@xyo-network/payload-builder": "~5.1.23",
|
|
73
73
|
"@xyo-network/payload-model": "~5.1.23",
|
|
74
74
|
"@xyo-network/react-boundwitness-plugin": "~7.3.10",
|
|
75
|
-
"@xyo-network/react-chain-blockies": "~1.16.
|
|
76
|
-
"@xyo-network/react-chain-provider": "~1.16.
|
|
77
|
-
"@xyo-network/react-chain-shared": "~1.16.
|
|
75
|
+
"@xyo-network/react-chain-blockies": "~1.16.20",
|
|
76
|
+
"@xyo-network/react-chain-provider": "~1.16.20",
|
|
77
|
+
"@xyo-network/react-chain-shared": "~1.16.20",
|
|
78
78
|
"@xyo-network/react-error": "~7.3.10",
|
|
79
79
|
"@xyo-network/react-event": "~7.3.10",
|
|
80
80
|
"@xyo-network/react-payload-raw-info": "~7.3.10",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@xyo-network/react-shared": "~7.3.10",
|
|
83
83
|
"@xyo-network/react-table": "~7.3.10",
|
|
84
84
|
"@xyo-network/xl1-protocol": "~1.13.11",
|
|
85
|
-
"@xyo-network/xl1-protocol-sdk": "~1.16.
|
|
85
|
+
"@xyo-network/xl1-protocol-sdk": "~1.16.20"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@emotion/react": "~11.14.0",
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"@xylabs/tsconfig-dom": "~7.2.8",
|
|
98
98
|
"@xylabs/tsconfig-react": "~7.2.8",
|
|
99
99
|
"@xyo-network/api-models": "~5.1.23",
|
|
100
|
-
"@xyo-network/xl1-network-model": "~1.16.
|
|
101
|
-
"@xyo-network/xl1-rpc": "~1.16.
|
|
100
|
+
"@xyo-network/xl1-network-model": "~1.16.20",
|
|
101
|
+
"@xyo-network/xl1-rpc": "~1.16.20",
|
|
102
102
|
"axios": "^1.13.2",
|
|
103
103
|
"eslint": "^9.39.1",
|
|
104
104
|
"react": "~19.2.0",
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from '@mui/material'
|
|
6
6
|
import type { Meta, StoryFn } from '@storybook/react-vite'
|
|
7
7
|
import { ButtonEx } from '@xylabs/react-button'
|
|
8
|
-
import { type Address } from '@xylabs/sdk-js'
|
|
8
|
+
import { type Address, isDefined } from '@xylabs/sdk-js'
|
|
9
9
|
import { useAccountBalanceHistory, useHttpRpcViewer } from '@xyo-network/react-chain-provider'
|
|
10
10
|
import { ErrorRender } from '@xyo-network/react-error'
|
|
11
11
|
import type { Event } from '@xyo-network/react-event'
|
|
@@ -82,14 +82,18 @@ const TemplatePaged: StoryFn<typeof AccountBalanceHistoryTableEx> = (args) => {
|
|
|
82
82
|
<ErrorRender error={error} scope="AccountBalanceHistoryTableStory" />
|
|
83
83
|
{loading === 'pending' ? <LinearProgress /> : null}
|
|
84
84
|
<AccountBalanceHistoryTableEx history={pagedHistory} {...args} />
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
85
|
+
{isDefined(pagedHistory)
|
|
86
|
+
? (
|
|
87
|
+
<ButtonEx
|
|
88
|
+
variant="contained"
|
|
89
|
+
onClick={updateRange}
|
|
90
|
+
disabled={loading === 'pending' || historyComplete}
|
|
91
|
+
loading={loading === 'pending'}
|
|
92
|
+
>
|
|
93
|
+
{historyComplete ? 'End of History' : 'More History'}
|
|
94
|
+
</ButtonEx>
|
|
95
|
+
)
|
|
96
|
+
: null}
|
|
93
97
|
</Stack>
|
|
94
98
|
)
|
|
95
99
|
}
|