Skip to content

Commit 497bd03

Browse files
feat: enable pusher by default
1 parent 8a01358 commit 497bd03

File tree

7 files changed

+1130
-195
lines changed

7 files changed

+1130
-195
lines changed

examples/nextjs-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"@farcaster/frame-sdk": "^0.0.26",
1414
"@headlessui/react": "^2.2.0",
1515
"@rainbow-me/rainbowkit": "^2.2.8",
16-
"@rozoai/intent-common": "0.1.5",
17-
"@rozoai/intent-pay": "0.1.4",
16+
"@rozoai/intent-common": "0.1.6-beta.1",
17+
"@rozoai/intent-pay": "0.1.5-beta.2",
1818
"@tanstack/react-query": "^5.51.11",
1919
"@types/react-syntax-highlighter": "^15.5.13",
2020
"@wagmi/core": "^2.22.0",
2121
"autoprefixer": "^10.4.20",
2222
"clsx": "^2.1.1",
23-
"next": "15.3.6",
23+
"next": "15.3.8",
2424
"postcss": "^8.4.49",
2525
"react": "18.2.0",
2626
"react-dom": "18.2.0",

packages/connectkit/bundle-analysis.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/connectkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@rozoai/intent-pay",
33
"private": false,
4-
"version": "0.1.4",
4+
"version": "0.1.5-beta.2",
55
"author": "RozoAI",
66
"homepage": "https://github.com/RozoAI/intent-pay",
77
"license": "BSD-2-Clause",
@@ -47,7 +47,7 @@
4747
"@albedo-link/intent": "^0.13.0",
4848
"@reown/appkit": "^1.7.0",
4949
"@rollup/plugin-typescript": "^12.1.2",
50-
"@rozoai/intent-common": "workspace:*",
50+
"@rozoai/intent-common": "0.1.6-beta.1",
5151
"@solana/spl-token": "^0.4.14",
5252
"@solana/wallet-adapter-base": "^0.9.27",
5353
"@solana/wallet-adapter-react": "^0.15.39",

packages/connectkit/src/components/Pages/Confirmation/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ const Confirmation: React.FC = () => {
184184
});
185185

186186
// Use Pusher hook for real-time status updates
187-
const enablePusher = context.options?.enablePusher ?? false;
188187
usePusherPayout({
189-
enabled: enablePusher,
188+
enabled: true,
190189
rozoPaymentId,
191190
onPayoutCompleted: (payload) => {
192191
context.log("[CONFIRMATION] Pusher payout completed:", payload);

packages/connectkit/src/provider/DaimoPayProvider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ const RozoPayUIProvider = ({
133133
walletOnboardingUrl: undefined,
134134
overlayBlur: undefined,
135135
disableMobileInjector: false,
136-
enablePusher: false,
137136
};
138137

139138
const opts: RozoPayContextOptions = Object.assign(

packages/connectkit/src/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ export type RozoPayContextOptions = {
4949
overlayBlur?: number;
5050
/** Disable mobile wallet injector detection */
5151
disableMobileInjector?: boolean;
52-
/** Enable Pusher real-time payment status updates */
53-
enablePusher?: boolean;
5452
};
5553

5654
/** Modal UI options, set on the pay button triggering that modal. */

pnpm-lock.yaml

Lines changed: 1123 additions & 184 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)