@aztec/foundation 0.36.0 → 0.37.0
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/dest/error/index.d.ts +5 -0
- package/dest/error/index.d.ts.map +1 -1
- package/dest/error/index.js +6 -1
- package/package.json +2 -2
- package/src/error/index.ts +5 -0
package/dest/error/index.d.ts
CHANGED
|
@@ -10,4 +10,9 @@ export declare class InterruptError extends Error {
|
|
|
10
10
|
*/
|
|
11
11
|
export declare class TimeoutError extends Error {
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Represents an error thrown when an operation is aborted.
|
|
15
|
+
*/
|
|
16
|
+
export declare class AbortedError extends Error {
|
|
17
|
+
}
|
|
13
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/error/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,KAAK;CAAG;AAE5C;;GAEG;AACH,qBAAa,YAAa,SAAQ,KAAK;CAAG"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/error/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,KAAK;CAAG;AAE5C;;GAEG;AACH,qBAAa,YAAa,SAAQ,KAAK;CAAG;AAE1C;;GAEG;AACH,qBAAa,YAAa,SAAQ,KAAK;CAAG"}
|
package/dest/error/index.js
CHANGED
|
@@ -10,4 +10,9 @@ export class InterruptError extends Error {
|
|
|
10
10
|
*/
|
|
11
11
|
export class TimeoutError extends Error {
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Represents an error thrown when an operation is aborted.
|
|
15
|
+
*/
|
|
16
|
+
export class AbortedError extends Error {
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZXJyb3IvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7R0FJRztBQUNILE1BQU0sT0FBTyxjQUFlLFNBQVEsS0FBSztDQUFHO0FBRTVDOztHQUVHO0FBQ0gsTUFBTSxPQUFPLFlBQWEsU0FBUSxLQUFLO0NBQUc7QUFFMUM7O0dBRUc7QUFDSCxNQUFNLE9BQU8sWUFBYSxTQUFRLEtBQUs7Q0FBRyJ9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/foundation",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"packageManager": "yarn@3.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dest/index.js",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
]
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aztec/bb.js": "0.
|
|
81
|
+
"@aztec/bb.js": "0.37.0",
|
|
82
82
|
"@koa/cors": "^5.0.0",
|
|
83
83
|
"@noble/curves": "^1.2.0",
|
|
84
84
|
"bn.js": "^5.2.1",
|
package/src/error/index.ts
CHANGED
|
@@ -9,3 +9,8 @@ export class InterruptError extends Error {}
|
|
|
9
9
|
* An error thrown when an action times out.
|
|
10
10
|
*/
|
|
11
11
|
export class TimeoutError extends Error {}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Represents an error thrown when an operation is aborted.
|
|
15
|
+
*/
|
|
16
|
+
export class AbortedError extends Error {}
|