@seedprotocol/react 0.8.1 → 0.8.2-next.1774.gc97b5ba
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/SeedClientGate.d.ts +2 -2
- package/dist/SeedProvider.d.ts +2 -1
- package/dist/SeedProvider.d.ts.map +1 -1
- package/dist/index.js +704 -690
- package/dist/index.js.map +1 -1
- package/dist/useAddressesProp.d.ts +7 -4
- package/dist/useAddressesProp.d.ts.map +1 -1
- package/package.json +5 -4
package/dist/SeedClientGate.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ type SchemaInput = string | SchemaFileInput;
|
|
|
5
5
|
export type SeedClientGateProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Seed client init options (config + addresses). Required. When `addresses` later holds
|
|
8
|
-
* different addresses the gate calls `client.setAddresses` with them
|
|
9
|
-
*
|
|
8
|
+
* different addresses the gate calls `client.setAddresses` with them. A remount applies
|
|
9
|
+
* addresses that differ from the stored ones; a remount with `[]` keeps the stored ones.
|
|
10
10
|
*/
|
|
11
11
|
initConfig: SeedConstructorOptions;
|
|
12
12
|
/** Optional canonical schema. When provided, merged into config.schema and loaded at init (no separate import). */
|
package/dist/SeedProvider.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ export type SeedProviderProps = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Addresses passed to `client.init` with `config`. See `SeedConstructorOptions.addresses`. When
|
|
15
15
|
* the prop later holds different addresses the provider calls `client.setAddresses` with them,
|
|
16
|
-
* so `[]` after a disconnect clears them.
|
|
16
|
+
* so `[]` after a disconnect clears them. A remount with addresses that differ from the stored
|
|
17
|
+
* ones applies them; a remount with `[]` keeps the stored ones. Leaving it out keeps the stored ones.
|
|
17
18
|
*/
|
|
18
19
|
addresses?: SeedConstructorOptions['addresses'];
|
|
19
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SeedProvider.d.ts","sourceRoot":"","sources":["../src/SeedPro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