@xyo-network/xl1-react-client-sdk 4.0.8 → 4.0.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 (35) hide show
  1. package/dist/browser/client/components/connected/AutoSignChainPanel.d.ts.map +1 -1
  2. package/dist/browser/client/components/connected/ConnectAccountsStack.d.ts +1 -1
  3. package/dist/browser/client/components/connected/ConnectAccountsStack.d.ts.map +1 -1
  4. package/dist/browser/client/components/connected/DataLakeAddToChainPanel.d.ts +1 -1
  5. package/dist/browser/client/components/connected/DataLakeAddToChainPanel.d.ts.map +1 -1
  6. package/dist/browser/client/components/connected/DataLakeGetButton.d.ts.map +1 -1
  7. package/dist/browser/client/components/connected/DataLakeInsertButton.d.ts.map +1 -1
  8. package/dist/browser/client/components/connected/DataLakeListButton.d.ts.map +1 -1
  9. package/dist/browser/client/components/connected/DataLakeRequestAccessButton.d.ts.map +1 -1
  10. package/dist/browser/client/components/connected/RequestPermissionsButton.d.ts.map +1 -1
  11. package/dist/browser/client/components/connected/SignTransactionButton.d.ts +1 -1
  12. package/dist/browser/client/components/connected/SignTransactionButton.d.ts.map +1 -1
  13. package/dist/browser/client/context/GatewayContext.d.ts +1 -1
  14. package/dist/browser/client/context/GatewayContext.d.ts.map +1 -1
  15. package/dist/browser/client/context/GatewayProviderState.d.ts +1 -1
  16. package/dist/browser/client/context/GatewayProviderState.d.ts.map +1 -1
  17. package/dist/browser/client/context/in-page/InPageGatewaysContext.d.ts +1 -1
  18. package/dist/browser/client/context/in-page/InPageGatewaysContext.d.ts.map +1 -1
  19. package/dist/browser/client/context/in-page/InPageGatewaysState.d.ts +1 -1
  20. package/dist/browser/client/context/in-page/InPageGatewaysState.d.ts.map +1 -1
  21. package/dist/browser/client/context/in-page/useProvidedInPageGateways.d.ts +1 -1
  22. package/dist/browser/client/context/in-page/useProvidedInPageGateways.d.ts.map +1 -1
  23. package/dist/browser/client/context/useProvidedGateway.d.ts +1 -1
  24. package/dist/browser/client/context/useProvidedGateway.d.ts.map +1 -1
  25. package/dist/browser/client/hooks/client/permissions/usePermissionsAccounts.d.ts +1 -1
  26. package/dist/browser/client/hooks/client/permissions/usePermissionsAccounts.d.ts.map +1 -1
  27. package/dist/browser/client/index.mjs +21 -21
  28. package/dist/browser/client/index.mjs.map +3 -3
  29. package/dist/browser/client/shim/reactError.d.ts +1 -1
  30. package/dist/browser/client/shim/reactError.d.ts.map +1 -1
  31. package/dist/browser/index.mjs +22 -22
  32. package/dist/browser/index.mjs.map +3 -3
  33. package/dist/browser/shared/index.mjs +1 -1
  34. package/dist/browser/shared/index.mjs.map +1 -1
  35. package/package.json +82 -80
@@ -1,2 +1,2 @@
1
- export { ErrorRender, PopoverErrorRender } from '@xylabs/react-error';
1
+ export { ErrorRender, PopoverErrorRender } from '@ariestools/sdk-react';
2
2
  //# sourceMappingURL=reactError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactError.d.ts","sourceRoot":"","sources":["../../../../src/client/shim/reactError.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"reactError.d.ts","sourceRoot":"","sources":["../../../../src/client/shim/reactError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA"}
@@ -35,6 +35,7 @@ var ConnectedAccount = ({ address }) => {
35
35
 
36
36
  // src/client/components/connected/ApprovedLakeSelector.tsx
37
37
  import { isDefined as isDefined3, isDefinedNotNull as isDefinedNotNull2 } from "@ariestools/sdk";
38
+ import { ButtonEx } from "@ariestools/sdk-react";
38
39
  import {
39
40
  Alert,
40
41
  FormControl,
@@ -44,7 +45,6 @@ import {
44
45
  Stack as Stack2,
45
46
  Typography as Typography2
46
47
  } from "@mui/material";
47
- import { ButtonEx } from "@xylabs/sdk-react";
48
48
  import {
49
49
  useCallback,
50
50
  useEffect as useEffect2,
@@ -202,7 +202,7 @@ import {
202
202
  isDefinedNotNull,
203
203
  isString
204
204
  } from "@ariestools/sdk";
205
- import { usePromise } from "@xylabs/sdk-react";
205
+ import { usePromise } from "@ariestools/sdk-react";
206
206
  var validateRestrictedAccounts = (restrictedAccounts) => {
207
207
  if (isDefined2(restrictedAccounts)) {
208
208
  if (isArray(restrictedAccounts) && restrictedAccounts.every(isString)) {
@@ -256,7 +256,7 @@ var useGatewayFromWallet = (gatewayName, timeout) => {
256
256
  var useGateway = useGatewayFromWallet;
257
257
 
258
258
  // src/client/shim/reactError.ts
259
- import { ErrorRender, PopoverErrorRender } from "@xylabs/react-error";
259
+ import { ErrorRender, PopoverErrorRender } from "@ariestools/sdk-react";
260
260
 
261
261
  // src/client/components/connected/ApprovedLakeSelector.tsx
262
262
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
@@ -360,6 +360,7 @@ import {
360
360
  isDefinedNotNull as isDefinedNotNull4,
361
361
  toHex
362
362
  } from "@ariestools/sdk";
363
+ import { ButtonEx as ButtonEx4 } from "@ariestools/sdk-react";
363
364
  import { OpenInNew } from "@mui/icons-material";
364
365
  import {
365
366
  Alert as Alert4,
@@ -369,8 +370,7 @@ import {
369
370
  Stack as Stack5,
370
371
  Typography as Typography4
371
372
  } from "@mui/material";
372
- import { ButtonEx as ButtonEx4 } from "@xylabs/sdk-react";
373
- import { asSchema, PayloadBuilder } from "@xyo-network/sdk-js";
373
+ import { asSchema, PayloadBuilder } from "@xyo-network/sdk";
374
374
  import { ExplorerLinks, SequenceNetwork } from "@xyo-network/xl1-sdk";
375
375
  import {
376
376
  useCallback as useCallback3,
@@ -380,8 +380,8 @@ import {
380
380
 
381
381
  // src/client/components/connected/RequestPermissionsButton.tsx
382
382
  import { isDefined as isDefined5, isDefinedNotNull as isDefinedNotNull3 } from "@ariestools/sdk";
383
+ import { ButtonEx as ButtonEx3 } from "@ariestools/sdk-react";
383
384
  import { Alert as Alert3, Stack as Stack4 } from "@mui/material";
384
- import { ButtonEx as ButtonEx3 } from "@xylabs/sdk-react";
385
385
  import {
386
386
  useCallback as useCallback2,
387
387
  useEffect as useEffect3,
@@ -390,6 +390,7 @@ import {
390
390
 
391
391
  // src/client/components/connected/PermissionsReviewDialog.tsx
392
392
  import { isDefined as isDefined4 } from "@ariestools/sdk";
393
+ import { ButtonEx as ButtonEx2 } from "@ariestools/sdk-react";
393
394
  import {
394
395
  Alert as Alert2,
395
396
  Box,
@@ -402,7 +403,6 @@ import {
402
403
  Stack as Stack3,
403
404
  Typography as Typography3
404
405
  } from "@mui/material";
405
- import { ButtonEx as ButtonEx2 } from "@xylabs/sdk-react";
406
406
  import React2 from "react";
407
407
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
408
408
  var renderCaveatValue = (caveat) => {
@@ -933,6 +933,7 @@ var AutoSignChainPanel = ({
933
933
 
934
934
  // src/client/components/connected/ConnectAccountsStack.tsx
935
935
  import { isDefined as isDefined7, isUndefined as isUndefined3 } from "@ariestools/sdk";
936
+ import { ButtonEx as ButtonEx5 } from "@ariestools/sdk-react";
936
937
  import {
937
938
  Alert as Alert5,
938
939
  AlertTitle,
@@ -940,7 +941,6 @@ import {
940
941
  Stack as Stack6,
941
942
  Typography as Typography5
942
943
  } from "@mui/material";
943
- import { ButtonEx as ButtonEx5 } from "@xylabs/sdk-react";
944
944
  import { useEffect as useEffect4 } from "react";
945
945
 
946
946
  // src/client/components/connected/hooks/useConnectAccount.ts
@@ -1050,6 +1050,7 @@ var ConnectAccountsStack = ({
1050
1050
 
1051
1051
  // src/client/components/connected/DataLakeAddToChainPanel.tsx
1052
1052
  import { isDefined as isDefined8, isDefinedNotNull as isDefinedNotNull5 } from "@ariestools/sdk";
1053
+ import { ButtonEx as ButtonEx6, usePromise as usePromise2 } from "@ariestools/sdk-react";
1053
1054
  import { OpenInNew as OpenInNew2 } from "@mui/icons-material";
1054
1055
  import {
1055
1056
  Alert as Alert6,
@@ -1060,12 +1061,11 @@ import {
1060
1061
  TextField,
1061
1062
  Typography as Typography6
1062
1063
  } from "@mui/material";
1063
- import { ButtonEx as ButtonEx6, usePromise as usePromise2 } from "@xylabs/sdk-react";
1064
1064
  import {
1065
1065
  asSchema as asSchema2,
1066
1066
  isAnyPayload,
1067
1067
  PayloadBuilder as PayloadBuilder2
1068
- } from "@xyo-network/sdk-js";
1068
+ } from "@xyo-network/sdk";
1069
1069
  import {
1070
1070
  DataLakesGetMethod,
1071
1071
  DataLakesInsertMethod,
@@ -1376,12 +1376,12 @@ var DataLakeAddToChainPanel = ({
1376
1376
 
1377
1377
  // src/client/components/connected/DataLakeGetButton.tsx
1378
1378
  import { isDefined as isDefined9, isDefinedNotNull as isDefinedNotNull6 } from "@ariestools/sdk";
1379
+ import { ButtonEx as ButtonEx7 } from "@ariestools/sdk-react";
1379
1380
  import {
1380
1381
  Alert as Alert7,
1381
1382
  Stack as Stack8,
1382
1383
  Typography as Typography7
1383
1384
  } from "@mui/material";
1384
- import { ButtonEx as ButtonEx7 } from "@xylabs/sdk-react";
1385
1385
  import { useState as useState7 } from "react";
1386
1386
  import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
1387
1387
  var DataLakeGetButton = ({
@@ -1524,12 +1524,12 @@ var DataLakeGetPanel = ({ timeout, ...props }) => {
1524
1524
 
1525
1525
  // src/client/components/connected/DataLakeInsertButton.tsx
1526
1526
  import { isDefined as isDefined10, isDefinedNotNull as isDefinedNotNull7 } from "@ariestools/sdk";
1527
+ import { ButtonEx as ButtonEx8 } from "@ariestools/sdk-react";
1527
1528
  import {
1528
1529
  Alert as Alert8,
1529
1530
  Stack as Stack10,
1530
1531
  Typography as Typography9
1531
1532
  } from "@mui/material";
1532
- import { ButtonEx as ButtonEx8 } from "@xylabs/sdk-react";
1533
1533
  import { useState as useState9 } from "react";
1534
1534
  import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
1535
1535
  var DataLakeInsertButton = ({
@@ -1709,12 +1709,12 @@ var DataLakeInsertPanel = ({ timeout, ...props }) => {
1709
1709
 
1710
1710
  // src/client/components/connected/DataLakeListButton.tsx
1711
1711
  import { isDefined as isDefined11, isDefinedNotNull as isDefinedNotNull8 } from "@ariestools/sdk";
1712
+ import { ButtonEx as ButtonEx9 } from "@ariestools/sdk-react";
1712
1713
  import {
1713
1714
  Alert as Alert10,
1714
1715
  Stack as Stack12,
1715
1716
  Typography as Typography11
1716
1717
  } from "@mui/material";
1717
- import { ButtonEx as ButtonEx9 } from "@xylabs/sdk-react";
1718
1718
  import { useState as useState11 } from "react";
1719
1719
  import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
1720
1720
  var DataLakeListButton = ({ timeout, ...props }) => {
@@ -1805,17 +1805,17 @@ import {
1805
1805
  Select as Select2,
1806
1806
  Stack as Stack14
1807
1807
  } from "@mui/material";
1808
- import { asSchema as asSchema3 } from "@xyo-network/sdk-js";
1808
+ import { asSchema as asSchema3 } from "@xyo-network/sdk";
1809
1809
  import { useMemo as useMemo5, useState as useState13 } from "react";
1810
1810
 
1811
1811
  // src/client/components/connected/DataLakeRequestAccessButton.tsx
1812
1812
  import { isDefined as isDefined12, isDefinedNotNull as isDefinedNotNull9 } from "@ariestools/sdk";
1813
+ import { ButtonEx as ButtonEx10 } from "@ariestools/sdk-react";
1813
1814
  import {
1814
1815
  Alert as Alert11,
1815
1816
  Stack as Stack13,
1816
1817
  Typography as Typography12
1817
1818
  } from "@mui/material";
1818
- import { ButtonEx as ButtonEx10 } from "@xylabs/sdk-react";
1819
1819
  import { useState as useState12 } from "react";
1820
1820
  import { jsx as jsx13, jsxs as jsxs13 } from "react/jsx-runtime";
1821
1821
  var DataLakeRequestAccessButton = ({
@@ -1991,6 +1991,7 @@ import {
1991
1991
  isDefined as isDefined13,
1992
1992
  isDefinedNotNull as isDefinedNotNull10
1993
1993
  } from "@ariestools/sdk";
1994
+ import { ButtonEx as ButtonEx11 } from "@ariestools/sdk-react";
1994
1995
  import {
1995
1996
  Alert as Alert12,
1996
1997
  Chip as Chip4,
@@ -1998,8 +1999,7 @@ import {
1998
1999
  Stack as Stack16,
1999
2000
  Typography as Typography14
2000
2001
  } from "@mui/material";
2001
- import { ButtonEx as ButtonEx11 } from "@xylabs/sdk-react";
2002
- import { PayloadBuilder as PayloadBuilder3 } from "@xyo-network/sdk-js";
2002
+ import { PayloadBuilder as PayloadBuilder3 } from "@xyo-network/sdk";
2003
2003
  import {
2004
2004
  asXL1BlockNumber,
2005
2005
  buildUnsignedTransaction,
@@ -2142,11 +2142,11 @@ var SignTransactionButton = ({
2142
2142
  };
2143
2143
 
2144
2144
  // src/client/context/GatewayContext.ts
2145
- import { createContextEx } from "@xylabs/sdk-react";
2145
+ import { createContextEx } from "@ariestools/sdk-react";
2146
2146
  var GatewayContext = createContextEx();
2147
2147
 
2148
2148
  // src/client/context/in-page/InPageGatewaysContext.ts
2149
- import { createContextEx as createContextEx2 } from "@xylabs/sdk-react";
2149
+ import { createContextEx as createContextEx2 } from "@ariestools/sdk-react";
2150
2150
  var InPageGatewaysContext = createContextEx2();
2151
2151
 
2152
2152
  // src/client/context/in-page/Provider.tsx
@@ -2241,7 +2241,7 @@ var InPageGatewaysProvider = ({
2241
2241
  };
2242
2242
 
2243
2243
  // src/client/context/in-page/useProvidedInPageGateways.ts
2244
- import { useContextEx } from "@xylabs/sdk-react";
2244
+ import { useContextEx } from "@ariestools/sdk-react";
2245
2245
  var useProvidedInPageGateways = (required = true) => useContextEx(InPageGatewaysContext, "InPageGateways", required);
2246
2246
 
2247
2247
  // src/client/context/providers/GatewayProvider.tsx
@@ -2346,7 +2346,7 @@ var WalletGatewayProvider = ({ gatewayName, children }) => {
2346
2346
  };
2347
2347
 
2348
2348
  // src/client/context/useProvidedGateway.ts
2349
- import { useContextEx as useContextEx2 } from "@xylabs/sdk-react";
2349
+ import { useContextEx as useContextEx2 } from "@ariestools/sdk-react";
2350
2350
  var useProvidedGateway = (required = true) => useContextEx2(GatewayContext, "Gateway", required);
2351
2351
 
2352
2352
  // src/model/types/XyoGlobal.ts
@@ -2471,7 +2471,7 @@ import {
2471
2471
  Typography as Typography16,
2472
2472
  useTheme as useTheme3
2473
2473
  } from "@mui/material";
2474
- import { isXyoAddress } from "@xyo-network/sdk-js";
2474
+ import { isXyoAddress } from "@xyo-network/sdk";
2475
2475
  import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
2476
2476
  var LabelValueStack = ({
2477
2477
  labels,