@accesly/core 1.6.0 → 1.7.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/api/index.cjs +11 -0
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.d.cts +35 -2
- package/dist/api/index.d.ts +35 -2
- package/dist/api/index.js +11 -0
- package/dist/api/index.js.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ export { CreateWalletParams, CreateWalletResult, EncryptedFragmentInput, Encrypt
|
|
|
2
2
|
export { D as DeriveRecoveryKeyParams, c as Ed25519Keypair, d as Pbkdf2Options, R as RECOVERY_KEY_BYTES, e as RECOVERY_SALT_BYTES, S as SessionFragment2Response, U as UnwrappedFragment2, X as X25519Keypair, i as deriveRecoveryKey, j as deriveRecoveryKeyFromPasswordString, k as emailHashBytes, l as generateKeypair, m as generateRecoverySalt, n as generateX25519Keypair, o as getRandomBytes, p as hkdfSha256, q as pbkdf2Sha256, s as sha256, t as sha256Hex, u as signEd25519, v as unwrapSessionFragment2, w as verifyEd25519, x as withZeroize, B as zeroize } from './hash-Br3Y8sbq.cjs';
|
|
3
3
|
export { E as EncryptedEnvelope, d as decryptAesGcm, e as encryptAesGcm } from './aesgcm-CeqjKveM.cjs';
|
|
4
4
|
export { AuthClient, AuthStatus, AuthTokens, CognitoAuthClient, CognitoConfig, InMemorySessionStorage, LocalStorageSessionStorage, SessionStorage, SignUpResult, TokenManager, TokenManagerOptions, defaultSessionStorage } from './auth/index.cjs';
|
|
5
|
-
export { AccesslyApiClient, AccesslyApiClientOptions, AccesslyApiError, AccesslyEndpoints, ActivatableAsset, ActivateAssetSimulateRequest, AuthError, IdTokenProvider, NetworkError, NotFoundError, RateLimitError, ServerError, SimulateSwapRequest, SimulateSwapResponse, TelemetryEvent, TelemetrySink, TransferAsset, ValidationError, WalletActivityEvent, WalletActivityResponse, WalletBalanceResponse, WalletHistoryItem, WalletHistoryRequestOptions, WalletHistoryResponse } from './api/index.cjs';
|
|
5
|
+
export { AccesslyApiClient, AccesslyApiClientOptions, AccesslyApiError, AccesslyEndpoints, ActivatableAsset, ActivateAssetSimulateRequest, AuthError, IdTokenProvider, NetworkError, NotFoundError, OrderRequest, OrderResponse, RateLimitError, RegisterBankAccountRequest, RegisterBankAccountResponse, ServerError, SimulateSwapRequest, SimulateSwapResponse, TelemetryEvent, TelemetrySink, TransferAsset, ValidationError, WalletActivityEvent, WalletActivityResponse, WalletBalanceResponse, WalletHistoryItem, WalletHistoryRequestOptions, WalletHistoryResponse } from './api/index.cjs';
|
|
6
6
|
export { CredentialRecord, DeviceStore, InMemoryDeviceStore, IndexedDbDeviceStore, PasskeyDescriptor, RegisterPasskeyParams, RegisterPasskeyResult, UnlockPasskeyParams, UnlockPasskeyResult, normalizeSecp256r1Pubkey, registerPasskey, unlockPasskey } from './webauthn/index.cjs';
|
|
7
7
|
export { BalanceEntry, BuildContractInvokeParams, BuildPaymentParams, ComputeSmartAccountAddressParams, OperationEntry, SignSorobanAuthEntryParams, SignSorobanAuthEntryResult, SignTransactionParams, SignTransactionResult, StellarNetwork, StellarNetworkParams, XLM_DECIMALS, accountExplorerUrl, buildContractInvokeTransaction, buildPaymentTransaction, computeSmartAccountAddress, getBalances, getRecentOperations, isValidStellarAddress, shortAddress, signSorobanAuthEntry, signTransaction, stroopsToXlm, txExplorerUrl, walletExplorerUrl, xlmToStroops } from './stellar/index.cjs';
|
|
8
8
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { CreateWalletParams, CreateWalletResult, EncryptedFragmentInput, Encrypt
|
|
|
2
2
|
export { D as DeriveRecoveryKeyParams, c as Ed25519Keypair, d as Pbkdf2Options, R as RECOVERY_KEY_BYTES, e as RECOVERY_SALT_BYTES, S as SessionFragment2Response, U as UnwrappedFragment2, X as X25519Keypair, i as deriveRecoveryKey, j as deriveRecoveryKeyFromPasswordString, k as emailHashBytes, l as generateKeypair, m as generateRecoverySalt, n as generateX25519Keypair, o as getRandomBytes, p as hkdfSha256, q as pbkdf2Sha256, s as sha256, t as sha256Hex, u as signEd25519, v as unwrapSessionFragment2, w as verifyEd25519, x as withZeroize, B as zeroize } from './hash-Br3Y8sbq.js';
|
|
3
3
|
export { E as EncryptedEnvelope, d as decryptAesGcm, e as encryptAesGcm } from './aesgcm-CeqjKveM.js';
|
|
4
4
|
export { AuthClient, AuthStatus, AuthTokens, CognitoAuthClient, CognitoConfig, InMemorySessionStorage, LocalStorageSessionStorage, SessionStorage, SignUpResult, TokenManager, TokenManagerOptions, defaultSessionStorage } from './auth/index.js';
|
|
5
|
-
export { AccesslyApiClient, AccesslyApiClientOptions, AccesslyApiError, AccesslyEndpoints, ActivatableAsset, ActivateAssetSimulateRequest, AuthError, IdTokenProvider, NetworkError, NotFoundError, RateLimitError, ServerError, SimulateSwapRequest, SimulateSwapResponse, TelemetryEvent, TelemetrySink, TransferAsset, ValidationError, WalletActivityEvent, WalletActivityResponse, WalletBalanceResponse, WalletHistoryItem, WalletHistoryRequestOptions, WalletHistoryResponse } from './api/index.js';
|
|
5
|
+
export { AccesslyApiClient, AccesslyApiClientOptions, AccesslyApiError, AccesslyEndpoints, ActivatableAsset, ActivateAssetSimulateRequest, AuthError, IdTokenProvider, NetworkError, NotFoundError, OrderRequest, OrderResponse, RateLimitError, RegisterBankAccountRequest, RegisterBankAccountResponse, ServerError, SimulateSwapRequest, SimulateSwapResponse, TelemetryEvent, TelemetrySink, TransferAsset, ValidationError, WalletActivityEvent, WalletActivityResponse, WalletBalanceResponse, WalletHistoryItem, WalletHistoryRequestOptions, WalletHistoryResponse } from './api/index.js';
|
|
6
6
|
export { CredentialRecord, DeviceStore, InMemoryDeviceStore, IndexedDbDeviceStore, PasskeyDescriptor, RegisterPasskeyParams, RegisterPasskeyResult, UnlockPasskeyParams, UnlockPasskeyResult, normalizeSecp256r1Pubkey, registerPasskey, unlockPasskey } from './webauthn/index.js';
|
|
7
7
|
export { BalanceEntry, BuildContractInvokeParams, BuildPaymentParams, ComputeSmartAccountAddressParams, OperationEntry, SignSorobanAuthEntryParams, SignSorobanAuthEntryResult, SignTransactionParams, SignTransactionResult, StellarNetwork, StellarNetworkParams, XLM_DECIMALS, accountExplorerUrl, buildContractInvokeTransaction, buildPaymentTransaction, computeSmartAccountAddress, getBalances, getRecentOperations, isValidStellarAddress, shortAddress, signSorobanAuthEntry, signTransaction, stroopsToXlm, txExplorerUrl, walletExplorerUrl, xlmToStroops } from './stellar/index.js';
|
|
8
8
|
|
package/dist/index.js
CHANGED
|
@@ -1180,6 +1180,17 @@ var AccesslyEndpoints = class {
|
|
|
1180
1180
|
offramp(req) {
|
|
1181
1181
|
return this.client.post("/offramp", req);
|
|
1182
1182
|
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Cognito-auth. Registra una CLABE mexicana en el customer Etherfuse del
|
|
1185
|
+
* usuario. Requiere KYC pre-existente. Devuelve un `bankAccountId` que se
|
|
1186
|
+
* usa después en `offramp({ bankAccountId, ... })`.
|
|
1187
|
+
*/
|
|
1188
|
+
registerBankAccount(req) {
|
|
1189
|
+
return this.client.post(
|
|
1190
|
+
"/kyc/bank-accounts",
|
|
1191
|
+
req
|
|
1192
|
+
);
|
|
1193
|
+
}
|
|
1183
1194
|
/* ── v1.1.0: read-only wallet data ─────────────────────────────────────── */
|
|
1184
1195
|
/**
|
|
1185
1196
|
* Anónimo. Balance XLM del Smart Account (vía Soroban RPC, cached ~5s).
|