Skip to content

Commit 56ce063

Browse files
authored
Merge pull request #67 from interledger/66-fix-version-of-op
update OP version
2 parents 93079c1 + 0d2aeed commit 56ce063

3 files changed

Lines changed: 5115 additions & 3988 deletions

File tree

app/lib/open-payments.server.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,7 @@ type CreateOutgoingPaymentParams = {
240240
async function createOutgoingPaymentGrant(
241241
params: CreateOutgoingPaymentParams
242242
): Promise<PendingGrant> {
243-
const {
244-
walletAddress,
245-
debitAmount,
246-
receiveAmount,
247-
nonce,
248-
paymentId,
249-
opClient
250-
} = params
243+
const { walletAddress, debitAmount, nonce, paymentId, opClient } = params
251244

252245
const grant = await opClient.grant
253246
.request(
@@ -262,8 +255,7 @@ async function createOutgoingPaymentGrant(
262255
type: 'outgoing-payment',
263256
actions: ['create', 'read', 'list'],
264257
limits: {
265-
debitAmount: debitAmount,
266-
receiveAmount: receiveAmount
258+
debitAmount: debitAmount
267259
}
268260
}
269261
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@conform-to/react": "^0.9.2",
2020
"@conform-to/zod": "^0.9.2",
2121
"@headlessui/react": "^1.7.18",
22-
"@interledger/open-payments": "6.13.1",
22+
"@interledger/open-payments": "7.1.1",
2323
"@paralleldrive/cuid2": "^2.2.2",
2424
"@radix-ui/react-label": "^2.0.2",
2525
"@radix-ui/react-slot": "^1.0.2",

0 commit comments

Comments
 (0)