@chipi-stack/nextjs 13.12.0 → 13.13.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.
@@ -1 +1 @@
1
- export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer } from '@chipi-stack/chipi-react';
1
+ export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
package/dist/cjs/hooks.js CHANGED
@@ -38,7 +38,8 @@ __export(hooks_exports, {
38
38
  usePurchaseSku: () => import_chipi_react.usePurchaseSku,
39
39
  useRecordSendTransaction: () => import_chipi_react.useRecordSendTransaction,
40
40
  useRevokeSessionKey: () => import_chipi_react.useRevokeSessionKey,
41
- useTransfer: () => import_chipi_react.useTransfer
41
+ useTransfer: () => import_chipi_react.useTransfer,
42
+ useUpdateWalletEncryption: () => import_chipi_react.useUpdateWalletEncryption
42
43
  });
43
44
  module.exports = __toCommonJS(hooks_exports);
44
45
  var import_chipi_react = require("@chipi-stack/chipi-react");
@@ -63,6 +64,7 @@ var import_chipi_react = require("@chipi-stack/chipi-react");
63
64
  usePurchaseSku,
64
65
  useRecordSendTransaction,
65
66
  useRevokeSessionKey,
66
- useTransfer
67
+ useTransfer,
68
+ useUpdateWalletEncryption
67
69
  });
