diff --git a/package.json b/package.json index 401f333..586cb1a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@webbtc/webln-types", "description": "Type definitions for WebLN", - "version": "2.1.0", + "version": "3.0.0", "types": "types/index.d.ts", "repository": { "type": "git", diff --git a/types/index.d.ts b/types/index.d.ts index 3217682..3f1b270 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -77,12 +77,13 @@ interface GetBalanceResponse { } interface LookupInvoiceArgs { - invoice?: string; - payment_hash?: string; + paymentRequest?: string; + paymentHash?: string; } interface LookupInvoiceResponse { paymentRequest: string; + preimage?: string; paid: boolean; }