@meshsdk/react 1.9.0-beta.2 → 1.9.0-beta.21
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.cjs +178 -116
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +158 -96
- package/package.json +7 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as _meshsdk_common from '@meshsdk/common';
|
|
3
3
|
import { IFetcher, ISubmitter, IWallet, Asset, Wallet, AccountInfo } from '@meshsdk/common';
|
|
4
|
+
import { InitWeb3WalletOptions } from '@meshsdk/web3-sdk';
|
|
4
5
|
import * as react from 'react';
|
|
5
6
|
|
|
6
7
|
interface ButtonProps$1 {
|
|
@@ -26,8 +27,10 @@ interface ButtonProps$1 {
|
|
|
26
27
|
provider: IFetcher & ISubmitter;
|
|
27
28
|
url: string;
|
|
28
29
|
};
|
|
30
|
+
showDownload?: boolean;
|
|
31
|
+
web3Services?: InitWeb3WalletOptions;
|
|
29
32
|
}
|
|
30
|
-
declare const CardanoWallet: ({ label, onConnected, isDark, persist, extensions, injectFn, cardanoPeerConnect, burnerWallet, webauthn, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare const CardanoWallet: ({ label, onConnected, isDark, persist, extensions, injectFn, cardanoPeerConnect, burnerWallet, webauthn, showDownload, web3Services, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
|
|
31
34
|
|
|
32
35
|
declare enum WalletState {
|
|
33
36
|
NOT_CONNECTED = "NOT_CONNECTED",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as _meshsdk_common from '@meshsdk/common';
|
|
3
3
|
import { IFetcher, ISubmitter, IWallet, Asset, Wallet, AccountInfo } from '@meshsdk/common';
|
|
4
|
+
import { InitWeb3WalletOptions } from '@meshsdk/web3-sdk';
|
|
4
5
|
import * as react from 'react';
|
|
5
6
|
|
|
6
7
|
interface ButtonProps$1 {
|
|
@@ -26,8 +27,10 @@ interface ButtonProps$1 {
|
|
|
26
27
|
provider: IFetcher & ISubmitter;
|
|
27
28
|
url: string;
|
|
28
29
|
};
|
|
30
|
+
showDownload?: boolean;
|
|
31
|
+
web3Services?: InitWeb3WalletOptions;
|
|
29
32
|
}
|
|
30
|
-
declare const CardanoWallet: ({ label, onConnected, isDark, persist, extensions, injectFn, cardanoPeerConnect, burnerWallet, webauthn, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
|
|
33
|
+
declare const CardanoWallet: ({ label, onConnected, isDark, persist, extensions, injectFn, cardanoPeerConnect, burnerWallet, webauthn, showDownload, web3Services, }: ButtonProps$1) => react_jsx_runtime.JSX.Element;
|
|
31
34
|
|
|
32
35
|
declare enum WalletState {
|
|
33
36
|
NOT_CONNECTED = "NOT_CONNECTED",
|