68
70
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/hooks.ts"],"sourcesContent":["\"use client\";\n\n// Client-side hooks for Next.js Chipi SDK\n// These are re-exported from @chipi-stack/chipi-react for convenience\n// This file is marked as 'use client' to ensure it only runs on the client\n\nexport {\n // Context hook\n useChipiContext,\n\n // Wallet hooks\n useCreateWallet,\n useGetWallet,\n useChipiWallet,\n useMigrateWalletToPasskey,\n\n // Transaction hooks\n useApprove,\n useTransfer,\n useGetTransactionList,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Record send transaction hook\n useRecordSendTransaction,\n\n // Token balance hook\n useGetTokenBalance,\n\n // Session hooks (CHIPI wallets only)\n useCreateSessionKey,\n useAddSessionKeyToContract,\n useRevokeSessionKey,\n useGetSessionData,\n useExecuteWithSession,\n\n // Unified session hook\n useChipiSession,\n} from \"@chipi-stack/chipi-react\";\n\n// Re-export hook types for convenience\nexport type {\n UseChipiWalletConfig,\n UseChipiWalletReturn,\n ChipiWalletData,\n UseChipiSessionConfig,\n UseChipiSessionReturn,\n SessionState,\n SessionWallet,\n} from \"@chipi-stack/chipi-react\";\n\n// Note: Passkey hooks (usePasskeySetup, usePasskeyAuth, usePasskeyStatus)\n// are available by importing from \"@chipi-stack/chipi-passkey/hooks\" directly\n// We don't re-export them here to avoid module resolution issues.\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBAoCO;","names":[]}
1
+ {"version":3,"sources":["../../src/hooks.ts"],"sourcesContent":["\"use client\";\n\n// Client-side hooks for Next.js Chipi SDK\n// These are re-exported from @chipi-stack/chipi-react for convenience\n// This file is marked as 'use client' to ensure it only runs on the client\n\nexport {\n // Context hook\n useChipiContext,\n\n // Wallet hooks\n useCreateWallet,\n useGetWallet,\n useChipiWallet,\n useMigrateWalletToPasskey,\n useUpdateWalletEncryption,\n\n // Transaction hooks\n useApprove,\n useTransfer,\n useGetTransactionList,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Record send transaction hook\n useRecordSendTransaction,\n\n // Token balance hook\n useGetTokenBalance,\n\n // Session hooks (CHIPI wallets only)\n useCreateSessionKey,\n useAddSessionKeyToContract,\n useRevokeSessionKey,\n useGetSessionData,\n useExecuteWithSession,\n\n // Unified session hook\n useChipiSession,\n} from \"@chipi-stack/chipi-react\";\n\n// Re-export hook types for convenience\nexport type {\n UseChipiWalletConfig,\n UseChipiWalletReturn,\n ChipiWalletData,\n UseChipiSessionConfig,\n UseChipiSessionReturn,\n SessionState,\n SessionWallet,\n} from \"@chipi-stack/chipi-react\";\n\n// Note: Passkey hooks (usePasskeySetup, usePasskeyAuth, usePasskeyStatus)\n// are available by importing from \"@chipi-stack/chipi-passkey/hooks\" directly\n// We don't re-export them here to avoid module resolution issues.\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBAqCO;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import { ServerComponentsServerModuleTypes } from './components.server.js';
2
2
  export { ChipiProvider as ChipiClientProvider } from './app-router/client/ChipiProvider.js';
3
- export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer } from '@chipi-stack/chipi-react';
3
+ export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
4
4
  export { CreateWalletPasskeyResult, PasskeyStatus, UsePasskeyAuthResult, UsePasskeySetupResult, UsePasskeyStatusResult, WalletCredentialMetadata, createWalletPasskey, getStoredCredential, getWalletEncryptKey, hasWalletPasskey, isWebAuthnPRFSupported, isWebAuthnSupported, removeStoredCredential, verifyWalletPasskey } from '@chipi-stack/chipi-passkey';
5
5
  export * from '@chipi-stack/types';
6
6
  export { Chain, ChainToken } from '@chipi-stack/types';
package/dist/esm/hooks.js CHANGED
@@ -5,6 +5,7 @@ import {
5
5
  useGetWallet,
6
6
  useChipiWallet,
7
7
  useMigrateWalletToPasskey,
8
+ useUpdateWalletEncryption,
8
9
  useApprove,
9
10
  useTransfer,
10
11
  useGetTransactionList,
@@ -41,6 +42,7 @@ export {
41
42
  usePurchaseSku,
42
43
  useRecordSendTransaction,
43
44
  useRevokeSessionKey,
44
- useTransfer
45
+ useTransfer,
46
+ useUpdateWalletEncryption
45
47
  };
46
48
  //# sourceMappingURL=hooks.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/hooks.ts"],"sourcesContent":["\"use client\";\n\n// Client-side hooks for Next.js Chipi SDK\n// These are re-exported from @chipi-stack/chipi-react for convenience\n// This file is marked as 'use client' to ensure it only runs on the client\n\nexport {\n // Context hook\n useChipiContext,\n\n // Wallet hooks\n useCreateWallet,\n useGetWallet,\n useChipiWallet,\n useMigrateWalletToPasskey,\n\n // Transaction hooks\n useApprove,\n useTransfer,\n useGetTransactionList,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Record send transaction hook\n useRecordSendTransaction,\n\n // Token balance hook\n useGetTokenBalance,\n\n // Session hooks (CHIPI wallets only)\n useCreateSessionKey,\n useAddSessionKeyToContract,\n useRevokeSessionKey,\n useGetSessionData,\n useExecuteWithSession,\n\n // Unified session hook\n useChipiSession,\n} from \"@chipi-stack/chipi-react\";\n\n// Re-export hook types for convenience\nexport type {\n UseChipiWalletConfig,\n UseChipiWalletReturn,\n ChipiWalletData,\n UseChipiSessionConfig,\n UseChipiSessionReturn,\n SessionState,\n SessionWallet,\n} from \"@chipi-stack/chipi-react\";\n\n// Note: Passkey hooks (usePasskeySetup, usePasskeyAuth, usePasskeyStatus)\n// are available by importing from \"@chipi-stack/chipi-passkey/hooks\" directly\n// We don't re-export them here to avoid module resolution issues.\n"],"mappings":";AAMA;AAAA,EAEE;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,OACK;","names":[]}
1
+ {"version":3,"sources":["../../src/hooks.ts"],"sourcesContent":["\"use client\";\n\n// Client-side hooks for Next.js Chipi SDK\n// These are re-exported from @chipi-stack/chipi-react for convenience\n// This file is marked as 'use client' to ensure it only runs on the client\n\nexport {\n // Context hook\n useChipiContext,\n\n // Wallet hooks\n useCreateWallet,\n useGetWallet,\n useChipiWallet,\n useMigrateWalletToPasskey,\n useUpdateWalletEncryption,\n\n // Transaction hooks\n useApprove,\n useTransfer,\n useGetTransactionList,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Record send transaction hook\n useRecordSendTransaction,\n\n // Token balance hook\n useGetTokenBalance,\n\n // Session hooks (CHIPI wallets only)\n useCreateSessionKey,\n useAddSessionKeyToContract,\n useRevokeSessionKey,\n useGetSessionData,\n useExecuteWithSession,\n\n // Unified session hook\n useChipiSession,\n} from \"@chipi-stack/chipi-react\";\n\n// Re-export hook types for convenience\nexport type {\n UseChipiWalletConfig,\n UseChipiWalletReturn,\n ChipiWalletData,\n UseChipiSessionConfig,\n UseChipiSessionReturn,\n SessionState,\n SessionWallet,\n} from \"@chipi-stack/chipi-react\";\n\n// Note: Passkey hooks (usePasskeySetup, usePasskeyAuth, usePasskeyStatus)\n// are available by importing from \"@chipi-stack/chipi-passkey/hooks\" directly\n// We don't re-export them here to avoid module resolution issues.\n"],"mappings":";AAMA;AAAA,EAEE;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,OACK;","names":[]}
package/dist/hooks.d.mts CHANGED
@@ -1 +1 @@
1
- export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer } from '@chipi-stack/chipi-react';
1
+ export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ServerComponentsServerModuleTypes } from './components.server.mjs';
2
2
  export { ChipiProvider as ChipiClientProvider } from './app-router/client/ChipiProvider.mjs';
