Comparing version 0.12.1 to 0.12.2
@@ -23,2 +23,11 @@ import * as wasm from './polar_wasm_api_bg.wasm'; | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
const lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder; | ||
@@ -42,11 +51,2 @@ | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -299,19 +299,19 @@ | ||
export const __wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
export const __wbg_new_68adb0d58759a4ed = function() { | ||
var ret = new Object(); | ||
return addHeapObject(ret); | ||
}; | ||
export const __wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
export const __wbindgen_number_new = function(arg0) { | ||
var ret = arg0; | ||
return addHeapObject(ret); | ||
}; | ||
export const __wbg_new_68adb0d58759a4ed = function() { | ||
var ret = new Object(); | ||
export const __wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
export const __wbindgen_number_new = function(arg0) { | ||
var ret = arg0; | ||
export const __wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
@@ -353,3 +353,3 @@ }; | ||
export const __wbg_error_67ed827b543de038 = function(arg0, arg1) { | ||
export const __wbg_error_e147ea640382637e = function(arg0, arg1) { | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
@@ -356,0 +356,0 @@ }; |
@@ -26,2 +26,11 @@ let imports = {}; | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
@@ -43,11 +52,2 @@ | ||
function addHeapObject(obj) { | ||
if (heap_next === heap.length) heap.push(heap.length + 1); | ||
const idx = heap_next; | ||
heap_next = heap[idx]; | ||
heap[idx] = obj; | ||
return idx; | ||
} | ||
let WASM_VECTOR_LEN = 0; | ||
@@ -300,19 +300,19 @@ | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
module.exports.__wbg_new_68adb0d58759a4ed = function() { | ||
var ret = new Object(); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
module.exports.__wbindgen_number_new = function(arg0) { | ||
var ret = arg0; | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbg_new_68adb0d58759a4ed = function() { | ||
var ret = new Object(); | ||
module.exports.__wbindgen_string_new = function(arg0, arg1) { | ||
var ret = getStringFromWasm0(arg0, arg1); | ||
return addHeapObject(ret); | ||
}; | ||
module.exports.__wbindgen_number_new = function(arg0) { | ||
var ret = arg0; | ||
module.exports.__wbindgen_object_clone_ref = function(arg0) { | ||
var ret = getObject(arg0); | ||
return addHeapObject(ret); | ||
@@ -354,3 +354,3 @@ }; | ||
module.exports.__wbg_error_67ed827b543de038 = function(arg0, arg1) { | ||
module.exports.__wbg_error_e147ea640382637e = function(arg0, arg1) { | ||
console.error(getStringFromWasm0(arg0, arg1)); | ||
@@ -357,0 +357,0 @@ }; |
{ | ||
"name": "oso", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "oso authorization library.", | ||
@@ -5,0 +5,0 @@ "bin": "bin/repl.js", |
@@ -26,5 +26,4 @@ # Oso | ||
Oso currently offers libraries for [Java][badge-java-link], | ||
[Node.js][badge-nodejs-link], [Python][badge-python-link], | ||
[Ruby][badge-ruby-link], [Rust][badge-rust-link] and [Go][badge-go-link]. | ||
Oso currently offers libraries for [Node.js][badge-nodejs-link], [Python][badge-python-link], [Go][badge-go-link], | ||
[Rust][badge-rust-link], [Ruby][badge-ruby-link], and [Java][badge-java-link]. | ||
@@ -31,0 +30,0 @@ ## Getting started |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2334573
106