@capxul/mcp 4.20.0-beta.34 → 4.20.0-beta.35
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/main.mjs +3 -25
- package/dist/{organizations-Cd8Dc62C.mjs → organizations-BsF9_r6L.mjs} +915 -365
- package/dist/{permission-approvals-CCCJ2aYL.mjs → permission-approvals-5ayOO0fo.mjs} +1 -1
- package/dist/secp256k1-CLeVBma1.mjs +2 -0
- package/dist/{secp256k1-b-_IancF.mjs → secp256k1-vkvPWdOZ.mjs} +2 -296
- package/dist/sha2-D5rBHwg7.mjs +422 -0
- package/package.json +3 -3
- package/dist/secp256k1-BSimfttS.mjs +0 -2
- package/dist/utils-CenTnkL6.mjs +0 -128
package/dist/main.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { i as __exportAll, o as __require, r as __commonJSMin, s as __toESM } from "./lib-DnmstTkB.mjs";
|
|
3
|
-
import { $ as isSignerNotReadySignal, $t as ChainIdSchema, A as bindProductTelemetryInvocation, An as detectAuthCacheAdapter, At as
|
|
4
|
-
import {
|
|
3
|
+
import { $ as isSignerNotReadySignal, $t as ChainIdSchema, A as bindProductTelemetryInvocation, An as detectAuthCacheAdapter, At as toRlp, B as BASE_SEPOLIA_CHAIN_ID, Bn as redactUrlSecrets, Bt as hexToBytes, C as PonderIndexerAdapter, Cn as copyInvocationObservation, Ct as toOrgId, D as TelemetryPortTag, Dn as toPublishableKey, Dt as isBytes32, E as AccountReadPortTag, En as toAllowedOrigin, Et as images, F as makeCheckoutMethods, Fn as AuthCachePortTag, Ft as concat, G as failureEvidenceProps, Gn as CapxulError, Gt as hexToBigInt, H as asCapxulError, Hn as isRecord, Ht as numberToHex, I as makeTargetsMethods, In as deserializeCapxulError, It as concatHex, J as withCapturedAttemptContext, Jn as isFailureMode, Jt as BaseError, K as observeFailedResult, Kn as isCapxulError, Kt as hexToNumber, L as makeVerificationMethods, Ln as serializeCapxulError, Lt as isAddress, M as makeAccountMethods, Mn as toEpochMs, Mt as formatGwei$1, N as makePaymentsMethods, Nn as toAuthUserId, Nt as createCursor, O as ConvexCallPortTag, On as AuthClientError, Ot as hashTypedData, P as makeDestinationsMethods, Pn as toEmail, Pt as slice, Q as isEcdsaSignatureHex, Qt as EpochMsSchema, Rn as decodeChainCause, Rt as InvalidAddressError, S as makeHoldingsMethods, Sn as attachInvocationObservation, St as ORGANIZATION_SETUP_STATUSES, T as ConvexAccountLayer, Tn as sanitizeObservationContext, Tt as AppIdSchema, U as toPublicError, Un as readField, Ut as stringToHex, V as callOperation, Vn as isCredentialField, Vt as bytesToHex, W as failureDetail, Wn as Errors, Wt as toHex, X as UNOBSERVABLE_SIGNER_STATUS, Xt as isHex, Y as version$2, Yt as size, Z as causeChain, Zt as DurationMsSchema, _ as makeActivityMethods, _n as SystemClockLayer, _t as OPERATIONS, an as askIdentity, at as toCountryCode, b as ConvexSmartAccountLayer, bn as BetterAuthBrowserLayer, bt as setups, c as OrgPortTag, cn as runPortEffect, ct as toHandle, dn as toCapxulResult, dt as CLI_CAPABILITIES, en as isEvmAddress, et as openfortSignerNotReadyCode, fn as formatTraceparent, ft as CLI_COMMAND_NAMES, g as makeMeMethods, gn as oauthBearerAuthClient, gt as normalizeCapxulOperation, h as bootIdentityFlow, hn as carryInvocationParentSpan, ht as isCapxulOperation, in as makeAuthMethods, it as makeClientRequestMethods, j as makeApprovalsMethods, jn as globalLocalStorage, jt as publicKeyToAddress, k as convexCallErrorFromCapxul, kn as AuthClientPortTag, kt as sha256, ln as sessionFromActor, lt as validateHandle, m as executeIdentityProductObservation, mn as ActorFailure, mt as CAPXUL_OPERATIONS, n as makeOrgMethods, nn as absurd, nt as signerFailure, on as publicIdentityFailure, ot as toKycTier, pn as CAPXUL_ERROR_CODES, pt as CLI_INVOCATION_KINDS, q as observeSdkClient, qn as FAILURE_MODES, qt as trim$1, r as makeBankingMethods, rn as getFunctionName, rt as makeCurrentUserMethods, s as ConvexOrganizationAdapter, sn as runIdentityFacade, st as toTesterKind, t as ConvexOrganizationSetupAdapter, tn as toAddress, tt as recoverRawDigestSigner, un as runCapxulEffect, ut as redactTelemetryProps, v as makePaymentDocumentsMethods, vn as ClockPortTag, vt as details, w as makeAccountsMethods, wn as readInvocationObservation, wt as diagnostics, x as SmartAccountPortTag, xn as observationRequestHeaders, xt as ORGANIZATION_SETUP_REASONS, y as makeSmartAccountMethods, yn as BetterAuthNodeLayer, yt as onboardings, z as normalizeSafeSaltEmail, zn as redactSecrets, zt as keccak256 } from "./organizations-BsF9_r6L.mjs";
|
|
4
|
+
import { t as secp256k1 } from "./secp256k1-vkvPWdOZ.mjs";
|
|
5
5
|
import { t as require_lib } from "./lib-CoGPQsbr.mjs";
|
|
6
6
|
import { serveStdio } from "@modelcontextprotocol/server/stdio";
|
|
7
7
|
import { PostHog } from "posthog-node";
|
|
@@ -814,28 +814,6 @@ function blobsToProofs(parameters) {
|
|
|
814
814
|
return to === "bytes" ? proofs : proofs.map((x) => bytesToHex(x));
|
|
815
815
|
}
|
|
816
816
|
//#endregion
|
|
817
|
-
//#region ../../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js
|
|
818
|
-
/**
|
|
819
|
-
* SHA2-256 a.k.a. sha256. In JS, it is the fastest hash, even faster than Blake3.
|
|
820
|
-
*
|
|
821
|
-
* To break sha256 using birthday attack, attackers need to try 2^128 hashes.
|
|
822
|
-
* BTC network is doing 2^70 hashes/sec (2^95 hashes/year) as per 2025.
|
|
823
|
-
*
|
|
824
|
-
* Check out [FIPS 180-4](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf).
|
|
825
|
-
* @module
|
|
826
|
-
* @deprecated
|
|
827
|
-
*/
|
|
828
|
-
/** @deprecated Use import from `noble/hashes/sha2` module */
|
|
829
|
-
const sha256$1 = sha256$2;
|
|
830
|
-
//#endregion
|
|
831
|
-
//#region ../../node_modules/.pnpm/viem@2.55.18_patch_hash=6dka2762lzcggf7at6h6xt4khq_@typescript+typescript6@6.0.2_zod@4.6.5/node_modules/viem/_esm/utils/hash/sha256.js
|
|
832
|
-
function sha256(value, to_) {
|
|
833
|
-
const to = to_ || "hex";
|
|
834
|
-
const bytes = sha256$1(isHex(value, { strict: false }) ? toBytes(value) : value);
|
|
835
|
-
if (to === "bytes") return bytes;
|
|
836
|
-
return toHex(bytes);
|
|
837
|
-
}
|
|
838
|
-
//#endregion
|
|
839
817
|
//#region ../../node_modules/.pnpm/viem@2.55.18_patch_hash=6dka2762lzcggf7at6h6xt4khq_@typescript+typescript6@6.0.2_zod@4.6.5/node_modules/viem/_esm/utils/blob/commitmentToVersionedHash.js
|
|
840
818
|
/**
|
|
841
819
|
* Transform a commitment to it's versioned hash.
|
|
@@ -33136,7 +33114,7 @@ function stdioIdentity(env = process.env, options = {}) {
|
|
|
33136
33114
|
}
|
|
33137
33115
|
//#endregion
|
|
33138
33116
|
//#region package.json
|
|
33139
|
-
var version = "4.20.0-beta.
|
|
33117
|
+
var version = "4.20.0-beta.35";
|
|
33140
33118
|
//#endregion
|
|
33141
33119
|
//#region src/deps.ts
|
|
33142
33120
|
const NO_IDENTITY = async () => void 0;
|