@openfort/react 0.0.12 → 0.0.13
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/build/assets/browsers.d.ts +1 -1
- package/build/assets/logos.d.ts +1 -0
- package/build/components/Openfort/OpenfortProvider.d.ts +25 -12
- package/build/components/Openfort/context.d.ts +2 -0
- package/build/components/Openfort/types.d.ts +19 -15
- package/build/components/Pages/EmailLogin/styles.d.ts +1 -0
- package/build/components/Pages/Providers/styles.d.ts +2 -0
- package/build/components/PasswordStrength/password-utility.d.ts +50 -16
- package/build/components/contexts/web3/index.d.ts +18 -1
- package/build/constants/openfort.d.ts +0 -1
- package/build/defaultTransports.d.ts +27 -4
- package/build/hooks/openfort/auth/useAuthCallback.d.ts +63 -0
- package/build/hooks/openfort/auth/useConnectToWalletPostAuth.d.ts +26 -4
- package/build/hooks/openfort/auth/useEmailAuth.d.ts +71 -0
- package/build/hooks/openfort/auth/useGuestAuth.d.ts +59 -0
- package/build/hooks/openfort/auth/useOAuth.d.ts +74 -0
- package/build/hooks/openfort/auth/useSignOut.d.ts +57 -0
- package/build/hooks/openfort/useStatus.d.ts +42 -0
- package/build/hooks/openfort/useUI.d.ts +63 -0
- package/build/hooks/openfort/useUser.d.ts +44 -0
- package/build/hooks/openfort/useWallet.d.ts +50 -0
- package/build/hooks/openfort/useWallets.d.ts +56 -0
- package/build/hooks/useChainIsSupported.d.ts +24 -1
- package/build/hooks/useChains.d.ts +39 -0
- package/build/hooks/useConnect.d.ts +18 -10
- package/build/index.es.js +3362 -2541
- package/build/index.es.js.map +1 -1
- package/build/openfort/core/client.d.ts +26 -7
- package/build/styles/styled/index.d.ts +5 -7
- package/build/styles/themes/base.d.ts +12 -12
- package/build/styles/themes/minimal.d.ts +2 -17
- package/build/styles/themes/retro.d.ts +3 -1
- package/build/styles/themes/rounded.d.ts +3 -1
- package/build/styles/themes/web95.d.ts +3 -1
- package/build/utils/localstorage.d.ts +61 -2
- package/build/version.d.ts +1 -1
- package/build/wallets/walletConfigs.d.ts +2 -2
- package/package.json +1 -1
- package/build/components/Pages/EmailSignup/index.d.ts +0 -3
package/build/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,24 +1,43 @@
|
|
|
1
1
|
import { Openfort as OpenfortClient, OpenfortSDKConfiguration } from '@openfort/openfort-js';
|
|
2
2
|
/**
|
|
3
|
-
* Creates
|
|
3
|
+
* Creates a new {@link OpenfortClient} instance.
|
|
4
4
|
*
|
|
5
|
-
* @param
|
|
6
|
-
* @returns
|
|
5
|
+
* @param config - Configuration options passed directly to the Openfort SDK constructor.
|
|
6
|
+
* @returns A configured Openfort client instance.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
|
+
* ```ts
|
|
9
10
|
* const client = createOpenfortClient({
|
|
11
|
+
* baseConfiguration: { publishableKey: 'pk_test_123' },
|
|
10
12
|
* });
|
|
11
13
|
*
|
|
12
14
|
* const token = await client.getAccessToken();
|
|
15
|
+
* ```
|
|
13
16
|
*/
|
|
14
17
|
export declare function createOpenfortClient(config: OpenfortSDKConfiguration): OpenfortClient;
|
|
15
18
|
/**
|
|
16
|
-
* Gets or
|
|
17
|
-
*
|
|
19
|
+
* Gets or initialises the shared {@link OpenfortClient} instance.
|
|
20
|
+
*
|
|
21
|
+
* @param options - Optional configuration used when initialising the client for the first time.
|
|
22
|
+
* @returns The shared Openfort client instance.
|
|
23
|
+
* @throws If the default client has not been set and no configuration options are provided.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* setDefaultClient(createOpenfortClient({ baseConfiguration: { publishableKey: 'pk' } }));
|
|
28
|
+
* const client = getDefaultClient();
|
|
29
|
+
* ```
|
|
18
30
|
*/
|
|
19
31
|
export declare function getDefaultClient(options?: OpenfortSDKConfiguration): OpenfortClient;
|
|
20
32
|
/**
|
|
21
|
-
* Sets the
|
|
22
|
-
*
|
|
33
|
+
* Sets the shared {@link OpenfortClient} instance.
|
|
34
|
+
*
|
|
35
|
+
* @param client - Pre-configured Openfort client to store as the default.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const client = createOpenfortClient({ baseConfiguration: { publishableKey: 'pk' } });
|
|
40
|
+
* setDefaultClient(client);
|
|
41
|
+
* ```
|
|
23
42
|
*/
|
|
24
43
|
export declare function setDefaultClient(client: OpenfortClient): void;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* Workaround to expose the correct styled-components export in ESM builds.
|
|
2
3
|
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* We're unsure as to why this issue occurs, if you have any ideas or a better solution please let us know by opening a discussion on our GitHub repo:
|
|
8
|
-
* https://github.com/openfort-xyz/openfort-react/discussions/new
|
|
9
|
-
*
|
|
4
|
+
* When using Rollup with styled-components, the DOM helpers may be assigned to `styled.default`
|
|
5
|
+
* instead of `styled`. This proxy ensures consumers can import `styled` without needing to know
|
|
6
|
+
* about the bundler quirk. Please open a discussion on GitHub if you have a more robust fix:
|
|
7
|
+
* https://github.com/openfort-xyz/openfort-react/discussions/new.
|
|
10
8
|
*/
|
|
11
9
|
declare const _default: import("styled-components").StyledInterface;
|
|
12
10
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
light: {
|
|
3
|
-
/** Connect Wallet
|
|
3
|
+
/** Connect Wallet button tokens. */
|
|
4
4
|
'--ck-connectbutton-font-size': string;
|
|
5
5
|
'--ck-connectbutton-color': string;
|
|
6
6
|
'--ck-connectbutton-background': string;
|
|
@@ -16,21 +16,21 @@ declare const _default: {
|
|
|
16
16
|
'--ck-connectbutton-balance-hover-box-shadow': string;
|
|
17
17
|
'--ck-connectbutton-balance-active-background': string;
|
|
18
18
|
'--ck-connectbutton-balance-active-box-shadow': string;
|
|
19
|
-
/** Primary
|
|
19
|
+
/** Primary button tokens. */
|
|
20
20
|
'--ck-primary-button-border-radius': string;
|
|
21
21
|
'--ck-primary-button-color': string;
|
|
22
22
|
'--ck-primary-button-background': string;
|
|
23
23
|
'--ck-primary-button-font-weight': string;
|
|
24
24
|
'--ck-primary-button-hover-color': string;
|
|
25
25
|
'--ck-primary-button-hover-background': string;
|
|
26
|
-
/** Secondary
|
|
26
|
+
/** Secondary button tokens. */
|
|
27
27
|
'--ck-secondary-button-border-radius': string;
|
|
28
28
|
'--ck-secondary-button-color': string;
|
|
29
29
|
'--ck-secondary-button-background': string;
|
|
30
|
-
/** Tertiary
|
|
30
|
+
/** Tertiary button tokens. */
|
|
31
31
|
'--ck-tertiary-button-background': string;
|
|
32
32
|
'--ck-secondary-button-hover-background': string;
|
|
33
|
-
/** Modal */
|
|
33
|
+
/** Modal appearance tokens. */
|
|
34
34
|
'--ck-modal-box-shadow': string;
|
|
35
35
|
'--ck-overlay-background': string;
|
|
36
36
|
'--ck-body-color': string;
|
|
@@ -48,25 +48,25 @@ declare const _default: {
|
|
|
48
48
|
'--ck-body-color-danger': string;
|
|
49
49
|
'--ck-body-color-valid': string;
|
|
50
50
|
'--ck-siwe-border': string;
|
|
51
|
-
/** Disclaimer */
|
|
51
|
+
/** Disclaimer section tokens. */
|
|
52
52
|
'--ck-body-disclaimer-color': string;
|
|
53
53
|
'--ck-body-disclaimer-link-color': string;
|
|
54
54
|
'--ck-body-disclaimer-link-hover-color': string;
|
|
55
|
-
/**
|
|
55
|
+
/** Tooltip styling tokens. */
|
|
56
56
|
'--ck-tooltip-background': string;
|
|
57
57
|
'--ck-tooltip-background-secondary': string;
|
|
58
58
|
'--ck-tooltip-color': string;
|
|
59
59
|
'--ck-tooltip-shadow': string;
|
|
60
|
-
/** Network dropdown */
|
|
60
|
+
/** Network dropdown tokens. */
|
|
61
61
|
'--ck-dropdown-button-color': string;
|
|
62
62
|
'--ck-dropdown-button-box-shadow': string;
|
|
63
63
|
'--ck-dropdown-button-background': string;
|
|
64
64
|
'--ck-dropdown-button-hover-color': string;
|
|
65
65
|
'--ck-dropdown-button-hover-background': string;
|
|
66
|
-
/** QR
|
|
66
|
+
/** QR code styling tokens. */
|
|
67
67
|
'--ck-qr-dot-color': string;
|
|
68
68
|
'--ck-qr-border-color': string;
|
|
69
|
-
/**
|
|
69
|
+
/** Miscellaneous token overrides. */
|
|
70
70
|
'--ck-focus-color': string;
|
|
71
71
|
'--ck-spinner-color': string;
|
|
72
72
|
'--ck-copytoclipboard-stroke': string;
|
|
@@ -94,7 +94,7 @@ declare const _default: {
|
|
|
94
94
|
'--ck-secondary-button-color': string;
|
|
95
95
|
'--ck-secondary-button-background': string;
|
|
96
96
|
'--ck-secondary-button-hover-background': string;
|
|
97
|
-
/** Tertiary
|
|
97
|
+
/** Tertiary button tokens. */
|
|
98
98
|
'--ck-tertiary-button-background': string;
|
|
99
99
|
'--ck-focus-color': string;
|
|
100
100
|
'--ck-overlay-background': string;
|
|
@@ -119,7 +119,7 @@ declare const _default: {
|
|
|
119
119
|
'--ck-tooltip-background-secondary': string;
|
|
120
120
|
'--ck-tooltip-color': string;
|
|
121
121
|
'--ck-tooltip-shadow': string;
|
|
122
|
-
/** Network dropdown */
|
|
122
|
+
/** Network dropdown tokens. */
|
|
123
123
|
'--ck-dropdown-button-color': string;
|
|
124
124
|
'--ck-spinner-color': string;
|
|
125
125
|
'--ck-qr-dot-color': string;
|
|
@@ -71,24 +71,9 @@ declare const _default: {
|
|
|
71
71
|
'--ck-modal-heading-font-weight': string;
|
|
72
72
|
'--ck-primary-button-font-weight': string;
|
|
73
73
|
'--ck-recent-badge-top-offset': string;
|
|
74
|
-
/** Graphics options for our themes, not to be exposed to devs */
|
|
75
74
|
/**
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'--ck-graphic-primary-box-shadow': 'inset 0 0 0 1px #EBEBEB',
|
|
79
|
-
|
|
80
|
-
'--ck-graphic-secondary-color': '#DCDDDE',
|
|
81
|
-
'--ck-graphic-secondary-background': '#ffffff',
|
|
82
|
-
'--ck-graphic-secondary-box-shadow': 'inset 0 0 0 1px #EBEBEB',
|
|
83
|
-
|
|
84
|
-
'--ck-graphic-compass-color': '#111111',
|
|
85
|
-
'--ck-graphic-compass-background': '#ffffff',
|
|
86
|
-
'--ck-graphic-compass-box-shadow': 'inset 0 0 0 1px #EBEBEB',
|
|
87
|
-
|
|
88
|
-
'--ck-graphic-globe-background': '#D9D9D9',
|
|
89
|
-
'--ck-graphic-globe-lines': '#ffffff',
|
|
90
|
-
'--ck-graphic-globe-box-shadow': 'inset 0 0 0 1px #EBEBEB',
|
|
91
|
-
*/
|
|
75
|
+
* Graphics options for our themes, not to be exposed to developers.
|
|
76
|
+
*/
|
|
92
77
|
'--ck-siwe-border': string;
|
|
93
78
|
};
|
|
94
79
|
export default _default;
|
|
@@ -80,7 +80,9 @@ declare const _default: {
|
|
|
80
80
|
'--ck-qr-background': string;
|
|
81
81
|
'--ck-recent-badge-border-radius': string;
|
|
82
82
|
'--ck-recent-badge-box-shadow': string;
|
|
83
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Graphics options for our themes, not to be exposed to developers.
|
|
85
|
+
*/
|
|
84
86
|
'--ck-graphic-primary-color': string;
|
|
85
87
|
'--ck-graphic-primary-background': string;
|
|
86
88
|
'--ck-graphic-compass-background': string;
|
|
@@ -80,7 +80,9 @@ declare const _default: {
|
|
|
80
80
|
'--ck-primary-button-font-weight': string;
|
|
81
81
|
'--ck-recent-badge-box-shadow': string;
|
|
82
82
|
'--ck-recent-badge-top-offset': string;
|
|
83
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Graphics options for our themes, not to be exposed to developers.
|
|
85
|
+
*/
|
|
84
86
|
'--ck-siwe-border': string;
|
|
85
87
|
};
|
|
86
88
|
export default _default;
|
|
@@ -82,7 +82,9 @@ declare const _default: {
|
|
|
82
82
|
'--ck-alert-border-radius': string;
|
|
83
83
|
'--ck-recent-badge-border-radius': string;
|
|
84
84
|
'--ck-recent-badge-top-offset': string;
|
|
85
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Graphics options for our themes, not to be exposed to developers.
|
|
87
|
+
*/
|
|
86
88
|
'--ck-graphic-primary-color': string;
|
|
87
89
|
'--ck-graphic-primary-background': string;
|
|
88
90
|
'--ck-graphic-compass-background': string;
|
|
@@ -1,9 +1,68 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* LocalStorage helper functions to save and retrieve data on a per-app basis
|
|
3
|
-
*
|
|
2
|
+
* LocalStorage helper functions to save and retrieve data on a per-app basis.
|
|
3
|
+
*
|
|
4
|
+
* Use these utilities to manage recently connected wallets, transactions, and other session data.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Persists an array of values to `localStorage` under the provided key.
|
|
8
|
+
*
|
|
9
|
+
* @param storageKey - Identifier used to store the serialised data.
|
|
10
|
+
* @param data - Items to persist.
|
|
11
|
+
* @returns The data that was successfully stored, or an empty array when storage fails.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* save('openfort:recent-wallets', ['0x1234']);
|
|
16
|
+
* ```
|
|
4
17
|
*/
|
|
5
18
|
export declare const save: (storageKey: string, data: any[]) => any;
|
|
19
|
+
/**
|
|
20
|
+
* Reads and deserialises items from `localStorage`.
|
|
21
|
+
*
|
|
22
|
+
* @param storageKey - Identifier used when the data was stored.
|
|
23
|
+
* @returns The stored array, or an empty array if the key is missing or the payload is invalid.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const wallets = get('openfort:recent-wallets');
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
6
30
|
export declare const get: (storageKey: string) => any;
|
|
31
|
+
/**
|
|
32
|
+
* Adds a new item to the stored array and records metadata for future removal.
|
|
33
|
+
*
|
|
34
|
+
* @param storageKey - Identifier used for the stored array.
|
|
35
|
+
* @param item - Item to persist.
|
|
36
|
+
* @returns The updated stored array.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* add('openfort:recent-wallets', { address: '0x1234' });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
7
43
|
export declare const add: (storageKey: string, item: any) => any;
|
|
44
|
+
/**
|
|
45
|
+
* Removes an existing item from the stored array.
|
|
46
|
+
*
|
|
47
|
+
* @param storageKey - Identifier used for the stored array.
|
|
48
|
+
* @param item - Item to remove. The object's `ckStoreKey` is used to identify entries.
|
|
49
|
+
* @returns The updated stored array.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* remove('openfort:recent-wallets', wallet);
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
8
56
|
export declare const remove: (storageKey: string, item: any) => any;
|
|
57
|
+
/**
|
|
58
|
+
* Clears all stored items for the provided key.
|
|
59
|
+
*
|
|
60
|
+
* @param storageKey - Identifier used for the stored array.
|
|
61
|
+
* @returns An empty array once the items have been removed.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* clear('openfort:recent-wallets');
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
9
68
|
export declare const clear: (storageKey: string) => any;
|
package/build/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const OPENFORT_VERSION = "0.0.
|
|
1
|
+
export declare const OPENFORT_VERSION = "0.0.13";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* https://eips.ethereum.org/EIPS/eip-6963
|
|
2
|
+
* Wallet configuration metadata keyed by reverse-DNS identifiers.
|
|
4
3
|
*
|
|
4
|
+
* Follows EIP-6963 Multi Injected Provider Discovery: https://eips.ethereum.org/EIPS/eip-6963.
|
|
5
5
|
*/
|
|
6
6
|
export type WalletConfigProps = {
|
|
7
7
|
name?: string;
|
package/package.json
CHANGED