@laceio/sdk 0.1.1-canary.2 → 0.1.1-canary.3
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/{account-DVX0F5_M.js → account-BOQruszJ.js} +1 -1
- package/dist/{account-BlYkEmcs.cjs → account-BUOj4pYJ.cjs} +1 -1
- package/dist/{account-tokens-CtN2BaFy.js → account-tokens-DvkOFVON.js} +1 -1
- package/dist/{account-tokens-DXr8DlpW.cjs → account-tokens-nwcvwLu4.cjs} +1 -1
- package/dist/{address-book-address-validator-ByIZOdO-.js → address-book-address-validator-0J9XAADH.js} +1 -1
- package/dist/{address-book-address-validator-BjOWerRE.cjs → address-book-address-validator-Dte_YQ2L.cjs} +1 -1
- package/dist/bitcoin.cjs +4 -4
- package/dist/bitcoin.d.ts +124 -0
- package/dist/bitcoin.js +4 -4
- package/dist/cardano.cjs +5 -5
- package/dist/cardano.d.ts +758 -0
- package/dist/cardano.js +5 -5
- package/dist/{const-CBGn60yu.js → const-BJfIK_G-.js} +1 -1
- package/dist/{const-DLrX5SD9.cjs → const-BsnjG2_Q.cjs} +77 -1
- package/dist/{const-oMF-TLow.cjs → const-D-eZIS4n.cjs} +1 -1
- package/dist/{const-BfEnY8fg.js → const-D0CbQlo4.js} +2 -1
- package/dist/{contract-s_x-9-lz.js → contract-BD_312b0.js} +1 -1
- package/dist/{contract-C_CBwwiC.cjs → contract-DevBp9u8.cjs} +1 -1
- package/dist/{delegation-tx-builder-DVwGfiV0.cjs → delegation-tx-builder-CCjiakoy.cjs} +2 -2
- package/dist/{delegation-tx-builder-BR6bt1fE.js → delegation-tx-builder-DZFjHDS8.js} +2 -2
- package/dist/{deregistration-tx-builder-BhJRGj1M.js → deregistration-tx-builder-Bf6xAYp4.js} +2 -2
- package/dist/{deregistration-tx-builder-Cv_09HGf.cjs → deregistration-tx-builder-CQP35yex.cjs} +2 -2
- package/dist/{earn-rewards-tx-builder-RYzKsZ6-.js → earn-rewards-tx-builder-Bsga3yFb.js} +2 -2
- package/dist/{earn-rewards-tx-builder-52gJiJYa.cjs → earn-rewards-tx-builder-GuxofYns.cjs} +2 -2
- package/dist/experimental.cjs +15 -13
- package/dist/experimental.d.ts +1284 -106
- package/dist/experimental.js +15 -13
- package/dist/{group-cardano-addresses-by-account-D06r7daZ.cjs → group-cardano-addresses-by-account-Bp0g4wEY.cjs} +1 -21
- package/dist/{group-cardano-addresses-by-account-CxCqFDrX.js → group-cardano-addresses-by-account-SR8MMrZf.js} +2 -16
- package/dist/{guarded-transaction-signer-BhnTBjf6.cjs → guarded-transaction-signer-MFpPg98D.cjs} +1 -1
- package/dist/{guarded-transaction-signer-BSEx83R-.js → guarded-transaction-signer-P6Rp1faj.js} +1 -1
- package/dist/{in-memory-wallet-integration-CUKesGG1.js → in-memory-wallet-integration-CBRiPjLO.js} +1 -1
- package/dist/{in-memory-wallet-integration-CoPx69lQ.cjs → in-memory-wallet-integration-CULUB5Tf.cjs} +1 -1
- package/dist/{in-memory-wallet-integration-B0blZBxM.js → in-memory-wallet-integration-ChIOirMW.js} +1 -1
- package/dist/{in-memory-wallet-integration-BKu985Jz.js → in-memory-wallet-integration-CljprQQV.js} +2 -2
- package/dist/{in-memory-wallet-integration-CwPCDMIe.cjs → in-memory-wallet-integration-Cm6P8sk6.cjs} +1 -1
- package/dist/{in-memory-wallet-integration-CH4rcg92.cjs → in-memory-wallet-integration-t9I00R_V.cjs} +2 -2
- package/dist/index.cjs +6 -6
- package/dist/index.d.ts +758 -0
- package/dist/index.js +6 -6
- package/dist/{init-DAikR9qU.js → init-8v_n8boO.js} +3 -3
- package/dist/{init-D5UiYI12.cjs → init-B8U3ABhS.cjs} +3 -2
- package/dist/{init-Bp6yJk31.js → init-BmzfDaKL.js} +2 -2
- package/dist/{init-CjT-WZcW.cjs → init-Bp9GsPS_.cjs} +10 -10
- package/dist/{init-KQnIdm39.js → init-BpHTq2R5.js} +3 -2
- package/dist/{init-CpIadSUb.js → init-BpSITBfF.js} +12 -6
- package/dist/{init-COMH3Hfo.js → init-CfTbSEKy.js} +6 -6
- package/dist/{init-CIjZaQvL.js → init-CuW7rHNA.js} +2 -2
- package/dist/{init-E7c40ddW.cjs → init-Cz0rz5fU.cjs} +2 -2
- package/dist/{init-DY1unoGb.cjs → init-D8OeObDF.cjs} +2 -2
- package/dist/{init-Bu4iXcTH.cjs → init-D9g1HXYf.cjs} +11 -5
- package/dist/{init-B-YE57gg.js → init-DS5qN63m.js} +8 -8
- package/dist/{init-DWvkFDkc.cjs → init-DrRdf5sZ.cjs} +3 -3
- package/dist/{init-BTzOjA8x.cjs → init-EhzD7a8i.cjs} +1 -1
- package/dist/{init-vqxOQNZi.js → init-kEfUTuG2.js} +1 -1
- package/dist/{init-BEjCRHxU.cjs → init-lzHt4Cli.cjs} +8 -8
- package/dist/midnight.cjs +17 -15
- package/dist/midnight.d.ts +409 -61
- package/dist/midnight.js +17 -15
- package/dist/{modules-cardano-D2dkeKHY.js → modules-cardano-BrS68BbA.js} +18 -18
- package/dist/{modules-cardano-CtWLntet.cjs → modules-cardano-D843LvB0.cjs} +18 -18
- package/dist/{sdk-Dgal10kG.cjs → sdk-Dd0MKXFz.cjs} +6 -6
- package/dist/{sdk-DIcjlgLF.js → sdk-_yO75IHD.js} +6 -6
- package/dist/{sdk-init-BKkqFtWZ.cjs → sdk-init-CYViTJY_.cjs} +67 -17
- package/dist/sdk-init-OMHyOGOK.js +4138 -0
- package/dist/{send-proof-progress-DTK3ZuYB.js → send-proof-progress-C-ljq1x5.js} +9 -1
- package/dist/{send-proof-progress-dDoqIohG.cjs → send-proof-progress-vmsaSfbz.cjs} +14 -0
- package/dist/{signer-factory-B7PMe3lQ.js → signer-factory-DObB55D4.js} +2 -2
- package/dist/{signer-factory-CORIG4Yl.cjs → signer-factory-DhZiE03y.cjs} +28 -9
- package/dist/{signer-factory-DduwpsQj.cjs → signer-factory-Ds6G2AZk.cjs} +2 -2
- package/dist/{signer-factory-Cd2TwD50.js → signer-factory-hzSRaIw2.js} +29 -10
- package/dist/{slice-C4uXUT7S.js → slice-BPNuHKfw.js} +102 -24
- package/dist/{slice-BOyAAaj0.cjs → slice-Czfp6t84.cjs} +63 -5
- package/dist/{slice-6sP0Qs5V.cjs → slice-DTZTiJle.cjs} +104 -7
- package/dist/{slice-DQv_RhsI.cjs → slice-DnBWfA-k.cjs} +102 -24
- package/dist/{slice-BnTJeMOb.js → slice-oWnc7YVD.js} +63 -5
- package/dist/{slice-CqVNnz-j.js → slice-qt0uBExh.js} +104 -7
- package/dist/{submit-bitcoin-tx-BkZIeF4b.js → submit-bitcoin-tx-BG3Gemov.js} +2 -2
- package/dist/{submit-bitcoin-tx-DZNQgihl.cjs → submit-bitcoin-tx-Y0CtvFN7.cjs} +2 -2
- package/dist/{sync-operation-utils-KT5Y9yFK.js → sync-operation-utils-31iFLExW.js} +16 -1
- package/dist/{sync-operation-utils-C9kcmjKH.cjs → sync-operation-utils-COIZ66-I.cjs} +21 -0
- package/dist/{token-id-mapper-IApjwuJb.cjs → token-id-mapper-CVyQJUKY.cjs} +1 -1
- package/dist/{token-id-mapper-qx7XfH0b.js → token-id-mapper-D29Ggv8h.js} +1 -1
- package/dist/{util-BeG7WXzM.cjs → util-Bu4W5lF4.cjs} +1 -1
- package/dist/{util-D1e0skzp.js → util-Cp5cZkfK.js} +1 -1
- package/dist/{utils-CvAW5Yw7.js → utils-DFwzEvbv.js} +1 -1
- package/dist/{utils-BfMdr_1w.cjs → utils-IXxR-Djh.cjs} +1 -1
- package/dist/{vote-delegation-tx-builder-CtdIgaIt.cjs → vote-delegation-tx-builder-BUg1S2Ep.cjs} +2 -2
- package/dist/{vote-delegation-tx-builder-CQjGvVNZ.js → vote-delegation-tx-builder-C6FiS7zI.js} +2 -2
- package/dist/{watch-Z53L4yoK.js → watch-D-RoItM5.js} +10165 -1222
- package/dist/{watch-Cz1J42um.cjs → watch-DMF2s-II.cjs} +102 -26
- package/package.json +2 -2
- package/dist/sdk-init-DNd-oQXp.js +0 -1044
- /package/dist/{cardano-network-id.vo-BEvFd_74.cjs → cardano-network-id.vo-BEDPn6Li.cjs} +0 -0
- /package/dist/{cardano-network-id.vo-wfLiAxpY.js → cardano-network-id.vo-Cfpvbod9.js} +0 -0
- /package/dist/{cardano-tx-id.vo-D3ASTIMd.cjs → cardano-tx-id.vo-TLjJZHCI.cjs} +0 -0
- /package/dist/{cardano-tx-id.vo-BXLo1b7Q.js → cardano-tx-id.vo-eVnKuzlm.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isCardanoAccount } from "./util-
|
|
1
|
+
import { a as isCardanoAccount } from "./util-Cp5cZkfK.js";
|
|
2
2
|
//#region ../../packages/contract/cardano-context/src/custody/account.ts
|
|
3
3
|
/** Whether `account` is a Cardano custody account. */
|
|
4
4
|
const isCardanoCustodyAccount = (account) => isCardanoAccount(account) && account.accountType === "CardanoCustody";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_util = require("./util-
|
|
1
|
+
const require_util = require("./util-Bu4W5lF4.cjs");
|
|
2
2
|
//#region ../../packages/contract/cardano-context/src/custody/account.ts
|
|
3
3
|
/** Whether `account` is a Cardano custody account. */
|
|
4
4
|
const isCardanoCustodyAccount = (account) => require_util.isCardanoAccount(account) && account.accountType === "CardanoCustody";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as BigNumber } from "./bignum.vo-CEXOIew0.js";
|
|
2
2
|
import { t as TokenId } from "./token-id.vo-Bvwhr3ZE.js";
|
|
3
|
-
import { r as LOVELACE_TOKEN_ID } from "./const-
|
|
3
|
+
import { r as LOVELACE_TOKEN_ID } from "./const-BJfIK_G-.js";
|
|
4
4
|
//#region ../../packages/contract/cardano-context/src/store/helpers/account-tokens.ts
|
|
5
5
|
/** Tokens of one address: its value, with `rewards` added to the lovelace. */
|
|
6
6
|
const toAccountTokens = (value, rewards) => [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_bignum_vo = require("./bignum.vo-hx2kuqlA.cjs");
|
|
2
2
|
const require_token_id_vo = require("./token-id.vo-DXv5uS9n.cjs");
|
|
3
|
-
const require_const = require("./const-
|
|
3
|
+
const require_const = require("./const-D-eZIS4n.cjs");
|
|
4
4
|
//#region ../../packages/contract/cardano-context/src/store/helpers/account-tokens.ts
|
|
5
5
|
/** Tokens of one address: its value, with `rewards` added to the lovelace. */
|
|
6
6
|
const toAccountTokens = (value, rewards) => [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as Some, i as None, n as Ok, t as Err } from "./asyncoption-CruEYOBI.js";
|
|
2
|
-
import { t as CardanoNetworkId } from "./cardano-network-id.vo-
|
|
2
|
+
import { t as CardanoNetworkId } from "./cardano-network-id.vo-Cfpvbod9.js";
|
|
3
3
|
import { Cardano } from "@laceio/cardano/core";
|
|
4
4
|
//#region ../../packages/module/blockchain-cardano/src/validate-address.ts
|
|
5
5
|
const invalidAddressError = /* @__PURE__ */ new Error("Invalid Cardano Address");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require("./rolldown-runtime-Br2OG8yv.cjs");
|
|
2
2
|
const require_asyncoption = require("./asyncoption-i0VbqVTq.cjs");
|
|
3
|
-
const require_cardano_network_id_vo = require("./cardano-network-id.vo-
|
|
3
|
+
const require_cardano_network_id_vo = require("./cardano-network-id.vo-BEDPn6Li.cjs");
|
|
4
4
|
let _laceio_cardano_core = require("@laceio/cardano/core");
|
|
5
5
|
//#region ../../packages/module/blockchain-cardano/src/validate-address.ts
|
|
6
6
|
const invalidAddressError = /* @__PURE__ */ new Error("Invalid Cardano Address");
|
package/dist/bitcoin.cjs
CHANGED
|
@@ -6,15 +6,15 @@ const require_address = require("./address-BXp-mY8H.cjs");
|
|
|
6
6
|
require("./safe-buffer-DYOwEfHB.cjs");
|
|
7
7
|
require("./pbkdf2-CIW-oWrm.cjs");
|
|
8
8
|
require("./src-BDzYIksE.cjs");
|
|
9
|
-
require("./util-
|
|
9
|
+
require("./util-Bu4W5lF4.cjs");
|
|
10
10
|
const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
|
|
11
|
-
const require_sdk = require("./sdk-
|
|
11
|
+
const require_sdk = require("./sdk-Dd0MKXFz.cjs");
|
|
12
12
|
const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
|
|
13
13
|
require("./asyncoption-i0VbqVTq.cjs");
|
|
14
14
|
const require_const = require("./const-iwzZEE_w.cjs");
|
|
15
15
|
const require_account_id_vo = require("./account-id.vo-DwqFjK5u.cjs");
|
|
16
|
-
const require_contract = require("./contract-
|
|
17
|
-
const require_submit_bitcoin_tx = require("./submit-bitcoin-tx-
|
|
16
|
+
const require_contract = require("./contract-DevBp9u8.cjs");
|
|
17
|
+
const require_submit_bitcoin_tx = require("./submit-bitcoin-tx-Y0CtvFN7.cjs");
|
|
18
18
|
const require_types = require("./types-CLRUYpfe.cjs");
|
|
19
19
|
const require_const$1 = require("./const-BhYOdznB.cjs");
|
|
20
20
|
require("./bn-d3nSOIf7.cjs");
|
package/dist/bitcoin.d.ts
CHANGED
|
@@ -1102,10 +1102,15 @@ declare const _exports: {
|
|
|
1102
1102
|
"midnight.proof-server.section.on-device": string;
|
|
1103
1103
|
"midnight.proof-server.section.paired": string;
|
|
1104
1104
|
"midnight.proof-server.section.delegated": string;
|
|
1105
|
+
"midnight.proof-server.section.custom": string;
|
|
1105
1106
|
"midnight.proof-server.in-process.label": string;
|
|
1106
1107
|
"midnight.proof-server.in-process.description": string;
|
|
1107
1108
|
"midnight.proof-server.local-host.label": string;
|
|
1108
1109
|
"midnight.proof-server.local-host.description": string;
|
|
1110
|
+
"midnight.proof-server.custom.disclosure.title": string;
|
|
1111
|
+
"midnight.proof-server.custom.disclosure.first-use": string;
|
|
1112
|
+
"midnight.proof-server.custom.disclosure.reminder": string;
|
|
1113
|
+
"midnight.proof-server.custom.transaction-notice": string;
|
|
1109
1114
|
"midnight.proof-server.paired-device.label": string;
|
|
1110
1115
|
"midnight.proof-server.paired-device.description": string;
|
|
1111
1116
|
"midnight.proof-server.delegated.description-generic": string;
|
|
@@ -3718,6 +3723,27 @@ declare const _exports: {
|
|
|
3718
3723
|
"realfi.season.by-account.title": string;
|
|
3719
3724
|
"realfi.season.by-account.lead": string;
|
|
3720
3725
|
"realfi.season.by-account.note": string;
|
|
3726
|
+
"midnight.send-flow.stage.preparing": string;
|
|
3727
|
+
"midnight.send-flow.stage.proving": string;
|
|
3728
|
+
"midnight.send-flow.stage.finalizing": string;
|
|
3729
|
+
"midnight.send-flow.stage.submitting": string;
|
|
3730
|
+
"midnight.send-flow.stage.inclusion": string;
|
|
3731
|
+
"midnight.send-flow.stage.confirmation": string;
|
|
3732
|
+
"midnight.send-flow.proof-material": string;
|
|
3733
|
+
"midnight.proof-activity.proof": string;
|
|
3734
|
+
"midnight.proof-activity.check": string;
|
|
3735
|
+
"midnight.proof-activity.transaction": string;
|
|
3736
|
+
"midnight.proof-activity.preparing": string;
|
|
3737
|
+
"midnight.proof-activity.queued": string;
|
|
3738
|
+
"midnight.proof-activity.running": string;
|
|
3739
|
+
"midnight.proof-activity.succeeded": string;
|
|
3740
|
+
"midnight.proof-activity.failed": string;
|
|
3741
|
+
"midnight.proof-activity.receiving": string;
|
|
3742
|
+
"midnight.proof-activity.title": string;
|
|
3743
|
+
"midnight.proof-activity.generating": string;
|
|
3744
|
+
"midnight.proof-activity.checking": string;
|
|
3745
|
+
"midnight.proof-activity.queued-count": string;
|
|
3746
|
+
"midnight.proof-activity.failed-count": string;
|
|
3721
3747
|
};
|
|
3722
3748
|
|
|
3723
3749
|
declare const rawTranslations: {
|
|
@@ -4073,10 +4099,15 @@ declare const rawTranslations: {
|
|
|
4073
4099
|
"midnight.proof-server.section.on-device": string;
|
|
4074
4100
|
"midnight.proof-server.section.paired": string;
|
|
4075
4101
|
"midnight.proof-server.section.delegated": string;
|
|
4102
|
+
"midnight.proof-server.section.custom": string;
|
|
4076
4103
|
"midnight.proof-server.in-process.label": string;
|
|
4077
4104
|
"midnight.proof-server.in-process.description": string;
|
|
4078
4105
|
"midnight.proof-server.local-host.label": string;
|
|
4079
4106
|
"midnight.proof-server.local-host.description": string;
|
|
4107
|
+
"midnight.proof-server.custom.disclosure.title": string;
|
|
4108
|
+
"midnight.proof-server.custom.disclosure.first-use": string;
|
|
4109
|
+
"midnight.proof-server.custom.disclosure.reminder": string;
|
|
4110
|
+
"midnight.proof-server.custom.transaction-notice": string;
|
|
4080
4111
|
"midnight.proof-server.paired-device.label": string;
|
|
4081
4112
|
"midnight.proof-server.paired-device.description": string;
|
|
4082
4113
|
"midnight.proof-server.delegated.description-generic": string;
|
|
@@ -6689,6 +6720,27 @@ declare const rawTranslations: {
|
|
|
6689
6720
|
"realfi.season.by-account.title": string;
|
|
6690
6721
|
"realfi.season.by-account.lead": string;
|
|
6691
6722
|
"realfi.season.by-account.note": string;
|
|
6723
|
+
"midnight.send-flow.stage.preparing": string;
|
|
6724
|
+
"midnight.send-flow.stage.proving": string;
|
|
6725
|
+
"midnight.send-flow.stage.finalizing": string;
|
|
6726
|
+
"midnight.send-flow.stage.submitting": string;
|
|
6727
|
+
"midnight.send-flow.stage.inclusion": string;
|
|
6728
|
+
"midnight.send-flow.stage.confirmation": string;
|
|
6729
|
+
"midnight.send-flow.proof-material": string;
|
|
6730
|
+
"midnight.proof-activity.proof": string;
|
|
6731
|
+
"midnight.proof-activity.check": string;
|
|
6732
|
+
"midnight.proof-activity.transaction": string;
|
|
6733
|
+
"midnight.proof-activity.preparing": string;
|
|
6734
|
+
"midnight.proof-activity.queued": string;
|
|
6735
|
+
"midnight.proof-activity.running": string;
|
|
6736
|
+
"midnight.proof-activity.succeeded": string;
|
|
6737
|
+
"midnight.proof-activity.failed": string;
|
|
6738
|
+
"midnight.proof-activity.receiving": string;
|
|
6739
|
+
"midnight.proof-activity.title": string;
|
|
6740
|
+
"midnight.proof-activity.generating": string;
|
|
6741
|
+
"midnight.proof-activity.checking": string;
|
|
6742
|
+
"midnight.proof-activity.queued-count": string;
|
|
6743
|
+
"midnight.proof-activity.failed-count": string;
|
|
6692
6744
|
};
|
|
6693
6745
|
readonly es: {
|
|
6694
6746
|
"translation.language.name": string;
|
|
@@ -7042,10 +7094,15 @@ declare const rawTranslations: {
|
|
|
7042
7094
|
"midnight.proof-server.section.on-device": string;
|
|
7043
7095
|
"midnight.proof-server.section.paired": string;
|
|
7044
7096
|
"midnight.proof-server.section.delegated": string;
|
|
7097
|
+
"midnight.proof-server.section.custom": string;
|
|
7045
7098
|
"midnight.proof-server.in-process.label": string;
|
|
7046
7099
|
"midnight.proof-server.in-process.description": string;
|
|
7047
7100
|
"midnight.proof-server.local-host.label": string;
|
|
7048
7101
|
"midnight.proof-server.local-host.description": string;
|
|
7102
|
+
"midnight.proof-server.custom.disclosure.title": string;
|
|
7103
|
+
"midnight.proof-server.custom.disclosure.first-use": string;
|
|
7104
|
+
"midnight.proof-server.custom.disclosure.reminder": string;
|
|
7105
|
+
"midnight.proof-server.custom.transaction-notice": string;
|
|
7049
7106
|
"midnight.proof-server.paired-device.label": string;
|
|
7050
7107
|
"midnight.proof-server.paired-device.description": string;
|
|
7051
7108
|
"midnight.proof-server.delegated.description-generic": string;
|
|
@@ -9658,6 +9715,27 @@ declare const rawTranslations: {
|
|
|
9658
9715
|
"realfi.season.by-account.title": string;
|
|
9659
9716
|
"realfi.season.by-account.lead": string;
|
|
9660
9717
|
"realfi.season.by-account.note": string;
|
|
9718
|
+
"midnight.send-flow.stage.preparing": string;
|
|
9719
|
+
"midnight.send-flow.stage.proving": string;
|
|
9720
|
+
"midnight.send-flow.stage.finalizing": string;
|
|
9721
|
+
"midnight.send-flow.stage.submitting": string;
|
|
9722
|
+
"midnight.send-flow.stage.inclusion": string;
|
|
9723
|
+
"midnight.send-flow.stage.confirmation": string;
|
|
9724
|
+
"midnight.send-flow.proof-material": string;
|
|
9725
|
+
"midnight.proof-activity.proof": string;
|
|
9726
|
+
"midnight.proof-activity.check": string;
|
|
9727
|
+
"midnight.proof-activity.transaction": string;
|
|
9728
|
+
"midnight.proof-activity.preparing": string;
|
|
9729
|
+
"midnight.proof-activity.queued": string;
|
|
9730
|
+
"midnight.proof-activity.running": string;
|
|
9731
|
+
"midnight.proof-activity.succeeded": string;
|
|
9732
|
+
"midnight.proof-activity.failed": string;
|
|
9733
|
+
"midnight.proof-activity.receiving": string;
|
|
9734
|
+
"midnight.proof-activity.title": string;
|
|
9735
|
+
"midnight.proof-activity.generating": string;
|
|
9736
|
+
"midnight.proof-activity.checking": string;
|
|
9737
|
+
"midnight.proof-activity.queued-count": string;
|
|
9738
|
+
"midnight.proof-activity.failed-count": string;
|
|
9661
9739
|
};
|
|
9662
9740
|
readonly ja: {
|
|
9663
9741
|
"translation.language.name": string;
|
|
@@ -10011,10 +10089,15 @@ declare const rawTranslations: {
|
|
|
10011
10089
|
"midnight.proof-server.section.on-device": string;
|
|
10012
10090
|
"midnight.proof-server.section.paired": string;
|
|
10013
10091
|
"midnight.proof-server.section.delegated": string;
|
|
10092
|
+
"midnight.proof-server.section.custom": string;
|
|
10014
10093
|
"midnight.proof-server.in-process.label": string;
|
|
10015
10094
|
"midnight.proof-server.in-process.description": string;
|
|
10016
10095
|
"midnight.proof-server.local-host.label": string;
|
|
10017
10096
|
"midnight.proof-server.local-host.description": string;
|
|
10097
|
+
"midnight.proof-server.custom.disclosure.title": string;
|
|
10098
|
+
"midnight.proof-server.custom.disclosure.first-use": string;
|
|
10099
|
+
"midnight.proof-server.custom.disclosure.reminder": string;
|
|
10100
|
+
"midnight.proof-server.custom.transaction-notice": string;
|
|
10018
10101
|
"midnight.proof-server.paired-device.label": string;
|
|
10019
10102
|
"midnight.proof-server.paired-device.description": string;
|
|
10020
10103
|
"midnight.proof-server.delegated.description-generic": string;
|
|
@@ -12627,6 +12710,27 @@ declare const rawTranslations: {
|
|
|
12627
12710
|
"realfi.season.by-account.title": string;
|
|
12628
12711
|
"realfi.season.by-account.lead": string;
|
|
12629
12712
|
"realfi.season.by-account.note": string;
|
|
12713
|
+
"midnight.send-flow.stage.preparing": string;
|
|
12714
|
+
"midnight.send-flow.stage.proving": string;
|
|
12715
|
+
"midnight.send-flow.stage.finalizing": string;
|
|
12716
|
+
"midnight.send-flow.stage.submitting": string;
|
|
12717
|
+
"midnight.send-flow.stage.inclusion": string;
|
|
12718
|
+
"midnight.send-flow.stage.confirmation": string;
|
|
12719
|
+
"midnight.send-flow.proof-material": string;
|
|
12720
|
+
"midnight.proof-activity.proof": string;
|
|
12721
|
+
"midnight.proof-activity.check": string;
|
|
12722
|
+
"midnight.proof-activity.transaction": string;
|
|
12723
|
+
"midnight.proof-activity.preparing": string;
|
|
12724
|
+
"midnight.proof-activity.queued": string;
|
|
12725
|
+
"midnight.proof-activity.running": string;
|
|
12726
|
+
"midnight.proof-activity.succeeded": string;
|
|
12727
|
+
"midnight.proof-activity.failed": string;
|
|
12728
|
+
"midnight.proof-activity.receiving": string;
|
|
12729
|
+
"midnight.proof-activity.title": string;
|
|
12730
|
+
"midnight.proof-activity.generating": string;
|
|
12731
|
+
"midnight.proof-activity.checking": string;
|
|
12732
|
+
"midnight.proof-activity.queued-count": string;
|
|
12733
|
+
"midnight.proof-activity.failed-count": string;
|
|
12630
12734
|
};
|
|
12631
12735
|
};
|
|
12632
12736
|
/** The messages of one language, keyed by translation key. */
|
|
@@ -16281,11 +16385,19 @@ type BuildTxParams<BSSendFlowData = unknown, BSTokenMetadata = unknown, BSTxPara
|
|
|
16281
16385
|
serializedTx: string;
|
|
16282
16386
|
txParams: TxParamsBundle<BSTokenMetadata, BSTxParams>;
|
|
16283
16387
|
blockchainSpecificSendFlowData: BSSendFlowData;
|
|
16388
|
+
/**
|
|
16389
|
+
* Lets the builder fund the transaction from the account's withdrawable
|
|
16390
|
+
* staking rewards when its spendable balance alone cannot. Set it only from
|
|
16391
|
+
* a flow that shows the result's `withdrawals` to the user before signing.
|
|
16392
|
+
*/
|
|
16393
|
+
allowRewardsWithdrawal?: boolean;
|
|
16284
16394
|
}>;
|
|
16285
16395
|
type TxBuildResult = Result<{
|
|
16286
16396
|
fees: FeeEntry[];
|
|
16287
16397
|
serializedTx: string;
|
|
16288
16398
|
warningTranslationKey?: TranslationKey;
|
|
16399
|
+
/** Value drawn from outside the inputs, such as withdrawn staking rewards. */
|
|
16400
|
+
withdrawals?: FeeEntry[];
|
|
16289
16401
|
}, {
|
|
16290
16402
|
errorTranslationKey: TranslationKey;
|
|
16291
16403
|
}>;
|
|
@@ -17504,6 +17616,13 @@ type CardanoActivityUtxoMetadata = {
|
|
|
17504
17616
|
* activities only; consumers intersect with own addresses at read (see
|
|
17505
17617
|
* `applyInFlightUtxoAdjustments`). */
|
|
17506
17618
|
producedOutputs: Cardano.Utxo[];
|
|
17619
|
+
/**
|
|
17620
|
+
* Every reward withdrawal of the signed tx, unfiltered — PENDING activities
|
|
17621
|
+
* only, so the rewards it moves into `producedOutputs` are not also counted
|
|
17622
|
+
* as still withdrawable (see `pendingRewardWithdrawals`). Absent means no
|
|
17623
|
+
* withdrawal, or an activity persisted before this field existed.
|
|
17624
|
+
*/
|
|
17625
|
+
withdrawals?: Cardano.Withdrawal[];
|
|
17507
17626
|
/**
|
|
17508
17627
|
* Outpoints of the confirmed tx's outputs paying addresses the account
|
|
17509
17628
|
* owned at map time. Outpoints, not full outputs: the one consumer
|
|
@@ -17932,6 +18051,7 @@ type FormData<BlockchainSpecificTokenMetadata = unknown, BlockchainSpecificFormD
|
|
|
17932
18051
|
type StateIdle = StateObject<'Idle'>;
|
|
17933
18052
|
type StatePreparing<BlockchainSpecificData = unknown> = StateObject<'Preparing', {
|
|
17934
18053
|
accountId?: AccountId;
|
|
18054
|
+
allowRewardsWithdrawal?: boolean;
|
|
17935
18055
|
blockchainSpecificData: BlockchainSpecificData;
|
|
17936
18056
|
initialAddress?: string;
|
|
17937
18057
|
initialAmount?: BigNumber;
|
|
@@ -17944,9 +18064,13 @@ type StateClosed = StateDiscardingTx | StateIdle | StatePreparing;
|
|
|
17944
18064
|
type SendFlowOpenStatus = 'Form' | 'FormPendingValidation' | 'FormTxBuilding' | 'Processing' | 'SelectToken' | 'Summary' | 'SummaryAwaitingConfirmation';
|
|
17945
18065
|
type StateOpenData<BlockchainSpecificData = unknown> = BlockchainAssigned<{
|
|
17946
18066
|
accountId: AccountId;
|
|
18067
|
+
/** Set by the opening UI when it shows `withdrawals` on review. */
|
|
18068
|
+
allowRewardsWithdrawal: boolean;
|
|
17947
18069
|
blockchainSpecificData: BlockchainSpecificData;
|
|
17948
18070
|
confirmButtonEnabled: boolean;
|
|
17949
18071
|
fees: FeeEntry[];
|
|
18072
|
+
/** What the built transaction withdraws (e.g. staking rewards); [] if none. */
|
|
18073
|
+
withdrawals: FeeEntry[];
|
|
17950
18074
|
minimumAmount: BigNumber;
|
|
17951
18075
|
txBuildErrorTranslationKey?: TranslationKey;
|
|
17952
18076
|
form: FormData;
|
package/dist/bitcoin.js
CHANGED
|
@@ -6,15 +6,15 @@ import { s as BitcoinNetworkId } from "./address-B9ntKL8K.js";
|
|
|
6
6
|
import "./safe-buffer-B_vMqJWU.js";
|
|
7
7
|
import "./browser-B1eMbDwh.js";
|
|
8
8
|
import "./src-BFoefPv_.js";
|
|
9
|
-
import "./util-
|
|
9
|
+
import "./util-Cp5cZkfK.js";
|
|
10
10
|
import { n as HexBytes } from "./bytes.vo-BB7_4JK6.js";
|
|
11
|
-
import { M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet } from "./sdk-
|
|
11
|
+
import { M as WalletId, S as WalletType, a as createInMemoryWalletEntity, c as createLaceWallet } from "./sdk-_yO75IHD.js";
|
|
12
12
|
import { r as Milliseconds } from "./time.vo-tNheinXm.js";
|
|
13
13
|
import "./asyncoption-CruEYOBI.js";
|
|
14
14
|
import { t as FEATURE_FLAG_NETWORK_TYPE } from "./const-CjmfjBP3.js";
|
|
15
15
|
import { t as AccountId } from "./account-id.vo-OPz2v-JZ.js";
|
|
16
|
-
import { r as LazyWalletMismatchError } from "./contract-
|
|
17
|
-
import { a as createBitcoinLazyInMemoryVaultModule, d as BitcoinTxBuildErrorCode, i as waitForBitcoinAccountSync, n as signBitcoinTx, o as modules_exports, r as buildBitcoinTx, t as submitBitcoinTx, u as BitcoinTxBuildError } from "./submit-bitcoin-tx-
|
|
16
|
+
import { r as LazyWalletMismatchError } from "./contract-BD_312b0.js";
|
|
17
|
+
import { a as createBitcoinLazyInMemoryVaultModule, d as BitcoinTxBuildErrorCode, i as waitForBitcoinAccountSync, n as signBitcoinTx, o as modules_exports, r as buildBitcoinTx, t as submitBitcoinTx, u as BitcoinTxBuildError } from "./submit-bitcoin-tx-BG3Gemov.js";
|
|
18
18
|
import { n as BitcoinNetwork } from "./types-B8uiJn-X.js";
|
|
19
19
|
import { n as BITCOIN_MEMPOOL_FEE_MARKET_FEATURE_FLAG, t as BITCOIN_FEATURE_FLAG } from "./const-CUnCl5U0.js";
|
|
20
20
|
export { AccountId, BITCOIN_FEATURE_FLAG, BITCOIN_MEMPOOL_FEE_MARKET_FEATURE_FLAG, BitcoinNetwork, BitcoinNetworkId, BitcoinTxBuildError, BitcoinTxBuildErrorCode, FEATURE_FLAG_NETWORK_TYPE, HexBytes, LazyWalletMismatchError, Milliseconds, WalletId, WalletType, buildBitcoinTx, createBitcoinLazyInMemoryVaultModule, createInMemoryWalletEntity, createLaceWallet, modules_exports as m, signBitcoinTx, submitBitcoinTx, waitForBitcoinAccountSync };
|
package/dist/cardano.cjs
CHANGED
|
@@ -2,17 +2,17 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("./rolldown-runtime-Br2OG8yv.cjs");
|
|
3
3
|
require("./_polyfill-buffer-patch-CM8X7JiY.cjs");
|
|
4
4
|
require("./codecs-Cswkg7Tm.cjs");
|
|
5
|
-
require("./util-
|
|
5
|
+
require("./util-Bu4W5lF4.cjs");
|
|
6
6
|
const require_bytes_vo = require("./bytes.vo-BNRquqaO.cjs");
|
|
7
|
-
const require_sdk = require("./sdk-
|
|
7
|
+
const require_sdk = require("./sdk-Dd0MKXFz.cjs");
|
|
8
8
|
const require_time_vo = require("./time.vo-D3wWRw9L.cjs");
|
|
9
9
|
require("./asyncoption-i0VbqVTq.cjs");
|
|
10
10
|
const require_key_source = require("./key-source-5oUBFiC7.cjs");
|
|
11
11
|
const require_const = require("./const-iwzZEE_w.cjs");
|
|
12
12
|
const require_account_id_vo = require("./account-id.vo-DwqFjK5u.cjs");
|
|
13
|
-
const require_const$1 = require("./const-
|
|
14
|
-
const require_contract = require("./contract-
|
|
15
|
-
const require_modules_cardano = require("./modules-cardano-
|
|
13
|
+
const require_const$1 = require("./const-D-eZIS4n.cjs");
|
|
14
|
+
const require_contract = require("./contract-DevBp9u8.cjs");
|
|
15
|
+
const require_modules_cardano = require("./modules-cardano-D843LvB0.cjs");
|
|
16
16
|
let _laceio_cardano_core = require("@laceio/cardano/core");
|
|
17
17
|
let _laceio_cardano_util = require("@laceio/cardano/util");
|
|
18
18
|
exports.AccountId = require_account_id_vo.AccountId;
|