@chipi-stack/types 4.0.0 → 5.1.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/index.d.mts CHANGED
@@ -33,7 +33,11 @@ declare const STARKNET_CONTRACTS: Record<ChainToken, {
33
33
  interface WalletData {
34
34
  publicKey: string;
35
35
  encryptedPrivateKey: string;
36
- decyptedWallet?: string;
36
+ }
37
+ interface WalletDataResponse {
38
+ publicKey: string;
39
+ encryptedPrivateKey: string;
40
+ decryptedWallet?: string;
37
41
  }
38
42
  interface CreateWalletParams {
39
43
  encryptKey: string;
@@ -56,7 +60,7 @@ interface GetWalletParams {
56
60
  }
57
61
  interface GetWalletResponse {
58
62
  success: boolean;
59
- wallet: WalletData;
63
+ wallet: WalletDataResponse;
60
64
  }
61
65
  interface BackendGetWalletResponse {
62
66
  id: string;
@@ -293,4 +297,4 @@ type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...a
293
297
  type ValueOrFunction<T> = T | (() => T);
294
298
  type MaybePromise<T> = T | Promise<T>;
295
299
 
296
- export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type BackendGetWalletResponse, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcParams };
300
+ export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type BackendGetWalletResponse, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WalletDataResponse, type WithdrawVesuUsdcParams };
package/dist/index.d.ts CHANGED
@@ -33,7 +33,11 @@ declare const STARKNET_CONTRACTS: Record<ChainToken, {
33
33
  interface WalletData {
34
34
  publicKey: string;
35
35
  encryptedPrivateKey: string;
36
- decyptedWallet?: string;
36
+ }
37
+ interface WalletDataResponse {
38
+ publicKey: string;
39
+ encryptedPrivateKey: string;
40
+ decryptedWallet?: string;
37
41
  }
38
42
  interface CreateWalletParams {
39
43
  encryptKey: string;
@@ -56,7 +60,7 @@ interface GetWalletParams {
56
60
  }
57
61
  interface GetWalletResponse {
58
62
  success: boolean;
59
- wallet: WalletData;
63
+ wallet: WalletDataResponse;
60
64
  }
61
65
  interface BackendGetWalletResponse {
62
66
  id: string;
@@ -293,4 +297,4 @@ type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...a
293
297
  type ValueOrFunction<T> = T | (() => T);
294
298
  type MaybePromise<T> = T | Promise<T>;
295
299
 
296
- export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type BackendGetWalletResponse, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WithdrawVesuUsdcParams };
300
+ export { type ApiError, type ApiKey, type ApiResponse, type ApproveParams, type AsyncReturnType, type AuthContext, type BackendGetWalletResponse, type CallAnyContractParams, type Chain, type ChainToken, type ChipiSDKConfig, type CreateCustodialWalletParams, type CreateSkuTransactionParams, type CreateWalletParams, type CreateWalletResponse, type DeepPartial, type Environment, type ErrorWithCode, type ExecuteSponsoredTransactionParams, type ExecuteSponsoredTransactionResponse, type ExecuteTransactionParams, type FindSkusParams, type FindSkusResponse, type GetMerchantWalletParams, type GetTransactionsParams, type GetWalletParams, type GetWalletResponse, type JwtPayload, type MaybePromise, type NonEmptyArray, type Optional, type PaginatedResponse, type PaginationQuery, type PrepareTypedDataParams, type PrepareWalletCreationParams, type PrepareWalletCreationResponse, type Prettify, type RecordSendTransactionParams, type RequireAtLeastOne, STARKNET_CONTRACTS, type Sku, type SkuCategory, type SkuTransaction, type StakeVesuUsdcParams, type Transaction, type TransferParams, type ValueOrFunction, type WalletData, type WalletDataResponse, type WithdrawVesuUsdcParams };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipi-stack/types",
3
- "version": "4.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Type definitions for Chipi SDK packages",
5
5
  "keywords": [
6
6
  "chipi",