Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dynamic-labs/sdk-api-core

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/sdk-api-core - npm Package Compare versions

Comparing version 0.0.432 to 0.0.433

src/models/TokenBalance.cjs

2

package.json
{
"name": "@dynamic-labs/sdk-api-core",
"version": "0.0.432",
"version": "0.0.433",
"author": "Dynamic Labs",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -13,3 +13,3 @@ /**

import * as runtime from '../runtime';
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, FarcasterSignInResponse, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthResponse, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, SdkSettingsRequest, SdkUser, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, FarcasterSignInResponse, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthResponse, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, SdkSettingsRequest, SdkUser, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, TokenBalance, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
export interface AuthMfaRecoveryRequest {

@@ -98,2 +98,14 @@ environmentId: string;

}
export interface GetAccountBalancesRequest {
environmentId: string;
chainName: GetAccountBalancesChainNameEnum;
networkId: GetAccountBalancesNetworkIdEnum;
accountAddress: string;
}
export interface GetAccountBalancesOptionsRequest {
environmentId: string;
chainName: GetAccountBalancesOptionsChainNameEnum;
networkId: number;
accountAddress: string;
}
export interface GetAuthTokenRequest {

@@ -631,2 +643,18 @@ environmentId: string;

/**
* Get the token balances for an account
*/
getAccountBalancesRaw(requestParameters: GetAccountBalancesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<TokenBalance>>>;
/**
* Get the token balances for an account
*/
getAccountBalances(requestParameters: GetAccountBalancesRequest, initOverrides?: RequestInit): Promise<Array<TokenBalance>>;
/**
* Options call for this endpoint
*/
getAccountBalancesOptionsRaw(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
/**
* Options call for this endpoint
*/
getAccountBalancesOptions(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
/**
* Get auth token for given embedded wallet type

@@ -1388,1 +1416,26 @@ */

}
/**
* @export
* @enum {string}
*/
export declare enum GetAccountBalancesChainNameEnum {
Evm = "EVM"
}
/**
* @export
* @enum {string}
*/
export declare enum GetAccountBalancesNetworkIdEnum {
NUMBER_1 = 1,
NUMBER_10 = 10,
NUMBER_137 = 137,
NUMBER_42161 = 42161,
NUMBER_8453 = 8453
}
/**
* @export
* @enum {string}
*/
export declare enum GetAccountBalancesOptionsChainNameEnum {
Evm = "EVM"
}
export { BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, JSONApiResponse, RequiredError, TextApiResponse, VoidApiResponse, canConsumeForm, exists, mapValues, querystring } from './runtime.js';
export { SDKApi } from './apis/SDKApi.js';
export { GetAccountBalancesChainNameEnum, GetAccountBalancesNetworkIdEnum, GetAccountBalancesOptionsChainNameEnum, SDKApi } from './apis/SDKApi.js';
export { AuthModeEnum, AuthModeEnumFromJSON, AuthModeEnumFromJSONTyped, AuthModeEnumToJSON } from './models/AuthModeEnum.js';

@@ -149,2 +149,3 @@ export { AuthenticatorTransportProtocol, AuthenticatorTransportProtocolFromJSON, AuthenticatorTransportProtocolFromJSONTyped, AuthenticatorTransportProtocolToJSON } from './models/AuthenticatorTransportProtocol.js';

export { TimeUnitEnum, TimeUnitEnumFromJSON, TimeUnitEnumFromJSONTyped, TimeUnitEnumToJSON } from './models/TimeUnitEnum.js';
export { TokenBalanceFromJSON, TokenBalanceFromJSONTyped, TokenBalanceToJSON } from './models/TokenBalance.js';
export { TurnkeySignedRequestFromJSON, TurnkeySignedRequestFromJSONTyped, TurnkeySignedRequestToJSON } from './models/TurnkeySignedRequest.js';

@@ -151,0 +152,0 @@ export { TurnkeyStampFromJSON, TurnkeyStampFromJSONTyped, TurnkeyStampToJSON } from './models/TurnkeyStamp.js';

@@ -147,2 +147,3 @@ export * from './AuthModeEnum';

export * from './TimeUnitEnum';
export * from './TokenBalance';
export * from './TurnkeySignedRequest';

@@ -149,0 +150,0 @@ export * from './TurnkeyStamp';

@@ -88,3 +88,4 @@ /**

MergeAccountsInvalid = "merge_accounts_invalid",
InvalidWalletId = "invalid_wallet_id"
InvalidWalletId = "invalid_wallet_id",
UnableToFetchBalances = "unable_to_fetch_balances"
}

@@ -91,0 +92,0 @@ export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;

@@ -92,2 +92,3 @@ /* tslint:disable */

UnprocessableEntityErrorCode["InvalidWalletId"] = "invalid_wallet_id";
UnprocessableEntityErrorCode["UnableToFetchBalances"] = "unable_to_fetch_balances";
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));

@@ -94,0 +95,0 @@ function UnprocessableEntityErrorCodeFromJSON(json) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc