@aurora-is-near/intents-connect 7.33.0 → 7.33.2
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.
|
@@ -78,6 +78,8 @@ class Xn extends _ {
|
|
|
78
78
|
constructor(t, n, s) {
|
|
79
79
|
super(t), this.status = n, this.body = s, this.name = "IntentsConnectApiError";
|
|
80
80
|
}
|
|
81
|
+
status;
|
|
82
|
+
body;
|
|
81
83
|
/**
|
|
82
84
|
* A `dry: false` create is already live for this (intermediary, chain). The
|
|
83
85
|
* caller must wait for a terminal status or delete the open execution.
|
|
@@ -90,6 +92,8 @@ class oo extends _ {
|
|
|
90
92
|
constructor(t, n, s) {
|
|
91
93
|
super(t), this.status = n, this.body = s, this.name = "IntentsConnectActionsApiError";
|
|
92
94
|
}
|
|
95
|
+
status;
|
|
96
|
+
body;
|
|
93
97
|
/**
|
|
94
98
|
* The action's definition or script no longer matches the pinned
|
|
95
99
|
* `expectedSha256Hash`: the catalog changed under the caller. Other
|
|
@@ -105,6 +109,8 @@ class Q extends _ {
|
|
|
105
109
|
constructor(t, n, s) {
|
|
106
110
|
super(t), this.status = n, this.body = s, this.name = "IntentsApiError";
|
|
107
111
|
}
|
|
112
|
+
status;
|
|
113
|
+
body;
|
|
108
114
|
/** The user session token is missing, invalid or expired. */
|
|
109
115
|
get isUnauthorized() {
|
|
110
116
|
return this.status === 401;
|
|
@@ -122,6 +128,7 @@ class Ut extends _ {
|
|
|
122
128
|
constructor(t) {
|
|
123
129
|
super(`execution ${t} was cancelled`), this.executionId = t, this.name = "ExecutionCancelledError";
|
|
124
130
|
}
|
|
131
|
+
executionId;
|
|
125
132
|
}
|
|
126
133
|
class Mt extends _ {
|
|
127
134
|
constructor(t) {
|
|
@@ -129,6 +136,7 @@ class Mt extends _ {
|
|
|
129
136
|
"the runner was disposed while an execution was in flight — resume() it from a runner bound to the owning wallet"
|
|
130
137
|
), this.executionId = t, this.name = "RunnerDisposedError";
|
|
131
138
|
}
|
|
139
|
+
executionId;
|
|
132
140
|
}
|
|
133
141
|
class Qn extends _ {
|
|
134
142
|
constructor(t, n) {
|
|
@@ -136,6 +144,7 @@ class Qn extends _ {
|
|
|
136
144
|
`${n} — the execution is still live server-side; call resume('${t}') to keep watching it`
|
|
137
145
|
), this.executionId = t, this.name = "ExecutionPollTimeoutError";
|
|
138
146
|
}
|
|
147
|
+
executionId;
|
|
139
148
|
}
|
|
140
149
|
class Re extends _ {
|
|
141
150
|
constructor(t, n) {
|
|
@@ -144,11 +153,14 @@ class Re extends _ {
|
|
|
144
153
|
n
|
|
145
154
|
), this.executionId = t, this.name = "DepositTransferError";
|
|
146
155
|
}
|
|
156
|
+
executionId;
|
|
147
157
|
}
|
|
148
158
|
class ue extends _ {
|
|
149
159
|
constructor(t, n, s = {}) {
|
|
150
160
|
super(n), this.code = t, this.meta = s, this.name = "GuardError";
|
|
151
161
|
}
|
|
162
|
+
code;
|
|
163
|
+
meta;
|
|
152
164
|
}
|
|
153
165
|
const w = (e, t, n) => {
|
|
154
166
|
throw new ue(e, t, n);
|
|
@@ -435,11 +447,14 @@ class me extends _ {
|
|
|
435
447
|
constructor(t, n, s) {
|
|
436
448
|
super(t), this.contractId = n, this.methodName = s, this.name = "NearContractError";
|
|
437
449
|
}
|
|
450
|
+
contractId;
|
|
451
|
+
methodName;
|
|
438
452
|
}
|
|
439
453
|
class jt extends _ {
|
|
440
454
|
constructor(t) {
|
|
441
455
|
super(`NEAR account ${t} does not exist`), this.accountId = t, this.name = "NearUnknownAccountError";
|
|
442
456
|
}
|
|
457
|
+
accountId;
|
|
443
458
|
}
|
|
444
459
|
const Fe = [
|
|
445
460
|
"https://free.rpc.fastnear.com",
|
|
@@ -699,6 +714,7 @@ class R extends _ {
|
|
|
699
714
|
constructor(t, n, s) {
|
|
700
715
|
super(n, s), this.code = t, this.name = "OwnershipError";
|
|
701
716
|
}
|
|
717
|
+
code;
|
|
702
718
|
}
|
|
703
719
|
const ft = 64, gt = 65, ht = 64, Z = (e) => V.decode(e), wt = (e) => V.encode(e), qe = (e) => fe.encode(e), Jt = (e) => K.decode(e.replace(/^0x/i, "")), Xt = (e) => {
|
|
704
720
|
if (e.length !== gt)
|
|
@@ -931,6 +947,7 @@ class I extends _ {
|
|
|
931
947
|
constructor(t, n, s) {
|
|
932
948
|
super(n, s), this.code = t, this.name = "FundingError", this.meta = s?.meta ?? {};
|
|
933
949
|
}
|
|
950
|
+
code;
|
|
934
951
|
meta;
|
|
935
952
|
}
|
|
936
953
|
class D extends _ {
|
|
@@ -1748,6 +1765,7 @@ class q extends _ {
|
|
|
1748
1765
|
constructor(t, n, s) {
|
|
1749
1766
|
super(n, s), this.code = t, this.name = "SessionError";
|
|
1750
1767
|
}
|
|
1768
|
+
code;
|
|
1751
1769
|
}
|
|
1752
1770
|
const vr = 6e4, _r = "intents-connect.session:", Y = (e) => `${_r}${e}`, Nr = (e) => {
|
|
1753
1771
|
if (e)
|
|
@@ -3953,4 +3971,4 @@ export {
|
|
|
3953
3971
|
ee as y,
|
|
3954
3972
|
Z as z
|
|
3955
3973
|
};
|
|
3956
|
-
//# sourceMappingURL=recovery-
|
|
3974
|
+
//# sourceMappingURL=recovery-DKd_VpcS.js.map
|