3
- export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer } from '@chipi-stack/chipi-react';
3
+ export { ChipiWalletData, SessionState, SessionWallet, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletReturn, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransactionList, useGetWallet, useMigrateWalletToPasskey, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useTransfer, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
4
4
  export { CreateWalletPasskeyResult, PasskeyStatus, UsePasskeyAuthResult, UsePasskeySetupResult, UsePasskeyStatusResult, WalletCredentialMetadata, createWalletPasskey, getStoredCredential, getWalletEncryptKey, hasWalletPasskey, isWebAuthnPRFSupported, isWebAuthnSupported, removeStoredCredential, verifyWalletPasskey } from '@chipi-stack/chipi-passkey';
5
5
  export * from '@chipi-stack/types';
6
6
  export { Chain, ChainToken } from '@chipi-stack/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipi-stack/nextjs",
3
- "version": "13.12.0",
3
+ "version": "13.13.0",
4
4
  "description": "Chipi SDK for Next.js applications with server-side support",
5
5
  "keywords": [
6
6
  "chipi",
@@ -74,11 +74,11 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@tanstack/react-query": "^5.85.0",
77
- "@chipi-stack/chipi-passkey": "^1.12.0",
78
- "@chipi-stack/chipi-react": "^13.12.0",
79
- "@chipi-stack/backend": "^13.12.0",
80
- "@chipi-stack/shared": "^13.12.0",
81
- "@chipi-stack/types": "^13.13.0"
77
+ "@chipi-stack/backend": "^13.13.0",
78
+ "@chipi-stack/chipi-passkey": "^1.13.0",
79
+ "@chipi-stack/chipi-react": "^13.13.0",
80
+ "@chipi-stack/shared": "^13.13.0",
81
+ "@chipi-stack/types": "^13.14.0"
82
82
  },
83
83
  "peerDependencies": {
84
84
  "next": ">=13.0.0",