@chipi-stack/nextjs 14.13.0 → 14.14.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 { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, SessionState, SessionWallet, ShieldHookInput, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useMigrateWalletToPasskey, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShield, useSignTypedData, useSyncOnChainTransfers, useTransfer, useUnshield, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
1
+ export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, DEFAULT_RECOVER_LABELS, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, Recover, RecoverLabels, RecoverProps, RegisterSessionConfig, SessionState, SessionWallet, ShieldHookInput, ThresholdSignState, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, UseGuardianRecoveryReturn, UseShhhSignerReturn, UseThresholdSignOptions, UseThresholdSignReturn, UseX402PaymentConfig, UseX402PaymentReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useGuardianRecovery, useMigrateWalletToPasskey, useMigrateWalletToShhh, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShhhSigner, useShield, useSignTypedData, useSyncOnChainTransfers, useThresholdSign, useTransfer, useUnshield, useUpdateWalletEncryption, useX402Payment, walletSupportsSessions } from '@chipi-stack/chipi-react';
package/dist/cjs/hooks.js CHANGED
@@ -20,10 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  var hooks_exports = {};
21
21
  __export(hooks_exports, {
22
22
  ChipiInjector: () => import_chipi_react.ChipiInjector,
23
+ DEFAULT_RECOVER_LABELS: () => import_chipi_react2.DEFAULT_RECOVER_LABELS,
24
+ Recover: () => import_chipi_react2.Recover,
23
25
  createChipiWindowObject: () => import_chipi_react.createChipiWindowObject,
24
- derivePrivacyAccount: () => import_chipi_react2.derivePrivacyAccount,
26
+ derivePrivacyAccount: () => import_chipi_react3.derivePrivacyAccount,
25
27
  injectChipiWallet: () => import_chipi_react.injectChipiWallet,
26
- netPrivateBalance: () => import_chipi_react2.netPrivateBalance,
28
+ netPrivateBalance: () => import_chipi_react3.netPrivateBalance,
27
29
  useAddSessionKeyToContract: () => import_chipi_react.useAddSessionKeyToContract,
28
30
  useApprove: () => import_chipi_react.useApprove,
29
31
  useCallAnyContract: () => import_chipi_react.useCallAnyContract,
@@ -42,24 +44,33 @@ __export(hooks_exports, {
42
44
  useGetTransactionList: () => import_chipi_react.useGetTransactionList,
43
45
  useGetTransactionStatus: () => import_chipi_react.useGetTransactionStatus,
44
46
  useGetWallet: () => import_chipi_react.useGetWallet,
47
+ useGuardianRecovery: () => import_chipi_react.useGuardianRecovery,
45
48
  useMigrateWalletToPasskey: () => import_chipi_react.useMigrateWalletToPasskey,
46
- usePrivateBalance: () => import_chipi_react2.usePrivateBalance,
49
+ useMigrateWalletToShhh: () => import_chipi_react.useMigrateWalletToShhh,
50
+ usePrivateBalance: () => import_chipi_react3.usePrivateBalance,
47
51
  usePurchaseSku: () => import_chipi_react.usePurchaseSku,
48
52
  useRecordSendTransaction: () => import_chipi_react.useRecordSendTransaction,
49
53
  useRevokeSessionKey: () => import_chipi_react.useRevokeSessionKey,
50
- useShield: () => import_chipi_react2.useShield,
54
+ useShhhSigner: () => import_chipi_react.useShhhSigner,
55
+ useShield: () => import_chipi_react3.useShield,
51
56
  useSignTypedData: () => import_chipi_react.useSignTypedData,
52
57
  useSyncOnChainTransfers: () => import_chipi_react.useSyncOnChainTransfers,
58
+ useThresholdSign: () => import_chipi_react.useThresholdSign,
53
59
  useTransfer: () => import_chipi_react.useTransfer,
54
- useUnshield: () => import_chipi_react2.useUnshield,
55
- useUpdateWalletEncryption: () => import_chipi_react.useUpdateWalletEncryption
60
+ useUnshield: () => import_chipi_react3.useUnshield,
61
+ useUpdateWalletEncryption: () => import_chipi_react.useUpdateWalletEncryption,
62
+ useX402Payment: () => import_chipi_react.useX402Payment,
63
+ walletSupportsSessions: () => import_chipi_react.walletSupportsSessions
56
64
  });
57
65
  module.exports = __toCommonJS(hooks_exports);
58
66
  var import_chipi_react = require("@chipi-stack/chipi-react");
59
67
  var import_chipi_react2 = require("@chipi-stack/chipi-react");
68
+ var import_chipi_react3 = require("@chipi-stack/chipi-react");
60
69
  // Annotate the CommonJS export names for ESM import in node:
61
70
  0 && (module.exports = {
62
71
  ChipiInjector,
72
+ DEFAULT_RECOVER_LABELS,
73
+ Recover,
63
74
  createChipiWindowObject,
64
75
  derivePrivacyAccount,
65
76
  injectChipiWallet,
@@ -82,16 +93,22 @@ var import_chipi_react2 = require("@chipi-stack/chipi-react");
82
93
  useGetTransactionList,
83
94
  useGetTransactionStatus,
84
95
  useGetWallet,
96
+ useGuardianRecovery,
85
97
  useMigrateWalletToPasskey,
98
+ useMigrateWalletToShhh,
86
99
  usePrivateBalance,
87
100
  usePurchaseSku,
88
101
  useRecordSendTransaction,
89
102
  useRevokeSessionKey,
103
+ useShhhSigner,
90
104
  useShield,
91
105
  useSignTypedData,
92
106
  useSyncOnChainTransfers,
107
+ useThresholdSign,
93
108
  useTransfer,
94
109
  useUnshield,
95
- useUpdateWalletEncryption
110
+ useUpdateWalletEncryption,
111
+ useX402Payment,
112
+ walletSupportsSessions
96
113
  });
97
114
  //# 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 useUpdateWalletEncryption,\n\n // Transaction hooks\n useApprove,\n useTransfer,\n useGetTransactionList,\n useGetTransaction,\n useGetTransactionStatus,\n useSyncOnChainTransfers,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Sign typed data (wallet-api signature span; SHHH envelope-aware)\n useSignTypedData,\n\n // Compose a get-starknet StarknetWindowObject (session-first routing)\n useChipiWalletObject,\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\n // dApp connection (get-starknet StarknetWindowObject)\n createChipiWindowObject,\n injectChipiWallet,\n ChipiInjector,\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 ChipiWindowObjectDeps,\n ChipiApprovalRequest,\n ChipiSessionPolicy,\n InjectedChipiWallet,\n ChipiInjectorProps,\n UseChipiWalletObjectConfig,\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\n// Privacy hooks (Modo privado engine) — see @chipi-stack/chipi-react usePrivacy.\nexport {\n useShield,\n useUnshield,\n usePrivateBalance,\n derivePrivacyAccount,\n netPrivateBalance,\n type PrivacyConfig,\n type PrivacyKeys,\n type PrivacyStep,\n type ShieldHookInput,\n type PrivacyLedgerEvent,\n type PrivateBalanceInput,\n} from \"@chipi-stack/chipi-react\";\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBAmDO;AAwBP,IAAAA,sBAYO;","names":["import_chipi_react"]}
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 useGetTransaction,\n useGetTransactionStatus,\n useSyncOnChainTransfers,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Sign typed data (wallet-api signature span; SHHH envelope-aware)\n useSignTypedData,\n\n // Compose a get-starknet StarknetWindowObject (session-first routing)\n useChipiWalletObject,\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 walletSupportsSessions,\n\n // dApp connection (get-starknet StarknetWindowObject)\n createChipiWindowObject,\n injectChipiWallet,\n ChipiInjector,\n\n // SHHH V8.4: migration, guardian recovery, threshold, low-level signer\n useMigrateWalletToShhh,\n useGuardianRecovery,\n useThresholdSign,\n useShhhSigner,\n\n // x402 buyer hook\n useX402Payment,\n} from \"@chipi-stack/chipi-react\";\n\n// SHHH V8.4 standalone recovery component (headless/controlled). Re-exported\n// so Next.js apps don't need a direct @chipi-stack/chipi-react dependency.\n// DEFAULT_RECOVER_LABELS is the developer-English copy; override per the\n// RecoverLabels type with localized, jargon-free strings for real users.\nexport { Recover, DEFAULT_RECOVER_LABELS } 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 RegisterSessionConfig,\n ChipiWindowObjectDeps,\n ChipiApprovalRequest,\n ChipiSessionPolicy,\n InjectedChipiWallet,\n ChipiInjectorProps,\n UseChipiWalletObjectConfig,\n // SHHH V8.4 surface types\n UseGuardianRecoveryReturn,\n UseThresholdSignOptions,\n UseThresholdSignReturn,\n ThresholdSignState,\n UseShhhSignerReturn,\n RecoverProps,\n RecoverLabels,\n UseX402PaymentConfig,\n UseX402PaymentReturn,\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\n// Privacy hooks (Modo privado engine) — see @chipi-stack/chipi-react usePrivacy.\nexport {\n useShield,\n useUnshield,\n usePrivateBalance,\n derivePrivacyAccount,\n netPrivateBalance,\n type PrivacyConfig,\n type PrivacyKeys,\n type PrivacyStep,\n type ShieldHookInput,\n type PrivacyLedgerEvent,\n type PrivateBalanceInput,\n} from \"@chipi-stack/chipi-react\";\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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,yBA6DO;AAMP,IAAAA,sBAAgD;AAmChD,IAAAA,sBAYO;","names":["import_chipi_react"]}
@@ -1,7 +1,7 @@
1
1
  import { ServerComponentsServerModuleTypes } from './components.server.js';
2
2
  export { ChipiProvider as ChipiClientProvider } from './app-router/client/ChipiProvider.js';
3
- export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, SessionState, SessionWallet, ShieldHookInput, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useMigrateWalletToPasskey, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShield, useSignTypedData, useSyncOnChainTransfers, useTransfer, useUnshield, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
4
- export { CreateWalletPasskeyResult, PasskeyStatus, UsePasskeyAuthResult, UsePasskeySetupResult, UsePasskeyStatusResult, WalletCredentialMetadata, createWalletPasskey, getStoredCredential, getWalletEncryptKey, hasWalletPasskey, isWebAuthnPRFSupported, isWebAuthnSupported, removeStoredCredential, verifyWalletPasskey } from '@chipi-stack/chipi-passkey';
3
+ export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, DEFAULT_RECOVER_LABELS, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, Recover, RecoverLabels, RecoverProps, RegisterSessionConfig, SessionState, SessionWallet, ShieldHookInput, ThresholdSignState, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, UseGuardianRecoveryReturn, UseShhhSignerReturn, UseThresholdSignOptions, UseThresholdSignReturn, UseX402PaymentConfig, UseX402PaymentReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useGuardianRecovery, useMigrateWalletToPasskey, useMigrateWalletToShhh, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShhhSigner, useShield, useSignTypedData, useSyncOnChainTransfers, useThresholdSign, useTransfer, useUnshield, useUpdateWalletEncryption, useX402Payment, walletSupportsSessions } from '@chipi-stack/chipi-react';
4
+ export { CreateWalletPasskeyResult, PasskeyStatus, PrfUnsupportedError, 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';
7
7
  export { createChipiServer, getChipiServer, resetChipiServer } from './server/createChipiServer.js';
package/dist/cjs/index.js CHANGED
@@ -33,6 +33,7 @@ __export(index_exports, {
33
33
  ChainToken: () => import_types.ChainToken,
34
34
  ChipiClientProvider: () => import_ChipiProvider.ChipiProvider,
35
35
  ChipiProvider: () => ChipiProvider,
36
+ PrfUnsupportedError: () => import_chipi_passkey.PrfUnsupportedError,
36
37
  createWalletPasskey: () => import_chipi_passkey.createWalletPasskey,
37
38
  getStoredCredential: () => import_chipi_passkey.getStoredCredential,
38
39
  getWalletEncryptKey: () => import_chipi_passkey.getWalletEncryptKey,
@@ -56,6 +57,7 @@ const ChipiProvider = ComponentsModule.ChipiProvider;
56
57
  ChainToken,
57
58
  ChipiClientProvider,
58
59
  ChipiProvider,
60
+ PrfUnsupportedError,
59
61
  createWalletPasskey,
60
62
  getStoredCredential,
61
63
  getWalletEncryptKey,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * Main exports for @chipi-stack/nextjs\n *\n * Client-side components and hooks are exported from this main entry point.\n * Server-side utilities are exported from '@chipi-stack/nextjs/server'.\n */\n\n/**\n * Conditionally export ChipiProvider that exhibits different behavior\n * when used in /app vs /pages router.\n * We define the runtime and type values explicitly,\n * because TS will not recognize the subpath import unless the HOST\n * application sets moduleResolution to 'NodeNext'.\n */\n// @ts-expect-error — subpath import not resolved without NodeNext moduleResolution\nimport * as ComponentsModule from \"#components\";\n\nimport type { ServerComponentsServerModuleTypes } from \"./components.server.js\";\n\nexport const ChipiProvider =\n ComponentsModule.ChipiProvider as ServerComponentsServerModuleTypes[\"ChipiProvider\"];\n\n// Individual providers (for advanced use cases)\nexport { ChipiProvider as ChipiClientProvider } from \"./app-router/client/ChipiProvider.js\";\n\n// Client-side hooks - these are safe to import because they're marked 'use client'\nexport * from \"./hooks.js\";\n\n// Re-export passkey utilities (non-hook exports only)\nexport {\n createWalletPasskey,\n getWalletEncryptKey,\n hasWalletPasskey,\n isWebAuthnSupported,\n isWebAuthnPRFSupported,\n verifyWalletPasskey,\n getStoredCredential,\n removeStoredCredential,\n type CreateWalletPasskeyResult,\n type WalletCredentialMetadata,\n type UsePasskeySetupResult,\n type UsePasskeyAuthResult,\n type UsePasskeyStatusResult,\n type PasskeyStatus,\n} from \"@chipi-stack/chipi-passkey\";\n\n// Re-export types\nexport type * from \"@chipi-stack/types\";\n\n// Re-export enums and constants (these need to be exported as values, not just types)\nexport { Chain, ChainToken } from \"@chipi-stack/types\";\n\nexport * from \"./server/index.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeA,uBAAkC;AAQlC,2BAAqD;AAGrD,0BAAc,uBA1Bd;AA6BA,2BAeO;AAMP,mBAAkC;AAElC,0BAAc,8BApDd;AAmBO,MAAM,gBACX,iBAAiB;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * Main exports for @chipi-stack/nextjs\n *\n * Client-side components and hooks are exported from this main entry point.\n * Server-side utilities are exported from '@chipi-stack/nextjs/server'.\n */\n\n/**\n * Conditionally export ChipiProvider that exhibits different behavior\n * when used in /app vs /pages router.\n * We define the runtime and type values explicitly,\n * because TS will not recognize the subpath import unless the HOST\n * application sets moduleResolution to 'NodeNext'.\n */\n// @ts-expect-error — subpath import not resolved without NodeNext moduleResolution\nimport * as ComponentsModule from \"#components\";\n\nimport type { ServerComponentsServerModuleTypes } from \"./components.server.js\";\n\nexport const ChipiProvider =\n ComponentsModule.ChipiProvider as ServerComponentsServerModuleTypes[\"ChipiProvider\"];\n\n// Individual providers (for advanced use cases)\nexport { ChipiProvider as ChipiClientProvider } from \"./app-router/client/ChipiProvider.js\";\n\n// Client-side hooks - these are safe to import because they're marked 'use client'\nexport * from \"./hooks.js\";\n\n// Re-export passkey utilities (non-hook exports only)\nexport {\n createWalletPasskey,\n // Thrown by createWalletPasskey when the authenticator has no WebAuthn PRF\n // (code \"PRF_UNSUPPORTED\"): show a \"device not supported\" screen.\n PrfUnsupportedError,\n getWalletEncryptKey,\n hasWalletPasskey,\n isWebAuthnSupported,\n isWebAuthnPRFSupported,\n verifyWalletPasskey,\n getStoredCredential,\n removeStoredCredential,\n type CreateWalletPasskeyResult,\n type WalletCredentialMetadata,\n type UsePasskeySetupResult,\n type UsePasskeyAuthResult,\n type UsePasskeyStatusResult,\n type PasskeyStatus,\n} from \"@chipi-stack/chipi-passkey\";\n\n// Re-export types\nexport type * from \"@chipi-stack/types\";\n\n// Re-export enums and constants (these need to be exported as values, not just types)\nexport { Chain, ChainToken } from \"@chipi-stack/types\";\n\nexport * from \"./server/index.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeA,uBAAkC;AAQlC,2BAAqD;AAGrD,0BAAc,uBA1Bd;AA6BA,2BAkBO;AAMP,mBAAkC;AAElC,0BAAc,8BAvDd;AAmBO,MAAM,gBACX,iBAAiB;","names":[]}
package/dist/esm/hooks.js CHANGED
@@ -26,10 +26,17 @@ import {
26
26
  useGetSessionData,
27
27
  useExecuteWithSession,
28
28
  useChipiSession,
29
+ walletSupportsSessions,
29
30
  createChipiWindowObject,
30
31
  injectChipiWallet,
31
- ChipiInjector
32
+ ChipiInjector,
33
+ useMigrateWalletToShhh,
34
+ useGuardianRecovery,
35
+ useThresholdSign,
36
+ useShhhSigner,
37
+ useX402Payment
32
38
  } from "@chipi-stack/chipi-react";
39
+ import { Recover, DEFAULT_RECOVER_LABELS } from "@chipi-stack/chipi-react";
33
40
  import {
34
41
  useShield,
35
42
  useUnshield,
@@ -39,6 +46,8 @@ import {
39
46
  } from "@chipi-stack/chipi-react";
40
47
  export {
41
48
  ChipiInjector,
49
+ DEFAULT_RECOVER_LABELS,
50
+ Recover,
42
51
  createChipiWindowObject,
43
52
  derivePrivacyAccount,
44
53
  injectChipiWallet,
@@ -61,16 +70,22 @@ export {
61
70
  useGetTransactionList,
62
71
  useGetTransactionStatus,
63
72
  useGetWallet,
73
+ useGuardianRecovery,
64
74
  useMigrateWalletToPasskey,
75
+ useMigrateWalletToShhh,
65
76
  usePrivateBalance,
66
77
  usePurchaseSku,
67
78
  useRecordSendTransaction,
68
79
  useRevokeSessionKey,
80
+ useShhhSigner,
69
81
  useShield,
70
82
  useSignTypedData,
71
83
  useSyncOnChainTransfers,
84
+ useThresholdSign,
72
85
  useTransfer,
73
86
  useUnshield,
74
- useUpdateWalletEncryption
87
+ useUpdateWalletEncryption,
88
+ useX402Payment,
89
+ walletSupportsSessions
75
90
  };
76
91
  //# 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 useUpdateWalletEncryption,\n\n // Transaction hooks\n useApprove,\n useTransfer,\n useGetTransactionList,\n useGetTransaction,\n useGetTransactionStatus,\n useSyncOnChainTransfers,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Sign typed data (wallet-api signature span; SHHH envelope-aware)\n useSignTypedData,\n\n // Compose a get-starknet StarknetWindowObject (session-first routing)\n useChipiWalletObject,\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\n // dApp connection (get-starknet StarknetWindowObject)\n createChipiWindowObject,\n injectChipiWallet,\n ChipiInjector,\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 ChipiWindowObjectDeps,\n ChipiApprovalRequest,\n ChipiSessionPolicy,\n InjectedChipiWallet,\n ChipiInjectorProps,\n UseChipiWalletObjectConfig,\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\n// Privacy hooks (Modo privado engine) — see @chipi-stack/chipi-react usePrivacy.\nexport {\n useShield,\n useUnshield,\n usePrivateBalance,\n derivePrivacyAccount,\n netPrivateBalance,\n type PrivacyConfig,\n type PrivacyKeys,\n type PrivacyStep,\n type ShieldHookInput,\n type PrivacyLedgerEvent,\n type PrivateBalanceInput,\n} from \"@chipi-stack/chipi-react\";\n"],"mappings":";AAMA;AAAA,EAEE;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAwBP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;","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 useGetTransaction,\n useGetTransactionStatus,\n useSyncOnChainTransfers,\n\n // SKU hooks\n useGetSkuList,\n useGetSku,\n usePurchaseSku,\n useCallAnyContract,\n\n // Sign typed data (wallet-api signature span; SHHH envelope-aware)\n useSignTypedData,\n\n // Compose a get-starknet StarknetWindowObject (session-first routing)\n useChipiWalletObject,\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 walletSupportsSessions,\n\n // dApp connection (get-starknet StarknetWindowObject)\n createChipiWindowObject,\n injectChipiWallet,\n ChipiInjector,\n\n // SHHH V8.4: migration, guardian recovery, threshold, low-level signer\n useMigrateWalletToShhh,\n useGuardianRecovery,\n useThresholdSign,\n useShhhSigner,\n\n // x402 buyer hook\n useX402Payment,\n} from \"@chipi-stack/chipi-react\";\n\n// SHHH V8.4 standalone recovery component (headless/controlled). Re-exported\n// so Next.js apps don't need a direct @chipi-stack/chipi-react dependency.\n// DEFAULT_RECOVER_LABELS is the developer-English copy; override per the\n// RecoverLabels type with localized, jargon-free strings for real users.\nexport { Recover, DEFAULT_RECOVER_LABELS } 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 RegisterSessionConfig,\n ChipiWindowObjectDeps,\n ChipiApprovalRequest,\n ChipiSessionPolicy,\n InjectedChipiWallet,\n ChipiInjectorProps,\n UseChipiWalletObjectConfig,\n // SHHH V8.4 surface types\n UseGuardianRecoveryReturn,\n UseThresholdSignOptions,\n UseThresholdSignReturn,\n ThresholdSignState,\n UseShhhSignerReturn,\n RecoverProps,\n RecoverLabels,\n UseX402PaymentConfig,\n UseX402PaymentReturn,\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\n// Privacy hooks (Modo privado engine) — see @chipi-stack/chipi-react usePrivacy.\nexport {\n useShield,\n useUnshield,\n usePrivateBalance,\n derivePrivacyAccount,\n netPrivateBalance,\n type PrivacyConfig,\n type PrivacyKeys,\n type PrivacyStep,\n type ShieldHookInput,\n type PrivacyLedgerEvent,\n type PrivateBalanceInput,\n} from \"@chipi-stack/chipi-react\";\n"],"mappings":";AAMA;AAAA,EAEE;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,OACK;AAMP,SAAS,SAAS,8BAA8B;AAmChD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;","names":[]}
package/dist/esm/index.js CHANGED
@@ -4,6 +4,7 @@ import { ChipiProvider as ChipiProvider2 } from "./app-router/client/ChipiProvid
4
4
  export * from "./hooks.js";
5
5
  import {
6
6
  createWalletPasskey,
7
+ PrfUnsupportedError,
7
8
  getWalletEncryptKey,
8
9
  hasWalletPasskey,
9
10
  isWebAuthnSupported,
@@ -19,6 +20,7 @@ export {
19
20
  ChainToken,
20
21
  ChipiProvider2 as ChipiClientProvider,
21
22
  ChipiProvider,
23
+ PrfUnsupportedError,
22
24
  createWalletPasskey,
23
25
  getStoredCredential,
24
26
  getWalletEncryptKey,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * Main exports for @chipi-stack/nextjs\n *\n * Client-side components and hooks are exported from this main entry point.\n * Server-side utilities are exported from '@chipi-stack/nextjs/server'.\n */\n\n/**\n * Conditionally export ChipiProvider that exhibits different behavior\n * when used in /app vs /pages router.\n * We define the runtime and type values explicitly,\n * because TS will not recognize the subpath import unless the HOST\n * application sets moduleResolution to 'NodeNext'.\n */\n// @ts-expect-error — subpath import not resolved without NodeNext moduleResolution\nimport * as ComponentsModule from \"#components\";\n\nimport type { ServerComponentsServerModuleTypes } from \"./components.server.js\";\n\nexport const ChipiProvider =\n ComponentsModule.ChipiProvider as ServerComponentsServerModuleTypes[\"ChipiProvider\"];\n\n// Individual providers (for advanced use cases)\nexport { ChipiProvider as ChipiClientProvider } from \"./app-router/client/ChipiProvider.js\";\n\n// Client-side hooks - these are safe to import because they're marked 'use client'\nexport * from \"./hooks.js\";\n\n// Re-export passkey utilities (non-hook exports only)\nexport {\n createWalletPasskey,\n getWalletEncryptKey,\n hasWalletPasskey,\n isWebAuthnSupported,\n isWebAuthnPRFSupported,\n verifyWalletPasskey,\n getStoredCredential,\n removeStoredCredential,\n type CreateWalletPasskeyResult,\n type WalletCredentialMetadata,\n type UsePasskeySetupResult,\n type UsePasskeyAuthResult,\n type UsePasskeyStatusResult,\n type PasskeyStatus,\n} from \"@chipi-stack/chipi-passkey\";\n\n// Re-export types\nexport type * from \"@chipi-stack/types\";\n\n// Re-export enums and constants (these need to be exported as values, not just types)\nexport { Chain, ChainToken } from \"@chipi-stack/types\";\n\nexport * from \"./server/index.js\";\n"],"mappings":"AAeA,YAAY,sBAAsB;AAI3B,MAAM,gBACX,iBAAiB;AAGnB,SAA0B,iBAAjBA,sBAA4C;AAGrD,cAAc;AAGd;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAMP,SAAS,OAAO,kBAAkB;AAElC,cAAc;","names":["ChipiProvider"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * Main exports for @chipi-stack/nextjs\n *\n * Client-side components and hooks are exported from this main entry point.\n * Server-side utilities are exported from '@chipi-stack/nextjs/server'.\n */\n\n/**\n * Conditionally export ChipiProvider that exhibits different behavior\n * when used in /app vs /pages router.\n * We define the runtime and type values explicitly,\n * because TS will not recognize the subpath import unless the HOST\n * application sets moduleResolution to 'NodeNext'.\n */\n// @ts-expect-error — subpath import not resolved without NodeNext moduleResolution\nimport * as ComponentsModule from \"#components\";\n\nimport type { ServerComponentsServerModuleTypes } from \"./components.server.js\";\n\nexport const ChipiProvider =\n ComponentsModule.ChipiProvider as ServerComponentsServerModuleTypes[\"ChipiProvider\"];\n\n// Individual providers (for advanced use cases)\nexport { ChipiProvider as ChipiClientProvider } from \"./app-router/client/ChipiProvider.js\";\n\n// Client-side hooks - these are safe to import because they're marked 'use client'\nexport * from \"./hooks.js\";\n\n// Re-export passkey utilities (non-hook exports only)\nexport {\n createWalletPasskey,\n // Thrown by createWalletPasskey when the authenticator has no WebAuthn PRF\n // (code \"PRF_UNSUPPORTED\"): show a \"device not supported\" screen.\n PrfUnsupportedError,\n getWalletEncryptKey,\n hasWalletPasskey,\n isWebAuthnSupported,\n isWebAuthnPRFSupported,\n verifyWalletPasskey,\n getStoredCredential,\n removeStoredCredential,\n type CreateWalletPasskeyResult,\n type WalletCredentialMetadata,\n type UsePasskeySetupResult,\n type UsePasskeyAuthResult,\n type UsePasskeyStatusResult,\n type PasskeyStatus,\n} from \"@chipi-stack/chipi-passkey\";\n\n// Re-export types\nexport type * from \"@chipi-stack/types\";\n\n// Re-export enums and constants (these need to be exported as values, not just types)\nexport { Chain, ChainToken } from \"@chipi-stack/types\";\n\nexport * from \"./server/index.js\";\n"],"mappings":"AAeA,YAAY,sBAAsB;AAI3B,MAAM,gBACX,iBAAiB;AAGnB,SAA0B,iBAAjBA,sBAA4C;AAGrD,cAAc;AAGd;AAAA,EACE;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAMP,SAAS,OAAO,kBAAkB;AAElC,cAAc;","names":["ChipiProvider"]}
package/dist/hooks.d.mts CHANGED
@@ -1 +1 @@
1
- export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, SessionState, SessionWallet, ShieldHookInput, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useMigrateWalletToPasskey, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShield, useSignTypedData, useSyncOnChainTransfers, useTransfer, useUnshield, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
1
+ export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, DEFAULT_RECOVER_LABELS, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, Recover, RecoverLabels, RecoverProps, RegisterSessionConfig, SessionState, SessionWallet, ShieldHookInput, ThresholdSignState, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, UseGuardianRecoveryReturn, UseShhhSignerReturn, UseThresholdSignOptions, UseThresholdSignReturn, UseX402PaymentConfig, UseX402PaymentReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useGuardianRecovery, useMigrateWalletToPasskey, useMigrateWalletToShhh, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShhhSigner, useShield, useSignTypedData, useSyncOnChainTransfers, useThresholdSign, useTransfer, useUnshield, useUpdateWalletEncryption, useX402Payment, walletSupportsSessions } from '@chipi-stack/chipi-react';
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ServerComponentsServerModuleTypes } from './components.server.mjs';
2
2
  export { ChipiProvider as ChipiClientProvider } from './app-router/client/ChipiProvider.mjs';
3
- export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, SessionState, SessionWallet, ShieldHookInput, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useMigrateWalletToPasskey, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShield, useSignTypedData, useSyncOnChainTransfers, useTransfer, useUnshield, useUpdateWalletEncryption } from '@chipi-stack/chipi-react';
4
- export { CreateWalletPasskeyResult, PasskeyStatus, UsePasskeyAuthResult, UsePasskeySetupResult, UsePasskeyStatusResult, WalletCredentialMetadata, createWalletPasskey, getStoredCredential, getWalletEncryptKey, hasWalletPasskey, isWebAuthnPRFSupported, isWebAuthnSupported, removeStoredCredential, verifyWalletPasskey } from '@chipi-stack/chipi-passkey';
3
+ export { ChipiApprovalRequest, ChipiInjector, ChipiInjectorProps, ChipiSessionPolicy, ChipiWalletData, ChipiWindowObjectDeps, DEFAULT_RECOVER_LABELS, InjectedChipiWallet, PrivacyConfig, PrivacyKeys, PrivacyLedgerEvent, PrivacyStep, PrivateBalanceInput, Recover, RecoverLabels, RecoverProps, RegisterSessionConfig, SessionState, SessionWallet, ShieldHookInput, ThresholdSignState, UseChipiSessionConfig, UseChipiSessionReturn, UseChipiWalletConfig, UseChipiWalletObjectConfig, UseChipiWalletReturn, UseGuardianRecoveryReturn, UseShhhSignerReturn, UseThresholdSignOptions, UseThresholdSignReturn, UseX402PaymentConfig, UseX402PaymentReturn, createChipiWindowObject, derivePrivacyAccount, injectChipiWallet, netPrivateBalance, useAddSessionKeyToContract, useApprove, useCallAnyContract, useChipiContext, useChipiSession, useChipiWallet, useChipiWalletObject, useCreateSessionKey, useCreateWallet, useExecuteWithSession, useGetSessionData, useGetSku, useGetSkuList, useGetTokenBalance, useGetTransaction, useGetTransactionList, useGetTransactionStatus, useGetWallet, useGuardianRecovery, useMigrateWalletToPasskey, useMigrateWalletToShhh, usePrivateBalance, usePurchaseSku, useRecordSendTransaction, useRevokeSessionKey, useShhhSigner, useShield, useSignTypedData, useSyncOnChainTransfers, useThresholdSign, useTransfer, useUnshield, useUpdateWalletEncryption, useX402Payment, walletSupportsSessions } from '@chipi-stack/chipi-react';
4
+ export { CreateWalletPasskeyResult, PasskeyStatus, PrfUnsupportedError, 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';
7
7
  export { createChipiServer, getChipiServer, resetChipiServer } from './server/createChipiServer.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chipi-stack/nextjs",
3
- "version": "14.13.0",
3
+ "version": "14.14.0",
4
4
  "description": "Chipi SDK for Next.js applications with server-side support",
5
5
  "keywords": [
6
6
  "chipi",
@@ -91,11 +91,11 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "@tanstack/react-query": "^5.85.0",
94
- "@chipi-stack/backend": "^14.13.0",
94
+ "@chipi-stack/backend": "^14.14.0",
95
95
  "@chipi-stack/chipi-passkey": "^2.3.0",
96
- "@chipi-stack/chipi-react": "^14.13.0",
97
- "@chipi-stack/shared": "^14.13.0",
98
- "@chipi-stack/types": "^14.13.0"
96
+ "@chipi-stack/chipi-react": "^14.14.0",
97
+ "@chipi-stack/shared": "^14.14.0",
98
+ "@chipi-stack/types": "^14.14.0"
99
99
  },
100
100
  "peerDependencies": {
101
101
  "next": ">=13.0.0",