diff --git a/.gitignore b/.gitignore index 8a30d25..63d73a6 100644 --- a/.gitignore +++ b/.gitignore @@ -396,3 +396,12 @@ FodyWeavers.xsd # JetBrains Rider *.sln.iml +.idea/discord.xml +.idea/misc.xml +.idea/modules.xml +.idea/prettier.xml +.idea/vcs.xml +.idea/waifuVault-csharp-api.iml +.idea/inspectionProfiles/Project_Default.xml +.idea/jsLinters/eslint.xml +.idea/.gitignore diff --git a/README.md b/README.md index 7292064..fcd7df8 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,14 @@ using Waifuvault; To Upload a file, use the `uploadFile` function. This function takes the following options as an object: -| Option | Type | Description | Required | Extra info | -|----------------|--------------------|-------------------------------------------------------------|----------------|----------------------------------| -| `filename` | `string ` | The path to the file to upload | true if File | File path | -| `url` | `string` | The URL of the file to target | true if URL | Filename with extension | -| `buffer` | `byte array` | Byte array containing file to upload | true if buffer | Needs filename set also | -| `expires` | `string` | A string containing a number and a unit (1d = 1day) | false | Valid units are `m`, `h` and `d` | -| `hideFilename` | `boolean` | If true, then the uploaded filename won't appear in the URL | false | Defaults to `false` | -| `password` | `string` | If set, then the uploaded file will be encrypted | false | | +| Option | Type | Description | Required | Extra info | +|----------------|--------------|-------------------------------------------------------------|----------------|----------------------------------| +| `filename` | `string ` | The path to the file to upload | true if File | File path | +| `url` | `string` | The URL of the file to target | true if URL | Filename with extension | +| `buffer` | `byte array` | Byte array containing file to upload | true if buffer | Needs filename set also | +| `expires` | `string` | A string containing a number and a unit (1d = 1day) | false | Valid units are `m`, `h` and `d` | +| `hideFilename` | `boolean` | If true, then the uploaded filename won't appear in the URL | false | Defaults to `false` | +| `password` | `string` | If set, then the uploaded file will be encrypted | false | | Using a URL: @@ -132,6 +132,7 @@ Use the `getFile` function. This function takes the following options an object: | `token` | `string` | The token of the file you want to download | true only if `filename` is not set | if `filename` is set, then this can not be used | | `url` | `string` | The URL of the file | true only if `token` is not set | if `token` is set, then this can not be used | | `password` | `string` | The password for the file | true if file is encrypted | Passed as a parameter on the function call | + Password is provided as a parameter on the call. > **Important!** The Unique identifier filename is the epoch/filename only if the file uploaded did not have a hidden diff --git a/waifuVault-csharp-api.csproj b/waifuVault-csharp-api.csproj index f9bbd3e..9280044 100644 --- a/waifuVault-csharp-api.csproj +++ b/waifuVault-csharp-api.csproj @@ -2,7 +2,7 @@ Waifuvault - 1.0.4 + 1.0.6 Walker Aldridge (walker@waifuvault.moe) waifuvault.moe waifuvault;temp file hosting