@aztec/foundation
Advanced tools
Comparing version 0.1.0-alpha62 to 0.1.0-alpha63
export * from './fields.js'; | ||
export * from './point.js'; | ||
export * from './coordinate.js'; | ||
export * from './grumpkin_scalar.js'; | ||
//# sourceMappingURL=index.d.ts.map |
export * from './fields.js'; | ||
export * from './point.js'; | ||
export * from './coordinate.js'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZmllbGRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsaUJBQWlCLENBQUMifQ== | ||
export * from './grumpkin_scalar.js'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZmllbGRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxzQkFBc0IsQ0FBQyJ9 |
@@ -76,3 +76,3 @@ import { Buffer } from 'buffer'; | ||
else { | ||
throw new Error(`Object ${obj.type} not registered for serialisation`); | ||
throw new Error(`Object ${obj.type} not registered for serialisation FROM JSON`); | ||
} | ||
@@ -134,3 +134,3 @@ } | ||
// Throw if this is a non-primitive class that was not registered | ||
throw new Error(`Object ${obj.constructor.name} not registered for serialisation`); | ||
throw new Error(`Object ${obj.constructor.name} not registered for serialisation TO JSON`); | ||
} | ||
@@ -141,2 +141,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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WlFO1lBQ2pFLE1BQU0sSUFBSSxLQUFLLENBQUMsVUFBVSxHQUFHLENBQUMsV0FBVyxDQUFDLElBQUksMkNBQTJDLENBQUMsQ0FBQztTQUM1RjtLQUNGO0lBRUQscUNBQXFDO0lBQ3JDLE9BQU8sR0FBRyxDQUFDO0FBQ2IsQ0FBQyJ9 |
{ | ||
"name": "@aztec/foundation", | ||
"version": "0.1.0-alpha62", | ||
"version": "0.1.0-alpha63", | ||
"exports": { | ||
@@ -5,0 +5,0 @@ "./eslint": "./.eslintrc.cjs", |
export * from './fields.js'; | ||
export * from './point.js'; | ||
export * from './coordinate.js'; | ||
export * from './grumpkin_scalar.js'; |
@@ -91,3 +91,3 @@ import { Buffer } from 'buffer'; | ||
} else { | ||
throw new Error(`Object ${obj.type} not registered for serialisation`); | ||
throw new Error(`Object ${obj.type} not registered for serialisation FROM JSON`); | ||
} | ||
@@ -157,3 +157,3 @@ } | ||
// Throw if this is a non-primitive class that was not registered | ||
throw new Error(`Object ${obj.constructor.name} not registered for serialisation`); | ||
throw new Error(`Object ${obj.constructor.name} not registered for serialisation TO JSON`); | ||
} | ||
@@ -160,0 +160,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1027377
471
16812