diff --git a/packages/library/package.json b/packages/library/package.json index 19a0d86..22ca582 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -1,6 +1,6 @@ { "name": "@code-wallet/library", - "version": "1.2.1", + "version": "1.2.3", "license": "MIT", "repository": { "type": "git", diff --git a/packages/library/src/intent.ts b/packages/library/src/intent.ts index 667713b..b303a4d 100644 --- a/packages/library/src/intent.ts +++ b/packages/library/src/intent.ts @@ -2,6 +2,7 @@ import * as proto from '@code-wallet/rpc'; import { IdempotencyKey } from './idempotency'; import { ElementOptions } from './elements/options'; import { Keypair } from './keys'; +import { CodePayload } from './payload'; export type IntentType = 'payment' | 'login'; @@ -54,6 +55,9 @@ export interface WebhookParams { export interface Intent { options: ElementOptions; nonce: IdempotencyKey; + + rendezvousPayload: CodePayload; + rendezvousKeypair: Keypair; /** * Validate the details of this intent, and throw an error if they're invalid.