Skip to content

Commit

Permalink
Merge branch 'chore/sgx-deploy-with-sdk-rc-v3' into chore/point-sdk-r…
Browse files Browse the repository at this point in the history
…c-v3.2.0
  • Loading branch information
heldrida authored Sep 6, 2024
2 parents f85c649 + 87e6f0c commit 9fd1d07
Show file tree
Hide file tree
Showing 8 changed files with 1,298 additions and 1,048 deletions.
8 changes: 7 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
"typeFunctionCodePath": "Enter the path to the javascript file or folder containing the function code:",
"bundlingCode": "Bundling code",
"transformingCode": "Transforming code",
"encryptingCode": "Encrypting code",
"uploadCodeToIpfs": "Uploading code to IPFS",
"uploadToIpfsFailed": "Failed to upload to IPFS",
"storageUploadSuccessCid": "The Storage IPFS CID is {cid}",
Expand All @@ -325,11 +326,15 @@
"callFleekFunctionByNetworkUrlReq": "You can also call this Fleek Network URL directly for increased performance (please keep in mind you will not be able to deactivate this link)",
"availabilityCheckFailed": "Unable to fetch uploaded function through any of our private gateways, please try again later.",
"runningAvailabilityCheck": "Checking for availability of file through our gateways.",
"networkFetchMappings": "The network is fetching the blake3 hash mapping",
"networkFetchFailed": "Failed to fetch Mapping, please retry deploying your function.",
"unsupportedPackage": "The {packageName} package is not currently supported by Fleek Functions.",
"showUnsupportedModulesDocLink": "Please refer to our documentation to see which packages we support.",
"noBundle": "Disable bundling",
"bundleDisabledInDirectory": "Bundling is disabled but the path points to a directory. The {filename} file will be uploaded.",
"functionDeployToPrivateStorage": "[🧪 Alpha] Function code will be private",
"functionsUseSgx": "[🧪 Alpha] Function will use trusted execution environment for sensitive computations using SGX",
"pvtFunctionInSgxNotSupported": "[🧪 Alpha] Function cannot be private and use SGX",
"environmentVariables": "Set environment variables, do not include any sensitive information if your function is not private!",
"environmentVariablesFile": "Set environment variables from a file, do not include any sensitive information if your function is not private!",
"missingEnvVar": "Environment variable {key} is missing",
Expand All @@ -338,6 +343,7 @@
"unknownTransformError": "We had trouble transforming your function code. Try again? If the issue persists, let us know to help us improve!",
"failedToApplyNodeImportProtocol": "The process attempted to automatically apply the \"node:\" protocol for importing native modules but encountered an issue. When importing Node.js native modules, always use the \"node:\" prefix. For instance, use \"node:buffer\" instead of \"buffer\". This provides clarity when built-in Node.js modules must be imported.",
"requireDeprecatedUseES6Syntax": "The use of 'require' is deprecated in this context. Please switch to using ES6 'import' syntax for module imports. For example, change 'require' to 'import <ModuleName> from '<ModulePath>';'. This adjustment is necessary to comply with modern JavaScript standards and improve compatibility with Fleek Functions runtime and environment.",
"invalidWasmCode": "The {path} is a not valid wasm file",
"expectedNotFoundGeneric": "We had trouble locating the {name}. Please try again, and contact us if the issue persists.",
"unexpectedFileFormat": "We weren't expecting the format {format}. Please report the issue to our team and provide details for a quick fix."
}
}
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleek-platform/cli",
"version": "2.9.1",
"version": "2.9.2",
"bin": {
"fleek": "bin/index.js"
},
Expand Down Expand Up @@ -46,12 +46,15 @@
"commander": "^9.4.1",
"conf": "^10.2.0",
"dotenv": "^16.4.5",
"eciesjs": "^0.4.7",
"esbuild": "^0.21.4",
"files-from-path": "^1.0.0",
"glob": "^8.1.0",
"hash-wasm": "^4.11.0",
"lodash-es": "^4.17.21",
"multiformats": "^9.9.0",
"nanoid": "^3.3.4",
"node-fetch": "2",
"ora": "^3.4.0",
"press-any-key": "^0.1.1",
"prompts": "^2.4.2",
Expand All @@ -63,14 +66,14 @@
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@changesets/cli": "^2.27.6",
"@fleek-platform/errors": "^2.2.3",
"@fleek-platform/errors": "workspace:*",
"@fleek-platform/sdk": "workspace:*",
"@fleek-platform/tester": "^2.3.0",
"@fleek-platform/utils-gateways": "^0.1.2",
"@fleek-platform/utils-github": "^0.0.2",
"@fleek-platform/utils-ipfs": "^0.4.2",
"@fleek-platform/utils-ipns": "^0.1.2",
"@fleek-platform/utils-validation": "^2.2.0",
"@fleek-platform/utils-validation": "^2.2.1-stg.13",
"@tsconfig/node16": "^16.1.3",
"@types/ansi-escapes": "3.0.1",
"@types/cli-progress": "^3.11.5",
Expand All @@ -80,6 +83,7 @@
"@types/glob": "^8.0.1",
"@types/lodash": "^4.14.191",
"@types/lodash-es": "^4.17.12",
"@types/node-fetch": "^2.6.11",
"@types/prompts": "^2.4.2",
"@types/semver": "^7.3.13",
"@types/update-notifier": "^6.0.8",
Expand All @@ -93,4 +97,4 @@
"engines": {
"node": ">=18.18.2"
}
}
}
Loading

0 comments on commit 9fd1d07

Please sign in to comment.