@devcycle/bucketing-assembly-script
Advanced tools
Comparing version 1.17.3 to 1.17.4
@@ -217,3 +217,3 @@ declare namespace __AdaptedExports { | ||
*/ | ||
export function queueVariableEvaluatedEvent(sdkKey: string, variableVariationMap: __Internref140, variable: __Internref141 | null, variableKey: string): void; | ||
export function queueVariableEvaluatedEvent(sdkKey: string, variableVariationMap: __Internref139, variable: __Internref140 | null, variableKey: string): void; | ||
/** | ||
@@ -345,3 +345,3 @@ * assembly/managers/eventQueueManager/cleanupEventQueue | ||
*/ | ||
export function testSortObjectsByString(arr: Array<__Record179<undefined>>, direction: string): Array<__Record178<never>>; | ||
export function testSortObjectsByString(arr: Array<__Record178<undefined>>, direction: string): Array<__Record177<never>>; | ||
/** | ||
@@ -381,9 +381,9 @@ * assembly/types/eventQueueOptions/testEventQueueOptionsClass | ||
/** ~lib/map/Map<~lib/string/String,assembly/types/bucketedUserConfig/FeatureVariation> */ | ||
declare class __Internref140 extends Number { | ||
private __nominal140: symbol; | ||
declare class __Internref139 extends Number { | ||
private __nominal139: symbol; | ||
private __nominal0: symbol; | ||
} | ||
/** assembly/types/bucketedUserConfig/SDKVariable */ | ||
declare class __Internref141 extends Number { | ||
private __nominal141: symbol; | ||
declare class __Internref140 extends Number { | ||
private __nominal140: symbol; | ||
private __nominal6: symbol; | ||
@@ -394,3 +394,3 @@ private __nominal7: symbol; | ||
/** assembly/testHelpers/TestData */ | ||
declare interface __Record178<TOmittable> { | ||
declare interface __Record177<TOmittable> { | ||
/** @type `~lib/string/String` */ | ||
@@ -400,7 +400,7 @@ key: string; | ||
/** assembly/helpers/arrayHelpers/SortingArrayItem<assembly/testHelpers/TestData> */ | ||
declare interface __Record179<TOmittable> { | ||
declare interface __Record178<TOmittable> { | ||
/** @type `~lib/string/String` */ | ||
value: string; | ||
/** @type `assembly/testHelpers/TestData` */ | ||
entry: __Record178<undefined>; | ||
entry: __Record177<undefined>; | ||
} | ||
@@ -407,0 +407,0 @@ /** Instantiates the compiled WebAssembly module with the given imports. */ |
@@ -442,6 +442,6 @@ exports.instantiate = async function instantiate(module, imports = {}) { | ||
// assembly/testHelpers/testSortObjectsByString(~lib/array/Array<assembly/helpers/arrayHelpers/SortingArrayItem<assembly/testHelpers/TestData>>, ~lib/string/String) => ~lib/array/Array<assembly/testHelpers/TestData> | ||
arr = __retain(__lowerArray((pointer, value) => { __setU32(pointer, __lowerRecord179(value) || __notnull()); }, 180, 2, arr) || __notnull()); | ||
arr = __retain(__lowerArray((pointer, value) => { __setU32(pointer, __lowerRecord178(value) || __notnull()); }, 179, 2, arr) || __notnull()); | ||
direction = __lowerString(direction) || __notnull(); | ||
try { | ||
return __liftArray(pointer => __liftRecord178(__getU32(pointer)), 2, exports.testSortObjectsByString(arr, direction) >>> 0); | ||
return __liftArray(pointer => __liftRecord177(__getU32(pointer)), 2, exports.testSortObjectsByString(arr, direction) >>> 0); | ||
} finally { | ||
@@ -484,7 +484,7 @@ __release(arr); | ||
}, exports); | ||
function __lowerRecord178(value) { | ||
function __lowerRecord177(value) { | ||
// assembly/testHelpers/TestData | ||
// Hint: Opt-out from lowering as a record by providing an empty constructor | ||
if (value == null) return 0; | ||
const pointer = exports.__pin(exports.__new(4, 178)); | ||
const pointer = exports.__pin(exports.__new(4, 177)); | ||
__setU32(pointer + 0, __lowerString(value.key) || __notnull()); | ||
@@ -494,13 +494,13 @@ exports.__unpin(pointer); | ||
} | ||
function __lowerRecord179(value) { | ||
function __lowerRecord178(value) { | ||
// assembly/helpers/arrayHelpers/SortingArrayItem<assembly/testHelpers/TestData> | ||
// Hint: Opt-out from lowering as a record by providing an empty constructor | ||
if (value == null) return 0; | ||
const pointer = exports.__pin(exports.__new(8, 179)); | ||
const pointer = exports.__pin(exports.__new(8, 178)); | ||
__setU32(pointer + 0, __lowerString(value.value) || __notnull()); | ||
__setU32(pointer + 4, __lowerRecord178(value.entry) || __notnull()); | ||
__setU32(pointer + 4, __lowerRecord177(value.entry) || __notnull()); | ||
exports.__unpin(pointer); | ||
return pointer; | ||
} | ||
function __liftRecord178(pointer) { | ||
function __liftRecord177(pointer) { | ||
// assembly/testHelpers/TestData | ||
@@ -507,0 +507,0 @@ // Hint: Opt-out from lifting as a record by providing an empty constructor |
@@ -217,3 +217,3 @@ declare namespace __AdaptedExports { | ||
*/ | ||
export function queueVariableEvaluatedEvent(sdkKey: string, variableVariationMap: __Internref140, variable: __Internref141 | null, variableKey: string): void; | ||
export function queueVariableEvaluatedEvent(sdkKey: string, variableVariationMap: __Internref139, variable: __Internref140 | null, variableKey: string): void; | ||
/** | ||
@@ -345,3 +345,3 @@ * assembly/managers/eventQueueManager/cleanupEventQueue | ||
*/ | ||
export function testSortObjectsByString(arr: Array<__Record179<undefined>>, direction: string): Array<__Record178<never>>; | ||
export function testSortObjectsByString(arr: Array<__Record178<undefined>>, direction: string): Array<__Record177<never>>; | ||
/** | ||
@@ -381,9 +381,9 @@ * assembly/types/eventQueueOptions/testEventQueueOptionsClass | ||
/** ~lib/map/Map<~lib/string/String,assembly/types/bucketedUserConfig/FeatureVariation> */ | ||
declare class __Internref140 extends Number { | ||
private __nominal140: symbol; | ||
declare class __Internref139 extends Number { | ||
private __nominal139: symbol; | ||
private __nominal0: symbol; | ||
} | ||
/** assembly/types/bucketedUserConfig/SDKVariable */ | ||
declare class __Internref141 extends Number { | ||
private __nominal141: symbol; | ||
declare class __Internref140 extends Number { | ||
private __nominal140: symbol; | ||
private __nominal6: symbol; | ||
@@ -394,3 +394,3 @@ private __nominal7: symbol; | ||
/** assembly/testHelpers/TestData */ | ||
declare interface __Record178<TOmittable> { | ||
declare interface __Record177<TOmittable> { | ||
/** @type `~lib/string/String` */ | ||
@@ -400,7 +400,7 @@ key: string; | ||
/** assembly/helpers/arrayHelpers/SortingArrayItem<assembly/testHelpers/TestData> */ | ||
declare interface __Record179<TOmittable> { | ||
declare interface __Record178<TOmittable> { | ||
/** @type `~lib/string/String` */ | ||
value: string; | ||
/** @type `assembly/testHelpers/TestData` */ | ||
entry: __Record178<undefined>; | ||
entry: __Record177<undefined>; | ||
} | ||
@@ -407,0 +407,0 @@ /** Instantiates the compiled WebAssembly module with the given imports. */ |
@@ -442,6 +442,6 @@ exports.instantiate = async function instantiate(module, imports = {}) { | ||
// assembly/testHelpers/testSortObjectsByString(~lib/array/Array<assembly/helpers/arrayHelpers/SortingArrayItem<assembly/testHelpers/TestData>>, ~lib/string/String) => ~lib/array/Array<assembly/testHelpers/TestData> | ||
arr = __retain(__lowerArray((pointer, value) => { __setU32(pointer, __lowerRecord179(value) || __notnull()); }, 180, 2, arr) || __notnull()); | ||
arr = __retain(__lowerArray((pointer, value) => { __setU32(pointer, __lowerRecord178(value) || __notnull()); }, 179, 2, arr) || __notnull()); | ||
direction = __lowerString(direction) || __notnull(); | ||
try { | ||
return __liftArray(pointer => __liftRecord178(__getU32(pointer)), 2, exports.testSortObjectsByString(arr, direction) >>> 0); | ||
return __liftArray(pointer => __liftRecord177(__getU32(pointer)), 2, exports.testSortObjectsByString(arr, direction) >>> 0); | ||
} finally { | ||
@@ -484,7 +484,7 @@ __release(arr); | ||
}, exports); | ||
function __lowerRecord178(value) { | ||
function __lowerRecord177(value) { | ||
// assembly/testHelpers/TestData | ||
// Hint: Opt-out from lowering as a record by providing an empty constructor | ||
if (value == null) return 0; | ||
const pointer = exports.__pin(exports.__new(4, 178)); | ||
const pointer = exports.__pin(exports.__new(4, 177)); | ||
__setU32(pointer + 0, __lowerString(value.key) || __notnull()); | ||
@@ -494,13 +494,13 @@ exports.__unpin(pointer); | ||
} | ||
function __lowerRecord179(value) { | ||
function __lowerRecord178(value) { | ||
// assembly/helpers/arrayHelpers/SortingArrayItem<assembly/testHelpers/TestData> | ||
// Hint: Opt-out from lowering as a record by providing an empty constructor | ||
if (value == null) return 0; | ||
const pointer = exports.__pin(exports.__new(8, 179)); | ||
const pointer = exports.__pin(exports.__new(8, 178)); | ||
__setU32(pointer + 0, __lowerString(value.value) || __notnull()); | ||
__setU32(pointer + 4, __lowerRecord178(value.entry) || __notnull()); | ||
__setU32(pointer + 4, __lowerRecord177(value.entry) || __notnull()); | ||
exports.__unpin(pointer); | ||
return pointer; | ||
} | ||
function __liftRecord178(pointer) { | ||
function __liftRecord177(pointer) { | ||
// assembly/testHelpers/TestData | ||
@@ -507,0 +507,0 @@ // Hint: Opt-out from lifting as a record by providing an empty constructor |
{ | ||
"name": "@devcycle/bucketing-assembly-script", | ||
"version": "1.17.3", | ||
"version": "1.17.4", | ||
"license": "MIT", | ||
@@ -18,4 +18,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@devcycle/bucketing-test-data": "^1.11.3" | ||
"@devcycle/bucketing-test-data": "^1.11.4" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6530726