@rhinestone/sdk 1.5.1 → 2.0.0-beta.1
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/README.md +1 -1
- package/dist/src/accounts/error.d.ts +1 -1
- package/dist/src/accounts/error.js +1 -19
- package/dist/src/accounts/index.d.ts +5 -5
- package/dist/src/accounts/index.js +121 -157
- package/dist/src/accounts/json-rpc/index.d.ts +1 -1
- package/dist/src/accounts/json-rpc/index.js +8 -10
- package/dist/src/accounts/json-rpc/providers.d.ts +1 -1
- package/dist/src/accounts/json-rpc/providers.d.ts.map +1 -1
- package/dist/src/accounts/json-rpc/providers.js +7 -9
- package/dist/src/accounts/kernel.d.ts +3 -3
- package/dist/src/accounts/kernel.js +66 -75
- package/dist/src/accounts/nexus.d.ts +3 -3
- package/dist/src/accounts/nexus.js +62 -73
- package/dist/src/accounts/passport.d.ts +3 -3
- package/dist/src/accounts/passport.js +9 -13
- package/dist/src/accounts/safe.d.ts +3 -3
- package/dist/src/accounts/safe.js +54 -63
- package/dist/src/accounts/signing/common.d.ts +2 -2
- package/dist/src/accounts/signing/common.js +30 -36
- package/dist/src/accounts/signing/message.d.ts +2 -2
- package/dist/src/accounts/signing/message.js +10 -12
- package/dist/src/accounts/signing/passkeys.js +11 -17
- package/dist/src/accounts/signing/typedData.d.ts +1 -1
- package/dist/src/accounts/signing/typedData.js +6 -8
- package/dist/src/accounts/startale.d.ts +3 -3
- package/dist/src/accounts/startale.js +37 -47
- package/dist/src/accounts/utils.d.ts +2 -2
- package/dist/src/accounts/utils.js +22 -28
- package/dist/src/accounts/walletClient.js +4 -8
- package/dist/src/actions/compact.d.ts +1 -1
- package/dist/src/actions/compact.js +22 -35
- package/dist/src/actions/deployment.d.ts +1 -1
- package/dist/src/actions/deployment.js +11 -13
- package/dist/src/actions/ecdsa.d.ts +1 -1
- package/dist/src/actions/ecdsa.js +14 -20
- package/dist/src/actions/index.d.ts +2 -2
- package/dist/src/actions/index.js +6 -10
- package/dist/src/actions/mfa.d.ts +1 -1
- package/dist/src/actions/mfa.js +18 -24
- package/dist/src/actions/passkeys.d.ts +2 -2
- package/dist/src/actions/passkeys.js +14 -20
- package/dist/src/actions/recovery.d.ts +1 -1
- package/dist/src/actions/recovery.js +25 -29
- package/dist/src/actions/smart-sessions.d.ts +1 -1
- package/dist/src/actions/smart-sessions.js +8 -12
- package/dist/src/auth/provider.d.ts +1 -1
- package/dist/src/auth/provider.js +1 -4
- package/dist/src/errors/index.d.ts +4 -4
- package/dist/src/errors/index.d.ts.map +1 -1
- package/dist/src/errors/index.js +12 -54
- package/dist/src/execution/compact.d.ts +1 -144
- package/dist/src/execution/compact.d.ts.map +1 -1
- package/dist/src/execution/compact.js +1 -117
- package/dist/src/execution/error.d.ts +10 -1
- package/dist/src/execution/error.d.ts.map +1 -1
- package/dist/src/execution/error.js +9 -11
- package/dist/src/execution/index.d.ts +10 -11
- package/dist/src/execution/index.d.ts.map +1 -1
- package/dist/src/execution/index.js +64 -75
- package/dist/src/execution/permit2.d.ts +2 -138
- package/dist/src/execution/permit2.d.ts.map +1 -1
- package/dist/src/execution/permit2.js +5 -239
- package/dist/src/execution/utils.d.ts +31 -15
- package/dist/src/execution/utils.d.ts.map +1 -1
- package/dist/src/execution/utils.js +283 -256
- package/dist/src/index.d.ts +15 -14
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +57 -68
- package/dist/src/jwt-server/digest.js +3 -6
- package/dist/src/jwt-server/express.d.ts +1 -1
- package/dist/src/jwt-server/express.d.ts.map +1 -1
- package/dist/src/jwt-server/express.js +6 -7
- package/dist/src/jwt-server/handlers.d.ts +1 -1
- package/dist/src/jwt-server/handlers.js +7 -11
- package/dist/src/jwt-server/index.d.ts +7 -7
- package/dist/src/jwt-server/index.js +6 -17
- package/dist/src/jwt-server/jcs.js +1 -4
- package/dist/src/jwt-server/signer.d.ts +1 -1
- package/dist/src/jwt-server/signer.js +10 -13
- package/dist/src/jwt-server/sponsorship.js +2 -7
- package/dist/src/jwt-server/web.d.ts +1 -1
- package/dist/src/jwt-server/web.js +5 -9
- package/dist/src/modules/abi/smart-session-emissary.js +1 -3
- package/dist/src/modules/abi/smart-sessions.js +1 -4
- package/dist/src/modules/chain-abstraction.js +1 -5
- package/dist/src/modules/common.d.ts +1 -1
- package/dist/src/modules/common.js +1 -13
- package/dist/src/modules/index.d.ts +5 -5
- package/dist/src/modules/index.js +35 -50
- package/dist/src/modules/legacy.d.ts +2 -2
- package/dist/src/modules/legacy.js +11 -14
- package/dist/src/modules/read.d.ts +1 -1
- package/dist/src/modules/read.js +11 -15
- package/dist/src/modules/validators/core.d.ts +2 -2
- package/dist/src/modules/validators/core.js +26 -44
- package/dist/src/modules/validators/index.d.ts +2 -2
- package/dist/src/modules/validators/index.js +3 -19
- package/dist/src/modules/validators/policies/claim/permit2.d.ts +1 -1
- package/dist/src/modules/validators/policies/claim/permit2.js +39 -44
- package/dist/src/modules/validators/policies/claim/types.js +11 -14
- package/dist/src/modules/validators/smart-sessions.d.ts +3 -3
- package/dist/src/modules/validators/smart-sessions.js +65 -94
- package/dist/src/orchestrator/caip2.d.ts +7 -0
- package/dist/src/orchestrator/caip2.d.ts.map +1 -0
- package/dist/src/orchestrator/caip2.js +17 -0
- package/dist/src/orchestrator/client.d.ts +12 -12
- package/dist/src/orchestrator/client.d.ts.map +1 -1
- package/dist/src/orchestrator/client.js +199 -305
- package/dist/src/orchestrator/consts.d.ts +2 -2
- package/dist/src/orchestrator/consts.d.ts.map +1 -1
- package/dist/src/orchestrator/consts.js +3 -9
- package/dist/src/orchestrator/error.d.ts +72 -217
- package/dist/src/orchestrator/error.d.ts.map +1 -1
- package/dist/src/orchestrator/error.js +117 -227
- package/dist/src/orchestrator/index.d.ts +9 -9
- package/dist/src/orchestrator/index.d.ts.map +1 -1
- package/dist/src/orchestrator/index.js +7 -56
- package/dist/src/orchestrator/registry.d.ts +2 -2
- package/dist/src/orchestrator/registry.js +19 -33
- package/dist/src/orchestrator/types.d.ts +97 -232
- package/dist/src/orchestrator/types.d.ts.map +1 -1
- package/dist/src/orchestrator/types.js +1 -17
- package/dist/src/orchestrator/utils.js +1 -3
- package/dist/src/types.d.ts +5 -7
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +1 -2
- package/dist/src/utils/index.d.ts +2 -2
- package/dist/src/utils/index.js +9 -15
- package/package.json +15 -98
- package/dist/src/execution/singleChainOps.d.ts +0 -41
- package/dist/src/execution/singleChainOps.d.ts.map +0 -1
- package/dist/src/execution/singleChainOps.js +0 -44
- package/dist/src/execution/types.d.ts +0 -36
- package/dist/src/execution/types.d.ts.map +0 -1
- package/dist/src/execution/types.js +0 -2
|
@@ -1,148 +1,5 @@
|
|
|
1
|
-
import { type Hex } from 'viem';
|
|
2
|
-
import type { IntentOp, IntentOpElement } from '../orchestrator/types';
|
|
3
1
|
declare const SCOPE_MULTICHAIN = 0;
|
|
4
2
|
declare const RESET_PERIOD_ONE_WEEK = 6;
|
|
5
3
|
declare const COMPACT_ADDRESS = "0x00000000000000171ede64904551eeDF3C6C9788";
|
|
6
|
-
|
|
7
|
-
readonly domain: {
|
|
8
|
-
readonly name: "The Compact";
|
|
9
|
-
readonly version: "1";
|
|
10
|
-
readonly chainId: number;
|
|
11
|
-
readonly verifyingContract: "0x73d2dc0c21fca4ec1601895d50df7f5624f07d3f";
|
|
12
|
-
};
|
|
13
|
-
readonly types: {
|
|
14
|
-
readonly MultichainCompact: readonly [{
|
|
15
|
-
readonly name: "sponsor";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly name: "nonce";
|
|
19
|
-
readonly type: "uint256";
|
|
20
|
-
}, {
|
|
21
|
-
readonly name: "expires";
|
|
22
|
-
readonly type: "uint256";
|
|
23
|
-
}, {
|
|
24
|
-
readonly name: "elements";
|
|
25
|
-
readonly type: "Element[]";
|
|
26
|
-
}];
|
|
27
|
-
readonly Element: readonly [{
|
|
28
|
-
readonly name: "arbiter";
|
|
29
|
-
readonly type: "address";
|
|
30
|
-
}, {
|
|
31
|
-
readonly name: "chainId";
|
|
32
|
-
readonly type: "uint256";
|
|
33
|
-
}, {
|
|
34
|
-
readonly name: "commitments";
|
|
35
|
-
readonly type: "Lock[]";
|
|
36
|
-
}, {
|
|
37
|
-
readonly name: "mandate";
|
|
38
|
-
readonly type: "Mandate";
|
|
39
|
-
}];
|
|
40
|
-
readonly Lock: readonly [{
|
|
41
|
-
readonly name: "lockTag";
|
|
42
|
-
readonly type: "bytes12";
|
|
43
|
-
}, {
|
|
44
|
-
readonly name: "token";
|
|
45
|
-
readonly type: "address";
|
|
46
|
-
}, {
|
|
47
|
-
readonly name: "amount";
|
|
48
|
-
readonly type: "uint256";
|
|
49
|
-
}];
|
|
50
|
-
readonly Mandate: readonly [{
|
|
51
|
-
readonly name: "target";
|
|
52
|
-
readonly type: "Target";
|
|
53
|
-
}, {
|
|
54
|
-
readonly name: "minGas";
|
|
55
|
-
readonly type: "uint128";
|
|
56
|
-
}, {
|
|
57
|
-
readonly name: "originOps";
|
|
58
|
-
readonly type: "Op";
|
|
59
|
-
}, {
|
|
60
|
-
readonly name: "destOps";
|
|
61
|
-
readonly type: "Op";
|
|
62
|
-
}, {
|
|
63
|
-
readonly name: "q";
|
|
64
|
-
readonly type: "bytes32";
|
|
65
|
-
}];
|
|
66
|
-
readonly Target: readonly [{
|
|
67
|
-
readonly name: "recipient";
|
|
68
|
-
readonly type: "address";
|
|
69
|
-
}, {
|
|
70
|
-
readonly name: "tokenOut";
|
|
71
|
-
readonly type: "Token[]";
|
|
72
|
-
}, {
|
|
73
|
-
readonly name: "targetChain";
|
|
74
|
-
readonly type: "uint256";
|
|
75
|
-
}, {
|
|
76
|
-
readonly name: "fillExpiry";
|
|
77
|
-
readonly type: "uint256";
|
|
78
|
-
}];
|
|
79
|
-
readonly Token: readonly [{
|
|
80
|
-
readonly name: "token";
|
|
81
|
-
readonly type: "address";
|
|
82
|
-
}, {
|
|
83
|
-
readonly name: "amount";
|
|
84
|
-
readonly type: "uint256";
|
|
85
|
-
}];
|
|
86
|
-
readonly Op: readonly [{
|
|
87
|
-
readonly name: "vt";
|
|
88
|
-
readonly type: "bytes32";
|
|
89
|
-
}, {
|
|
90
|
-
readonly name: "ops";
|
|
91
|
-
readonly type: "Ops[]";
|
|
92
|
-
}];
|
|
93
|
-
readonly Ops: readonly [{
|
|
94
|
-
readonly name: "to";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}, {
|
|
97
|
-
readonly name: "value";
|
|
98
|
-
readonly type: "uint256";
|
|
99
|
-
}, {
|
|
100
|
-
readonly name: "data";
|
|
101
|
-
readonly type: "bytes";
|
|
102
|
-
}];
|
|
103
|
-
};
|
|
104
|
-
readonly primaryType: "MultichainCompact";
|
|
105
|
-
readonly message: {
|
|
106
|
-
readonly sponsor: `0x${string}`;
|
|
107
|
-
readonly nonce: bigint;
|
|
108
|
-
readonly expires: bigint;
|
|
109
|
-
readonly elements: {
|
|
110
|
-
arbiter: `0x${string}`;
|
|
111
|
-
chainId: bigint;
|
|
112
|
-
commitments: {
|
|
113
|
-
lockTag: `0x${string}`;
|
|
114
|
-
token: `0x${string}`;
|
|
115
|
-
amount: bigint;
|
|
116
|
-
}[];
|
|
117
|
-
mandate: {
|
|
118
|
-
target: {
|
|
119
|
-
recipient: `0x${string}`;
|
|
120
|
-
tokenOut: {
|
|
121
|
-
token: `0x${string}`;
|
|
122
|
-
amount: bigint;
|
|
123
|
-
}[];
|
|
124
|
-
targetChain: bigint;
|
|
125
|
-
fillExpiry: bigint;
|
|
126
|
-
};
|
|
127
|
-
minGas: bigint;
|
|
128
|
-
originOps: import("../orchestrator/types").Op;
|
|
129
|
-
destOps: import("../orchestrator/types").Op;
|
|
130
|
-
q: `0x${string}`;
|
|
131
|
-
};
|
|
132
|
-
}[];
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* Get the compact digest for signing
|
|
137
|
-
* @param intentOp The intent operation
|
|
138
|
-
* @returns The digest hash
|
|
139
|
-
*/
|
|
140
|
-
declare function getCompactDigest(intentOp: IntentOp): Hex;
|
|
141
|
-
/**
|
|
142
|
-
* Get the Permit2 digest for signing
|
|
143
|
-
* @param intentOp The intent operation
|
|
144
|
-
* @returns The digest hash
|
|
145
|
-
*/
|
|
146
|
-
declare function getPermit2Digest(element: IntentOpElement, nonce: bigint, expires: bigint): Hex;
|
|
147
|
-
export { SCOPE_MULTICHAIN, RESET_PERIOD_ONE_WEEK, COMPACT_ADDRESS, getCompactTypedData, getCompactDigest, getPermit2Digest, };
|
|
4
|
+
export { SCOPE_MULTICHAIN, RESET_PERIOD_ONE_WEEK, COMPACT_ADDRESS };
|
|
148
5
|
//# sourceMappingURL=compact.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compact.d.ts","sourceRoot":"","sources":["../../../execution/compact.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"compact.d.ts","sourceRoot":"","sources":["../../../execution/compact.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,gBAAgB,IAAI,CAAA;AAC1B,QAAA,MAAM,qBAAqB,IAAI,CAAA;AAE/B,QAAA,MAAM,eAAe,+CAA+C,CAAA;AAEpE,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1,120 +1,4 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMPACT_ADDRESS = exports.RESET_PERIOD_ONE_WEEK = exports.SCOPE_MULTICHAIN = void 0;
|
|
4
|
-
exports.getCompactTypedData = getCompactTypedData;
|
|
5
|
-
exports.getCompactDigest = getCompactDigest;
|
|
6
|
-
exports.getPermit2Digest = getPermit2Digest;
|
|
7
|
-
const viem_1 = require("viem");
|
|
8
|
-
const permit2_1 = require("./permit2");
|
|
9
1
|
const SCOPE_MULTICHAIN = 0;
|
|
10
|
-
exports.SCOPE_MULTICHAIN = SCOPE_MULTICHAIN;
|
|
11
2
|
const RESET_PERIOD_ONE_WEEK = 6;
|
|
12
|
-
exports.RESET_PERIOD_ONE_WEEK = RESET_PERIOD_ONE_WEEK;
|
|
13
3
|
const COMPACT_ADDRESS = '0x00000000000000171ede64904551eeDF3C6C9788';
|
|
14
|
-
|
|
15
|
-
// Define the typed data structure as const to preserve type safety
|
|
16
|
-
const COMPACT_TYPED_DATA_TYPES = {
|
|
17
|
-
MultichainCompact: [
|
|
18
|
-
{ name: 'sponsor', type: 'address' },
|
|
19
|
-
{ name: 'nonce', type: 'uint256' },
|
|
20
|
-
{ name: 'expires', type: 'uint256' },
|
|
21
|
-
{ name: 'elements', type: 'Element[]' },
|
|
22
|
-
],
|
|
23
|
-
Element: [
|
|
24
|
-
{ name: 'arbiter', type: 'address' },
|
|
25
|
-
{ name: 'chainId', type: 'uint256' },
|
|
26
|
-
{ name: 'commitments', type: 'Lock[]' },
|
|
27
|
-
{ name: 'mandate', type: 'Mandate' },
|
|
28
|
-
],
|
|
29
|
-
Lock: [
|
|
30
|
-
{ name: 'lockTag', type: 'bytes12' },
|
|
31
|
-
{ name: 'token', type: 'address' },
|
|
32
|
-
{ name: 'amount', type: 'uint256' },
|
|
33
|
-
],
|
|
34
|
-
Mandate: [
|
|
35
|
-
{ name: 'target', type: 'Target' },
|
|
36
|
-
{ name: 'minGas', type: 'uint128' },
|
|
37
|
-
{ name: 'originOps', type: 'Op' },
|
|
38
|
-
{ name: 'destOps', type: 'Op' },
|
|
39
|
-
{ name: 'q', type: 'bytes32' },
|
|
40
|
-
],
|
|
41
|
-
Target: [
|
|
42
|
-
{ name: 'recipient', type: 'address' },
|
|
43
|
-
{ name: 'tokenOut', type: 'Token[]' },
|
|
44
|
-
{ name: 'targetChain', type: 'uint256' },
|
|
45
|
-
{ name: 'fillExpiry', type: 'uint256' },
|
|
46
|
-
],
|
|
47
|
-
Token: [
|
|
48
|
-
{ name: 'token', type: 'address' },
|
|
49
|
-
{ name: 'amount', type: 'uint256' },
|
|
50
|
-
],
|
|
51
|
-
Op: [
|
|
52
|
-
{ name: 'vt', type: 'bytes32' },
|
|
53
|
-
{ name: 'ops', type: 'Ops[]' },
|
|
54
|
-
],
|
|
55
|
-
Ops: [
|
|
56
|
-
{ name: 'to', type: 'address' },
|
|
57
|
-
{ name: 'value', type: 'uint256' },
|
|
58
|
-
{ name: 'data', type: 'bytes' },
|
|
59
|
-
],
|
|
60
|
-
};
|
|
61
|
-
function getCompactTypedData(intentOp) {
|
|
62
|
-
const typedData = {
|
|
63
|
-
domain: {
|
|
64
|
-
name: 'The Compact',
|
|
65
|
-
version: '1',
|
|
66
|
-
chainId: Number(intentOp.elements[0].chainId),
|
|
67
|
-
verifyingContract: '0x73d2dc0c21fca4ec1601895d50df7f5624f07d3f',
|
|
68
|
-
},
|
|
69
|
-
types: COMPACT_TYPED_DATA_TYPES,
|
|
70
|
-
primaryType: 'MultichainCompact',
|
|
71
|
-
message: {
|
|
72
|
-
sponsor: intentOp.sponsor,
|
|
73
|
-
nonce: BigInt(intentOp.nonce),
|
|
74
|
-
expires: BigInt(intentOp.expires),
|
|
75
|
-
elements: intentOp.elements.map((element) => ({
|
|
76
|
-
arbiter: element.arbiter,
|
|
77
|
-
chainId: BigInt(element.chainId),
|
|
78
|
-
commitments: element.idsAndAmounts.map((token) => ({
|
|
79
|
-
lockTag: (0, viem_1.slice)((0, viem_1.toHex)(BigInt(token[0])), 0, 12),
|
|
80
|
-
token: (0, viem_1.slice)((0, viem_1.toHex)(BigInt(token[0])), 12, 32),
|
|
81
|
-
amount: BigInt(token[1]),
|
|
82
|
-
})),
|
|
83
|
-
mandate: {
|
|
84
|
-
target: {
|
|
85
|
-
recipient: element.mandate.recipient,
|
|
86
|
-
tokenOut: element.mandate.tokenOut.map((token) => ({
|
|
87
|
-
token: (0, viem_1.slice)((0, viem_1.toHex)(BigInt(token[0])), 12, 32),
|
|
88
|
-
amount: BigInt(token[1]),
|
|
89
|
-
})),
|
|
90
|
-
targetChain: BigInt(element.mandate.destinationChainId),
|
|
91
|
-
fillExpiry: BigInt(element.mandate.fillDeadline),
|
|
92
|
-
},
|
|
93
|
-
minGas: BigInt(element.mandate.minGas),
|
|
94
|
-
originOps: element.mandate.preClaimOps,
|
|
95
|
-
destOps: element.mandate.destinationOps,
|
|
96
|
-
q: (0, viem_1.keccak256)(element.mandate.qualifier.encodedVal),
|
|
97
|
-
},
|
|
98
|
-
})),
|
|
99
|
-
},
|
|
100
|
-
};
|
|
101
|
-
return typedData;
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Get the compact digest for signing
|
|
105
|
-
* @param intentOp The intent operation
|
|
106
|
-
* @returns The digest hash
|
|
107
|
-
*/
|
|
108
|
-
function getCompactDigest(intentOp) {
|
|
109
|
-
const typedData = getCompactTypedData(intentOp);
|
|
110
|
-
return (0, viem_1.hashTypedData)(typedData);
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Get the Permit2 digest for signing
|
|
114
|
-
* @param intentOp The intent operation
|
|
115
|
-
* @returns The digest hash
|
|
116
|
-
*/
|
|
117
|
-
function getPermit2Digest(element, nonce, expires) {
|
|
118
|
-
const typedData = (0, permit2_1.getTypedData)(element, nonce, expires);
|
|
119
|
-
return (0, viem_1.hashTypedData)(typedData);
|
|
120
|
-
}
|
|
4
|
+
export { SCOPE_MULTICHAIN, RESET_PERIOD_ONE_WEEK, COMPACT_ADDRESS };
|
|
@@ -50,6 +50,15 @@ declare class IntentStatusTimeoutError extends ExecutionError {
|
|
|
50
50
|
traceId?: string;
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
+
declare class QuoteNotInPreparedTransactionError extends ExecutionError {
|
|
54
|
+
constructor(params?: {
|
|
55
|
+
context?: {
|
|
56
|
+
intentId?: string;
|
|
57
|
+
};
|
|
58
|
+
errorType?: string;
|
|
59
|
+
traceId?: string;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
53
62
|
declare class Eip7702InitSignatureRequiredError extends ExecutionError {
|
|
54
63
|
constructor(params?: {
|
|
55
64
|
context?: any;
|
|
@@ -58,5 +67,5 @@ declare class Eip7702InitSignatureRequiredError extends ExecutionError {
|
|
|
58
67
|
});
|
|
59
68
|
}
|
|
60
69
|
declare function isExecutionError(error: Error): error is ExecutionError;
|
|
61
|
-
export { isExecutionError, ExecutionError, Eip7702InitSignatureRequiredError, OrderPathRequiredForIntentsError, SessionChainRequiredError, IntentFailedError, IntentStatusTimeoutError, SignerNotSupportedError, };
|
|
70
|
+
export { isExecutionError, ExecutionError, Eip7702InitSignatureRequiredError, OrderPathRequiredForIntentsError, QuoteNotInPreparedTransactionError, SessionChainRequiredError, IntentFailedError, IntentStatusTimeoutError, SignerNotSupportedError, };
|
|
62
71
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../execution/error.ts"],"names":[],"mappings":"AAAA,cAAM,cAAe,SAAQ,KAAK;IAChC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAQ;IACjC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAK;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAQ;IACnC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAQ;gBAErB,MAAM,CAAC,EAAE;QACnB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;IAQD,IAAI,OAAO,WAEV;IAED,IAAI,OAAO,QAEV;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,OAAO,WAEV;CACF;AAED,cAAM,uBAAwB,SAAQ,cAAc;gBACtC,MAAM,CAAC,EAAE;QACnB,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,OAAO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AA;KACjB;CAMF;AAED,cAAM,wBAAyB,SAAQ,cAAc;gBACvC,MAAM,CAAC,EAAE;QACnB,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;CAMF;AAED,cAAM,kCAAmC,SAAQ,cAAc;gBACjD,MAAM,CAAC,EAAE;QACnB,OAAO,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;QAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;CAOF;AAED,cAAM,iCAAkC,SAAQ,cAAc;gBAChD,MAAM,CAAC,EAAE;QACnB,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,OAAO,CAAC,EAAE,MAAM,CAAA;KACjB;CAOF;AAED,iBAAS,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,IAAI,cAAc,CAE/D;AAED,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,iCAAiC,EACjC,gCAAgC,EAChC,kCAAkC,EAClC,yBAAyB,EACzB,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,GACxB,CAAA"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SignerNotSupportedError = exports.IntentStatusTimeoutError = exports.IntentFailedError = exports.SessionChainRequiredError = exports.OrderPathRequiredForIntentsError = exports.Eip7702InitSignatureRequiredError = exports.ExecutionError = void 0;
|
|
4
|
-
exports.isExecutionError = isExecutionError;
|
|
5
1
|
class ExecutionError extends Error {
|
|
6
2
|
_message;
|
|
7
3
|
_context;
|
|
@@ -27,7 +23,6 @@ class ExecutionError extends Error {
|
|
|
27
23
|
return this._traceId;
|
|
28
24
|
}
|
|
29
25
|
}
|
|
30
|
-
exports.ExecutionError = ExecutionError;
|
|
31
26
|
class SignerNotSupportedError extends ExecutionError {
|
|
32
27
|
constructor(params) {
|
|
33
28
|
super({
|
|
@@ -36,7 +31,6 @@ class SignerNotSupportedError extends ExecutionError {
|
|
|
36
31
|
});
|
|
37
32
|
}
|
|
38
33
|
}
|
|
39
|
-
exports.SignerNotSupportedError = SignerNotSupportedError;
|
|
40
34
|
class OrderPathRequiredForIntentsError extends ExecutionError {
|
|
41
35
|
constructor(params) {
|
|
42
36
|
super({
|
|
@@ -45,7 +39,6 @@ class OrderPathRequiredForIntentsError extends ExecutionError {
|
|
|
45
39
|
});
|
|
46
40
|
}
|
|
47
41
|
}
|
|
48
|
-
exports.OrderPathRequiredForIntentsError = OrderPathRequiredForIntentsError;
|
|
49
42
|
class SessionChainRequiredError extends ExecutionError {
|
|
50
43
|
constructor(params) {
|
|
51
44
|
super({
|
|
@@ -54,7 +47,6 @@ class SessionChainRequiredError extends ExecutionError {
|
|
|
54
47
|
});
|
|
55
48
|
}
|
|
56
49
|
}
|
|
57
|
-
exports.SessionChainRequiredError = SessionChainRequiredError;
|
|
58
50
|
class IntentFailedError extends ExecutionError {
|
|
59
51
|
constructor(params) {
|
|
60
52
|
super({
|
|
@@ -63,7 +55,6 @@ class IntentFailedError extends ExecutionError {
|
|
|
63
55
|
});
|
|
64
56
|
}
|
|
65
57
|
}
|
|
66
|
-
exports.IntentFailedError = IntentFailedError;
|
|
67
58
|
class IntentStatusTimeoutError extends ExecutionError {
|
|
68
59
|
constructor(params) {
|
|
69
60
|
super({
|
|
@@ -72,7 +63,14 @@ class IntentStatusTimeoutError extends ExecutionError {
|
|
|
72
63
|
});
|
|
73
64
|
}
|
|
74
65
|
}
|
|
75
|
-
|
|
66
|
+
class QuoteNotInPreparedTransactionError extends ExecutionError {
|
|
67
|
+
constructor(params) {
|
|
68
|
+
super({
|
|
69
|
+
message: 'Selected quote does not belong to the prepared transaction. Re-prepare and try again.',
|
|
70
|
+
...params,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
76
74
|
class Eip7702InitSignatureRequiredError extends ExecutionError {
|
|
77
75
|
constructor(params) {
|
|
78
76
|
super({
|
|
@@ -81,7 +79,7 @@ class Eip7702InitSignatureRequiredError extends ExecutionError {
|
|
|
81
79
|
});
|
|
82
80
|
}
|
|
83
81
|
}
|
|
84
|
-
exports.Eip7702InitSignatureRequiredError = Eip7702InitSignatureRequiredError;
|
|
85
82
|
function isExecutionError(error) {
|
|
86
83
|
return error instanceof ExecutionError;
|
|
87
84
|
}
|
|
85
|
+
export { isExecutionError, ExecutionError, Eip7702InitSignatureRequiredError, OrderPathRequiredForIntentsError, QuoteNotInPreparedTransactionError, SessionChainRequiredError, IntentFailedError, IntentStatusTimeoutError, SignerNotSupportedError, };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type Address, type Chain, type Hex } from 'viem';
|
|
2
2
|
import type { UserOperationReceipt } from 'viem/_types/account-abstraction';
|
|
3
|
-
import { type AuthProvider } from '../auth/provider';
|
|
4
|
-
import { type IntentOpStatus, type SplitIntentsInput } from '../orchestrator';
|
|
5
|
-
import type { SettlementLayer } from '../orchestrator/types';
|
|
6
|
-
import type { CalldataInput, CallInput, RhinestoneAccountConfig, RhinestoneConfig, SignerSet, SourceAssetInput, Sponsorship, TokenRequest, TokenSymbol, Transaction, UserOperationTransaction } from '../types';
|
|
7
|
-
import { ExecutionError, IntentFailedError, IntentStatusTimeoutError, isExecutionError, OrderPathRequiredForIntentsError, SessionChainRequiredError, SignerNotSupportedError } from './error';
|
|
8
|
-
import type { TransactionResult, UserOperationResult } from './utils';
|
|
3
|
+
import { type AuthProvider } from '../auth/provider.js';
|
|
4
|
+
import { type IntentOpStatus, type SplitIntentsInput } from '../orchestrator/index.js';
|
|
5
|
+
import type { SettlementLayer } from '../orchestrator/types.js';
|
|
6
|
+
import type { CalldataInput, CallInput, RhinestoneAccountConfig, RhinestoneConfig, SignerSet, SourceAssetInput, Sponsorship, TokenRequest, TokenSymbol, Transaction, UserOperationTransaction } from '../types.js';
|
|
7
|
+
import { ExecutionError, IntentFailedError, IntentStatusTimeoutError, isExecutionError, OrderPathRequiredForIntentsError, QuoteNotInPreparedTransactionError, SessionChainRequiredError, SignerNotSupportedError } from './error.js';
|
|
8
|
+
import type { TransactionResult, UserOperationResult } from './utils.js';
|
|
9
9
|
interface TransactionStatus {
|
|
10
10
|
fill: {
|
|
11
11
|
hash: Hex | undefined;
|
|
@@ -28,16 +28,15 @@ declare function sendTransactionInternal(config: RhinestoneConfig, sourceChains:
|
|
|
28
28
|
eip7702InitSignature?: Hex;
|
|
29
29
|
settlementLayers?: SettlementLayer[];
|
|
30
30
|
sourceAssets?: SourceAssetInput;
|
|
31
|
-
lockFunds?: boolean;
|
|
32
31
|
feeAsset?: Address | TokenSymbol;
|
|
33
32
|
}): Promise<TransactionResult>;
|
|
34
33
|
declare function sendUserOperationInternal(config: RhinestoneConfig, chain: Chain, callInputs: CalldataInput[], signers?: SignerSet): Promise<UserOperationResult>;
|
|
35
34
|
declare function waitForExecution(config: RhinestoneConfig, result: TransactionResult | UserOperationResult, acceptsPreconfirmations: boolean): Promise<TransactionStatus | UserOperationReceipt>;
|
|
36
|
-
declare function getPortfolio(config: RhinestoneConfig, onTestnets: boolean): Promise<import("../orchestrator").Portfolio>;
|
|
37
|
-
declare function getIntentStatus(authProvider: AuthProvider, endpointUrl: string | undefined, intentId:
|
|
35
|
+
declare function getPortfolio(config: RhinestoneConfig, onTestnets: boolean): Promise<import("../orchestrator/index.js").Portfolio>;
|
|
36
|
+
declare function getIntentStatus(authProvider: AuthProvider, endpointUrl: string | undefined, intentId: string, headers?: Record<string, string>): Promise<TransactionStatus & {
|
|
38
37
|
status: IntentOpStatus['status'];
|
|
39
38
|
}>;
|
|
40
|
-
declare function splitIntents(authProvider: AuthProvider, endpointUrl: string | undefined, input: SplitIntentsInput, headers?: Record<string, string>): Promise<import("../orchestrator").SplitIntentsResult>;
|
|
41
|
-
export { sendTransaction, sendTransactionInternal, sendUserOperation, sendUserOperationInternal, waitForExecution, getPortfolio, getIntentStatus, splitIntents, isExecutionError, ExecutionError, IntentFailedError, IntentStatusTimeoutError, OrderPathRequiredForIntentsError, SessionChainRequiredError, SignerNotSupportedError, };
|
|
39
|
+
declare function splitIntents(authProvider: AuthProvider, endpointUrl: string | undefined, input: SplitIntentsInput, headers?: Record<string, string>): Promise<import("../orchestrator/index.js").SplitIntentsResult>;
|
|
40
|
+
export { sendTransaction, sendTransactionInternal, sendUserOperation, sendUserOperationInternal, waitForExecution, getPortfolio, getIntentStatus, splitIntents, isExecutionError, ExecutionError, IntentFailedError, IntentStatusTimeoutError, OrderPathRequiredForIntentsError, QuoteNotInPreparedTransactionError, SessionChainRequiredError, SignerNotSupportedError, };
|
|
42
41
|
export type { TransactionStatus, TransactionResult, UserOperationResult };
|
|
43
42
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../execution/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAsB,KAAK,GAAG,EAAE,MAAM,MAAM,CAAA;AAC7E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAG3E,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,kBAAkB,CAAA;AACxE,OAAO,EAML,KAAK,cAAc,EAGnB,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAA;AAMxB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EACV,aAAa,EACb,SAAS,EACT,uBAAuB,EACvB,gBAAgB,EAChB,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,wBAAwB,EACzB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,cAAc,EACd,iBAAiB,E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