Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyRedman committed Oct 2, 2024
1 parent 1a5b3c2 commit 28adb61
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body:
attributes:
label: Plugin version
description: |
e.g `1.1.5`
e.g `1.1.6`
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Help & support - FAQ
url: https://github.com/ajrsoftware/WPClothes2Order/discussions/new?category=q-a&body=%23%23%23%20Your%20question%20here%0A%0A-%20What%20version%20of%20the%20plugin%20are%20you%20using%3F%20e.g%20%601.1.5%60%0A-%20What%20PHP%20version%20are%20you%20using%3F%20e.g%20%607.4%60%0A-%20Where%20did%20you%20install%20the%20plugin%20from%3F%20e.g%20%60WordPress%20org%60%0A%0A---
url: https://github.com/ajrsoftware/WPClothes2Order/discussions/new?category=q-a&body=%23%23%23%20Your%20question%20here%0A%0A-%20What%20version%20of%20the%20plugin%20are%20you%20using%3F%20e.g%20%601.1.6%60%0A-%20What%20PHP%20version%20are%20you%20using%3F%20e.g%20%607.4%60%0A-%20Where%20did%20you%20install%20the%20plugin%20from%3F%20e.g%20%60WordPress%20org%60%0A%0A---
about: "If you can't get something to work the way you expect, check out our FAQ's."
- name: Feature Request
url: https://github.com/ajrsoftware/WPClothes2Order/discussions/new?category=ideas
Expand Down
4 changes: 2 additions & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Version | Supported |
| ------- | ------------------ |
| 1.1.5 | :white_check_mark: |
| > 1.1.5 | :x: |
| 1.1.6 | :white_check_mark: |
| > 1.1.6 | :x: |

## Reporting a Vulnerability

Expand Down
Binary file modified bun.lockb
Binary file not shown.
20 changes: 10 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions dist/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/wpc2o-constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** Our plugin version, used to asset cache busting & more. */
define('WP_C2O_VERSION', '1.1.5');
define('WP_C2O_VERSION', '1.1.6');

/** API option values. */
define('WPC2O_API_KEY', '_wpc2o_api_key');
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "wpclothes2order",
"version": "1.1.5",
"version": "1.1.6",
"author": "AJRSoftware",
"repository": {
"type": "git",
"url": "git+https://github.com/ajrsoftware/WPClothes2Order.git"
},
"devDependencies": {
"npm-check-updates": "^17.0.0",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
"npm-check-updates": "^17.1.3",
"prettier": "^3.3.3",
"typescript": "^5.6.2"
},
"bugs": {
"url": "https://github.com/ajrsoftware/WPClothes2Order/issues"
Expand All @@ -28,6 +28,6 @@
},
"type": "module",
"dependencies": {
"json-formatter-js": "^2.3.4"
"json-formatter-js": "^2.5.18"
}
}
6 changes: 5 additions & 1 deletion src/ts/stock-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ export const sync = async (): Promise<Response | null> => {
let res: Response | null = null;

try {
const response = await fetch(`/wp-json/wpc2o/v1/stock-sync`, {
const response = await fetch(`/wp-json/wpc2o/v1/stock-sync/`, {
method: 'get',
headers: {
'Content-Type': 'application/json'
}
});
res = await response.json();

console.log(res);

if (response.ok) {
res = await response.json();
}
} catch (err) {
console.log({ err });
res = {
status: false,
message: 'There was a problem requesting a stock sync.'
Expand Down
2 changes: 1 addition & 1 deletion wpclothes2order.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: WPClothes2Order
* Plugin URI: https://wpclothes2order.com
* Description: Unofficial WooCommerce Plugin for <a href="https://www.clothes2order.com/">Clothes2Order</a>
* Version: 1.1.5
* Version: 1.1.6
* Plugin URI: https://www.wpclothes2order.com
* Author: AJR Software
* Author URI: https://www.ajrsoftware.com
Expand Down

0 comments on commit 28adb61

Please sign in to comment.