Skip to content

Commit

Permalink
chore: release v1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Jul 15, 2024
1 parent dd419c8 commit fa5aedf
Show file tree
Hide file tree
Showing 9 changed files with 2,965 additions and 2,300 deletions.
5,221 changes: 2,941 additions & 2,280 deletions assets/ai.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "johannschopplich/kirby-copilot",
"description": "AI-powered content generation for Kirby CMS",
"type": "kirby-plugin",
"version": "1.8.0",
"version": "1.8.1",
"keywords": [
"ai",
"content",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

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

2 changes: 1 addition & 1 deletion index.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kirby-copilot",
"type": "module",
"version": "1.8.0",
"version": "1.8.1",
"private": true,
"packageManager": "pnpm@9.5.0",
"scripts": {
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,23 @@
},
{
"name": "johannschopplich/kirby-tools-licensing",
"version": "0.4.2",
"version_normalized": "0.4.2.0",
"version": "0.4.3",
"version_normalized": "0.4.3.0",
"source": {
"type": "git",
"url": "https://github.com/kirby-tools/licensing-backend.git",
"reference": "721ee6409f01a8686cc2346c57f0bc2e565cf940"
"reference": "afd11dc6f0b3153218ec61953d574963255ee4fc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/kirby-tools/licensing-backend/zipball/721ee6409f01a8686cc2346c57f0bc2e565cf940",
"reference": "721ee6409f01a8686cc2346c57f0bc2e565cf940",
"url": "https://api.github.com/repos/kirby-tools/licensing-backend/zipball/afd11dc6f0b3153218ec61953d574963255ee4fc",
"reference": "afd11dc6f0b3153218ec61953d574963255ee4fc",
"shasum": ""
},
"require-dev": {
"getkirby/cms": "^4"
},
"time": "2024-07-08T15:44:30+00:00",
"time": "2024-07-15T14:05:29+00:00",
"type": "library",
"extra": {
"kirby-cms-path": false
Expand All @@ -94,7 +94,7 @@
"homepage": "https://github.com/kirby-tools/licensing-backend#readme",
"support": {
"issues": "https://github.com/kirby-tools/licensing-backend/issues",
"source": "https://github.com/kirby-tools/licensing-backend/tree/v0.4.2"
"source": "https://github.com/kirby-tools/licensing-backend/tree/v0.4.3"
},
"install-path": "../johannschopplich/kirby-tools-licensing"
}
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => array(
'name' => 'johannschopplich/kirby-copilot',
'pretty_version' => '1.8.0',
'version' => '1.8.0.0',
'pretty_version' => '1.8.1',
'version' => '1.8.1.0',
'reference' => null,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
Expand All @@ -20,18 +20,18 @@
'dev_requirement' => false,
),
'johannschopplich/kirby-copilot' => array(
'pretty_version' => '1.8.0',
'version' => '1.8.0.0',
'pretty_version' => '1.8.1',
'version' => '1.8.1.0',
'reference' => null,
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'johannschopplich/kirby-tools-licensing' => array(
'pretty_version' => '0.4.2',
'version' => '0.4.2.0',
'reference' => '721ee6409f01a8686cc2346c57f0bc2e565cf940',
'pretty_version' => '0.4.3',
'version' => '0.4.3.0',
'reference' => 'afd11dc6f0b3153218ec61953d574963255ee4fc',
'type' => 'library',
'install_path' => __DIR__ . '/../johannschopplich/kirby-tools-licensing',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "johannschopplich/kirby-tools-licensing",
"description": "Shared tooling for licensing server-side",
"type": "library",
"version": "0.4.2",
"version": "0.4.3",
"license": "AGPL-3.0-or-later",
"homepage": "https://github.com/kirby-tools/licensing-backend#readme",
"authors": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,11 @@ private function migration(): void

private function request(string $path, array $options = []): array
{
$response = new Remote(static::API_URL . '/' . $path, $options);
$response = new Remote(static::API_URL . '/' . $path, array_merge($options, [
'headers' => [
'X-App-Url' => App::instance()->url()
]
]));

if ($response->code() !== 200) {
$message = $response->json()['message'] ?? 'Request failed';
Expand Down

0 comments on commit fa5aedf

Please sign in to comment.