@settlemint/dalp-sdk 3.1.18-main.34297395124 → 3.1.18-main.34307445701
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/dist/auth.js +1 -1
- package/dist/bundler.d.ts +10 -1
- package/dist/bundler.js +2 -2
- package/dist/{chunk-tcmkfwr5.js → chunk-7mwcykdd.js} +1 -1
- package/dist/{chunk-gff6qqhn.js → chunk-kcdj6e5h.js} +1 -1
- package/dist/{chunk-wekttrxt.js → chunk-xv1r3zf7.js} +1 -1
- package/dist/effect.js +1 -1
- package/dist/generated/api-types.d.ts +15145 -620
- package/dist/index.js +3 -3
- package/dist/routes/index.js +1 -1
- package/package.json +1 -1
package/dist/auth.js
CHANGED
package/dist/bundler.d.ts
CHANGED
|
@@ -4,7 +4,16 @@ import type { DalpFetch } from "./client/ssr-fetch.ts";
|
|
|
4
4
|
import type { ReadonlyDeep } from "./readonly-deep.ts";
|
|
5
5
|
export type DalpEstimateUserOperationGasReturnType = RpcEstimateUserOperationGasReturnType<"0.9">;
|
|
6
6
|
export type DalpUserOperation = RpcUserOperation<"0.9">;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* A user operation the bundler routes will act on.
|
|
9
|
+
*
|
|
10
|
+
* viem marks `sender`, `nonce` and `callData` optional on a request, because a
|
|
11
|
+
* paymaster client fills a request in over several passes. The DAPI routes
|
|
12
|
+
* require all three: an operation with no sender names no account, and one with
|
|
13
|
+
* no call data asks for nothing. Re-requiring them here refuses the incomplete
|
|
14
|
+
* operation at the call site rather than at the server.
|
|
15
|
+
*/
|
|
16
|
+
export type DalpUserOperationRequest = RpcUserOperationRequest<"0.9"> & Pick<DalpUserOperation, "sender" | "nonce" | "callData">;
|
|
8
17
|
export interface DalpBundlerClientConfig {
|
|
9
18
|
readonly url: string;
|
|
10
19
|
readonly apiKey: string;
|
package/dist/bundler.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-7mwcykdd.js";
|
|
2
2
|
import"./chunk-j4sxrfzz.js";
|
|
3
3
|
import"./chunk-wea3x9j4.js";
|
|
4
4
|
import"./chunk-xp3fx2yt.js";
|
|
5
5
|
import {
|
|
6
6
|
createDalpClient2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-kcdj6e5h.js";
|
|
8
8
|
|
|
9
9
|
// src/bundler.ts
|
|
10
10
|
import { getAddress, hexToBigInt, isHex } from "viem";
|