@ckb-ccc/core 1.16.1 → 1.18.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/CHANGELOG.md +53 -0
- package/dist/address.advanced-Dw4qPDGb.mjs +2 -0
- package/dist/address.advanced-Dw4qPDGb.mjs.map +1 -0
- package/dist/advanced.d.mts +1 -1
- package/dist/advanced.mjs +1 -1
- package/{dist.commonjs/advancedBarrel-CiJnF8me.d.ts → dist/advancedBarrel-BbbHx4z4.d.mts} +1188 -163
- package/dist/advancedBarrel-BbbHx4z4.d.mts.map +1 -0
- package/dist/advancedBarrel.d.mts +1 -1
- package/dist/advancedBarrel.mjs +1 -1
- package/dist/barrel-BqMBxl8y.mjs +7 -0
- package/dist/barrel-BqMBxl8y.mjs.map +1 -0
- package/dist/barrel.d.mts +2 -2
- package/dist/barrel.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist.commonjs/address.advanced-DG1gpW7t.js +2 -0
- package/dist.commonjs/address.advanced-DG1gpW7t.js.map +1 -0
- package/dist.commonjs/advanced.d.ts +1 -1
- package/dist.commonjs/advanced.js +1 -1
- package/{dist/advancedBarrel-66JgvInl.d.mts → dist.commonjs/advancedBarrel-CJAh6sm8.d.ts} +1189 -162
- package/dist.commonjs/advancedBarrel-CJAh6sm8.d.ts.map +1 -0
- package/dist.commonjs/advancedBarrel.d.ts +1 -1
- package/dist.commonjs/advancedBarrel.js +1 -1
- package/dist.commonjs/barrel-CbH8-KWr.js +21 -0
- package/dist.commonjs/barrel-CbH8-KWr.js.map +1 -0
- package/dist.commonjs/barrel.d.ts +2 -2
- package/dist.commonjs/barrel.js +1 -1
- package/dist.commonjs/index.d.ts +2 -2
- package/dist.commonjs/index.js +1 -1
- package/dist.commonjs/rolldown-runtime-DWNI8pZO.js +1 -0
- package/package.json +4 -3
- package/src/ckb/transaction.ts +275 -55
- package/src/client/jsonRpc/client.ts +7 -3
- package/src/codec/entity.ts +93 -0
- package/src/jsonRpc/requestor.ts +9 -4
- package/src/jsonRpc/transports/fallback.ts +14 -11
- package/src/molecule/codec.ts +25 -5
- package/src/signer/btc/signerBtc.ts +1 -1
- package/src/signer/ckb/index.ts +1 -0
- package/src/signer/ckb/signerCkbAlwaysSuccess.ts +71 -0
- package/src/signer/ckb/signerCkbPrivateKey.ts +2 -3
- package/src/signer/ckb/signerMultisigCkbReadonly.ts +5 -5
- package/src/signer/doge/signerDoge.ts +1 -1
- package/src/signer/evm/signerEvm.ts +2 -2
- package/src/signer/nostr/signerNostr.ts +1 -1
- package/dist/address.advanced-C5UrS2uk.mjs +0 -2
- package/dist/address.advanced-C5UrS2uk.mjs.map +0 -1
- package/dist/advancedBarrel-66JgvInl.d.mts.map +0 -1
- package/dist/barrel-yZm3ICzn.mjs +0 -7
- package/dist/barrel-yZm3ICzn.mjs.map +0 -1
- package/dist.commonjs/address.advanced-CQJ24Iei.js +0 -2
- package/dist.commonjs/address.advanced-CQJ24Iei.js.map +0 -1
- package/dist.commonjs/advancedBarrel-CiJnF8me.d.ts.map +0 -1
- package/dist.commonjs/barrel-CddEgDBp.js +0 -21
- package/dist.commonjs/barrel-CddEgDBp.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as CellDep, $i as
|
|
2
|
-
export { Address, AddressLike, Bytes, BytesLike, Cell, CellAny, CellAnyLike, CellDep, CellDepInfo, CellDepInfoLike, CellDepLike, CellDepVec, CellInput, CellInputLike, CellInputVec, CellLike, CellOutput, CellOutputLike, CellOutputVec, Client, ClientBlock, ClientBlockHeader, ClientBlockHeaderLike, ClientBlockLike, ClientBlockUncle, ClientBlockUncleLike, ClientCache, ClientCacheMemory, ClientFindCellsResponse, ClientFindTransactionsGroupedResponse, ClientFindTransactionsResponse, ClientIndexerSearchKey, ClientIndexerSearchKeyFilter, ClientIndexerSearchKeyFilterLike, ClientIndexerSearchKeyLike, ClientIndexerSearchKeyTransaction, ClientIndexerSearchKeyTransactionLike, ClientJsonRpc, ClientJsonRpcConfig, ClientPublicMainnet, ClientPublicTestnet, ClientTransactionResponse, ClientTransactionResponseLike, Codec, CodecBool, CodecByte, CodecByte16, CodecByte32, CodecByte4, CodecByte8, CodecBytes, CodecLike, CodecRaw, CodecUint128, CodecUint128BE, CodecUint128LE, CodecUint16, CodecUint16BE, CodecUint16LE, CodecUint256, CodecUint256BE, CodecUint256LE, CodecUint32, CodecUint32BE, CodecUint32LE, CodecUint512, CodecUint512BE, CodecUint512LE, CodecUint64, CodecUint64BE, CodecUint64LE, CodecUint8, Constructor, DecodedType, DepType, DepTypeCodec, DepTypeLike, EncodableType, Entity, Epoch, EpochLike, ErrorClientBase, ErrorClientBaseLike, ErrorClientDuplicatedTransaction, ErrorClientMaxFeeRateExceeded, ErrorClientRBFRejected, ErrorClientResolveUnknown, ErrorClientVerification, ErrorClientWaitTransactionTimeout, ErrorTransactionInsufficientCapacity, ErrorTransactionInsufficientCoin, FixedPoint, FixedPointLike, HASH_CKB_LENGTH, HASH_CKB_SHORT_LENGTH, HashType, HashTypeCodec, HashTypeLike, Hasher, HasherCkb, HasherKeecak256, Hex, HexLike, InputToSign, InputToSignLike, KnownScript, LumosTransactionSkeletonType, MultisigCkbWitness, MultisigCkbWitnessLike, NetworkPreference, NostrEvent, Num, NumLike, One, OutPoint, OutPointLike, OutputsValidator, RawTransaction, RequestorJsonRpc, RequestorJsonRpcConfig, SECP256K1_SIGNATURE_LENGTH, Script, ScriptInfo, ScriptInfoLike, ScriptLike, ScriptOpt, ScriptVec, SignPsbtOptions, SignPsbtOptionsLike, Signature, Signer, SignerAlwaysError, SignerBtc, SignerBtcPublicKeyReadonly, SignerCkbPrivateKey, SignerCkbPublicKey, SignerCkbScriptReadonly, SignerDoge, SignerDogeAddressReadonly, SignerDogePrivateKey, SignerDummy, SignerEvm, SignerEvmAddressReadonly, SignerInfo, SignerMultisig, SignerMultisigCkbPrivateKey, SignerMultisigCkbReadonly, SignerMultisigNotEnoughSignaturesError, SignerNostr, SignerNostrPrivateKey, SignerNostrPublicKeyReadonly, SignerOpenLink, SignerSignType, SignerType, Since, SinceLike, Transaction, TransactionLike, TransactionStatus, Wallet, WitnessArgs, WitnessArgsLike, Zero, apply, btcEcdsaPublicKeyHash, btcP2pkhAddressFromPublicKey, btcPublicKeyFromP2pkhAddress, btcVarLengthBytesFrom, buildNostrEventFromMessage, bytesConcat, bytesConcatTo, bytesEq, bytesFrom, bytesLen, bytesLenUnsafe, bytesTo, calcDaoClaimEpoch, calcDaoProfit, codec, codecPadding, codecUint, codecUintNumber, depTypeFrom, depTypeFromBytes, depTypeToBytes, epochFrom, epochFromHex, epochToHex, fixedPointFrom, fixedPointToString, gcd, hashCkb, hashCkbShort, hashTypeFrom, hashTypeFromBytes, hashTypeId, hashTypeToBytes, hexFrom, isDaoOutputLimitExceeded, isWebview, keystoreDecrypt, keystoreEncrypt, messageHashBtcEcdsa, messageHashCkbSecp256k1, messageHashDogeEcdsa, barrel_d_exports as mol, nostrEventHash, numBeFromBytes, numBeToBytes, numFrom, numFromBytes, numLeFromBytes, numLeToBytes, numMax, numMin, numToBytes, numToHex, recoverMessageSecp256k1, reduceAsync, signMessageSecp256k1, sleep, stringify, udtBalanceFrom, verifyMessageBtcEcdsa, verifyMessageCkbSecp256k1, verifyMessageDogeEcdsa, verifyMessageEvmPersonal, verifyMessageJoyId, verifyMessageNostrEvent, verifyMessageSecp256k1 };
|
|
1
|
+
import { $ as CellDep, $i as Address, $n as SignerCkbPublicKey, $r as CodecByte, $t as ClientFindCellsResponse, Ai as Constructor, An as verifyMessageNostrEvent, Ar as keystoreEncrypt, At as HashTypeCodec, B as ClientPublicTestnet, Bi as numBeToBytes, Bn as SignerDummy, Br as HASH_CKB_LENGTH, Bt as Epoch, Ci as CodecUint64LE, Cr as Wallet, Ct as depTypeFrom, Di as codecUintNumber, Dr as SignPsbtOptionsLike, Dt as udtBalanceFrom, Ei as codecUint, Er as SignPsbtOptions, Et as isDaoOutputLimitExceeded, Fi as sleep, Fn as verifyMessageEvmPersonal, Ft as ScriptVec, G as ClientCacheMemory, Gi as numMax, Gn as SignerDoge, Gr as Hasher, Gt as CellDepInfo, H as ClientJsonRpc, Hi as numFromBytes, Hn as verifyMessageDogeEcdsa, Hr as HasherCkb, Ht as epochFrom, Ii as stringify, In as SignerEvmAddressReadonly, It as hashTypeFrom, J as ErrorTransactionInsufficientCoin, Ji as numToHex, Jn as MultisigCkbWitness, Jr as One, Jt as ClientBlockHeader, K as ClientCache, Ki as numMin, Kn as verifyMessageJoyId, Kr as FixedPoint, Kt as CellDepInfoLike, Li as Num, Ln as SignerEvm, Lt as hashTypeFromBytes, Mi as gcd, Mn as SignerNostrPublicKeyReadonly, Mr as RequestorJsonRpcConfig, Mt as Script, Ni as isWebview, Nn as NostrEvent, Nt as ScriptLike, Oi as Entity, On as buildNostrEventFromMessage, Or as barrel_d_exports, Ot as LumosTransactionSkeletonType, Pi as reduceAsync, Pn as SignerNostr, Pt as ScriptOpt, Q as CellAnyLike, Qi as EncodableType, Qn as SignerCkbPrivateKey, Qr as CodecBool, Qt as ClientBlockUncleLike, Ri as NumLike, Rn as SignerOpenLink, Rt as hashTypeToBytes, Si as CodecUint64BE, Sr as SignerType, St as calcDaoProfit, Ti as codecPadding, Tr as InputToSignLike, Tt as depTypeToBytes, U as ClientJsonRpcConfig, Ui as numLeFromBytes, Un as SignerDogePrivateKey, Ur as hashCkb, Ut as epochFromHex, V as ClientPublicMainnet, Vi as numFrom, Vn as messageHashDogeEcdsa, Vr as HASH_CKB_SHORT_LENGTH, Vt as EpochLike, W as Client, Wi as numLeToBytes, Wn as SignerDogeAddressReadonly, Wr as hashCkbShort, Wt as epochToHex, X as Cell, Xi as CodecLike, Xn as SignerMultisigCkbReadonly, Xr as fixedPointFrom, Xt as ClientBlockLike, Y as hashTypeId, Yi as Codec, Yn as MultisigCkbWitnessLike, Yr as Zero, Yt as ClientBlockHeaderLike, Z as CellAny, Zi as DecodedType, Zn as SignerCkbScriptReadonly, Zr as fixedPointToString, Zt as ClientBlockUncle, _i as CodecUint32LE, _n as ErrorClientWaitTransactionTimeout, _r as Signer, _t as Transaction, aa as hexFrom, ai as CodecRaw, an as ClientIndexerSearchKeyLike, ar as verifyMessageCkbSecp256k1, at as CellLike, bi as CodecUint512LE, bn as ScriptInfoLike, br as SignerMultisigNotEnoughSignaturesError, bt as WitnessArgsLike, ca as bytesConcat, ci as CodecUint128LE, cn as ClientTransactionResponse, cr as btcP2pkhAddressFromPublicKey, ct as CellOutputVec, da as bytesFrom, di as CodecUint16LE, dn as ErrorClientBaseLike, dr as messageHashBtcEcdsa, dt as DepTypeLike, ea as AddressLike, ei as CodecByte16, en as ClientFindTransactionsGroupedResponse, er as SignerCkbAlwaysSuccess, et as CellDepLike, fa as bytesTo, fi as CodecUint256, fn as ErrorClientDuplicatedTransaction, fr as verifyMessageBtcEcdsa, ft as OutPoint, gi as CodecUint32BE, gn as ErrorClientVerification, gr as Signature, gt as SinceLike, hi as CodecUint32, hn as ErrorClientResolveUnknown, hr as NetworkPreference, ht as Since, ia as bytesLenUnsafe, ii as CodecBytes, in as ClientIndexerSearchKeyFilterLike, ir as signMessageSecp256k1, it as CellInputVec, ji as apply, jn as SignerNostrPrivateKey, jr as RequestorJsonRpc, jt as HashTypeLike, ki as codec, kn as nostrEventHash, kr as keystoreDecrypt, kt as HashType, la as bytesConcatTo, li as CodecUint16, ln as ClientTransactionResponseLike, lr as btcPublicKeyFromP2pkhAddress, lt as DepType, mi as CodecUint256LE, mn as ErrorClientRBFRejected, mr as SignerBtc, mt as RawTransaction, na as HexLike, ni as CodecByte4, nn as ClientIndexerSearchKey, nr as messageHashCkbSecp256k1, nt as CellInput, oa as Bytes, oi as CodecUint128, on as ClientIndexerSearchKeyTransaction, or as verifyMessageSecp256k1, ot as CellOutput, pi as CodecUint256BE, pn as ErrorClientMaxFeeRateExceeded, pr as SignerBtcPublicKeyReadonly, pt as OutPointLike, q as ErrorTransactionInsufficientCapacity, qi as numToBytes, qn as SignerMultisigCkbPrivateKey, qr as FixedPointLike, qt as ClientBlock, ra as bytesLen, ri as CodecByte8, rn as ClientIndexerSearchKeyFilter, rr as recoverMessageSecp256k1, rt as CellInputLike, sa as BytesLike, si as CodecUint128BE, sn as ClientIndexerSearchKeyTransactionLike, sr as btcEcdsaPublicKeyHash, st as CellOutputLike, ta as Hex, ti as CodecByte32, tn as ClientFindTransactionsResponse, tr as SECP256K1_SIGNATURE_LENGTH, tt as CellDepVec, ua as bytesEq, ui as CodecUint16BE, un as ErrorClientBase, ur as btcVarLengthBytesFrom, ut as DepTypeCodec, vi as CodecUint512, vn as OutputsValidator, vr as SignerInfo, vt as TransactionLike, wi as CodecUint8, wr as InputToSign, wt as depTypeFromBytes, xi as CodecUint64, xn as TransactionStatus, xr as SignerSignType, xt as calcDaoClaimEpoch, yi as CodecUint512BE, yn as ScriptInfo, yr as SignerMultisig, yt as WitnessArgs, zi as numBeFromBytes, zn as SignerAlwaysError, zr as HasherKeecak256, zt as KnownScript } from "./advancedBarrel-CJAh6sm8.js";
|
|
2
|
+
export { Address, AddressLike, Bytes, BytesLike, Cell, CellAny, CellAnyLike, CellDep, CellDepInfo, CellDepInfoLike, CellDepLike, CellDepVec, CellInput, CellInputLike, CellInputVec, CellLike, CellOutput, CellOutputLike, CellOutputVec, Client, ClientBlock, ClientBlockHeader, ClientBlockHeaderLike, ClientBlockLike, ClientBlockUncle, ClientBlockUncleLike, ClientCache, ClientCacheMemory, ClientFindCellsResponse, ClientFindTransactionsGroupedResponse, ClientFindTransactionsResponse, ClientIndexerSearchKey, ClientIndexerSearchKeyFilter, ClientIndexerSearchKeyFilterLike, ClientIndexerSearchKeyLike, ClientIndexerSearchKeyTransaction, ClientIndexerSearchKeyTransactionLike, ClientJsonRpc, ClientJsonRpcConfig, ClientPublicMainnet, ClientPublicTestnet, ClientTransactionResponse, ClientTransactionResponseLike, Codec, CodecBool, CodecByte, CodecByte16, CodecByte32, CodecByte4, CodecByte8, CodecBytes, CodecLike, CodecRaw, CodecUint128, CodecUint128BE, CodecUint128LE, CodecUint16, CodecUint16BE, CodecUint16LE, CodecUint256, CodecUint256BE, CodecUint256LE, CodecUint32, CodecUint32BE, CodecUint32LE, CodecUint512, CodecUint512BE, CodecUint512LE, CodecUint64, CodecUint64BE, CodecUint64LE, CodecUint8, Constructor, DecodedType, DepType, DepTypeCodec, DepTypeLike, EncodableType, Entity, Epoch, EpochLike, ErrorClientBase, ErrorClientBaseLike, ErrorClientDuplicatedTransaction, ErrorClientMaxFeeRateExceeded, ErrorClientRBFRejected, ErrorClientResolveUnknown, ErrorClientVerification, ErrorClientWaitTransactionTimeout, ErrorTransactionInsufficientCapacity, ErrorTransactionInsufficientCoin, FixedPoint, FixedPointLike, HASH_CKB_LENGTH, HASH_CKB_SHORT_LENGTH, HashType, HashTypeCodec, HashTypeLike, Hasher, HasherCkb, HasherKeecak256, Hex, HexLike, InputToSign, InputToSignLike, KnownScript, LumosTransactionSkeletonType, MultisigCkbWitness, MultisigCkbWitnessLike, NetworkPreference, NostrEvent, Num, NumLike, One, OutPoint, OutPointLike, OutputsValidator, RawTransaction, RequestorJsonRpc, RequestorJsonRpcConfig, SECP256K1_SIGNATURE_LENGTH, Script, ScriptInfo, ScriptInfoLike, ScriptLike, ScriptOpt, ScriptVec, SignPsbtOptions, SignPsbtOptionsLike, Signature, Signer, SignerAlwaysError, SignerBtc, SignerBtcPublicKeyReadonly, SignerCkbAlwaysSuccess, SignerCkbPrivateKey, SignerCkbPublicKey, SignerCkbScriptReadonly, SignerDoge, SignerDogeAddressReadonly, SignerDogePrivateKey, SignerDummy, SignerEvm, SignerEvmAddressReadonly, SignerInfo, SignerMultisig, SignerMultisigCkbPrivateKey, SignerMultisigCkbReadonly, SignerMultisigNotEnoughSignaturesError, SignerNostr, SignerNostrPrivateKey, SignerNostrPublicKeyReadonly, SignerOpenLink, SignerSignType, SignerType, Since, SinceLike, Transaction, TransactionLike, TransactionStatus, Wallet, WitnessArgs, WitnessArgsLike, Zero, apply, btcEcdsaPublicKeyHash, btcP2pkhAddressFromPublicKey, btcPublicKeyFromP2pkhAddress, btcVarLengthBytesFrom, buildNostrEventFromMessage, bytesConcat, bytesConcatTo, bytesEq, bytesFrom, bytesLen, bytesLenUnsafe, bytesTo, calcDaoClaimEpoch, calcDaoProfit, codec, codecPadding, codecUint, codecUintNumber, depTypeFrom, depTypeFromBytes, depTypeToBytes, epochFrom, epochFromHex, epochToHex, fixedPointFrom, fixedPointToString, gcd, hashCkb, hashCkbShort, hashTypeFrom, hashTypeFromBytes, hashTypeId, hashTypeToBytes, hexFrom, isDaoOutputLimitExceeded, isWebview, keystoreDecrypt, keystoreEncrypt, messageHashBtcEcdsa, messageHashCkbSecp256k1, messageHashDogeEcdsa, barrel_d_exports as mol, nostrEventHash, numBeFromBytes, numBeToBytes, numFrom, numFromBytes, numLeFromBytes, numLeToBytes, numMax, numMin, numToBytes, numToHex, recoverMessageSecp256k1, reduceAsync, signMessageSecp256k1, sleep, stringify, udtBalanceFrom, verifyMessageBtcEcdsa, verifyMessageCkbSecp256k1, verifyMessageDogeEcdsa, verifyMessageEvmPersonal, verifyMessageJoyId, verifyMessageNostrEvent, verifyMessageSecp256k1 };
|
package/dist.commonjs/barrel.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./address.advanced-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./address.advanced-DG1gpW7t.js"),t=require("./barrel-CbH8-KWr.js");exports.Address=t.Q,exports.Bytes=e.qr,exports.Cell=e.a,exports.CellAny=e.o,Object.defineProperty(exports,"CellDep",{enumerable:!0,get:function(){return e.s}}),exports.CellDepInfo=e.nt,exports.CellDepVec=e.c,Object.defineProperty(exports,"CellInput",{enumerable:!0,get:function(){return e.l}}),exports.CellInputVec=e.u,Object.defineProperty(exports,"CellOutput",{enumerable:!0,get:function(){return e.d}}),exports.CellOutputVec=e.f,exports.Client=t.it,exports.ClientBlock=e.rt,exports.ClientBlockHeader=e.it,exports.ClientBlockUncle=e.at,exports.ClientCache=t.ot,exports.ClientCacheMemory=t.at,exports.ClientIndexerSearchKey=e.ot,exports.ClientIndexerSearchKeyFilter=e.st,exports.ClientIndexerSearchKeyTransaction=e.ct,exports.ClientJsonRpc=t.nt,exports.ClientPublicMainnet=t.tt,exports.ClientPublicTestnet=t.et,exports.ClientTransactionResponse=e.lt,exports.Codec=e.Kr,exports.CodecBool=e.yn,exports.CodecByte=e.bn,exports.CodecByte16=e.xn,exports.CodecByte32=e.Sn,exports.CodecByte4=e.Cn,exports.CodecByte8=e.wn,exports.CodecBytes=e.Tn,exports.CodecRaw=e.En,exports.CodecUint128=e.Dn,exports.CodecUint128BE=e.On,exports.CodecUint128LE=e.kn,exports.CodecUint16=e.An,exports.CodecUint16BE=e.jn,exports.CodecUint16LE=e.Mn,exports.CodecUint256=e.Nn,exports.CodecUint256BE=e.Pn,exports.CodecUint256LE=e.Fn,exports.CodecUint32=e.In,exports.CodecUint32BE=e.Ln,exports.CodecUint32LE=e.Rn,exports.CodecUint512=e.zn,exports.CodecUint512BE=e.Bn,exports.CodecUint512LE=e.Vn,exports.CodecUint64=e.Hn,exports.CodecUint64BE=e.Un,exports.CodecUint64LE=e.Wn,exports.CodecUint8=e.Gn,exports.DepTypeCodec=e.p,exports.Entity=e.lr,Object.defineProperty(exports,"Epoch",{enumerable:!0,get:function(){return e.xt}}),exports.ErrorClientBase=e.ut,exports.ErrorClientDuplicatedTransaction=e.dt,exports.ErrorClientMaxFeeRateExceeded=e.ft,exports.ErrorClientRBFRejected=e.pt,exports.ErrorClientResolveUnknown=e.mt,exports.ErrorClientVerification=e.ht,exports.ErrorClientWaitTransactionTimeout=e.gt,exports.ErrorTransactionInsufficientCapacity=e.E,exports.ErrorTransactionInsufficientCoin=e.D,exports.HASH_CKB_LENGTH=e.dr,exports.HASH_CKB_SHORT_LENGTH=e.fr,exports.HashTypeCodec=e.j,exports.HasherCkb=e.pr,exports.HasherKeecak256=t.ct,exports.InputToSign=t.J,exports.KnownScript=e.J,Object.defineProperty(exports,"MultisigCkbWitness",{enumerable:!0,get:function(){return t.m}}),exports.One=e.ar,Object.defineProperty(exports,"OutPoint",{enumerable:!0,get:function(){return e.m}}),exports.RawTransaction=e.h,exports.RequestorJsonRpc=t.rt,exports.SECP256K1_SIGNATURE_LENGTH=t.I,Object.defineProperty(exports,"Script",{enumerable:!0,get:function(){return e.M}}),exports.ScriptInfo=e._t,exports.ScriptOpt=e.N,exports.ScriptVec=e.P,exports.SignPsbtOptions=t.Y,exports.Signature=t.S,exports.Signer=t.C,exports.SignerAlwaysError=t.c,exports.SignerBtc=t.x,exports.SignerBtcPublicKeyReadonly=t.b,exports.SignerCkbAlwaysSuccess=t.y,exports.SignerCkbPrivateKey=t._,exports.SignerCkbPublicKey=t.v,exports.SignerCkbScriptReadonly=t.g,exports.SignerDoge=t.f,exports.SignerDogeAddressReadonly=t.d,exports.SignerDogePrivateKey=t.u,exports.SignerDummy=t.l,exports.SignerEvm=t.o,exports.SignerEvmAddressReadonly=t.a,exports.SignerInfo=t.w,exports.SignerMultisig=t.T,exports.SignerMultisigCkbPrivateKey=t.p,exports.SignerMultisigCkbReadonly=t.h,exports.SignerMultisigNotEnoughSignaturesError=t.E,exports.SignerNostr=t.i,exports.SignerNostrPrivateKey=t.n,exports.SignerNostrPublicKeyReadonly=t.r,exports.SignerOpenLink=t.s,exports.SignerSignType=t.D,exports.SignerType=t.O,Object.defineProperty(exports,"Since",{enumerable:!0,get:function(){return e.g}}),Object.defineProperty(exports,"Transaction",{enumerable:!0,get:function(){return e._}}),Object.defineProperty(exports,"WitnessArgs",{enumerable:!0,get:function(){return e.v}}),exports.Zero=e.or,exports.apply=e.Et,exports.btcEcdsaPublicKeyHash=t.H,exports.btcP2pkhAddressFromPublicKey=t.U,exports.btcPublicKeyFromP2pkhAddress=t.W,exports.btcVarLengthBytesFrom=t.G,exports.buildNostrEventFromMessage=t.k,exports.bytesConcat=e.Jr,exports.bytesConcatTo=e.Yr,exports.bytesEq=e.Xr,exports.bytesFrom=e.Zr,exports.bytesLen=e._r,exports.bytesLenUnsafe=e.vr,exports.bytesTo=e.Qr,exports.calcDaoClaimEpoch=e.y,exports.calcDaoProfit=e.b,exports.codec=e.ur,exports.codecPadding=e.Kn,exports.codecUint=e.qn,exports.codecUintNumber=e.Jn,exports.depTypeFrom=e.x,exports.depTypeFromBytes=e.S,exports.depTypeToBytes=e.C,exports.epochFrom=e.St,exports.epochFromHex=e.Ct,exports.epochToHex=e.wt,exports.fixedPointFrom=e.sr,exports.fixedPointToString=e.cr,exports.gcd=e.Dt,exports.hashCkb=e.mr,exports.hashCkbShort=e.hr,exports.hashTypeFrom=e.F,exports.hashTypeFromBytes=e.I,exports.hashTypeId=t.$,exports.hashTypeToBytes=e.L,exports.hexFrom=e.yr,exports.isDaoOutputLimitExceeded=e.w,exports.isWebview=e.Ot,exports.keystoreDecrypt=t.X,exports.keystoreEncrypt=t.Z,exports.messageHashBtcEcdsa=t.K,exports.messageHashCkbSecp256k1=t.L,exports.messageHashDogeEcdsa=t.N,Object.defineProperty(exports,"mol",{enumerable:!0,get:function(){return t.st}}),exports.nostrEventHash=t.A,exports.numBeFromBytes=e.Yn,exports.numBeToBytes=e.Xn,exports.numFrom=e.Zn,exports.numFromBytes=e.Qn,exports.numLeFromBytes=e.$n,exports.numLeToBytes=e.er,exports.numMax=e.tr,exports.numMin=e.nr,exports.numToBytes=e.rr,exports.numToHex=e.ir,exports.recoverMessageSecp256k1=t.R,exports.reduceAsync=e.kt,exports.signMessageSecp256k1=t.z,exports.sleep=e.At,exports.stringify=e.jt,exports.udtBalanceFrom=e.T,exports.verifyMessageBtcEcdsa=t.q,exports.verifyMessageCkbSecp256k1=t.B,exports.verifyMessageDogeEcdsa=t.P,exports.verifyMessageEvmPersonal=t.M,exports.verifyMessageJoyId=t.F,exports.verifyMessageNostrEvent=t.j,exports.verifyMessageSecp256k1=t.V;
|
package/dist.commonjs/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as CellDep, $i as
|
|
2
|
-
export { Address, AddressLike, Bytes, BytesLike, Cell, CellAny, CellAnyLike, CellDep, CellDepInfo, CellDepInfoLike, CellDepLike, CellDepVec, CellInput, CellInputLike, CellInputVec, CellLike, CellOutput, CellOutputLike, CellOutputVec, Client, ClientBlock, ClientBlockHeader, ClientBlockHeaderLike, ClientBlockLike, ClientBlockUncle, ClientBlockUncleLike, ClientCache, ClientCacheMemory, ClientFindCellsResponse, ClientFindTransactionsGroupedResponse, ClientFindTransactionsResponse, ClientIndexerSearchKey, ClientIndexerSearchKeyFilter, ClientIndexerSearchKeyFilterLike, ClientIndexerSearchKeyLike, ClientIndexerSearchKeyTransaction, ClientIndexerSearchKeyTransactionLike, ClientJsonRpc, ClientJsonRpcConfig, ClientPublicMainnet, ClientPublicTestnet, ClientTransactionResponse, ClientTransactionResponseLike, Codec, CodecBool, CodecByte, CodecByte16, CodecByte32, CodecByte4, CodecByte8, CodecBytes, CodecLike, CodecRaw, CodecUint128, CodecUint128BE, CodecUint128LE, CodecUint16, CodecUint16BE, CodecUint16LE, CodecUint256, CodecUint256BE, CodecUint256LE, CodecUint32, CodecUint32BE, CodecUint32LE, CodecUint512, CodecUint512BE, CodecUint512LE, CodecUint64, CodecUint64BE, CodecUint64LE, CodecUint8, Constructor, DecodedType, DepType, DepTypeCodec, DepTypeLike, EncodableType, Entity, Epoch, EpochLike, ErrorClientBase, ErrorClientBaseLike, ErrorClientDuplicatedTransaction, ErrorClientMaxFeeRateExceeded, ErrorClientRBFRejected, ErrorClientResolveUnknown, ErrorClientVerification, ErrorClientWaitTransactionTimeout, ErrorTransactionInsufficientCapacity, ErrorTransactionInsufficientCoin, FixedPoint, FixedPointLike, HASH_CKB_LENGTH, HASH_CKB_SHORT_LENGTH, HashType, HashTypeCodec, HashTypeLike, Hasher, HasherCkb, HasherKeecak256, Hex, HexLike, InputToSign, InputToSignLike, KnownScript, LumosTransactionSkeletonType, MultisigCkbWitness, MultisigCkbWitnessLike, NetworkPreference, NostrEvent, Num, NumLike, One, OutPoint, OutPointLike, OutputsValidator, RawTransaction, RequestorJsonRpc, RequestorJsonRpcConfig, SECP256K1_SIGNATURE_LENGTH, Script, ScriptInfo, ScriptInfoLike, ScriptLike, ScriptOpt, ScriptVec, SignPsbtOptions, SignPsbtOptionsLike, Signature, Signer, SignerAlwaysError, SignerBtc, SignerBtcPublicKeyReadonly, SignerCkbPrivateKey, SignerCkbPublicKey, SignerCkbScriptReadonly, SignerDoge, SignerDogeAddressReadonly, SignerDogePrivateKey, SignerDummy, SignerEvm, SignerEvmAddressReadonly, SignerInfo, SignerMultisig, SignerMultisigCkbPrivateKey, SignerMultisigCkbReadonly, SignerMultisigNotEnoughSignaturesError, SignerNostr, SignerNostrPrivateKey, SignerNostrPublicKeyReadonly, SignerOpenLink, SignerSignType, SignerType, Since, SinceLike, Transaction, TransactionLike, TransactionStatus, Wallet, WitnessArgs, WitnessArgsLike, Zero, apply, btcEcdsaPublicKeyHash, btcP2pkhAddressFromPublicKey, btcPublicKeyFromP2pkhAddress, btcVarLengthBytesFrom, buildNostrEventFromMessage, bytesConcat, bytesConcatTo, bytesEq, bytesFrom, bytesLen, bytesLenUnsafe, bytesTo, calcDaoClaimEpoch, calcDaoProfit, barrel_d_exports as ccc, codec, codecPadding, codecUint, codecUintNumber, depTypeFrom, depTypeFromBytes, depTypeToBytes, epochFrom, epochFromHex, epochToHex, fixedPointFrom, fixedPointToString, gcd, hashCkb, hashCkbShort, hashTypeFrom, hashTypeFromBytes, hashTypeId, hashTypeToBytes, hexFrom, isDaoOutputLimitExceeded, isWebview, keystoreDecrypt, keystoreEncrypt, messageHashBtcEcdsa, messageHashCkbSecp256k1, messageHashDogeEcdsa, barrel_d_exports$1 as mol, nostrEventHash, numBeFromBytes, numBeToBytes, numFrom, numFromBytes, numLeFromBytes, numLeToBytes, numMax, numMin, numToBytes, numToHex, recoverMessageSecp256k1, reduceAsync, signMessageSecp256k1, sleep, stringify, udtBalanceFrom, verifyMessageBtcEcdsa, verifyMessageCkbSecp256k1, verifyMessageDogeEcdsa, verifyMessageEvmPersonal, verifyMessageJoyId, verifyMessageNostrEvent, verifyMessageSecp256k1 };
|
|
1
|
+
import { $ as CellDep, $i as Address, $n as SignerCkbPublicKey, $r as CodecByte, $t as ClientFindCellsResponse, Ai as Constructor, An as verifyMessageNostrEvent, Ar as keystoreEncrypt, At as HashTypeCodec, B as ClientPublicTestnet, Bi as numBeToBytes, Bn as SignerDummy, Br as HASH_CKB_LENGTH, Bt as Epoch, Ci as CodecUint64LE, Cr as Wallet, Ct as depTypeFrom, Di as codecUintNumber, Dn as barrel_d_exports, Dr as SignPsbtOptionsLike, Dt as udtBalanceFrom, Ei as codecUint, Er as SignPsbtOptions, Et as isDaoOutputLimitExceeded, Fi as sleep, Fn as verifyMessageEvmPersonal, Ft as ScriptVec, G as ClientCacheMemory, Gi as numMax, Gn as SignerDoge, Gr as Hasher, Gt as CellDepInfo, H as ClientJsonRpc, Hi as numFromBytes, Hn as verifyMessageDogeEcdsa, Hr as HasherCkb, Ht as epochFrom, Ii as stringify, In as SignerEvmAddressReadonly, It as hashTypeFrom, J as ErrorTransactionInsufficientCoin, Ji as numToHex, Jn as MultisigCkbWitness, Jr as One, Jt as ClientBlockHeader, K as ClientCache, Ki as numMin, Kn as verifyMessageJoyId, Kr as FixedPoint, Kt as CellDepInfoLike, Li as Num, Ln as SignerEvm, Lt as hashTypeFromBytes, Mi as gcd, Mn as SignerNostrPublicKeyReadonly, Mr as RequestorJsonRpcConfig, Mt as Script, Ni as isWebview, Nn as NostrEvent, Nt as ScriptLike, Oi as Entity, On as buildNostrEventFromMessage, Or as barrel_d_exports$1, Ot as LumosTransactionSkeletonType, Pi as reduceAsync, Pn as SignerNostr, Pt as ScriptOpt, Q as CellAnyLike, Qi as EncodableType, Qn as SignerCkbPrivateKey, Qr as CodecBool, Qt as ClientBlockUncleLike, Ri as NumLike, Rn as SignerOpenLink, Rt as hashTypeToBytes, Si as CodecUint64BE, Sr as SignerType, St as calcDaoProfit, Ti as codecPadding, Tr as InputToSignLike, Tt as depTypeToBytes, U as ClientJsonRpcConfig, Ui as numLeFromBytes, Un as SignerDogePrivateKey, Ur as hashCkb, Ut as epochFromHex, V as ClientPublicMainnet, Vi as numFrom, Vn as messageHashDogeEcdsa, Vr as HASH_CKB_SHORT_LENGTH, Vt as EpochLike, W as Client, Wi as numLeToBytes, Wn as SignerDogeAddressReadonly, Wr as hashCkbShort, Wt as epochToHex, X as Cell, Xi as CodecLike, Xn as SignerMultisigCkbReadonly, Xr as fixedPointFrom, Xt as ClientBlockLike, Y as hashTypeId, Yi as Codec, Yn as MultisigCkbWitnessLike, Yr as Zero, Yt as ClientBlockHeaderLike, Z as CellAny, Zi as DecodedType, Zn as SignerCkbScriptReadonly, Zr as fixedPointToString, Zt as ClientBlockUncle, _i as CodecUint32LE, _n as ErrorClientWaitTransactionTimeout, _r as Signer, _t as Transaction, aa as hexFrom, ai as CodecRaw, an as ClientIndexerSearchKeyLike, ar as verifyMessageCkbSecp256k1, at as CellLike, bi as CodecUint512LE, bn as ScriptInfoLike, br as SignerMultisigNotEnoughSignaturesError, bt as WitnessArgsLike, ca as bytesConcat, ci as CodecUint128LE, cn as ClientTransactionResponse, cr as btcP2pkhAddressFromPublicKey, ct as CellOutputVec, da as bytesFrom, di as CodecUint16LE, dn as ErrorClientBaseLike, dr as messageHashBtcEcdsa, dt as DepTypeLike, ea as AddressLike, ei as CodecByte16, en as ClientFindTransactionsGroupedResponse, er as SignerCkbAlwaysSuccess, et as CellDepLike, fa as bytesTo, fi as CodecUint256, fn as ErrorClientDuplicatedTransaction, fr as verifyMessageBtcEcdsa, ft as OutPoint, gi as CodecUint32BE, gn as ErrorClientVerification, gr as Signature, gt as SinceLike, hi as CodecUint32, hn as ErrorClientResolveUnknown, hr as NetworkPreference, ht as Since, ia as bytesLenUnsafe, ii as CodecBytes, in as ClientIndexerSearchKeyFilterLike, ir as signMessageSecp256k1, it as CellInputVec, ji as apply, jn as SignerNostrPrivateKey, jr as RequestorJsonRpc, jt as HashTypeLike, ki as codec, kn as nostrEventHash, kr as keystoreDecrypt, kt as HashType, la as bytesConcatTo, li as CodecUint16, ln as ClientTransactionResponseLike, lr as btcPublicKeyFromP2pkhAddress, lt as DepType, mi as CodecUint256LE, mn as ErrorClientRBFRejected, mr as SignerBtc, mt as RawTransaction, na as HexLike, ni as CodecByte4, nn as ClientIndexerSearchKey, nr as messageHashCkbSecp256k1, nt as CellInput, oa as Bytes, oi as CodecUint128, on as ClientIndexerSearchKeyTransaction, or as verifyMessageSecp256k1, ot as CellOutput, pi as CodecUint256BE, pn as ErrorClientMaxFeeRateExceeded, pr as SignerBtcPublicKeyReadonly, pt as OutPointLike, q as ErrorTransactionInsufficientCapacity, qi as numToBytes, qn as SignerMultisigCkbPrivateKey, qr as FixedPointLike, qt as ClientBlock, ra as bytesLen, ri as CodecByte8, rn as ClientIndexerSearchKeyFilter, rr as recoverMessageSecp256k1, rt as CellInputLike, sa as BytesLike, si as CodecUint128BE, sn as ClientIndexerSearchKeyTransactionLike, sr as btcEcdsaPublicKeyHash, st as CellOutputLike, ta as Hex, ti as CodecByte32, tn as ClientFindTransactionsResponse, tr as SECP256K1_SIGNATURE_LENGTH, tt as CellDepVec, ua as bytesEq, ui as CodecUint16BE, un as ErrorClientBase, ur as btcVarLengthBytesFrom, ut as DepTypeCodec, vi as CodecUint512, vn as OutputsValidator, vr as SignerInfo, vt as TransactionLike, wi as CodecUint8, wr as InputToSign, wt as depTypeFromBytes, xi as CodecUint64, xn as TransactionStatus, xr as SignerSignType, xt as calcDaoClaimEpoch, yi as CodecUint512BE, yn as ScriptInfo, yr as SignerMultisig, yt as WitnessArgs, zi as numBeFromBytes, zn as SignerAlwaysError, zr as HasherKeecak256, zt as KnownScript } from "./advancedBarrel-CJAh6sm8.js";
|
|
2
|
+
export { Address, AddressLike, Bytes, BytesLike, Cell, CellAny, CellAnyLike, CellDep, CellDepInfo, CellDepInfoLike, CellDepLike, CellDepVec, CellInput, CellInputLike, CellInputVec, CellLike, CellOutput, CellOutputLike, CellOutputVec, Client, ClientBlock, ClientBlockHeader, ClientBlockHeaderLike, ClientBlockLike, ClientBlockUncle, ClientBlockUncleLike, ClientCache, ClientCacheMemory, ClientFindCellsResponse, ClientFindTransactionsGroupedResponse, ClientFindTransactionsResponse, ClientIndexerSearchKey, ClientIndexerSearchKeyFilter, ClientIndexerSearchKeyFilterLike, ClientIndexerSearchKeyLike, ClientIndexerSearchKeyTransaction, ClientIndexerSearchKeyTransactionLike, ClientJsonRpc, ClientJsonRpcConfig, ClientPublicMainnet, ClientPublicTestnet, ClientTransactionResponse, ClientTransactionResponseLike, Codec, CodecBool, CodecByte, CodecByte16, CodecByte32, CodecByte4, CodecByte8, CodecBytes, CodecLike, CodecRaw, CodecUint128, CodecUint128BE, CodecUint128LE, CodecUint16, CodecUint16BE, CodecUint16LE, CodecUint256, CodecUint256BE, CodecUint256LE, CodecUint32, CodecUint32BE, CodecUint32LE, CodecUint512, CodecUint512BE, CodecUint512LE, CodecUint64, CodecUint64BE, CodecUint64LE, CodecUint8, Constructor, DecodedType, DepType, DepTypeCodec, DepTypeLike, EncodableType, Entity, Epoch, EpochLike, ErrorClientBase, ErrorClientBaseLike, ErrorClientDuplicatedTransaction, ErrorClientMaxFeeRateExceeded, ErrorClientRBFRejected, ErrorClientResolveUnknown, ErrorClientVerification, ErrorClientWaitTransactionTimeout, ErrorTransactionInsufficientCapacity, ErrorTransactionInsufficientCoin, FixedPoint, FixedPointLike, HASH_CKB_LENGTH, HASH_CKB_SHORT_LENGTH, HashType, HashTypeCodec, HashTypeLike, Hasher, HasherCkb, HasherKeecak256, Hex, HexLike, InputToSign, InputToSignLike, KnownScript, LumosTransactionSkeletonType, MultisigCkbWitness, MultisigCkbWitnessLike, NetworkPreference, NostrEvent, Num, NumLike, One, OutPoint, OutPointLike, OutputsValidator, RawTransaction, RequestorJsonRpc, RequestorJsonRpcConfig, SECP256K1_SIGNATURE_LENGTH, Script, ScriptInfo, ScriptInfoLike, ScriptLike, ScriptOpt, ScriptVec, SignPsbtOptions, SignPsbtOptionsLike, Signature, Signer, SignerAlwaysError, SignerBtc, SignerBtcPublicKeyReadonly, SignerCkbAlwaysSuccess, SignerCkbPrivateKey, SignerCkbPublicKey, SignerCkbScriptReadonly, SignerDoge, SignerDogeAddressReadonly, SignerDogePrivateKey, SignerDummy, SignerEvm, SignerEvmAddressReadonly, SignerInfo, SignerMultisig, SignerMultisigCkbPrivateKey, SignerMultisigCkbReadonly, SignerMultisigNotEnoughSignaturesError, SignerNostr, SignerNostrPrivateKey, SignerNostrPublicKeyReadonly, SignerOpenLink, SignerSignType, SignerType, Since, SinceLike, Transaction, TransactionLike, TransactionStatus, Wallet, WitnessArgs, WitnessArgsLike, Zero, apply, btcEcdsaPublicKeyHash, btcP2pkhAddressFromPublicKey, btcPublicKeyFromP2pkhAddress, btcVarLengthBytesFrom, buildNostrEventFromMessage, bytesConcat, bytesConcatTo, bytesEq, bytesFrom, bytesLen, bytesLenUnsafe, bytesTo, calcDaoClaimEpoch, calcDaoProfit, barrel_d_exports as ccc, codec, codecPadding, codecUint, codecUintNumber, depTypeFrom, depTypeFromBytes, depTypeToBytes, epochFrom, epochFromHex, epochToHex, fixedPointFrom, fixedPointToString, gcd, hashCkb, hashCkbShort, hashTypeFrom, hashTypeFromBytes, hashTypeId, hashTypeToBytes, hexFrom, isDaoOutputLimitExceeded, isWebview, keystoreDecrypt, keystoreEncrypt, messageHashBtcEcdsa, messageHashCkbSecp256k1, messageHashDogeEcdsa, barrel_d_exports$1 as mol, nostrEventHash, numBeFromBytes, numBeToBytes, numFrom, numFromBytes, numLeFromBytes, numLeToBytes, numMax, numMin, numToBytes, numToHex, recoverMessageSecp256k1, reduceAsync, signMessageSecp256k1, sleep, stringify, udtBalanceFrom, verifyMessageBtcEcdsa, verifyMessageCkbSecp256k1, verifyMessageDogeEcdsa, verifyMessageEvmPersonal, verifyMessageJoyId, verifyMessageNostrEvent, verifyMessageSecp256k1 };
|
package/dist.commonjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./address.advanced-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./address.advanced-DG1gpW7t.js"),t=require("./barrel-CbH8-KWr.js");exports.Address=t.Q,exports.Bytes=e.qr,exports.Cell=e.a,exports.CellAny=e.o,Object.defineProperty(exports,"CellDep",{enumerable:!0,get:function(){return e.s}}),exports.CellDepInfo=e.nt,exports.CellDepVec=e.c,Object.defineProperty(exports,"CellInput",{enumerable:!0,get:function(){return e.l}}),exports.CellInputVec=e.u,Object.defineProperty(exports,"CellOutput",{enumerable:!0,get:function(){return e.d}}),exports.CellOutputVec=e.f,exports.Client=t.it,exports.ClientBlock=e.rt,exports.ClientBlockHeader=e.it,exports.ClientBlockUncle=e.at,exports.ClientCache=t.ot,exports.ClientCacheMemory=t.at,exports.ClientIndexerSearchKey=e.ot,exports.ClientIndexerSearchKeyFilter=e.st,exports.ClientIndexerSearchKeyTransaction=e.ct,exports.ClientJsonRpc=t.nt,exports.ClientPublicMainnet=t.tt,exports.ClientPublicTestnet=t.et,exports.ClientTransactionResponse=e.lt,exports.Codec=e.Kr,exports.CodecBool=e.yn,exports.CodecByte=e.bn,exports.CodecByte16=e.xn,exports.CodecByte32=e.Sn,exports.CodecByte4=e.Cn,exports.CodecByte8=e.wn,exports.CodecBytes=e.Tn,exports.CodecRaw=e.En,exports.CodecUint128=e.Dn,exports.CodecUint128BE=e.On,exports.CodecUint128LE=e.kn,exports.CodecUint16=e.An,exports.CodecUint16BE=e.jn,exports.CodecUint16LE=e.Mn,exports.CodecUint256=e.Nn,exports.CodecUint256BE=e.Pn,exports.CodecUint256LE=e.Fn,exports.CodecUint32=e.In,exports.CodecUint32BE=e.Ln,exports.CodecUint32LE=e.Rn,exports.CodecUint512=e.zn,exports.CodecUint512BE=e.Bn,exports.CodecUint512LE=e.Vn,exports.CodecUint64=e.Hn,exports.CodecUint64BE=e.Un,exports.CodecUint64LE=e.Wn,exports.CodecUint8=e.Gn,exports.DepTypeCodec=e.p,exports.Entity=e.lr,Object.defineProperty(exports,"Epoch",{enumerable:!0,get:function(){return e.xt}}),exports.ErrorClientBase=e.ut,exports.ErrorClientDuplicatedTransaction=e.dt,exports.ErrorClientMaxFeeRateExceeded=e.ft,exports.ErrorClientRBFRejected=e.pt,exports.ErrorClientResolveUnknown=e.mt,exports.ErrorClientVerification=e.ht,exports.ErrorClientWaitTransactionTimeout=e.gt,exports.ErrorTransactionInsufficientCapacity=e.E,exports.ErrorTransactionInsufficientCoin=e.D,exports.HASH_CKB_LENGTH=e.dr,exports.HASH_CKB_SHORT_LENGTH=e.fr,exports.HashTypeCodec=e.j,exports.HasherCkb=e.pr,exports.HasherKeecak256=t.ct,exports.InputToSign=t.J,exports.KnownScript=e.J,Object.defineProperty(exports,"MultisigCkbWitness",{enumerable:!0,get:function(){return t.m}}),exports.One=e.ar,Object.defineProperty(exports,"OutPoint",{enumerable:!0,get:function(){return e.m}}),exports.RawTransaction=e.h,exports.RequestorJsonRpc=t.rt,exports.SECP256K1_SIGNATURE_LENGTH=t.I,Object.defineProperty(exports,"Script",{enumerable:!0,get:function(){return e.M}}),exports.ScriptInfo=e._t,exports.ScriptOpt=e.N,exports.ScriptVec=e.P,exports.SignPsbtOptions=t.Y,exports.Signature=t.S,exports.Signer=t.C,exports.SignerAlwaysError=t.c,exports.SignerBtc=t.x,exports.SignerBtcPublicKeyReadonly=t.b,exports.SignerCkbAlwaysSuccess=t.y,exports.SignerCkbPrivateKey=t._,exports.SignerCkbPublicKey=t.v,exports.SignerCkbScriptReadonly=t.g,exports.SignerDoge=t.f,exports.SignerDogeAddressReadonly=t.d,exports.SignerDogePrivateKey=t.u,exports.SignerDummy=t.l,exports.SignerEvm=t.o,exports.SignerEvmAddressReadonly=t.a,exports.SignerInfo=t.w,exports.SignerMultisig=t.T,exports.SignerMultisigCkbPrivateKey=t.p,exports.SignerMultisigCkbReadonly=t.h,exports.SignerMultisigNotEnoughSignaturesError=t.E,exports.SignerNostr=t.i,exports.SignerNostrPrivateKey=t.n,exports.SignerNostrPublicKeyReadonly=t.r,exports.SignerOpenLink=t.s,exports.SignerSignType=t.D,exports.SignerType=t.O,Object.defineProperty(exports,"Since",{enumerable:!0,get:function(){return e.g}}),Object.defineProperty(exports,"Transaction",{enumerable:!0,get:function(){return e._}}),Object.defineProperty(exports,"WitnessArgs",{enumerable:!0,get:function(){return e.v}}),exports.Zero=e.or,exports.apply=e.Et,exports.btcEcdsaPublicKeyHash=t.H,exports.btcP2pkhAddressFromPublicKey=t.U,exports.btcPublicKeyFromP2pkhAddress=t.W,exports.btcVarLengthBytesFrom=t.G,exports.buildNostrEventFromMessage=t.k,exports.bytesConcat=e.Jr,exports.bytesConcatTo=e.Yr,exports.bytesEq=e.Xr,exports.bytesFrom=e.Zr,exports.bytesLen=e._r,exports.bytesLenUnsafe=e.vr,exports.bytesTo=e.Qr,exports.calcDaoClaimEpoch=e.y,exports.calcDaoProfit=e.b,Object.defineProperty(exports,"ccc",{enumerable:!0,get:function(){return t.t}}),exports.codec=e.ur,exports.codecPadding=e.Kn,exports.codecUint=e.qn,exports.codecUintNumber=e.Jn,exports.depTypeFrom=e.x,exports.depTypeFromBytes=e.S,exports.depTypeToBytes=e.C,exports.epochFrom=e.St,exports.epochFromHex=e.Ct,exports.epochToHex=e.wt,exports.fixedPointFrom=e.sr,exports.fixedPointToString=e.cr,exports.gcd=e.Dt,exports.hashCkb=e.mr,exports.hashCkbShort=e.hr,exports.hashTypeFrom=e.F,exports.hashTypeFromBytes=e.I,exports.hashTypeId=t.$,exports.hashTypeToBytes=e.L,exports.hexFrom=e.yr,exports.isDaoOutputLimitExceeded=e.w,exports.isWebview=e.Ot,exports.keystoreDecrypt=t.X,exports.keystoreEncrypt=t.Z,exports.messageHashBtcEcdsa=t.K,exports.messageHashCkbSecp256k1=t.L,exports.messageHashDogeEcdsa=t.N,Object.defineProperty(exports,"mol",{enumerable:!0,get:function(){return t.st}}),exports.nostrEventHash=t.A,exports.numBeFromBytes=e.Yn,exports.numBeToBytes=e.Xn,exports.numFrom=e.Zn,exports.numFromBytes=e.Qn,exports.numLeFromBytes=e.$n,exports.numLeToBytes=e.er,exports.numMax=e.tr,exports.numMin=e.nr,exports.numToBytes=e.rr,exports.numToHex=e.ir,exports.recoverMessageSecp256k1=t.R,exports.reduceAsync=e.kt,exports.signMessageSecp256k1=t.z,exports.sleep=e.At,exports.stringify=e.jt,exports.udtBalanceFrom=e.T,exports.verifyMessageBtcEcdsa=t.q,exports.verifyMessageCkbSecp256k1=t.B,exports.verifyMessageDogeEcdsa=t.P,exports.verifyMessageEvmPersonal=t.M,exports.verifyMessageJoyId=t.F,exports.verifyMessageNostrEvent=t.j,exports.verifyMessageSecp256k1=t.V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckb-ccc/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "Core of CCC - CKBer's Codebase",
|
|
5
5
|
"author": "Hanssen0 <hanssen0@hanssen0.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,8 +40,9 @@
|
|
|
40
40
|
"eslint-plugin-prettier": "^5.5.6",
|
|
41
41
|
"prettier": "^3.8.4",
|
|
42
42
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
43
|
-
"tsdown": "0.22.
|
|
44
|
-
"typescript": "
|
|
43
|
+
"tsdown": "0.22.7",
|
|
44
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
45
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
45
46
|
"typescript-eslint": "^8.61.1",
|
|
46
47
|
"vitest": "^4.1.9"
|
|
47
48
|
},
|