mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-07-30 22:41:56 +00:00
fix(deps)!: Update avm to 0.62 (#438)
* Update avm * Update nox image * Fix lint * Bump marine * fix lint * update tag
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
"dependencies": {
|
||||
"@chainsafe/libp2p-noise": "14.0.0",
|
||||
"@chainsafe/libp2p-yamux": "6.0.1",
|
||||
"@fluencelabs/avm": "0.59.0",
|
||||
"@fluencelabs/avm": "0.62.0",
|
||||
"@fluencelabs/interfaces": "workspace:*",
|
||||
"@fluencelabs/js-client-isomorphic": "workspace:*",
|
||||
"@fluencelabs/marine-worker": "0.5.1",
|
||||
|
@@ -515,6 +515,15 @@ export abstract class FluencePeer {
|
||||
item.callResults,
|
||||
);
|
||||
|
||||
const [, , , forthParam] = args;
|
||||
|
||||
if (
|
||||
typeof forthParam === "object" &&
|
||||
"hard_limit_enabled" in forthParam
|
||||
) {
|
||||
forthParam["hard_limit_enabled"] = false;
|
||||
}
|
||||
|
||||
let avmCallResult: InterpreterResult | Error;
|
||||
|
||||
try {
|
||||
|
@@ -55,7 +55,7 @@ export const allowServiceFn = (
|
||||
*/
|
||||
export const allowExactJsonPath = (jsonPath: string): SecurityGuard => {
|
||||
return allowTetraplet((t) => {
|
||||
return t.json_path === jsonPath;
|
||||
return t.lens === jsonPath;
|
||||
});
|
||||
};
|
||||
|
||||
|
@@ -221,7 +221,7 @@ export const makeTestTetraplet = (
|
||||
peer_pk: initPeerId,
|
||||
function_name: fnName,
|
||||
service_id: serviceId,
|
||||
json_path: "",
|
||||
lens: "",
|
||||
},
|
||||
],
|
||||
],
|
||||
|
Reference in New Issue
Block a user