@towns-labs/relayer 2.0.12 → 2.0.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-labs/relayer",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "exports": {
@@ -36,7 +36,8 @@
36
36
  "@hono/zod-validator": "0.7.6",
37
37
  "@scure/bip32": "2.0.1",
38
38
  "@scure/bip39": "2.0.1",
39
- "@towns-labs/contracts": "^2.0.12",
39
+ "@slicekit/erc8128": "^0.1.0",
40
+ "@towns-labs/contracts": "^2.0.13",
40
41
  "hono": "^4.11.7",
41
42
  "oxlint": "^1.41.0",
42
43
  "pino": "10.2.0",
@@ -42,6 +42,7 @@ export interface PrepareCallsParams {
42
42
  fee_max_amount?: string
43
43
  nonce?: string
44
44
  seq_key?: string
45
+ prepare_key?: string
45
46
  settler?: Address
46
47
  settler_context?: Hex
47
48
  }
@@ -143,7 +144,15 @@ export interface AssetDiff {
143
144
  /**
144
145
  * Context returned by prepareCalls, used in sendPreparedCalls (spec-compliant)
145
146
  */
146
- export type PrepareCallsContext = { quote: SignedQuotes }
147
+ export type PrepareCallsContext = {
148
+ quote: SignedQuotes
149
+ draft?: {
150
+ id: string
151
+ seqKey: string
152
+ expiresAtMs: number
153
+ fromCache: boolean
154
+ }
155
+ }
147
156
 
148
157
  /**
149
158
  * Capabilities in the prepareCalls response