Comparing version 0.11.3 to 0.12.0
@@ -350,3 +350,3 @@ import * as wasm from './polar_wasm_api_bg.wasm'; | ||
export const __wbg_error_522982df3e22ec87 = function(arg0, arg1) { | ||
export const __wbg_error_2440a411a8516c91 = function(arg0, arg1) { | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
@@ -353,0 +353,0 @@ }; |
import { Oso } from './Oso'; | ||
export { Oso }; | ||
import { Variable } from './Variable'; | ||
export { Oso, Variable }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Oso = void 0; | ||
exports.Variable = exports.Oso = void 0; | ||
const Oso_1 = require("./Oso"); | ||
Object.defineProperty(exports, "Oso", { enumerable: true, get: function () { return Oso_1.Oso; } }); | ||
const Variable_1 = require("./Variable"); | ||
Object.defineProperty(exports, "Variable", { enumerable: true, get: function () { return Variable_1.Variable; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -351,3 +351,3 @@ let imports = {}; | ||
module.exports.__wbg_error_522982df3e22ec87 = function(arg0, arg1) { | ||
module.exports.__wbg_error_2440a411a8516c91 = function(arg0, arg1) { | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
@@ -354,0 +354,0 @@ }; |
@@ -9,2 +9,14 @@ import { Host } from './Host'; | ||
/** | ||
* Free the underlying WASM instance. | ||
* | ||
* Invariant: ensure that you do *not* do anything else with an instance | ||
* after calling `free()` on it. | ||
* | ||
* This should *not* be something you need to do during the course of regular | ||
* usage. It's generally only useful for scenarios where large numbers of | ||
* instances are spun up and not cleanly reaped by the GC, such as during a | ||
* long-running test process in 'watch' mode. | ||
*/ | ||
free(): void; | ||
/** | ||
* For tests only. | ||
@@ -11,0 +23,0 @@ * |
@@ -58,2 +58,16 @@ "use strict"; | ||
/** | ||
* Free the underlying WASM instance. | ||
* | ||
* Invariant: ensure that you do *not* do anything else with an instance | ||
* after calling `free()` on it. | ||
* | ||
* This should *not* be something you need to do during the course of regular | ||
* usage. It's generally only useful for scenarios where large numbers of | ||
* instances are spun up and not cleanly reaped by the GC, such as during a | ||
* long-running test process in 'watch' mode. | ||
*/ | ||
free() { | ||
__classPrivateFieldGet(this, _ffiPolar).free(); | ||
} | ||
/** | ||
* For tests only. | ||
@@ -60,0 +74,0 @@ * |
{ | ||
"name": "oso", | ||
"version": "0.11.3", | ||
"version": "0.12.0", | ||
"description": "oso authorization library.", | ||
@@ -5,0 +5,0 @@ "bin": "bin/repl.js", |
@@ -36,3 +36,3 @@ # Oso | ||
If you have questions, need help getting started, or want to discuss anything about the product, your use case, or authorization more generally, [join us on Slack][badge-slack-link] or [open an issue](https://github.com/osohq/oso/issues). | ||
If you have questions, need help getting started, or want to discuss anything about the product, your use case, or authorization more generally, [join us on Slack][badge-slack-link]. | ||
@@ -106,1 +106,5 @@ ## Development | ||
[wasm-pack]: https://rustwasm.github.io/wasm-pack/installer/ | ||
## Share your story | ||
We'd love to hear about your use case and experience with Oso. Share your story on [Twitter](https://twitter.com/osoHQ) or fill out [this form](https://stephie660149.typeform.com/to/mIFfkN05) for some Oso swag. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3304
109
2451233