@revibase/core 0.5.0 → 0.5.2
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/README.md +1 -8
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -109
- package/dist/index.d.ts +34 -109
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -121,14 +121,7 @@ const walletAddress = await getWalletAddressFromSettings(settings);
|
|
|
121
121
|
|
|
122
122
|
Use `settings`, `compressed`, and (optionally) `walletAddress` in the following steps.
|
|
123
123
|
|
|
124
|
-
### 2.
|
|
125
|
-
|
|
126
|
-
If the wallet uses a [transaction manager](https://github.com/Revibase/multi-wallet/tree/main/packages/transaction-manager) member, add its signer for the native/SPL steps below and for [custom transactions](#custom-transactions-sync-vs-bundle). The manager’s HTTPS URL is stored on-chain on that member’s user account.
|
|
127
|
-
|
|
128
|
-
1. After you have `settingsAccount`, call `retrieveTransactionManager(memberAddress, settingsAccount)`. It returns **`null`** when the member already has Initiate, Vote, and Execute (no transaction manager signer is required). Otherwise it returns **`{ transactionManagerAddress, userAddressTreeIndex }`** — then load the user account with `fetchUserAccountData(transactionManagerAddress, userAddressTreeIndex)` and read `transactionManagerUrl` (a Gill `Option`: use it when `__option === "Some"` via `.value`).
|
|
129
|
-
2. Call `createTransactionManagerSigner({ address, url, authResponses?, transactionMessageBytes?, onPendingApprovalsCallback?, onPendingApprovalsSuccess?, abortController?, opts? })` to obtain a `TransactionSigner`.
|
|
130
|
-
|
|
131
|
-
### 3. Native SOL transfer
|
|
124
|
+
### 2. Native SOL transfer
|
|
132
125
|
|
|
133
126
|
```ts
|
|
134
127
|
import {
|