@chipi-stack/types 13.8.0 → 13.10.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
@@ -98,11 +98,11 @@ interface CreateWalletParams {
98
98
  walletType?: WalletType;
99
99
  usePasskey?: boolean;
100
100
  }
101
- interface CreateWalletResponse {
102
- txHash: string;
103
- walletPublicKey: string;
104
- wallet: WalletData;
105
- }
101
+ /**
102
+ * Create-wallet API returns the wallet object at the top level (no nested `wallet`).
103
+ * Same shape as GetWalletResponse for consistency.
104
+ */
105
+ type CreateWalletResponse = GetWalletResponse;
106
106
  interface GetWalletParams {
107
107
  externalUserId: string;
108
108
  }
package/dist/index.d.ts CHANGED
@@ -98,11 +98,11 @@ interface CreateWalletParams {
98
98
  walletType?: WalletType;
99
99
  usePasskey?: boolean;
100
100
  }
101
- interface CreateWalletResponse {
102
- txHash: string;
103
- walletPublicKey: string;
104
- wallet: WalletData;
105
- }
101
+ /**
102
+ * Create-wallet API returns the wallet object at the top level (no nested `wallet`).
103
+ * Same shape as GetWalletResponse for consistency.
104
+ */
105
+ type CreateWalletResponse = GetWalletResponse;
106
106
  interface GetWalletParams {
107
107
  externalUserId: string;
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipi-stack/types",
3
- "version": "13.8.0",
3
+ "version": "13.10.0",
4
4
  "description": "Type definitions for Chipi SDK packages",
5
5
  "keywords": [
6
6
  "chipi",