@chipi-stack/backend 14.3.0 → 14.4.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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -0
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _chipi_stack_types from '@chipi-stack/types';
|
|
2
2
|
import { CreateSessionKeyParams, SessionKeyData, AddSessionKeyParams, RevokeSessionKeyParams, GetSessionDataParams, SessionDataResponse, ExecuteWithSessionParams, SetSpendingPolicyParams, GetSpendingPolicyParams, SpendingPolicyData, RemoveSpendingPolicyParams, Currency, PaymasterAdapter, PaymasterAccount, X402FacilitatorConfig, NonceStore, PaymentPayload, VerifyResponse, SettleResponse, ChipiSDKConfig, ExecuteTransactionParams, SignTypedDataParams, SignTypedDataResult, TransferParams, ApproveParams, CallAnyContractParams, CreateWalletParams, CreateWalletResponse, RecordSendTransactionParams, Transaction, GetTransactionListQuery, PaginatedResponse, GetWalletParams, GetTokenBalanceParams, GetTokenBalanceResponse, CreateSkuPurchaseParams, GetSkuListQuery, Sku, TransactionStatusResponse, PrepareWalletUpgradeParams, PrepareWalletUpgradeResponse, ExecuteWalletUpgradeParams, ExecuteWalletUpgradeResponse, ChipiServerSDKConfig, ChipiBrowserSDKConfig, X402PaymentConfig } from '@chipi-stack/types';
|
|
3
3
|
export * from '@chipi-stack/types';
|
|
4
|
-
export { Chain, ChainToken } from '@chipi-stack/types';
|
|
4
|
+
export { Chain, ChainToken, Currency } from '@chipi-stack/types';
|
|
5
5
|
import { ChipiWallets } from './wallets.mjs';
|
|
6
6
|
import { ChipiTransactions } from './transactions.mjs';
|
|
7
7
|
import { ChipiSkuPurchases } from './skuPurchases.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _chipi_stack_types from '@chipi-stack/types';
|
|
2
2
|
import { CreateSessionKeyParams, SessionKeyData, AddSessionKeyParams, RevokeSessionKeyParams, GetSessionDataParams, SessionDataResponse, ExecuteWithSessionParams, SetSpendingPolicyParams, GetSpendingPolicyParams, SpendingPolicyData, RemoveSpendingPolicyParams, Currency, PaymasterAdapter, PaymasterAccount, X402FacilitatorConfig, NonceStore, PaymentPayload, VerifyResponse, SettleResponse, ChipiSDKConfig, ExecuteTransactionParams, SignTypedDataParams, SignTypedDataResult, TransferParams, ApproveParams, CallAnyContractParams, CreateWalletParams, CreateWalletResponse, RecordSendTransactionParams, Transaction, GetTransactionListQuery, PaginatedResponse, GetWalletParams, GetTokenBalanceParams, GetTokenBalanceResponse, CreateSkuPurchaseParams, GetSkuListQuery, Sku, TransactionStatusResponse, PrepareWalletUpgradeParams, PrepareWalletUpgradeResponse, ExecuteWalletUpgradeParams, ExecuteWalletUpgradeResponse, ChipiServerSDKConfig, ChipiBrowserSDKConfig, X402PaymentConfig } from '@chipi-stack/types';
|
|
3
3
|
export * from '@chipi-stack/types';
|
|
4
|
-
export { Chain, ChainToken } from '@chipi-stack/types';
|
|
4
|
+
export { Chain, ChainToken, Currency } from '@chipi-stack/types';
|
|
5
5
|
import { ChipiWallets } from './wallets.js';
|
|
6
6
|
import { ChipiTransactions } from './transactions.js';
|
|
7
7
|
import { ChipiSkuPurchases } from './skuPurchases.js';
|
package/dist/index.js
CHANGED
|
@@ -2456,6 +2456,10 @@ Object.defineProperty(exports, "ChainToken", {
|
|
|
2456
2456
|
enumerable: true,
|
|
2457
2457
|
get: function () { return types.ChainToken; }
|
|
2458
2458
|
});
|
|
2459
|
+
Object.defineProperty(exports, "Currency", {
|
|
2460
|
+
enumerable: true,
|
|
2461
|
+
get: function () { return types.Currency; }
|
|
2462
|
+
});
|
|
2459
2463
|
exports.ChipiBrowserSDK = ChipiBrowserSDK;
|
|
2460
2464
|
exports.ChipiClient = ChipiClient;
|
|
2461
2465
|
exports.ChipiPaymasterAdapter = ChipiPaymasterAdapter;
|
package/dist/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { isValidApiKey, ChipiAuthError, STARKNET_NETWORKS, API_VERSIONING, valid
|
|
|
2
2
|
import CryptoES from 'crypto-es';
|
|
3
3
|
import { RpcProvider, ec, hash, Account, num, CairoCustomEnum, CairoOption, CairoOptionVariant, CallData, cairo, typedData, uint256 } from 'starknet';
|
|
4
4
|
import { STARKNET_CONTRACTS, Chain } from '@chipi-stack/types';
|
|
5
|
-
export { Chain, ChainToken } from '@chipi-stack/types';
|
|
5
|
+
export { Chain, ChainToken, Currency } from '@chipi-stack/types';
|
|
6
6
|
import { buildX402TypedData } from '@chipi-stack/core';
|
|
7
7
|
|
|
8
8
|
// src/chipi-sdk.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chipi-stack/backend",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.4.0",
|
|
4
4
|
"description": "Server SDK for gasless Starknet wallets — wallet provisioning, payments, SKU purchases, and crypto remittances",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chipi",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"crypto-es": "^2.1.0",
|
|
106
106
|
"starknet": "9.2.1",
|
|
107
107
|
"@chipi-stack/core": "^0.3.1",
|
|
108
|
-
"@chipi-stack/shared": "^14.
|
|
109
|
-
"@chipi-stack/types": "^14.
|
|
108
|
+
"@chipi-stack/shared": "^14.4.0",
|
|
109
|
+
"@chipi-stack/types": "^14.4.0"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@types/node": "^22.15.15",
|