@bananapus/nana-sdk-react 51.0.0 → 53.0.0
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/hooks/heldWrite/HeldWritesNotice.d.ts +11 -0
- package/dist/hooks/heldWrite/HeldWritesNotice.d.ts.map +1 -0
- package/dist/hooks/heldWrite/index.d.ts +5 -0
- package/dist/hooks/heldWrite/index.d.ts.map +1 -0
- package/dist/hooks/heldWrite/useHeldWrite.d.ts +63 -0
- package/dist/hooks/heldWrite/useHeldWrite.d.ts.map +1 -0
- package/dist/hooks/heldWrite/useHeldWrites.d.ts +40 -0
- package/dist/hooks/heldWrite/useHeldWrites.d.ts.map +1 -0
- package/dist/hooks/heldWrite/useSavedAttempt.d.ts +54 -0
- package/dist/hooks/heldWrite/useSavedAttempt.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/index.js +359 -17
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HeldWriteItem } from "./useHeldWrites";
|
|
2
|
+
/**
|
|
3
|
+
* The one app-wide notice of held writes: each with its action's label, its
|
|
4
|
+
* line, any warning, and the release when its hold offers the exit. Feed it
|
|
5
|
+
* useHeldWrites, useHeldIntents, or both. Unstyled: `className` is the hook.
|
|
6
|
+
*/
|
|
7
|
+
export declare function HeldWritesNotice({ items, className, }: {
|
|
8
|
+
items: readonly HeldWriteItem[];
|
|
9
|
+
className?: string;
|
|
10
|
+
}): import("react").JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=HeldWritesNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeldWritesNotice.d.ts","sourceRoot":"","sources":["../../../src/hooks/heldWrite/HeldWritesNotice.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,SAAS,GACV,EAAE;IACD,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,sCA4BA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/heldWrite/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type HeldWriteEvidence, type HeldWriteView, type ReviewedWriteRecoveryInput, type WriteHold, type WriteHoldClient, type WriteHoldGate, type WriteHoldHandle, type WriteHoldSettled, type WriteHoldState } from "@bananapus/nana-sdk-core/review";
|
|
2
|
+
import type { Address, Hex, TransactionReceipt } from "viem";
|
|
3
|
+
export type UseHeldWriteOptions = {
|
|
4
|
+
/** The app's one write hold controller (createWriteHold()). */
|
|
5
|
+
hold: WriteHold;
|
|
6
|
+
chainId: number;
|
|
7
|
+
/** The account that sends: the wallet, or the Safe. */
|
|
8
|
+
account: Address;
|
|
9
|
+
/** Whether `account` is a Safe whose writes are proposals. */
|
|
10
|
+
safe?: boolean;
|
|
11
|
+
/** The action's intent key (payIntent and the other builders). */
|
|
12
|
+
namespace?: string;
|
|
13
|
+
/** Keys an earlier version held this write under. */
|
|
14
|
+
legacy?: Parameters<WriteHold["open"]>[1] extends infer O ? O extends {
|
|
15
|
+
legacy?: infer L;
|
|
16
|
+
} ? L : never : never;
|
|
17
|
+
/** The reviewed call, when built; without one, the hold is found by `namespace`. */
|
|
18
|
+
call?: ReviewedWriteRecoveryInput["call"];
|
|
19
|
+
/** Reads the account's chain. */
|
|
20
|
+
client: WriteHoldClient | undefined;
|
|
21
|
+
/** A previous deploy's saved evidence of this write: adopted before any send. */
|
|
22
|
+
adopt?: () => Promise<HeldWriteEvidence | null | undefined>;
|
|
23
|
+
onAdopted?: (state: WriteHoldState) => void;
|
|
24
|
+
/** The hold settled what this view saw held, on authenticated evidence: once. */
|
|
25
|
+
onSettled?: (settled: WriteHoldSettled, receipt: TransactionReceipt | null) => void;
|
|
26
|
+
/** Released: by the user's exit (reopen the review), or by another window. */
|
|
27
|
+
onReleased?: (by: "user" | "other-tab") => void;
|
|
28
|
+
/** How often a held write is asked again (15 s to 60 s, 30 s by default). */
|
|
29
|
+
pollMs?: number;
|
|
30
|
+
};
|
|
31
|
+
export type UseHeldWriteResult = HeldWriteView & {
|
|
32
|
+
/** The exit the hold offers now, with its label; null when none. */
|
|
33
|
+
exitAction: {
|
|
34
|
+
label: string;
|
|
35
|
+
run: () => Promise<boolean>;
|
|
36
|
+
} | null;
|
|
37
|
+
/**
|
|
38
|
+
* On a success settled while away ("This went through while you were
|
|
39
|
+
* away."): the user's choice to send it again. Null otherwise.
|
|
40
|
+
*/
|
|
41
|
+
sendAgainAction: {
|
|
42
|
+
label: string;
|
|
43
|
+
run: () => Promise<void>;
|
|
44
|
+
} | null;
|
|
45
|
+
/** Send under the hold, once any adoption is done. */
|
|
46
|
+
send: (run: (gate: WriteHoldGate) => Promise<Hex>) => Promise<Hex>;
|
|
47
|
+
/** Ask the chain now. */
|
|
48
|
+
check: () => Promise<HeldWriteView>;
|
|
49
|
+
/** The hold handle, for anything else. */
|
|
50
|
+
handle: WriteHoldHandle | undefined;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* One held write, the one way every app runs it: its send under the hold,
|
|
54
|
+
* the watch, the shared follower of its transaction or Safe proposal, its
|
|
55
|
+
* one line, its exit and the adoption of a previous deploy's record.
|
|
56
|
+
*
|
|
57
|
+
* The exit ("I checked my wallet") only releases the hold: `onReleased("user")`
|
|
58
|
+
* is where the app reopens its review, so a resend always shows the values it
|
|
59
|
+
* sends. A release by another window is neutral (`releasedBy: "other-tab"`),
|
|
60
|
+
* and `onSettled` fires only for a settlement of what this view saw held.
|
|
61
|
+
*/
|
|
62
|
+
export declare function useHeldWrite(options: UseHeldWriteOptions): UseHeldWriteResult;
|
|
63
|
+
//# sourceMappingURL=useHeldWrite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHeldWrite.d.ts","sourceRoot":"","sources":["../../../src/hooks/heldWrite/useHeldWrite.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAElB,KAAK,0BAA0B,EAC/B,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACpB,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAQ7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,+DAA+D;IAC/D,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,uDAAuD;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,MAAM,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,CAAC,GACrD,CAAC,SAAS;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAA;KAAE,GAC5B,CAAC,GACD,KAAK,GACP,KAAK,CAAC;IACV,oFAAoF;IACpF,IAAI,CAAC,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC1C,iCAAiC;IACjC,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;IAC5D,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC5C,iFAAiF;IACjF,SAAS,CAAC,EAAE,CACV,OAAO,EAAE,gBAAgB,EACzB,OAAO,EAAE,kBAAkB,GAAG,IAAI,KAC/B,IAAI,CAAC;IACV,8EAA8E;IAC9E,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,WAAW,KAAK,IAAI,CAAC;IAChD,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG;IAC/C,oEAAoE;IACpE,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAA;KAAE,GAAG,IAAI,CAAC;IAClE;;;OAGG;IACH,eAAe,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,GAAG,IAAI,CAAC;IACpE,sDAAsD;IACtD,IAAI,EAAE,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACnE,yBAAyB;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IACpC,0CAA0C;IAC1C,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;CACrC,CAAC;AAiBF;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,kBAAkB,CAgG7E"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type HeldWriteView, type WriteHold, type WriteHoldClient } from "@bananapus/nana-sdk-core/review";
|
|
2
|
+
import type { Address } from "viem";
|
|
3
|
+
/** One held write an app-wide notice shows. */
|
|
4
|
+
export type HeldWriteItem = {
|
|
5
|
+
key: string;
|
|
6
|
+
/** What the action is, when the app names it. */
|
|
7
|
+
label?: string;
|
|
8
|
+
view: HeldWriteView;
|
|
9
|
+
/** Release it (the notice's exit): true when released. */
|
|
10
|
+
release: () => Promise<boolean>;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The holds of a fixed set of actions, found by their intents alone and
|
|
14
|
+
* shown with their lines and exits, whatever the actions' buttons allow now.
|
|
15
|
+
*/
|
|
16
|
+
export declare function useHeldIntents({ hold, chainId, account, client, intents, pollMs, }: {
|
|
17
|
+
hold: WriteHold;
|
|
18
|
+
chainId: number;
|
|
19
|
+
account: Address | undefined;
|
|
20
|
+
client: WriteHoldClient | undefined;
|
|
21
|
+
intents: readonly {
|
|
22
|
+
namespace: string;
|
|
23
|
+
label?: string;
|
|
24
|
+
}[];
|
|
25
|
+
pollMs?: number;
|
|
26
|
+
}): HeldWriteItem[];
|
|
27
|
+
/**
|
|
28
|
+
* Every write held for `account` on `chainId`, whatever action made it
|
|
29
|
+
* (`hold.list`), read again when another window changes one and every poll.
|
|
30
|
+
*/
|
|
31
|
+
export declare function useHeldWrites({ hold, chainId, account, client, label, pollMs, }: {
|
|
32
|
+
hold: WriteHold;
|
|
33
|
+
chainId: number;
|
|
34
|
+
account: Address | undefined;
|
|
35
|
+
client: WriteHoldClient | undefined;
|
|
36
|
+
/** The app's name for a listed write's action, when it knows it. */
|
|
37
|
+
label?: (record: ReturnType<WriteHold["list"]>[number]["record"]) => string | undefined;
|
|
38
|
+
pollMs?: number;
|
|
39
|
+
}): HeldWriteItem[];
|
|
40
|
+
//# sourceMappingURL=useHeldWrites.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHeldWrites.d.ts","sourceRoot":"","sources":["../../../src/hooks/heldWrite/useHeldWrites.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAElB,KAAK,SA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AAE,MAAM,CAAC;CACjB,GAAG,aAAa,EAAE,CA6BlB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type SavedAttempt, type SavedAttemptOutcome, type SavedAttemptRecovery, type SavedAttemptRetirement, type WriteHoldClient } from "@bananapus/nana-sdk-core/review";
|
|
2
|
+
export type UseSavedAttemptOptions<T> = {
|
|
3
|
+
/** The app's one saved-attempt recovery (createSavedAttemptRecovery()). */
|
|
4
|
+
recovery: SavedAttemptRecovery;
|
|
5
|
+
/** The saved attempt; none while nothing is saved. */
|
|
6
|
+
attempt: SavedAttempt<T> | null | undefined;
|
|
7
|
+
/** Reads the attempt's chain. */
|
|
8
|
+
client: WriteHoldClient | undefined;
|
|
9
|
+
/** The check action's next step: "I checked it. <next>." ("Review it again" by default). */
|
|
10
|
+
checkNext?: string;
|
|
11
|
+
};
|
|
12
|
+
/** What a retirement returned: whether it took, and whether it outlives this tab. */
|
|
13
|
+
type Retired = Awaited<ReturnType<SavedAttemptRecovery["retire"]>>;
|
|
14
|
+
export type UseSavedAttemptResult<T> = {
|
|
15
|
+
/** How recovery ended; null until it has, or with no attempt. */
|
|
16
|
+
outcome: SavedAttemptOutcome<T> | null;
|
|
17
|
+
recovering: boolean;
|
|
18
|
+
/** Recover again now: also "Check again" on a success whose details are unavailable. */
|
|
19
|
+
recover: () => Promise<SavedAttemptOutcome<T> | null>;
|
|
20
|
+
/** On `check`: the one explicit action, which retires the attempt for every tab and reload. */
|
|
21
|
+
checkAction: {
|
|
22
|
+
line: string;
|
|
23
|
+
warning: string;
|
|
24
|
+
label: string;
|
|
25
|
+
run: () => Promise<Retired>;
|
|
26
|
+
} | null;
|
|
27
|
+
/**
|
|
28
|
+
* Only after the check action came back `reason: "unreadable"` (the browser
|
|
29
|
+
* has storage it can't read): the warned exit, "I checked my wallet.
|
|
30
|
+
* Continue anyway", which retires in this tab alone if storage still can't
|
|
31
|
+
* be read. Never a first option.
|
|
32
|
+
*/
|
|
33
|
+
unreadableAction: {
|
|
34
|
+
line: string;
|
|
35
|
+
label: string;
|
|
36
|
+
run: () => Promise<Retired>;
|
|
37
|
+
} | null;
|
|
38
|
+
/**
|
|
39
|
+
* Retire after the user's exit or a followed settlement; recovers again.
|
|
40
|
+
* Bound to the attempt it was rendered for: called after that attempt (or
|
|
41
|
+
* its recovery or client) changed, it refuses before anything is saved.
|
|
42
|
+
*/
|
|
43
|
+
retire: (reason: SavedAttemptRetirement) => Promise<Retired>;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* One saved attempt's recovery, the one way every app runs it: recovered
|
|
47
|
+
* when it (or the client) appears, before the app prepares any new send, with
|
|
48
|
+
* the check action ready on `check`. Every answer and callback belongs to the
|
|
49
|
+
* attempt, recovery and client it started with: an earlier one's, or an older
|
|
50
|
+
* request's, never reaches the current one.
|
|
51
|
+
*/
|
|
52
|
+
export declare function useSavedAttempt<T>(options: UseSavedAttemptOptions<T>): UseSavedAttemptResult<T>;
|
|
53
|
+
export {};
|
|
54
|
+
//# sourceMappingURL=useSavedAttempt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSavedAttempt.d.ts","sourceRoot":"","sources":["../../../src/hooks/heldWrite/useSavedAttempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACrB,MAAM,iCAAiC,CAAC;AAUzC,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI;IACtC,2EAA2E;IAC3E,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,sDAAsD;IACtD,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,iCAAiC;IACjC,MAAM,EAAE,eAAe,GAAG,SAAS,CAAC;IACpC,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF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AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,aAAa,CAAC"}
|